Google Cloud Build V2 Client - Class Repository (1.1.2)

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

A repository associated to a parent connection.

Generated from protobuf message google.devtools.cloudbuild.v2.Repository

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameter
Name
Description
data
mixed

getName

Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/* .

Returns
Type
Description
string

setName

Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/* .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRemoteUri

Required. Git Clone HTTPS URI.

Returns
Type
Description
string

setRemoteUri

Required. Git Clone HTTPS URI.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. Server assigned timestamp for when the connection was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. Server assigned timestamp for when the connection was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. Server assigned timestamp for when the connection was updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Server assigned timestamp for when the connection was updated.

Parameter
Name
Description
Returns
Type
Description
$this

getAnnotations

Allows clients to store small amounts of arbitrary data.

Returns
Type
Description

setAnnotations

Allows clients to store small amounts of arbitrary data.

Parameter
Name
Description
Returns
Type
Description
$this

getEtag

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
Type
Description
string

setEtag

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getWebhookId

Output only. External ID of the webhook created for the repository.

Returns
Type
Description
string

setWebhookId

Output only. External ID of the webhook created for the repository.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: