Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::UpdateInstanceRequest.
Request message for updating an Instance.
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 Instance does not exist, it will create a new one. The caller must haverun.instances.createpermissions if this is set totrueand the Instance does not exist.
#allow_missing=
def allow_missing=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. If set to
true, and if the Instance does not exist, it will create a new one. The caller must haverun.instances.createpermissions if this is set totrueand the Instance does not exist.
Returns
-
(::Boolean) — Optional. If set to
true, and if the Instance does not exist, it will create a new one. The caller must haverun.instances.createpermissions if this is set totrueand the Instance does not exist.
#instance
def instance() -> ::Google::Cloud::Run::V2::Instance
Returns
- (::Google::Cloud::Run::V2::Instance) — Required. The Instance to be updated.
#instance=
def instance=(value) -> ::Google::Cloud::Run::V2::Instance
Parameter
- value (::Google::Cloud::Run::V2::Instance) — Required. The Instance to be updated.
Returns
- (::Google::Cloud::Run::V2::Instance) — Required. The Instance 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) — Optional. 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) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
Returns
- (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.