GetConnectionResult class

Result data returned by getConnection.

Constructors

GetConnectionResult({required Map<String, String> annotations, required String createTime, required bool disabled, required String etag, required GitHubConfigResponse githubConfig, required GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfigResponse githubEnterpriseConfig, required GoogleDevtoolsCloudbuildV2GitLabConfigResponse gitlabConfig, required InstallationStateResponse installationState, required String name, required bool reconciling, required String updateTime})
Creates a new GetConnectionResult. annotations Allows clients to store small amounts of arbitrary data. createTime Server assigned timestamp for when the connection was created. disabled 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. 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. githubConfig Configuration for connections to github.com. githubEnterpriseConfig Configuration for connections to an instance of GitHub Enterprise. gitlabConfig Configuration for connections to gitlab.com or an instance of GitLab Enterprise. installationState Installation state of the Connection. name Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}. reconciling Set to true when the connection is being set up or updated in the background. updateTime Server assigned timestamp for when the connection was updated.
const
GetConnectionResult.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Map<String, String>
Allows clients to store small amounts of arbitrary data.
final
createTime → String
Server assigned timestamp for when the connection was created.
final
disabled → bool
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.
final
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.
final
githubConfig → GitHubConfigResponse
Configuration for connections to github.com.
final
githubEnterpriseConfig → GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfigResponse
Configuration for connections to an instance of GitHub Enterprise.
final
gitlabConfig → GoogleDevtoolsCloudbuildV2GitLabConfigResponse
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
final
hashCode → int
The hash code for this object.
no setterinherited
installationState → InstallationStateResponse
Installation state of the Connection.
final
name → String
Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
final
reconciling → bool
Set to true when the connection is being set up or updated in the background.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateTime → String
Server assigned timestamp for when the connection was updated.
final

Methods

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

Operators

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