Eventarc V1 API - Class Google::Cloud::Eventarc::V1::CreateEnrollmentRequest (v1.1.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CreateEnrollmentRequest.

The request message for the CreateEnrollment method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enrollment

def enrollment() -> ::Google::Cloud::Eventarc::V1::Enrollment
Returns

#enrollment=

def enrollment=(value) -> ::Google::Cloud::Eventarc::V1::Enrollment
Parameter
Returns

#enrollment_id

def enrollment_id() -> ::String
Returns
  • (::String) — Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^a-z?$).

#enrollment_id=

def enrollment_id=(value) -> ::String
Parameter
  • value (::String) — Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^a-z?$).
Returns
  • (::String) — Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^a-z?$).

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent collection in which to add this enrollment.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent collection in which to add this enrollment.
Returns
  • (::String) — Required. The parent collection in which to add this enrollment.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.