Cloud Build V2 API - Class Google::Cloud::Build::V2::Repository (v0.4.0)

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

A repository associated to a parent connection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.

#annotations=

def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Allows clients to store small amounts of arbitrary data.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#etag

def etag() -> ::String
Returns
  • (::String) — This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Returns
  • (::String) — This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*.
Returns
  • (::String) — Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*.

#remote_uri

def remote_uri() -> ::String
Returns
  • (::String) — Required. Git Clone HTTPS URI.

#remote_uri=

def remote_uri=(value) -> ::String
Parameter
  • value (::String) — Required. Git Clone HTTPS URI.
Returns
  • (::String) — Required. Git Clone HTTPS URI.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#webhook_id

def webhook_id() -> ::String
Returns
  • (::String) — Output only. External ID of the webhook created for the repository.