Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::Connection.
Message describing Connection object
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Allows clients to store small amounts of arbitrary data.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Allows clients to store small amounts of arbitrary data.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Allows clients to store small amounts of arbitrary data.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Create timestamp
#crypto_key_config
def crypto_key_config() -> ::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig
- (::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig) — Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
#crypto_key_config=
def crypto_key_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig
- value (::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig) — Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
- (::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig) — Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Delete timestamp
#disabled
def disabled() -> ::Boolean
- (::Boolean) — Optional. 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.
#disabled=
def disabled=(value) -> ::Boolean
- value (::Boolean) — Optional. 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.
- (::Boolean) — Optional. 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
def etag() -> ::String
- (::String) — Optional. 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.
#etag=
def etag=(value) -> ::String
- value (::String) — Optional. 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.
- (::String) — Optional. 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.
#github_config
def github_config() -> ::Google::Cloud::DeveloperConnect::V1::GitHubConfig
-
(::Google::Cloud::DeveloperConnect::V1::GitHubConfig) — Configuration for connections to github.com.
Note: The following fields are mutually exclusive:
github_config
,github_enterprise_config
,gitlab_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#github_config=
def github_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitHubConfig
-
value (::Google::Cloud::DeveloperConnect::V1::GitHubConfig) — Configuration for connections to github.com.
Note: The following fields are mutually exclusive:
github_config
,github_enterprise_config
,gitlab_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DeveloperConnect::V1::GitHubConfig) — Configuration for connections to github.com.
Note: The following fields are mutually exclusive:
github_config
,github_enterprise_config
,gitlab_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#github_enterprise_config
def github_enterprise_config() -> ::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig
-
(::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Note: The following fields are mutually exclusive:
github_enterprise_config
,github_config
,gitlab_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#github_enterprise_config=
def github_enterprise_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig
-
value (::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Note: The following fields are mutually exclusive:
github_enterprise_config
,github_config
,gitlab_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Note: The following fields are mutually exclusive:
github_enterprise_config
,github_config
,gitlab_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gitlab_config
def gitlab_config() -> ::Google::Cloud::DeveloperConnect::V1::GitLabConfig
-
(::Google::Cloud::DeveloperConnect::V1::GitLabConfig) — Configuration for connections to gitlab.com.
Note: The following fields are mutually exclusive:
gitlab_config
,github_config
,github_enterprise_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gitlab_config=
def gitlab_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitLabConfig
-
value (::Google::Cloud::DeveloperConnect::V1::GitLabConfig) — Configuration for connections to gitlab.com.
Note: The following fields are mutually exclusive:
gitlab_config
,github_config
,github_enterprise_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DeveloperConnect::V1::GitLabConfig) — Configuration for connections to gitlab.com.
Note: The following fields are mutually exclusive:
gitlab_config
,github_config
,github_enterprise_config
,gitlab_enterprise_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gitlab_enterprise_config
def gitlab_enterprise_config() -> ::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig
-
(::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig) — Configuration for connections to an instance of GitLab Enterprise.
Note: The following fields are mutually exclusive:
gitlab_enterprise_config
,github_config
,github_enterprise_config
,gitlab_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gitlab_enterprise_config=
def gitlab_enterprise_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig
-
value (::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig) — Configuration for connections to an instance of GitLab Enterprise.
Note: The following fields are mutually exclusive:
gitlab_enterprise_config
,github_config
,github_enterprise_config
,gitlab_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig) — Configuration for connections to an instance of GitLab Enterprise.
Note: The following fields are mutually exclusive:
gitlab_enterprise_config
,github_config
,github_enterprise_config
,gitlab_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#installation_state
def installation_state() -> ::Google::Cloud::DeveloperConnect::V1::InstallationState
- (::Google::Cloud::DeveloperConnect::V1::InstallationState) — Output only. Installation state of the Connection.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
#name
def name() -> ::String
-
(::String) — Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
-
(::String) — Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
#reconciling
def reconciling() -> ::Boolean
- (::Boolean) — Output only. Set to true when the connection is being set up or updated in the background.
#uid
def uid() -> ::String
- (::String) — Output only. A system-assigned unique identifier for a the GitRepositoryLink.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Update timestamp