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
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*
.
↳ remote_uri
string
Required. Git Clone HTTPS URI.
↳ create_time
Google\Protobuf\Timestamp
Output only. Server assigned timestamp for when the connection was created.
↳ update_time
Google\Protobuf\Timestamp
Output only. Server assigned timestamp for when the connection was updated.
↳ annotations
↳ etag
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.
getName
Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*
.
string
setName
Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*
.
var
string
$this
getRemoteUri
Required. Git Clone HTTPS URI.
string
setRemoteUri
Required. Git Clone HTTPS URI.
var
string
$this
getCreateTime
Output only. Server assigned timestamp for when the connection was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Server assigned timestamp for when the connection was created.
$this
getUpdateTime
Output only. Server assigned timestamp for when the connection was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Server assigned timestamp for when the connection was updated.
$this
getAnnotations
Allows clients to store small amounts of arbitrary data.
setAnnotations
Allows clients to store small amounts of arbitrary data.
$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.
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.
var
string
$this