GetConnectionResult constructor
- 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.
Implementation
const GetConnectionResult({
required this.annotations,
required this.createTime,
required this.disabled,
required this.etag,
required this.githubConfig,
required this.githubEnterpriseConfig,
required this.gitlabConfig,
required this.installationState,
required this.name,
required this.reconciling,
required this.updateTime,
});