public sealed class Connection : IMessage<Connection>, IEquatable<Connection>, IDeepCloneable<Connection>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Build v2 API class Connection.
A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.
Implements
IMessageConnection, IEquatableConnection, IDeepCloneableConnection, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Constructors
Connection()
public Connection()Connection(Connection)
public Connection(Connection other)| Parameter | |
|---|---|
| Name | Description |
other |
Connection |
Properties
Annotations
public MapField<string, string> Annotations { get; }Allows clients to store small amounts of arbitrary data.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
BitbucketCloudConfig
public BitbucketCloudConfig BitbucketCloudConfig { get; set; }Configuration for connections to Bitbucket Cloud.
| Property Value | |
|---|---|
| Type | Description |
BitbucketCloudConfig |
|
BitbucketDataCenterConfig
public BitbucketDataCenterConfig BitbucketDataCenterConfig { get; set; }Configuration for connections to Bitbucket Data Center.
| Property Value | |
|---|---|
| Type | Description |
BitbucketDataCenterConfig |
|
ConnectionConfigCase
public Connection.ConnectionConfigOneofCase ConnectionConfigCase { get; }| Property Value | |
|---|---|
| Type | Description |
ConnectionConnectionConfigOneofCase |
|
ConnectionName
public ConnectionName ConnectionName { get; set; }ConnectionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ConnectionName |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Server assigned timestamp for when the connection was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Disabled
public bool Disabled { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Etag
public string Etag { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
GithubConfig
public GitHubConfig GithubConfig { get; set; }Configuration for connections to github.com.
| Property Value | |
|---|---|
| Type | Description |
GitHubConfig |
|
GithubEnterpriseConfig
public GitHubEnterpriseConfig GithubEnterpriseConfig { get; set; }Configuration for connections to an instance of GitHub Enterprise.
| Property Value | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig |
|
GitlabConfig
public GitLabConfig GitlabConfig { get; set; }Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
| Property Value | |
|---|---|
| Type | Description |
GitLabConfig |
|
InstallationState
public InstallationState InstallationState { get; set; }Output only. Installation state of the Connection.
| Property Value | |
|---|---|
| Type | Description |
InstallationState |
|
Name
public string Name { get; set; }Immutable. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Reconciling
public bool Reconciling { get; set; }Output only. Set to true when the connection is being set up or updated in the background.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Server assigned timestamp for when the connection was updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|