Skip to content

Commit

Permalink
feat(cloudbuild)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### cloudbuild:v1alpha1

The following keys were added:
- schemas.BatchCreateRepositoriesResponse.description
- schemas.BatchCreateRepositoriesResponse.id
- schemas.BatchCreateRepositoriesResponse.properties.repositories.description
- schemas.BatchCreateRepositoriesResponse.properties.repositories.items.$ref
- schemas.BatchCreateRepositoriesResponse.properties.repositories.type
- schemas.BatchCreateRepositoriesResponse.type
- schemas.Repository.description
- schemas.Repository.id
- schemas.Repository.properties.annotations.additionalProperties.type
- schemas.Repository.properties.annotations.description
- schemas.Repository.properties.annotations.type
- schemas.Repository.properties.createTime.description
- schemas.Repository.properties.createTime.format
- schemas.Repository.properties.createTime.readOnly
- schemas.Repository.properties.createTime.type
- schemas.Repository.properties.etag.description
- schemas.Repository.properties.etag.type
- schemas.Repository.properties.name.description
- schemas.Repository.properties.name.type
- schemas.Repository.properties.remoteUri.description
- schemas.Repository.properties.remoteUri.type
- schemas.Repository.properties.updateTime.description
- schemas.Repository.properties.updateTime.format
- schemas.Repository.properties.updateTime.readOnly
- schemas.Repository.properties.updateTime.type
- schemas.Repository.type

The following keys were changed:
- schemas.BuildOptions.properties.diskSizeGb.description

#### cloudbuild:v1alpha2

The following keys were added:
- schemas.BatchCreateRepositoriesResponse.description
- schemas.BatchCreateRepositoriesResponse.id
- schemas.BatchCreateRepositoriesResponse.properties.repositories.description
- schemas.BatchCreateRepositoriesResponse.properties.repositories.items.$ref
- schemas.BatchCreateRepositoriesResponse.properties.repositories.type
- schemas.BatchCreateRepositoriesResponse.type
- schemas.Repository.description
- schemas.Repository.id
- schemas.Repository.properties.annotations.additionalProperties.type
- schemas.Repository.properties.annotations.description
- schemas.Repository.properties.annotations.type
- schemas.Repository.properties.createTime.description
- schemas.Repository.properties.createTime.format
- schemas.Repository.properties.createTime.readOnly
- schemas.Repository.properties.createTime.type
- schemas.Repository.properties.etag.description
- schemas.Repository.properties.etag.type
- schemas.Repository.properties.name.description
- schemas.Repository.properties.name.type
- schemas.Repository.properties.remoteUri.description
- schemas.Repository.properties.remoteUri.type
- schemas.Repository.properties.updateTime.description
- schemas.Repository.properties.updateTime.format
- schemas.Repository.properties.updateTime.readOnly
- schemas.Repository.properties.updateTime.type
- schemas.Repository.type

The following keys were changed:
- schemas.BuildOptions.properties.diskSizeGb.description

#### cloudbuild:v1beta1

The following keys were added:
- schemas.BatchCreateRepositoriesResponse.description
- schemas.BatchCreateRepositoriesResponse.id
- schemas.BatchCreateRepositoriesResponse.properties.repositories.description
- schemas.BatchCreateRepositoriesResponse.properties.repositories.items.$ref
- schemas.BatchCreateRepositoriesResponse.properties.repositories.type
- schemas.BatchCreateRepositoriesResponse.type
- schemas.Repository.description
- schemas.Repository.id
- schemas.Repository.properties.annotations.additionalProperties.type
- schemas.Repository.properties.annotations.description
- schemas.Repository.properties.annotations.type
- schemas.Repository.properties.createTime.description
- schemas.Repository.properties.createTime.format
- schemas.Repository.properties.createTime.readOnly
- schemas.Repository.properties.createTime.type
- schemas.Repository.properties.etag.description
- schemas.Repository.properties.etag.type
- schemas.Repository.properties.name.description
- schemas.Repository.properties.name.type
- schemas.Repository.properties.remoteUri.description
- schemas.Repository.properties.remoteUri.type
- schemas.Repository.properties.updateTime.description
- schemas.Repository.properties.updateTime.format
- schemas.Repository.properties.updateTime.readOnly
- schemas.Repository.properties.updateTime.type
- schemas.Repository.type

The following keys were changed:
- schemas.BuildOptions.properties.diskSizeGb.description

#### cloudbuild:v1

