View Source GoogleApi.CloudBuild.V1.Model.BitbucketServerTriggerConfig (google_api_cloud_build v0.50.1)

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

Attributes

  • bitbucketServerConfig (type: GoogleApi.CloudBuild.V1.Model.BitbucketServerConfig.t, default: nil) - Output only. The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
  • bitbucketServerConfigResource (type: String.t, default: nil) - Required. The Bitbucket server config resource that this trigger config maps to.
  • projectKey (type: String.t, default: nil) - Required. Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
  • pullRequest (type: GoogleApi.CloudBuild.V1.Model.PullRequestFilter.t, default: nil) - Filter to match changes in pull requests.
  • push (type: GoogleApi.CloudBuild.V1.Model.PushFilter.t, default: nil) - Filter to match changes in refs like branches, tags.
  • repoSlug (type: String.t, default: nil) - Required. Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.BitbucketServerTriggerConfig{
  bitbucketServerConfig:
    GoogleApi.CloudBuild.V1.Model.BitbucketServerConfig.t() | nil,
  bitbucketServerConfigResource: String.t() | nil,
  projectKey: String.t() | nil,
  pullRequest: GoogleApi.CloudBuild.V1.Model.PullRequestFilter.t() | nil,
  push: GoogleApi.CloudBuild.V1.Model.PushFilter.t() | nil,
  repoSlug: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.