Class BitbucketServerTriggerConfig
BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class BitbucketServerTriggerConfig : IDirectResponseSchema
Properties
BitbucketServerConfig
Output only. The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
Declaration
[JsonProperty("bitbucketServerConfig")]
public virtual BitbucketServerConfig BitbucketServerConfig { get; set; }
Property Value
Type | Description |
---|---|
BitbucketServerConfig |
BitbucketServerConfigResource
Required. The Bitbucket server config resource that this trigger config maps to.
Declaration
[JsonProperty("bitbucketServerConfigResource")]
public virtual string BitbucketServerConfigResource { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectKey
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".
Declaration
[JsonProperty("projectKey")]
public virtual string ProjectKey { get; set; }
Property Value
Type | Description |
---|---|
string |
PullRequest
Filter to match changes in pull requests.
Declaration
[JsonProperty("pullRequest")]
public virtual PullRequestFilter PullRequest { get; set; }
Property Value
Type | Description |
---|---|
PullRequestFilter |
Push
Filter to match changes in refs like branches, tags.
Declaration
[JsonProperty("push")]
public virtual PushFilter Push { get; set; }
Property Value
Type | Description |
---|---|
PushFilter |
RepoSlug
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.
Declaration
[JsonProperty("repoSlug")]
public virtual string RepoSlug { get; set; }
Property Value
Type | Description |
---|---|
string |