subnetworks_usable
Creates, updates, deletes, gets or lists a subnetworks_usable
resource.
Overview
Name | subnetworks_usable |
Type | Resource |
Id | google.compute.subnetworks_usable |
Fields
The following fields are returned by SELECT
queries:
- list_usable
Successful response
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
items | array | [Output] A list of usable subnetwork URLs. |
kind | string | [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated lists of usable subnetworks. (default: compute#usableSubnetworksAggregatedList) |
nextPageToken | string | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results. |
scopedWarnings | array | [Output Only] Informational warning messages for failures encountered from scopes. |
selfLink | string | [Output Only] Server-defined URL for this resource. |
unreachables | array | [Output Only] Unreachable resources. |
warning | object | [Output Only] Informational warning message. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_usable | select | project | filter , maxResults , orderBy , pageToken , returnPartialSuccess , serviceProject | Retrieves an aggregated list of all usable subnetworks in the project. |
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 | |
maxResults | integer (uint32) | |
orderBy | string | |
pageToken | string | |
returnPartialSuccess | boolean | |
serviceProject | string |
SELECT
examples
- list_usable
Retrieves an aggregated list of all usable subnetworks in the project.
SELECT
id,
items,
kind,
nextPageToken,
scopedWarnings,
selfLink,
unreachables,
warning
FROM google.compute.subnetworks_usable
WHERE project = '{{ project }}' -- required
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND serviceProject = '{{ serviceProject }}';