Connection class

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

Constructors

Connection({Map<String, String>? annotations, BitbucketCloudConfig? bitbucketCloudConfig, BitbucketDataCenterConfig? bitbucketDataCenterConfig, String? createTime, bool? disabled, String? etag, GitHubConfig? githubConfig, GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig? githubEnterpriseConfig, GoogleDevtoolsCloudbuildV2GitLabConfig? gitlabConfig, InstallationState? installationState, String? name, bool? reconciling, String? updateTime})
Connection.fromJson(Map json_)

Properties

annotations Map<String, String>?
Allows clients to store small amounts of arbitrary data.
getter/setter pair
bitbucketCloudConfig BitbucketCloudConfig?
Configuration for connections to Bitbucket Cloud.
getter/setter pair
bitbucketDataCenterConfig BitbucketDataCenterConfig?
Configuration for connections to Bitbucket Data Center.
getter/setter pair
createTime String?
Server assigned timestamp for when the connection was created.
getter/setter pair
disabled bool?
If disabled is set to true, functionality is disabled for this connection.
getter/setter pair
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.
getter/setter pair
githubConfig GitHubConfig?
Configuration for connections to github.com.
getter/setter pair
githubEnterpriseConfig GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig?
Configuration for connections to an instance of GitHub Enterprise.
getter/setter pair
gitlabConfig GoogleDevtoolsCloudbuildV2GitLabConfig?
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
installationState InstallationState?
Installation state of the Connection.
getter/setter pair
name String?
The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
getter/setter pair
reconciling bool?
Set to true when the connection is being set up or updated in the background.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime String?
Server assigned timestamp for when the connection was updated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited