chore: Update discovery artifacts (#1328)
## Deleted keys were detected in the following stable discovery artifacts:
admindirectoryv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/1feda6f78f168e28d7842f49ad91fb00dc24ec19)
bigqueryreservationv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/7e6c78d448e472caaa67971160fdd44ccce061b0)
computev1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/131a5cd5bda8512217aa461042b33fb287790839)
doubleclickbidmanagerv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/d20e7e2553a1ea5d3690afba366683d4eb0ca647)
doubleclickbidmanagerv11[ [More details]](https://github.com/googleapis/google-api-python-client/commit/d20e7e2553a1ea5d3690afba366683d4eb0ca647)
serviceconsumermanagementv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/864ef4795a0e89263859f493f9c40d1a85e90c28)
serviceusagev1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/ecd65a89c54132856b47747439faf901dbfbafcb)
## Deleted keys were detected in the following pre-stable discovery artifacts:
bigqueryreservationv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/7e6c78d448e472caaa67971160fdd44ccce061b0)
computealpha[ [More details]](https://github.com/googleapis/google-api-python-client/commit/131a5cd5bda8512217aa461042b33fb287790839)
computebeta[ [More details]](https://github.com/googleapis/google-api-python-client/commit/131a5cd5bda8512217aa461042b33fb287790839)
serviceconsumermanagementv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/864ef4795a0e89263859f493f9c40d1a85e90c28)
serviceusagev1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/ecd65a89c54132856b47747439faf901dbfbafcb)
## Discovery Artifact Change Summary:
admindirectoryv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/1feda6f78f168e28d7842f49ad91fb00dc24ec19)
bigqueryreservationv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/7e6c78d448e472caaa67971160fdd44ccce061b0)
bigqueryreservationv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/7e6c78d448e472caaa67971160fdd44ccce061b0)
computealpha[ [More details]](https://github.com/googleapis/google-api-python-client/commit/131a5cd5bda8512217aa461042b33fb287790839)
computebeta[ [More details]](https://github.com/googleapis/google-api-python-client/commit/131a5cd5bda8512217aa461042b33fb287790839)
computev1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/131a5cd5bda8512217aa461042b33fb287790839)
containerv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/9bc4a12e7ab57a1b5a5d3637087b80b3008e3352)
containerv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/9bc4a12e7ab57a1b5a5d3637087b80b3008e3352)
doubleclickbidmanagerv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/d20e7e2553a1ea5d3690afba366683d4eb0ca647)
doubleclickbidmanagerv11[ [More details]](https://github.com/googleapis/google-api-python-client/commit/d20e7e2553a1ea5d3690afba366683d4eb0ca647)
serviceconsumermanagementv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/864ef4795a0e89263859f493f9c40d1a85e90c28)
serviceconsumermanagementv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/864ef4795a0e89263859f493f9c40d1a85e90c28)
serviceusagev1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/ecd65a89c54132856b47747439faf901dbfbafcb)
serviceusagev1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/ecd65a89c54132856b47747439faf901dbfbafcb)
diff --git a/docs/dyn/compute_alpha.instances.html b/docs/dyn/compute_alpha.instances.html
index 38585e5..2f30d82 100644
--- a/docs/dyn/compute_alpha.instances.html
+++ b/docs/dyn/compute_alpha.instances.html
@@ -129,7 +129,7 @@
<code><a href="#getShieldedVmIdentity">getShieldedVmIdentity(project, zone, instance)</a></code></p>
<p class="firstline">Returns the Shielded VM Identity of an instance</p>
<p class="toc_element">
- <code><a href="#insert">insert(project, zone, body=None, requestId=None, sourceInstanceTemplate=None, sourceMachineImage=None)</a></code></p>
+ <code><a href="#insert">insert(project, zone, body=None, requestId=None, secureTags=None, sourceInstanceTemplate=None, sourceMachineImage=None)</a></code></p>
<p class="firstline">Creates an instance resource in the specified project using the data included in the request.</p>
<p class="toc_element">
<code><a href="#list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
@@ -216,7 +216,7 @@
<code><a href="#testIamPermissions">testIamPermissions(project, zone, resource, body=None)</a></code></p>
<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
<p class="toc_element">
- <code><a href="#update">update(project, zone, instance, body=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None)</a></code></p>
+ <code><a href="#update">update(project, zone, instance, body=None, clearSecureTag=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None, secureTags=None)</a></code></p>
<p class="firstline">Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties.</p>
<p class="toc_element">
<code><a href="#updateAccessConfig">updateAccessConfig(project, zone, instance, networkInterface, body=None, requestId=None)</a></code></p>
@@ -815,10 +815,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -832,9 +830,6 @@
"onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
"preemptible": True or False, # Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
},
- "secureLabels": [ # Secure labels to apply to this instance. These can be later modified by the update method. Maximum number of secure labels allowed is 300.
- "A String",
- ],
"secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
"A String",
],
@@ -1569,10 +1564,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -1586,9 +1579,6 @@
"onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
"preemptible": True or False, # Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
},
- "secureLabels": [ # Secure labels to apply to this instance. These can be later modified by the update method. Maximum number of secure labels allowed is 300.
- "A String",
- ],
"secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
"A String",
],
@@ -1960,10 +1950,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -2021,6 +2009,9 @@
"predefinedNames": [ # DEPRECATED: Please use per_instance_properties instead.
"A String",
],
+ "secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
+ "A String",
+ ],
"sourceInstanceTemplate": "A String", # Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396.
#
# It can be a full or partial URL. For example, the following are all valid URLs to an instance template:
@@ -2720,10 +2711,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -2737,9 +2726,6 @@
"onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
"preemptible": True or False, # Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
},
- "secureLabels": [ # Secure labels to apply to this instance. These can be later modified by the update method. Maximum number of secure labels allowed is 300.
- "A String",
- ],
"secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
"A String",
],
@@ -2851,9 +2837,6 @@
"srcIpRanges": [ # CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256.
"A String",
],
- "srcSecureLabels": [ # List of firewall label values, which should be matched at the source of the traffic. Maximum number of source label values allowed is 256.
- "A String",
- ],
"srcSecureTags": [ # List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
{
"name": "A String", # Name of the secure tag, created with TagManager's TagValue API.
@@ -2866,9 +2849,6 @@
"targetResources": [ # A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
"A String",
],
- "targetSecureLabels": [ # A list of secure labels that controls which instances the firewall rule applies to. If targetSecureLabel are specified, then the firewall rule applies only to instances in the VPC network that have one of those secure labels. targetSecureLabel may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureLabel are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label values allowed is 256.
- "A String",
- ],
"targetSecureTags": [ # A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
{
"name": "A String", # Name of the secure tag, created with TagManager's TagValue API.
@@ -2961,7 +2941,7 @@
#
# This field may only be specified when the versioned_expr is set to FIREWALL.
"headerAction": { # Optional, additional actions that are performed on headers.
- "requestHeadersToAdds": [ # The list of request headers to add or overwrite if they?re already present.
+ "requestHeadersToAdds": [ # The list of request headers to add or overwrite if they're already present.
{
"headerName": "A String", # The name of the header to set.
"headerValue": "A String", # The value to set the named header to.
@@ -3393,7 +3373,7 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(project, zone, body=None, requestId=None, sourceInstanceTemplate=None, sourceMachineImage=None)</code>
+ <code class="details" id="insert">insert(project, zone, body=None, requestId=None, secureTags=None, sourceInstanceTemplate=None, sourceMachineImage=None)</code>
<pre>Creates an instance resource in the specified project using the data included in the request.
Args:
@@ -3763,10 +3743,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -3780,9 +3758,6 @@
"onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
"preemptible": True or False, # Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
},
- "secureLabels": [ # Secure labels to apply to this instance. These can be later modified by the update method. Maximum number of secure labels allowed is 300.
- "A String",
- ],
"secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
"A String",
],
@@ -3855,6 +3830,7 @@
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ secureTags: string, Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300. (repeated)
sourceInstanceTemplate: string, Specifies instance template to create the instance.
This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template:
@@ -4323,10 +4299,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -4340,9 +4314,6 @@
"onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
"preemptible": True or False, # Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
},
- "secureLabels": [ # Secure labels to apply to this instance. These can be later modified by the update method. Maximum number of secure labels allowed is 300.
- "A String",
- ],
"secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
"A String",
],
@@ -5967,10 +5938,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -6870,7 +6839,7 @@
</div>
<div class="method">
- <code class="details" id="update">update(project, zone, instance, body=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None)</code>
+ <code class="details" id="update">update(project, zone, instance, body=None, clearSecureTag=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None, secureTags=None)</code>
<pre>Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties.
Args:
@@ -7241,10 +7210,8 @@
"availabilityDomain": 42, # Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.
"latencyTolerant": True or False, # Defines whether the instance is tolerant of higher cpu latency. This can only be set during instance creation, or when the instance is not currently running. It must not be set if the preemptible option is also set.
"locationHint": "A String", # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
- "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after instance creation where the instance won't be scheduled for maintenance.
- "maintenanceInterval": "A String", # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic" designates this VM as a Stable Fleet VM.
- #
- # See go/stable-fleet-ug for more details.
+ "maintenanceFreezeDurationHours": 42, # Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.
+ "maintenanceInterval": "A String", # For more information about maintenance intervals, see Setting maintenance intervals.
"minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
"nodeAffinities": [ # A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
{ # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
@@ -7258,9 +7225,6 @@
"onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
"preemptible": True or False, # Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
},
- "secureLabels": [ # Secure labels to apply to this instance. These can be later modified by the update method. Maximum number of secure labels allowed is 300.
- "A String",
- ],
"secureTags": [ # Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 300.
"A String",
],
@@ -7328,6 +7292,9 @@
"zone": "A String", # [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
}
+ clearSecureTag: boolean, Whether to clear secure tags from the instance.
+
+This property is mutually exclusive with the secure_tag property; you can only specify one or the other, but not both.
minimalAction: string, Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
Allowed values
INVALID -
@@ -7345,6 +7312,7 @@
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ secureTags: string, Secure tags to apply to this instance. Maximum number of secure tags allowed is 300. (repeated)
Returns:
An object of the form: