Show / Hide Table of Contents

Class Connection

A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.

Inheritance
object
Connection
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class Connection : IDirectResponseSchema

Properties

Annotations

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

Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type Description
IDictionary<string, string>

BitbucketCloudConfig

Configuration for connections to Bitbucket Cloud.

Declaration
[JsonProperty("bitbucketCloudConfig")]
public virtual BitbucketCloudConfig BitbucketCloudConfig { get; set; }
Property Value
Type Description
BitbucketCloudConfig

BitbucketDataCenterConfig

Configuration for connections to Bitbucket Data Center.

Declaration
[JsonProperty("bitbucketDataCenterConfig")]
public virtual BitbucketDataCenterConfig BitbucketDataCenterConfig { get; set; }
Property Value
Type Description
BitbucketDataCenterConfig

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

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

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Disabled

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.

Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type Description
bool?

ETag

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.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

GithubConfig

Configuration for connections to github.com.

Declaration
[JsonProperty("githubConfig")]
public virtual GitHubConfig GithubConfig { get; set; }
Property Value
Type Description
GitHubConfig

GithubEnterpriseConfig

Configuration for connections to an instance of GitHub Enterprise.

Declaration
[JsonProperty("githubEnterpriseConfig")]
public virtual GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig GithubEnterpriseConfig { get; set; }
Property Value
Type Description
GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig

GitlabConfig

Configuration for connections to gitlab.com or an instance of GitLab Enterprise.

Declaration
[JsonProperty("gitlabConfig")]
public virtual GoogleDevtoolsCloudbuildV2GitLabConfig GitlabConfig { get; set; }
Property Value
Type Description
GoogleDevtoolsCloudbuildV2GitLabConfig

InstallationState

Output only. Installation state of the Connection.

Declaration
[JsonProperty("installationState")]
public virtual InstallationState InstallationState { get; set; }
Property Value
Type Description
InstallationState

Name

Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Reconciling

Output only. Set to true when the connection is being set up or updated in the background.

Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type Description
bool?

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

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

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX