Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::UpdateRepositoryRequest (v2.2.0)

Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::UpdateRepositoryRequest.

UpdateRepositoryRequest is the request to update a repository.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#repository

def repository() -> ::Google::Cloud::SecureSourceManager::V1::Repository
Returns

#repository=

def repository=(value) -> ::Google::Cloud::SecureSourceManager::V1::Repository
Parameter
Returns

#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 repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be 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 repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
Returns
  • (::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Returns
  • (::Boolean) — Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.