Cloud Build V2 API - Class Google::Cloud::Build::V2::DeleteConnectionRequest (v0.7.0)

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

Message for deleting a Connection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

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

#etag=

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

#name

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

#name=

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

#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.