Skip to content

Commit f30d7d4

Browse files
feat(cloudbuild): update the api
#### cloudbuild:v1 The following keys were added: - schemas.GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig (Total Keys: 8) - schemas.HybridPoolConfig (Total Keys: 4) - schemas.HybridWorkerConfig (Total Keys: 8) - schemas.PoolOption.properties.workerConfig.$ref (Total Keys: 1) - schemas.WorkerPool.properties.hybridPoolConfig.$ref (Total Keys: 1) #### cloudbuild:v1alpha1 The following keys were added: - schemas.GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig (Total Keys: 8) - schemas.PoolOption.properties.workerConfig.$ref (Total Keys: 1) #### cloudbuild:v1alpha2 The following keys were added: - schemas.GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig (Total Keys: 8) - schemas.PoolOption.properties.workerConfig.$ref (Total Keys: 1) #### cloudbuild:v1beta1 The following keys were added: - schemas.GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig (Total Keys: 8) - schemas.PoolOption.properties.workerConfig.$ref (Total Keys: 1)
1 parent ad84a87 commit f30d7d4

9 files changed

+281
-4
lines changed

docs/dyn/cloudbuild_v1.projects.builds.html

+20
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ <h3>Method Details</h3>
241241
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
242242
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
243243
&quot;name&quot;: &quot;A String&quot;, # 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}
244+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
245+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
246+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
247+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
248+
},
244249
},
245250
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
246251
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.
@@ -497,6 +502,11 @@ <h3>Method Details</h3>
497502
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
498503
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
499504
&quot;name&quot;: &quot;A String&quot;, # 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}
505+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
506+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
507+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
508+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
509+
},
500510
},
501511
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
502512
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.
@@ -784,6 +794,11 @@ <h3>Method Details</h3>
784794
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
785795
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
786796
&quot;name&quot;: &quot;A String&quot;, # 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}
797+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
798+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
799+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
800+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
801+
},
787802
},
788803
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
789804
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.
@@ -1046,6 +1061,11 @@ <h3>Method Details</h3>
10461061
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
10471062
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
10481063
&quot;name&quot;: &quot;A String&quot;, # 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}
1064+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
1065+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
1066+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
1067+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
1068+
},
10491069
},
10501070
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
10511071
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.

docs/dyn/cloudbuild_v1.projects.locations.builds.html

+20
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@ <h3>Method Details</h3>
240240
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
241241
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
242242
&quot;name&quot;: &quot;A String&quot;, # 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}
243+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
244+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
245+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
246+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
247+
},
243248
},
244249
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
245250
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.
@@ -496,6 +501,11 @@ <h3>Method Details</h3>
496501
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
497502
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
498503
&quot;name&quot;: &quot;A String&quot;, # 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}
504+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
505+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
506+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
507+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
508+
},
499509
},
500510
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
501511
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.
@@ -783,6 +793,11 @@ <h3>Method Details</h3>
783793
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
784794
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
785795
&quot;name&quot;: &quot;A String&quot;, # 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}
796+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
797+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
798+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
799+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
800+
},
786801
},
787802
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
788803
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.
@@ -1045,6 +1060,11 @@ <h3>Method Details</h3>
10451060
&quot;machineType&quot;: &quot;A String&quot;, # Compute Engine machine type on which to run the build.
10461061
&quot;pool&quot;: { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
10471062
&quot;name&quot;: &quot;A String&quot;, # 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}
1063+
&quot;workerConfig&quot;: { # Configuration per workload for both Private Pools and Hybrid Pools. # Configuration per workload.
1064+
&quot;diskSizeGb&quot;: &quot;A String&quot;, # The disk size (in GB) which is requested for the build container. If unset, a value of 10 GB will be used.
1065+
&quot;memoryGb&quot;: 3.14, # The memory (in GB) which is requested for the build container. If unset, a value of 4 GB will be used.
1066+
&quot;vcpuCount&quot;: 3.14, # The number of vCPUs which are requested for the build container. If unset, a value of 1 will be used.
1067+
},
10481068
},
10491069
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
10501070
&quot;secretEnv&quot;: [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build&#x27;s `Secret`. These variables will be available to all build steps in this build.

0 commit comments

Comments
 (0)