Cloud Build V2 API - Class Google::Cloud::Build::V2::DeleteRepositoryRequest (v0.7.1)

Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::DeleteRepositoryRequest.

Message for deleting a Repository.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.
Returns
  • (::String) — The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the Repository to delete. Format: projects/*/locations/*/connections/*/repositories/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Repository to delete. Format: projects/*/locations/*/connections/*/repositories/*.
Returns
  • (::String) — Required. The name of the Repository to delete. Format: projects/*/locations/*/connections/*/repositories/*.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — If set, validate the request, but do not actually post it.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set, validate the request, but do not actually post it.
Returns
  • (::Boolean) — If set, validate the request, but do not actually post it.