Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class Connection.
Message describing Connection object
Generated from protobuf message google.cloud.developerconnect.v1.Connection
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ github_config
↳ github_enterprise_config
↳ gitlab_config
↳ gitlab_enterprise_config
↳ name
string
Identifier. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}
.
↳ create_time
↳ update_time
↳ delete_time
↳ labels
↳ installation_state
↳ disabled
bool
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
↳ reconciling
bool
Output only. Set to true when the connection is being set up or updated in the background.
↳ annotations
array| Google\Protobuf\Internal\MapField
Optional. Allows clients to store small amounts of arbitrary data.
↳ etag
string
Optional. 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.
↳ uid
string
Output only. A system-assigned unique identifier for a the GitRepositoryLink.
↳ crypto_key_config
CryptoKeyConfig
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
getGithubConfig
Configuration for connections to github.com.
hasGithubConfig
setGithubConfig
Configuration for connections to github.com.
$this
getGithubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
hasGithubEnterpriseConfig
setGithubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
$this
getGitlabConfig
Configuration for connections to gitlab.com.
hasGitlabConfig
setGitlabConfig
Configuration for connections to gitlab.com.
$this
getGitlabEnterpriseConfig
Configuration for connections to an instance of GitLab Enterprise.
hasGitlabEnterpriseConfig
setGitlabEnterpriseConfig
Configuration for connections to an instance of GitLab Enterprise.
$this
getName
Identifier. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}
.
string
setName
Identifier. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}
.
var
string
$this
getCreateTime
Output only. [Output only] Create timestamp
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create timestamp
$this
getUpdateTime
Output only. [Output only] Update timestamp
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update timestamp
$this
getDeleteTime
Output only. [Output only] Delete timestamp
hasDeleteTime
clearDeleteTime
setDeleteTime
Output only. [Output only] Delete timestamp
$this
getLabels
Optional. Labels as key value pairs
setLabels
Optional. Labels as key value pairs
$this
getInstallationState
Output only. Installation state of the Connection.
hasInstallationState
clearInstallationState
setInstallationState
Output only. Installation state of the Connection.
$this
getDisabled
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
bool
setDisabled
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
var
bool
$this
getReconciling
Output only. Set to true when the connection is being set up or updated in the background.
bool
setReconciling
Output only. Set to true when the connection is being set up or updated in the background.
var
bool
$this
getAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
setAnnotations
Optional. Allows clients to store small amounts of arbitrary data.
$this
getEtag
Optional. 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
Optional. 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
getUid
Output only. A system-assigned unique identifier for a the GitRepositoryLink.
string
setUid
Output only. A system-assigned unique identifier for a the GitRepositoryLink.
var
string
$this
getCryptoKeyConfig
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
hasCryptoKeyConfig
clearCryptoKeyConfig
setCryptoKeyConfig
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
$this
getConnectionConfig
string