You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Lists all the policies that have been configured for the specified project.
1031
+
<pre>Lists all the policies that have been configured for the specified folder or organization.
1032
1032
1033
1033
Args:
1034
1034
filter: string, 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. The comparison operator must be either `=`, `!=`, `>`, or `<`.
<p class="firstline">Removes resource policies from an instance.</p>
@@ -808,6 +811,9 @@ <h3>Method Details</h3>
808
811
"scheduling": {
809
812
"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.
810
813
},
814
+
"upcomingMaintenance": {
815
+
"canReschedule": True or False, # Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details
816
+
},
811
817
},
812
818
"satisfiesPzs": True or False, # [Output Only] Reserved for future use.
813
819
"scheduling": { # Sets the scheduling options for an Instance. NextID: 21 # Sets the scheduling options for this instance.
@@ -1560,6 +1566,9 @@ <h3>Method Details</h3>
1560
1566
"scheduling": {
1561
1567
"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.
1562
1568
},
1569
+
"upcomingMaintenance": {
1570
+
"canReschedule": True or False, # Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details
1571
+
},
1563
1572
},
1564
1573
"satisfiesPzs": True or False, # [Output Only] Reserved for future use.
1565
1574
"scheduling": { # Sets the scheduling options for an Instance. NextID: 21 # Sets the scheduling options for this instance.
@@ -2010,6 +2019,7 @@ <h3>Method Details</h3>
2010
2019
"preference": "A String", # Preference for a given location: ALLOW or DENY.
2011
2020
},
2012
2021
},
2022
+
"targetShape": "A String", # Strategy for distributing VMs across zones in a region.
2013
2023
},
2014
2024
"minCount": "A String", # The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.
2015
2025
"namePattern": "A String", # The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern should contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: name_pattern of inst-#### will generate instance names such as inst-0001, inst-0002, ... . If there already exist instance(s) whose names match the name pattern in the same project and zone, then the generated instance numbers will start after the biggest existing number. For example, if there exists an instance with name inst-0050, then instance names generated using the pattern inst-#### will be inst-0051, inst-0052, etc. The name pattern placeholder #...# can contain up to 18 characters.
@@ -2716,6 +2726,9 @@ <h3>Method Details</h3>
2716
2726
"scheduling": {
2717
2727
"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.
2718
2728
},
2729
+
"upcomingMaintenance": {
2730
+
"canReschedule": True or False, # Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details
2731
+
},
2719
2732
},
2720
2733
"satisfiesPzs": True or False, # [Output Only] Reserved for future use.
2721
2734
"scheduling": { # Sets the scheduling options for an Instance. NextID: 21 # Sets the scheduling options for this instance.
@@ -3751,6 +3764,9 @@ <h3>Method Details</h3>
3751
3764
"scheduling": {
3752
3765
"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.
3753
3766
},
3767
+
"upcomingMaintenance": {
3768
+
"canReschedule": True or False, # Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details
3769
+
},
3754
3770
},
3755
3771
"satisfiesPzs": True or False, # [Output Only] Reserved for future use.
3756
3772
"scheduling": { # Sets the scheduling options for an Instance. NextID: 21 # Sets the scheduling options for this instance.
@@ -4310,6 +4326,9 @@ <h3>Method Details</h3>
4310
4326
"scheduling": {
4311
4327
"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.
4312
4328
},
4329
+
"upcomingMaintenance": {
4330
+
"canReschedule": True or False, # Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details
4331
+
},
4313
4332
},
4314
4333
"satisfiesPzs": True or False, # [Output Only] Reserved for future use.
4315
4334
"scheduling": { # Sets the scheduling options for an Instance. NextID: 21 # Sets the scheduling options for this instance.
<pre>Perform a manual maintenance on the instance.
4527
+
4528
+
Args:
4529
+
project: string, Project ID for this request. (required)
4530
+
zone: string, The name of the zone for this request. (required)
4531
+
instance: string, Name of the instance scoping this request. (required)
4532
+
requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
4533
+
4534
+
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.
4535
+
4536
+
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4537
+
4538
+
Returns:
4539
+
An object of the form:
4540
+
4541
+
{ # Represents an Operation resource.
4542
+
#
4543
+
# Google Compute Engine has three Operation resources:
# You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
4548
+
#
4549
+
# Operations can be global, regional or zonal.
4550
+
# - For global operations, use the `globalOperations` resource.
4551
+
# - For regional operations, use the `regionOperations` resource.
4552
+
# - For zonal operations, use the `zonalOperations` resource.
4553
+
#
4554
+
# For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
4555
+
"clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
4556
+
"creationTimestamp": "A String", # [Deprecated] This field is deprecated.
4557
+
"description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
4558
+
"endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
4559
+
"error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
4560
+
"errors": [ # [Output Only] The array of errors encountered while processing this operation.
4561
+
{
4562
+
"code": "A String", # [Output Only] The error type identifier for this error.
4563
+
"location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
"httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
4569
+
"httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
4570
+
"id": "A String", # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
4571
+
"insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
4572
+
"kind": "compute#operation", # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
4573
+
"name": "A String", # [Output Only] Name of the operation.
4574
+
"operationGroupId": "A String", # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
4575
+
"operationType": "A String", # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
4576
+
"progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
4577
+
"region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
4578
+
"selfLink": "A String", # [Output Only] Server-defined URL for the resource.
4579
+
"selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
4580
+
"startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
4581
+
"status": "A String", # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
4582
+
"statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
4583
+
"targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
4584
+
"targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
4585
+
"user": "A String", # [Output Only] User who requested the operation, for example: `[email protected]`.
4586
+
"warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
4587
+
{
4588
+
"code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
4589
+
"data": [ # [Output Only] Metadata about this warning in key: value format. For example:
"key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
4593
+
"value": "A String", # [Output Only] A warning data value corresponding to the key.
4594
+
},
4595
+
],
4596
+
"message": "A String", # [Output Only] A human-readable description of the warning code.
4597
+
},
4598
+
],
4599
+
"zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
"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.
7227
7325
},
7326
+
"upcomingMaintenance": {
7327
+
"canReschedule": True or False, # Indicates if the maintenance can be customer triggered. See go/sf-ctm-design for more details
7328
+
},
7228
7329
},
7229
7330
"satisfiesPzs": True or False, # [Output Only] Reserved for future use.
7230
7331
"scheduling": { # Sets the scheduling options for an Instance. NextID: 21 # Sets the scheduling options for this instance.
0 commit comments