GetBitbucketServerConfigResult class
Result data returned by getBitbucketServerConfig.
Constructors
-
GetBitbucketServerConfigResult({required String apiKey, required List<
BitbucketServerRepositoryIdResponse> connectedRepositories, required String createTime, required String hostUri, required String name, required String peeredNetwork, required String peeredNetworkIpRange, required BitbucketServerSecretsResponse secrets, required String sslCa, required String username, required String webhookKey}) -
Creates a new GetBitbucketServerConfigResult.
apiKeyImmutable. 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.connectedRepositoriesConnected Bitbucket Server repositories for this config.createTimeTime when the config was created.hostUriImmutable. 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.nameThe resource name for the config.peeredNetworkOptional. 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 formatprojects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.peeredNetworkIpRangeImmutable. 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/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.secretsSecret Manager secrets needed by the config.sslCaOptional. 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.usernameUsername of the account Cloud Build will use on Bitbucket Server.webhookKeyUUID included in webhook requests. The UUID is used to look up the corresponding config.const -
GetBitbucketServerConfigResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- apiKey → String
-
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.
final
-
connectedRepositories
→ List<
BitbucketServerRepositoryIdResponse> -
Connected Bitbucket Server repositories for this config.
final
- createTime → String
-
Time when the config was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostUri → String
-
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.
final
- name → String
-
The resource name for the config.
final
- peeredNetwork → String
-
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.final - peeredNetworkIpRange → String
-
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/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secrets → BitbucketServerSecretsResponse
-
Secret Manager secrets needed by the config.
final
- sslCa → String
-
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.
final
- username → String
-
Username of the account Cloud Build will use on Bitbucket Server.
final
- webhookKey → String
-
UUID included in webhook requests. The UUID is used to look up the corresponding config.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited