GoogleApi.DeveloperConnect.V1.Model.BitbucketDataCenterConfig (google_api_developer_connect v0.6.0)

View Source

Configuration for connections to an instance of Bitbucket Data Center.

Attributes

  • authorizerCredential (type: GoogleApi.DeveloperConnect.V1.Model.UserCredential.t, default: nil) - Required. An http access token with the minimum Repository admin scope access. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
  • hostUri (type: String.t, default: nil) - Required. The URI of the Bitbucket Data Center host this connection is for.
  • readAuthorizerCredential (type: GoogleApi.DeveloperConnect.V1.Model.UserCredential.t, default: nil) - Required. An http access token with the minimum Repository read access. It's recommended to use a system account to generate the credentials.
  • serverVersion (type: String.t, default: nil) - Output only. Version of the Bitbucket Data Center server running on the host_uri.
  • serviceDirectoryConfig (type: GoogleApi.DeveloperConnect.V1.Model.ServiceDirectoryConfig.t, default: nil) - Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center instance. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
  • sslCaCertificate (type: String.t, default: nil) - Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
  • webhookSecretSecretVersion (type: String.t, default: nil) - Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DeveloperConnect.V1.Model.BitbucketDataCenterConfig{
  authorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  hostUri: String.t() | nil,
  readAuthorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  serverVersion: String.t() | nil,
  serviceDirectoryConfig:
    GoogleApi.DeveloperConnect.V1.Model.ServiceDirectoryConfig.t() | nil,
  sslCaCertificate: String.t() | nil,
  webhookSecretSecretVersion: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.