Skip to content

Commit e68b294

Browse files
chore(remotebuildexecution): update the api
#### remotebuildexecution:v1 The following keys were deleted: - schemas.BuildBazelRemoteExecutionV2Action.properties.outputNodeProperties (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties.items (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig (Total Keys: 4) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.properties.soleTenancy (Total Keys: 1) The following keys were added: - schemas.BuildBazelRemoteExecutionV2Action.properties.platform (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2Action.properties.salt (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Command.properties.outputNodeProperties (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2ExecutedActionMetadata.properties.auxiliaryMetadata (Total Keys: 3) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2NodeProperties (Total Keys: 8) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandDurations.properties.casRelease (Total Keys: 2) - schemas.GoogleDevtoolsRemotebuildbotCommandDurations.properties.cmWaitForAssignment (Total Keys: 2) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.usedAsyncContainer (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.properties.soleTenantNodeType (Total Keys: 1) #### remotebuildexecution:v1alpha The following keys were deleted: - schemas.BuildBazelRemoteExecutionV2Action.properties.outputNodeProperties (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties.items (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig (Total Keys: 4) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.properties.soleTenancy (Total Keys: 1) The following keys were added: - schemas.BuildBazelRemoteExecutionV2Action.properties.platform (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2Action.properties.salt (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Command.properties.outputNodeProperties (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2ExecutedActionMetadata.properties.auxiliaryMetadata (Total Keys: 3) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2NodeProperties (Total Keys: 8) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandDurations.properties.casRelease (Total Keys: 2) - schemas.GoogleDevtoolsRemotebuildbotCommandDurations.properties.cmWaitForAssignment (Total Keys: 2) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.usedAsyncContainer (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.properties.soleTenantNodeType (Total Keys: 1) #### remotebuildexecution:v2 The following keys were deleted: - schemas.BuildBazelRemoteExecutionV2Action.properties.outputNodeProperties (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties.items (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties.items (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig (Total Keys: 4) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.properties.soleTenancy (Total Keys: 1) The following keys were added: - schemas.BuildBazelRemoteExecutionV2Action.properties.platform (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2Action.properties.salt (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Command.properties.outputNodeProperties (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2Directory.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2ExecutedActionMetadata.properties.auxiliaryMetadata (Total Keys: 3) - schemas.BuildBazelRemoteExecutionV2FileNode.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2NodeProperties (Total Keys: 8) - schemas.BuildBazelRemoteExecutionV2OutputFile.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2OutputSymlink.properties.nodeProperties (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2SymlinkNode.properties.nodeProperties (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandDurations.properties.casRelease (Total Keys: 2) - schemas.GoogleDevtoolsRemotebuildbotCommandDurations.properties.cmWaitForAssignment (Total Keys: 2) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.usedAsyncContainer (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.properties.soleTenantNodeType (Total Keys: 1)
1 parent b865a5a commit e68b294

8 files changed

+6773
-6581
lines changed

docs/dyn/remotebuildexecution_v1alpha.projects.instances.workerpools.html

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,12 @@ <h3>Method Details</h3>
128128
&quot;labels&quot;: { # Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
129129
&quot;a_key&quot;: &quot;A String&quot;,
130130
},
131-
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `n1-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
131+
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
132132
&quot;maxConcurrentActions&quot;: &quot;A String&quot;, # The maximum number of actions a worker can execute concurrently.
133133
&quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
134134
&quot;networkAccess&quot;: &quot;A String&quot;, # Determines the type of network access granted to workers. Possible values: - &quot;public&quot;: Workers can connect to the public internet. - &quot;private&quot;: Workers can only connect to Google APIs and services. - &quot;restricted-private&quot;: Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
135135
&quot;reserved&quot;: True or False, # Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won&#x27;t be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.
136-
&quot;soleTenancy&quot;: { # SoleTenancyConfig specifies information required to host a pool on STNs. # Sole-tenant node information for pools hosted on STNs.
137-
&quot;nodeType&quot;: &quot;A String&quot;, # The sole-tenant node type to host the pool&#x27;s workers on.
138-
&quot;nodesZone&quot;: &quot;A String&quot;, # Zone in which STNs are reserved.
139-
},
136+
&quot;soleTenantNodeType&quot;: &quot;A String&quot;, # The node type name to be used for sole-tenant nodes.
140137
&quot;vmImage&quot;: &quot;A String&quot;, # The name of the image used by each VM.
141138
},
142139
&quot;workerCount&quot;: &quot;A String&quot;, # The desired number of workers in the worker pool. Must be a value between 0 and 15000.
@@ -239,15 +236,12 @@ <h3>Method Details</h3>
239236
&quot;labels&quot;: { # Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
240237
&quot;a_key&quot;: &quot;A String&quot;,
241238
},
242-
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `n1-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
239+
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
243240
&quot;maxConcurrentActions&quot;: &quot;A String&quot;, # The maximum number of actions a worker can execute concurrently.
244241
&quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
245242
&quot;networkAccess&quot;: &quot;A String&quot;, # Determines the type of network access granted to workers. Possible values: - &quot;public&quot;: Workers can connect to the public internet. - &quot;private&quot;: Workers can only connect to Google APIs and services. - &quot;restricted-private&quot;: Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
246243
&quot;reserved&quot;: True or False, # Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won&#x27;t be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.
247-
&quot;soleTenancy&quot;: { # SoleTenancyConfig specifies information required to host a pool on STNs. # Sole-tenant node information for pools hosted on STNs.
248-
&quot;nodeType&quot;: &quot;A String&quot;, # The sole-tenant node type to host the pool&#x27;s workers on.
249-
&quot;nodesZone&quot;: &quot;A String&quot;, # Zone in which STNs are reserved.
250-
},
244+
&quot;soleTenantNodeType&quot;: &quot;A String&quot;, # The node type name to be used for sole-tenant nodes.
251245
&quot;vmImage&quot;: &quot;A String&quot;, # The name of the image used by each VM.
252246
},
253247
&quot;workerCount&quot;: &quot;A String&quot;, # The desired number of workers in the worker pool. Must be a value between 0 and 15000.
@@ -260,7 +254,7 @@ <h3>Method Details</h3>
260254

