Developer Connect v1 API - Class Connection (1.0.0-beta02)

public sealed class Connection : IMessage<Connection>, IEquatable<Connection>, IDeepCloneable<Connection>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class Connection.

Message describing Connection object

Inheritance

object > Connection

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

Connection()

public Connection()

Connection(Connection)

public Connection(Connection other)
Parameter
Name Description
other Connection

Properties

Annotations

public MapField<string, string> Annotations { get; }

Optional. Allows clients to store small amounts of arbitrary data.

Property Value
Type Description
MapFieldstringstring

BitbucketCloudConfig

public BitbucketCloudConfig BitbucketCloudConfig { get; set; }

Configuration for connections to an instance of Bitbucket Clouds.

Property Value
Type Description
BitbucketCloudConfig

BitbucketDataCenterConfig

public BitbucketDataCenterConfig BitbucketDataCenterConfig { get; set; }

Configuration for connections to an instance of 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. [Output only] Create timestamp

Property Value
Type Description
Timestamp

CryptoKeyConfig

public CryptoKeyConfig CryptoKeyConfig { get; set; }

Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.

Property Value
Type Description
CryptoKeyConfig

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. [Output only] Delete timestamp

Property Value
Type Description
Timestamp

Disabled

public bool Disabled { get; set; }

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.

Property Value
Type Description
bool

Etag

public string Etag { get; set; }

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.

Property Value
Type Description
string

GitProxyConfig

public GitProxyConfig GitProxyConfig { get; set; }

Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection.

Property Value
Type Description
GitProxyConfig

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.

Property Value
Type Description
GitLabConfig

GitlabEnterpriseConfig

public GitLabEnterpriseConfig GitlabEnterpriseConfig { get; set; }

Configuration for connections to an instance of GitLab Enterprise.

Property Value
Type Description
GitLabEnterpriseConfig

InstallationState

public InstallationState InstallationState { get; set; }

Output only. Installation state of the Connection.

Property Value
Type Description
InstallationState

Labels

public MapField<string, string> Labels { get; }

Optional. Labels as key value pairs

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Identifier. 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

Uid

public string Uid { get; set; }

Output only. A system-assigned unique identifier for the Connection.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. [Output only] Update timestamp

Property Value
Type Description
Timestamp