Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::UpdateEnrollmentRequest.
The request message for the UpdateEnrollment method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_missing
def allow_missing() -> ::Boolean
Returns
-
(::Boolean) — Optional. If set to true, and the Enrollment is not found, a new Enrollment
will be created. In this situation,
update_mask
is ignored.
#allow_missing=
def allow_missing=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. If set to true, and the Enrollment is not found, a new Enrollment
will be created. In this situation,
update_mask
is ignored.
Returns
-
(::Boolean) — Optional. If set to true, and the Enrollment is not found, a new Enrollment
will be created. In this situation,
update_mask
is ignored.
#enrollment
def enrollment() -> ::Google::Cloud::Eventarc::V1::Enrollment
Returns
- (::Google::Cloud::Eventarc::V1::Enrollment) — Required. The Enrollment to be updated.
#enrollment=
def enrollment=(value) -> ::Google::Cloud::Eventarc::V1::Enrollment
Parameter
- value (::Google::Cloud::Eventarc::V1::Enrollment) — Required. The Enrollment to be updated.
Returns
- (::Google::Cloud::Eventarc::V1::Enrollment) — Required. The Enrollment to be updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
Returns
- (::Google::Protobuf::FieldMask) — Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
#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.