Skip to content

Commit

Permalink
feat(cloudbuild): update the api
Browse files Browse the repository at this point in the history
#### cloudbuild:v1

The following keys were added:
- resources.projects.resources.locations.resources.workerPools.methods.create (Total Keys: 16)
- resources.projects.resources.locations.resources.workerPools.methods.delete (Total Keys: 15)
- resources.projects.resources.locations.resources.workerPools.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.workerPools.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.workerPools.methods.patch (Total Keys: 17)
- schemas.BuildOptions.properties.pool.$ref (Total Keys: 1)
- schemas.BuildTrigger.properties.autodetect.type (Total Keys: 1)
- schemas.CreateWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.DeleteWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.ListWorkerPoolsResponse (Total Keys: 5)
- schemas.NetworkConfig (Total Keys: 4)
- schemas.PoolOption (Total Keys: 3)
- schemas.PrivatePoolV1Config (Total Keys: 4)
- schemas.UpdateWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.WorkerConfig (Total Keys: 5)
- schemas.WorkerPool (Total Keys: 21)

#### cloudbuild:v1alpha1

The following keys were added:
- schemas.BuildOptions.properties.pool.$ref (Total Keys: 1)
- schemas.CreateWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.DeleteWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.PoolOption (Total Keys: 3)
- schemas.UpdateWorkerPoolOperationMetadata (Total Keys: 7)

#### cloudbuild:v1alpha2

The following keys were added:
- schemas.BuildOptions.properties.pool.$ref (Total Keys: 1)
- schemas.CreateWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.DeleteWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.PoolOption (Total Keys: 3)
- schemas.UpdateWorkerPoolOperationMetadata (Total Keys: 7)

#### cloudbuild:v1beta1

The following keys were added:
- schemas.BuildOptions.properties.pool.$ref (Total Keys: 1)
- schemas.CreateWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.DeleteWorkerPoolOperationMetadata (Total Keys: 7)
- schemas.PoolOption (Total Keys: 3)
- schemas.UpdateWorkerPoolOperationMetadata (Total Keys: 7)
  • Loading branch information
yoshi-automation committed Jul 6, 2021
1 parent 2e31dd0 commit 3a3b420
Show file tree
Hide file tree
Showing 10 changed files with 1,168 additions and 76 deletions.
36 changes: 24 additions & 12 deletions docs/dyn/cloudbuild_v1.projects.builds.html

Large diffs are not rendered by default.

36 changes: 24 additions & 12 deletions docs/dyn/cloudbuild_v1.projects.locations.builds.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the triggers Resource.</p>

<p class="toc_element">
<code><a href="cloudbuild_v1.projects.locations.workerPools.html">workerPools()</a></code>
</p>
<p class="firstline">Returns the workerPools Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
60 changes: 42 additions & 18 deletions docs/dyn/cloudbuild_v1.projects.locations.triggers.html

Large diffs are not rendered by default.

369 changes: 369 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.locations.workerPools.html

Large diffs are not rendered by default.

60 changes: 42 additions & 18 deletions docs/dyn/cloudbuild_v1.projects.triggers.html

Large diffs are not rendered by default.

420 changes: 416 additions & 4 deletions googleapiclient/discovery_cache/documents/cloudbuild.v1.json

Large diffs are not rendered by default.

