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}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Allows clients to store small amounts of arbitrary data.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Allows clients to store small amounts of arbitrary data.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Allows clients to store small amounts of arbitrary data.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Create timestamp
#crypto_key_config
def crypto_key_config() -> ::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig
Returns
- (::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
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig) — Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
Returns
- (::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
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Delete timestamp
#disabled
def disabled() -> ::Boolean
Returns
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitHubConfig) — Configuration for connections to github.com.
#github_config=
def github_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitHubConfig
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::GitHubConfig) — Configuration for connections to github.com.
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitHubConfig) — Configuration for connections to github.com.
#github_enterprise_config
def github_enterprise_config() -> ::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
#github_enterprise_config=
def github_enterprise_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig) — Configuration for connections to an instance of GitHub Enterprise.
#gitlab_config
def gitlab_config() -> ::Google::Cloud::DeveloperConnect::V1::GitLabConfig
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitLabConfig) — Configuration for connections to gitlab.com.
#gitlab_config=
def gitlab_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitLabConfig
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::GitLabConfig) — Configuration for connections to gitlab.com.
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitLabConfig) — Configuration for connections to gitlab.com.
#gitlab_enterprise_config
def gitlab_enterprise_config() -> ::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig) — Configuration for connections to an instance of GitLab Enterprise.
#gitlab_enterprise_config=
def gitlab_enterprise_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig) — Configuration for connections to an instance of GitLab Enterprise.
Returns
- (::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig) — Configuration for connections to an instance of GitLab Enterprise.
#installation_state
def installation_state() -> ::Google::Cloud::DeveloperConnect::V1::InstallationState
Returns
- (::Google::Cloud::DeveloperConnect::V1::InstallationState) — Output only. Installation state of the Connection.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
Returns
-
(::String) — Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}
.
#reconciling
def reconciling() -> ::Boolean
Returns
- (::Boolean) — Output only. Set to true when the connection is being set up or updated in the background.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. A system-assigned unique identifier for a the GitRepositoryLink.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Update timestamp