Class: Google::Apis::CloudbuildV2::BitbucketDataCenterConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::BitbucketDataCenterConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
Configuration for connections to Bitbucket Data Center.
Instance Attribute Summary collapse
-
#authorizer_credential ⇒ Google::Apis::CloudbuildV2::UserCredential
Represents a personal access token that authorized the Connection, and associated metadata.
-
#host_uri ⇒ String
Required.
-
#read_authorizer_credential ⇒ Google::Apis::CloudbuildV2::UserCredential
Represents a personal access token that authorized the Connection, and associated metadata.
-
#server_version ⇒ String
Output only.
-
#service_directory_config ⇒ Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a connection.
-
#ssl_ca ⇒ String
Optional.
-
#webhook_secret_secret_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BitbucketDataCenterConfig
constructor
A new instance of BitbucketDataCenterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BitbucketDataCenterConfig
Returns a new instance of BitbucketDataCenterConfig.
320 321 322 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorizer_credential ⇒ Google::Apis::CloudbuildV2::UserCredential
Represents a personal access token that authorized the Connection, and
associated metadata.
Corresponds to the JSON property authorizerCredential
284 285 286 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 284 def @authorizer_credential end |
#host_uri ⇒ String
Required. The URI of the Bitbucket Data Center instance or cluster this
connection is for.
Corresponds to the JSON property hostUri
290 291 292 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 290 def host_uri @host_uri end |
#read_authorizer_credential ⇒ Google::Apis::CloudbuildV2::UserCredential
Represents a personal access token that authorized the Connection, and
associated metadata.
Corresponds to the JSON property readAuthorizerCredential
296 297 298 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 296 def @read_authorizer_credential end |
#server_version ⇒ String
Output only. Version of the Bitbucket Data Center running on the host_uri
.
Corresponds to the JSON property serverVersion
301 302 303 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 301 def server_version @server_version end |
#service_directory_config ⇒ Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a
connection.
Corresponds to the JSON property serviceDirectoryConfig
307 308 309 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 307 def service_directory_config @service_directory_config end |
#ssl_ca ⇒ String
Optional. SSL certificate to use for requests to the Bitbucket Data Center.
Corresponds to the JSON property sslCa
312 313 314 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 312 def ssl_ca @ssl_ca end |
#webhook_secret_secret_version ⇒ String
Required. Immutable. SecretManager resource containing the webhook secret used
to verify webhook events, formatted as projects/*/secrets/*/versions/*
.
Corresponds to the JSON property webhookSecretSecretVersion
318 319 320 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 318 def webhook_secret_secret_version @webhook_secret_secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
325 326 327 328 329 330 331 332 333 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 325 def update!(**args) @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential) @host_uri = args[:host_uri] if args.key?(:host_uri) @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential) @server_version = args[:server_version] if args.key?(:server_version) @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config) @ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca) @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version) end |