ConnectionArgs class

The set of arguments for Connection. The set of arguments for Connection.

Constructors

ConnectionArgs({Input<Map<String, String>>? annotations, 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.
const
ConnectionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>>?
Allows clients to store small amounts of arbitrary data.
final
connectionId → Input<String>
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 -._~%!$&'()*+,;=@.
final
disabled → Input<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 → Input<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 → Input<GitHubConfig>?
Configuration for connections to github.com.
final
githubEnterpriseConfig → Input<GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig>?
Configuration for connections to an instance of GitHub Enterprise.
final
gitlabConfig → Input<GoogleDevtoolsCloudbuildV2GitLabConfig>?
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String>?
final
name → Input<String>?
Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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