86 changes: 82 additions & 4 deletions googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
}
}
},
"revision": "20210613",
"revision": "20210701",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -628,6 +628,10 @@
],
"type": "string"
},
"pool": {
"$ref": "PoolOption",
"description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a custom worker pool](https://cloud.google.com/build/docs/custom-workers/run-builds-in-custom-worker-pool) for more information."
},
"requestedVerifyOption": {
"description": "Requested verifiability options.",
"enum": [
Expand Down Expand Up @@ -684,7 +688,7 @@
"type": "array"
},
"workerPool": {
"description": "Option to specify a `WorkerPool` for the build. Format: projects/{project}/locations/{location}/workerPools/{workerPool} This field is in beta and is available only to restricted users.",
"description": "This field deprecated; please use `pool.name` instead.",
"type": "string"
}
},
Expand Down Expand Up @@ -816,6 +820,48 @@
"properties": {},
"type": "object"
},
"CreateWorkerPoolOperationMetadata": {
"description": "Metadata for the `CreateWorkerPool` operation.",
"id": "CreateWorkerPoolOperationMetadata",
"properties": {
"completeTime": {
"description": "Time the operation was completed.",
"format": "google-datetime",
"type": "string"
},
"createTime": {
"description": "Time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"type": "string"
}
},
"type": "object"
},
"DeleteWorkerPoolOperationMetadata": {
"description": "Metadata for the `DeleteWorkerPool` operation.",
"id": "DeleteWorkerPoolOperationMetadata",
"properties": {
"completeTime": {
"description": "Time the operation was completed.",
"format": "google-datetime",
"type": "string"
},
"createTime": {
"description": "Time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
Expand Down Expand Up @@ -1073,6 +1119,17 @@
},
"type": "object"
},
"PoolOption": {
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a custom worker pool](https://cloud.google.com/build/docs/custom-workers/run-builds-in-custom-worker-pool) for more information.",
"id": "PoolOption",
"properties": {
"name": {
"description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}",
"type": "string"
}
},
"type": "object"
},
"RepoSource": {
"description": "Location of the source in a Google Cloud Source Repository.",
"id": "RepoSource",
Expand Down Expand Up @@ -1271,7 +1328,7 @@
},
"storageSourceManifest": {
"$ref": "StorageSourceManifest",
"description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview."
"description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)."
}
},
"type": "object"
Expand Down Expand Up @@ -1351,7 +1408,7 @@
"type": "object"
},
"StorageSourceManifest": {
"description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview.",
"description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).",
"id": "StorageSourceManifest",
"properties": {
"bucket": {
Expand Down Expand Up @@ -1387,6 +1444,27 @@
},
"type": "object"
},
"UpdateWorkerPoolOperationMetadata": {
"description": "Metadata for the `UpdateWorkerPool` operation.",
"id": "UpdateWorkerPoolOperationMetadata",
"properties": {
"completeTime": {
"description": "Time the operation was completed.",
"format": "google-datetime",
"type": "string"
},
"createTime": {
"description": "Time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"type": "string"
}
},
"type": "object"
},
"Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
"id": "Volume",
Expand Down
86 changes: 82 additions & 4 deletions googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
}
}
},
"revision": "20210613",
"revision": "20210701",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -639,6 +639,10 @@
],
"type": "string"
},
"pool": {
"$ref": "PoolOption",
"description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a custom worker pool](https://cloud.google.com/build/docs/custom-workers/run-builds-in-custom-worker-pool) for more information."
},
"requestedVerifyOption": {
"description": "Requested verifiability options.",
"enum": [
Expand Down Expand Up @@ -695,7 +699,7 @@
"type": "array"
},
"workerPool": {
"description": "Option to specify a `WorkerPool` for the build. Format: projects/{project}/locations/{location}/workerPools/{workerPool} This field is in beta and is available only to restricted users.",
"description": "This field deprecated; please use `pool.name` instead.",
"type": "string"
}
},
Expand Down Expand Up @@ -827,6 +831,48 @@
"properties": {},
"type": "object"
},
"CreateWorkerPoolOperationMetadata": {
"description": "Metadata for the `CreateWorkerPool` operation.",
"id": "CreateWorkerPoolOperationMetadata",
"properties": {
"completeTime": {
"description": "Time the operation was completed.",
"format": "google-datetime",
"type": "string"
},
"createTime": {
"description": "Time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"type": "string"
}
},
"type": "object"
},
"DeleteWorkerPoolOperationMetadata": {
"description": "Metadata for the `DeleteWorkerPool` operation.",
"id": "DeleteWorkerPoolOperationMetadata",
"properties": {
"completeTime": {
"description": "Time the operation was completed.",
"format": "google-datetime",
"type": "string"
},
"createTime": {
"description": "Time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
Expand Down Expand Up @@ -1076,6 +1122,17 @@
},
"type": "object"
},
"PoolOption": {
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a custom worker pool](https://cloud.google.com/build/docs/custom-workers/run-builds-in-custom-worker-pool) for more information.",
"id": "PoolOption",
"properties": {
"name": {
"description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}",
"type": "string"
}
},
"type": "object"
},
"RepoSource": {
"description": "Location of the source in a Google Cloud Source Repository.",
"id": "RepoSource",
Expand Down Expand Up @@ -1274,7 +1331,7 @@
},
"storageSourceManifest": {
"$ref": "StorageSourceManifest",
"description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview."
"description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)."
}
},
"type": "object"
Expand Down Expand Up @@ -1354,7 +1411,7 @@
"type": "object"
},
"StorageSourceManifest": {
"description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview.",
"description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).",
"id": "StorageSourceManifest",
"properties": {
"bucket": {
Expand Down Expand Up @@ -1390,6 +1447,27 @@
},
"type": "object"
},
"UpdateWorkerPoolOperationMetadata": {
"description": "Metadata for the `UpdateWorkerPool` operation.",
"id": "UpdateWorkerPoolOperationMetadata",
"properties": {
"completeTime": {
"description": "Time the operation was completed.",
"format": "google-datetime",
"type": "string"
},
"createTime": {
"description": "Time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"type": "string"
}
},
"type": "object"
},
"Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
"id": "Volume",
Expand Down
Loading

0 comments on commit 3a3b420

Please sign in to comment.