region_commitments
Creates, updates, deletes, gets or lists a region_commitments resource.
Overview
| Name | region_commitments |
| Type | Resource |
| Id | google.compute.region_commitments |
Fields
The following fields are returned by SELECT queries:
- aggregated_list
| Name | Datatype | Description |
|---|
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
aggregated_list | select | project | returnPartialSuccess, includeAllScopes, orderBy, filter, serviceProjectNumber, maxResults, pageToken | Retrieves an aggregated list of commitments by region. To prevent failure, it is recommended that you set the returnPartialSuccess parameter to true. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
project | string | |
filter | string | |
includeAllScopes | boolean | |
maxResults | integer (uint32) | |
orderBy | string | |
pageToken | string | |
returnPartialSuccess | boolean | |
serviceProjectNumber | string (int64) |
SELECT examples
- aggregated_list
Retrieves an aggregated list of commitments by region.
To prevent failure, it is recommended that you set thereturnPartialSuccess parameter to true.
SELECT
*
FROM google.compute.region_commitments
WHERE project = '{{ project }}' -- required
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND includeAllScopes = '{{ includeAllScopes }}'
AND orderBy = '{{ orderBy }}'
AND filter = '{{ filter }}'
AND serviceProjectNumber = '{{ serviceProjectNumber }}'
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
;