ConnectionArgs constructor
- Input<
Map< ? annotations,String, String> > - required Input<
String> connectionId, - Input<
bool> ? disabled, - Input<
String> ? etag, - Input<
GitHubConfig> ? githubConfig, - Input<
GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig> ? githubEnterpriseConfig, - Input<
GoogleDevtoolsCloudbuildV2GitLabConfig> ? gitlabConfig, - Input<
String> ? location, - Input<
String> ? name, - Input<
String> ? project,
Creates a new ConnectionArgs.
annotations Allows clients to store small amounts of arbitrary data.
connectionId Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
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.
location Optional.
name Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
project Optional.
Implementation
const ConnectionArgs({
this.annotations,
required this.connectionId,
this.disabled,
this.etag,
this.githubConfig,
this.githubEnterpriseConfig,
this.gitlabConfig,
this.location,
this.name,
this.project,
});