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
- (::Google::Cloud::Eventarc::V1::Enrollment) — Required. The enrollment to create.
#enrollment=
def enrollment=(value) -> ::Google::Cloud::Eventarc::V1::Enrollment
Parameter
- value (::Google::Cloud::Eventarc::V1::Enrollment) — Required. The enrollment to create.
Returns
- (::Google::Cloud::Eventarc::V1::Enrollment) — Required. The enrollment to create.
#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.