Reference documentation and code samples for the Observability V1 API class Google::Cloud::Observability::V1::UpdateScopeRequest.
Message for updating a Scope.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#scope
def scope() -> ::Google::Cloud::Observability::V1::Scope
Returns
- (::Google::Cloud::Observability::V1::Scope) — Required. The resource being updated.
#scope=
def scope=(value) -> ::Google::Cloud::Observability::V1::Scope
Parameter
- value (::Google::Cloud::Observability::V1::Scope) — Required. The resource being updated.
Returns
- (::Google::Cloud::Observability::V1::Scope) — Required. The resource being updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.
Returns
- (::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.