261255
Args:
262256
parent: string, Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. (required)
263-
filter: string, Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `&gt;`, `&gt;=`, `&lt;=` or `&lt;`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count &gt; 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the n1-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: n1-standard`
257+
filter: string, Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `&gt;`, `&gt;=`, `&lt;=` or `&lt;`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count &gt; 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`
264258
x__xgafv: string, V1 error format.
265259
Allowed values
266260
1 - v1 error format
@@ -289,15 +283,12 @@ <h3>Method Details</h3>
289283
&quot;labels&quot;: { # Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
290284
&quot;a_key&quot;: &quot;A String&quot;,
291285
},
292-
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `n1-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
286+
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
293287
&quot;maxConcurrentActions&quot;: &quot;A String&quot;, # The maximum number of actions a worker can execute concurrently.
294288
&quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
295289
&quot;networkAccess&quot;: &quot;A String&quot;, # Determines the type of network access granted to workers. Possible values: - &quot;public&quot;: Workers can connect to the public internet. - &quot;private&quot;: Workers can only connect to Google APIs and services. - &quot;restricted-private&quot;: Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
296290
&quot;reserved&quot;: True or False, # Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won&#x27;t be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.
297-
&quot;soleTenancy&quot;: { # SoleTenancyConfig specifies information required to host a pool on STNs. # Sole-tenant node information for pools hosted on STNs.
298-
&quot;nodeType&quot;: &quot;A String&quot;, # The sole-tenant node type to host the pool&#x27;s workers on.
299-
&quot;nodesZone&quot;: &quot;A String&quot;, # Zone in which STNs are reserved.
300-
},
291+
&quot;soleTenantNodeType&quot;: &quot;A String&quot;, # The node type name to be used for sole-tenant nodes.
301292
&quot;vmImage&quot;: &quot;A String&quot;, # The name of the image used by each VM.
302293
},
303294
&quot;workerCount&quot;: &quot;A String&quot;, # The desired number of workers in the worker pool. Must be a value between 0 and 15000.
@@ -335,15 +326,12 @@ <h3>Method Details</h3>
335326
&quot;labels&quot;: { # Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
336327
&quot;a_key&quot;: &quot;A String&quot;,
337328
},
338-
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `n1-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
329+
&quot;machineType&quot;: &quot;A String&quot;, # Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.
339330
&quot;maxConcurrentActions&quot;: &quot;A String&quot;, # The maximum number of actions a worker can execute concurrently.
340331
&quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
341332
&quot;networkAccess&quot;: &quot;A String&quot;, # Determines the type of network access granted to workers. Possible values: - &quot;public&quot;: Workers can connect to the public internet. - &quot;private&quot;: Workers can only connect to Google APIs and services. - &quot;restricted-private&quot;: Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
342333
&quot;reserved&quot;: True or False, # Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won&#x27;t be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.
343-
&quot;soleTenancy&quot;: { # SoleTenancyConfig specifies information required to host a pool on STNs. # Sole-tenant node information for pools hosted on STNs.
344-
&quot;nodeType&quot;: &quot;A String&quot;, # The sole-tenant node type to host the pool&#x27;s workers on.
345-
&quot;nodesZone&quot;: &quot;A String&quot;, # Zone in which STNs are reserved.
346-
},
334+
&quot;soleTenantNodeType&quot;: &quot;A String&quot;, # The node type name to be used for sole-tenant nodes.
347335
&quot;vmImage&quot;: &quot;A String&quot;, # The name of the image used by each VM.
348336
},
349337
&quot;workerCount&quot;: &quot;A String&quot;, # The desired number of workers in the worker pool. Must be a value between 0 and 15000.

0 commit comments

Comments
 (0)