Cloud Build V2 API - Class Google::Cloud::Build::V2::CreateConnectionRequest (v0.1.0)

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

Message for creating a Connection

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connection

def connection() -> ::Google::Cloud::Build::V2::Connection
Returns

#connection=

def connection=(value) -> ::Google::Cloud::Build::V2::Connection
Parameter
Returns

#connection_id

def connection_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

#connection_id=

def connection_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
Returns
  • (::String) — Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Project and location where the connection will be created. Format: projects/*/locations/*.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Project and location where the connection will be created. Format: projects/*/locations/*.
Returns
  • (::String) — Required. Project and location where the connection will be created. Format: projects/*/locations/*.