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

View Source

Configuration for connections to an instance of Bitbucket Cloud.

Attributes

  • authorizerCredential (type: GoogleApi.DeveloperConnect.V1.Model.UserCredential.t, default: nil) - Required. An access token with the minimum repository, pullrequest and webhook scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
  • readAuthorizerCredential (type: GoogleApi.DeveloperConnect.V1.Model.UserCredential.t, default: nil) - Required. An access token with the minimum repository access. It can either be a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
  • 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 and create webhooks.
  • workspace (type: String.t, default: nil) - Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DeveloperConnect.V1.Model.BitbucketCloudConfig{
  authorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  readAuthorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  webhookSecretSecretVersion: String.t() | nil,
  workspace: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.