The following keys were deleted:
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.id
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.apiVersion.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.apiVersion.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.apiVersion.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.createTime.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.createTime.format
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.createTime.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.createTime.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.endTime.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.endTime.format
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.endTime.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.endTime.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.requestedCancellation.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.requestedCancellation.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.requestedCancellation.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.statusMessage.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.statusMessage.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.statusMessage.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.target.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.target.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.target.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.verb.description
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.verb.readOnly
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.properties.verb.type
- schemas.GoogleDevtoolsCloudbuildV2OperationMetadata.type
- schemas.RunWorkflowCustomOperationMetadata.description
- schemas.RunWorkflowCustomOperationMetadata.id
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.description
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.type
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.description
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.type
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.description
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.type
- schemas.RunWorkflowCustomOperationMetadata.properties.target.description
- schemas.RunWorkflowCustomOperationMetadata.properties.target.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.target.type
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.description
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.type
- schemas.RunWorkflowCustomOperationMetadata.type

The following keys were added:
- schemas.BuildTrigger.properties.repositoryEventConfig.$ref
- schemas.BuildTrigger.properties.repositoryEventConfig.description
- schemas.NetworkConfig.properties.peeredNetworkIpRange.description
- schemas.NetworkConfig.properties.peeredNetworkIpRange.type
- schemas.RepositoryEventConfig.description
- schemas.RepositoryEventConfig.id
- schemas.RepositoryEventConfig.properties.pullRequest.$ref
- schemas.RepositoryEventConfig.properties.pullRequest.description
- schemas.RepositoryEventConfig.properties.push.$ref
- schemas.RepositoryEventConfig.properties.push.description
- schemas.RepositoryEventConfig.properties.repository.description
- schemas.RepositoryEventConfig.properties.repository.type
- schemas.RepositoryEventConfig.properties.repositoryType.description
- schemas.RepositoryEventConfig.properties.repositoryType.enum
- schemas.RepositoryEventConfig.properties.repositoryType.enumDescriptions
- schemas.RepositoryEventConfig.properties.repositoryType.readOnly
- schemas.RepositoryEventConfig.properties.repositoryType.type
- schemas.RepositoryEventConfig.type

The following keys were changed:
- resources.projects.resources.githubEnterpriseConfigs.methods.delete.parameters.name.description
- resources.projects.resources.githubEnterpriseConfigs.methods.get.parameters.name.description
- resources.projects.resources.githubEnterpriseConfigs.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.delete.parameters.name.description
- resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.get.parameters.name.description
- resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.triggers.methods.run.description
- resources.projects.resources.triggers.methods.run.description
- schemas.BuildOptions.properties.diskSizeGb.description
- schemas.GitHubEnterpriseConfig.properties.name.description
- schemas.GitHubEventsConfig.properties.enterpriseConfigResourceName.description
  • Loading branch information
