xpn_resources
Creates, updates, deletes, gets or lists a xpn_resources
resource.
Overview
Name | xpn_resources |
Type | Resource |
Id | google.compute.xpn_resources |
Fields
The following fields are returned by SELECT
queries:
- get_xpn_resources
Successful response
Name | Datatype | Description |
---|---|---|
id | string | The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678). |
type | string | The type of the service resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_xpn_resources | select | project | filter , maxResults , orderBy , pageToken , returnPartialSuccess | Gets service resources (a.k.a service project) associated with this host 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 |
SELECT
examples
- get_xpn_resources
Gets service resources (a.k.a service project) associated with this host project.
SELECT
id,
type
FROM google.compute.xpn_resources
WHERE project = '{{ project }}' -- required
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}';