Show / Hide Table of Contents

Class BitbucketServerConfig

BitbucketServerConfig represents the configuration for a Bitbucket Server.

Inheritance
object
BitbucketServerConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class BitbucketServerConfig : IDirectResponseSchema

Properties

ApiKey

Required. Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Declaration
[JsonProperty("apiKey")]
public virtual string ApiKey { get; set; }
Property Value
Type Description
string

ConnectedRepositories

Output only. Connected Bitbucket Server repositories for this config.

Declaration
[JsonProperty("connectedRepositories")]
public virtual IList<BitbucketServerRepositoryId> ConnectedRepositories { get; set; }
Property Value
Type Description
IList<BitbucketServerRepositoryId>

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Time when the config was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { 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

HostUri

Required. Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Declaration
[JsonProperty("hostUri")]
public virtual string HostUri { get; set; }
Property Value
Type Description
string

Name

The resource name for the config.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PeeredNetwork

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

Declaration
[JsonProperty("peeredNetwork")]
public virtual string PeeredNetwork { get; set; }
Property Value
Type Description
string

PeeredNetworkIpRange

Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used. The field only has an effect if peered_network is set.

Declaration
[JsonProperty("peeredNetworkIpRange")]
public virtual string PeeredNetworkIpRange { get; set; }
Property Value
Type Description
string

Secrets

Required. Secret Manager secrets needed by the config.

Declaration
[JsonProperty("secrets")]
public virtual BitbucketServerSecrets Secrets { get; set; }
Property Value
Type Description
BitbucketServerSecrets

SslCa

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

Declaration
[JsonProperty("sslCa")]
public virtual string SslCa { get; set; }
Property Value
Type Description
string

Username

Username of the account Cloud Build will use on Bitbucket Server.

Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type Description
string

WebhookKey

Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.

Declaration
[JsonProperty("webhookKey")]
public virtual string WebhookKey { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX