Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::UpdateServiceRequest.
Request message for updating a service.
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 if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service does not exist.
#allow_missing=
def allow_missing=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If set to true, and if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service does not exist.
Returns
- (::Boolean) — Optional. If set to true, and if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service does not exist.
#service
def service() -> ::Google::Cloud::Run::V2::Service
Returns
- (::Google::Cloud::Run::V2::Service) — Required. The Service to be updated.
#service=
def service=(value) -> ::Google::Cloud::Run::V2::Service
Parameter
- value (::Google::Cloud::Run::V2::Service) — Required. The Service to be updated.
Returns
- (::Google::Cloud::Run::V2::Service) — Required. The Service to be updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The list of fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — Optional. The list of fields to be updated.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
Returns
- (::Boolean) — Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.