yoshi-automation authored and bcoe committed Dec 22, 2022
1 parent 2245161 commit b021cd2
Show file tree
Hide file tree
Showing 8 changed files with 391 additions and 192 deletions.
156 changes: 56 additions & 100 deletions discovery/cloudbuild-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
"type": "string"
},
"name": {
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"location": "path",
"pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -526,7 +526,7 @@
"type": "string"
},
"name": {
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"location": "path",
"pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -586,7 +586,7 @@
],
"parameters": {
"name": {
"description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"location": "path",
"pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1389,7 +1389,7 @@
"type": "string"
},
"name": {
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1424,7 +1424,7 @@
"type": "string"
},
"name": {
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1484,7 +1484,7 @@
],
"parameters": {
"name": {
"description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1752,7 +1752,7 @@
]
},
"run": {
"description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path. The POST request that does not include the location endpoint in the path can only be used when running global triggers.",
"description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:run",
"httpMethod": "POST",
"id": "cloudbuild.projects.locations.triggers.run",
Expand Down Expand Up @@ -2186,7 +2186,7 @@
]
},
"run": {
"description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path. The POST request that does not include the location endpoint in the path can only be used when running global triggers.",
"description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.",
"flatPath": "v1/projects/{projectId}/triggers/{triggerId}:run",
"httpMethod": "POST",
"id": "cloudbuild.projects.triggers.run",
Expand Down Expand Up @@ -2295,7 +2295,7 @@
}
}
},
"revision": "20221020",
"revision": "20221219",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -2944,7 +2944,7 @@
"id": "BuildOptions",
"properties": {
"diskSizeGb": {
"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.",
"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.",
"format": "int64",
"type": "string"
},
Expand Down Expand Up @@ -3312,6 +3312,10 @@
"$ref": "PubsubConfig",
"description": "PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published."
},
"repositoryEventConfig": {
"$ref": "RepositoryEventConfig",
"description": "The configuration of a trigger that creates a build whenever an event from Repo API is received."
},
"resourceName": {
"description": "The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.",
"type": "string"
Expand Down Expand Up @@ -3712,7 +3716,7 @@
"type": "string"
},
"name": {
"description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"type": "string"
},
"peeredNetwork": {
Expand Down Expand Up @@ -3778,7 +3782,7 @@
"id": "GitHubEventsConfig",
"properties": {
"enterpriseConfigResourceName": {
"description": "Optional. The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"",
"description": "Optional. The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"",
"type": "string"
},
"installationId": {
Expand Down Expand Up @@ -4019,50 +4023,6 @@
},
"type": "object"
},
"GoogleDevtoolsCloudbuildV2OperationMetadata": {
"description": "Represents the metadata of the long-running operation.",
"id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"statusMessage": {
"description": "Output only. Human-readable status of the operation, if any.",
"readOnly": true,
"type": "string"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"HTTPDelivery": {
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
"id": "HTTPDelivery",
Expand Down Expand Up @@ -4334,6 +4294,10 @@
"peeredNetwork": {
"description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/build/docs/private-pools/set-up-private-pool-environment)",
"type": "string"
},
"peeredNetworkIpRange": {
"description": "Immutable. Subnet IP range within the peered network. This is specified in CIDR notation. The IP and prefix size are both optional. If unspecified, the default value for IP is blank (will use an automatic value from the peered network), and the prefix size will default to 24 bits. e.g. `192.168.0.0/30` would specify a subnet mask of 192.168.0.0 with a prefix size of 30 bits. `192.168.0.0` would specify a subnet mask of 192.168.0.0 with a prefix size of 24 bits (the default prefix size). `/16` would specify a prefix size of 16 bits, with an unspecified IP.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -4751,6 +4715,42 @@
},
"type": "object"
},
"RepositoryEventConfig": {
"description": "The configuration of a trigger that creates a build whenever an event from Repo API is received.",
"id": "RepositoryEventConfig",
"properties": {
"pullRequest": {
"$ref": "PullRequestFilter",
"description": "Filter to match changes in pull requests."
},
"push": {
"$ref": "PushFilter",
"description": "Filter to match changes in refs like branches, tags."
},
"repository": {
"description": "The resource name of the Repo API resource.",
"type": "string"
},
"repositoryType": {
"description": "Output only. The type of the SCM vendor the repository points to.",
"enum": [
"REPOSITORY_TYPE_UNSPECIFIED",
"GITHUB",
"GITHUB_ENTERPRISE",
"GITLAB_ENTERPRISE"
],
"enumDescriptions": [
"If unspecified, RepositoryType defaults to GITHUB.",
"The SCM repo is GITHUB.",
"The SCM repo is GITHUB Enterprise.",
"The SCM repo is GITLAB Enterprise."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Results": {
"description": "Artifacts created by the build pipeline.",
"id": "Results",
Expand Down Expand Up @@ -4845,50 +4845,6 @@
},
"type": "object"
},
"RunWorkflowCustomOperationMetadata": {
"description": "Represents the custom metadata of the RunWorkflow long-running operation.",
"id": "RunWorkflowCustomOperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"pipelineRunId": {
"description": "Output only. ID of the pipeline run created by RunWorkflow.",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SMTPDelivery": {
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
"id": "SMTPDelivery",
Expand Down
56 changes: 54 additions & 2 deletions discovery/cloudbuild-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
}
}
},
"revision": "20221020",
"revision": "20221219",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -503,6 +503,20 @@
},
"type": "object"
},
"BatchCreateRepositoriesResponse": {
"description": "Message for response of creating repositories in batch.",
"id": "BatchCreateRepositoriesResponse",
"properties": {
"repositories": {
"description": "Repository resources created.",
"items": {
"$ref": "Repository"
},
"type": "array"
}
},
"type": "object"
},
"BitbucketServerConnectedRepository": {
"description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.",
"id": "BitbucketServerConnectedRepository",
Expand Down Expand Up @@ -785,7 +799,7 @@
"id": "BuildOptions",
"properties": {
"diskSizeGb": {
"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.",
"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.",
"format": "int64",
"type": "string"
},
Expand Down Expand Up @@ -1770,6 +1784,44 @@
},
"type": "object"
},
"Repository": {
"description": "A repository associated to a parent connection.",
"id": "Repository",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Allows clients to store small amounts of arbitrary data.",
"type": "object"
},
"createTime": {
"description": "Output only. Server assigned timestamp for when the connection was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"etag": {
"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
"type": "string"
},
"name": {
"description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.",
"type": "string"
},
"remoteUri": {
"description": "Required. Git Clone HTTPS URI.",
"type": "string"
},
"updateTime": {
"description": "Output only. Server assigned timestamp for when the connection was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Results": {
"description": "Artifacts created by the build pipeline.",
"id": "Results",
Expand Down
Loading

0 comments on commit b021cd2

Please sign in to comment.