projects
Creates, updates, deletes, gets or lists a projects
resource.
Overview
Name | projects |
Type | Resource |
Id | google.bigquery.projects |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
id | string | An opaque ID of this project. |
friendlyName | string | A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string. |
kind | string | The resource type. |
numericId | string (uint64) | The numeric ID of this project. |
projectReference | object | A unique reference to this project. (id: ProjectReference) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | maxResults , pageToken | RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the Resource Manager API, which provides the underlying data for this method and has more capabilities. |
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 |
---|---|---|
maxResults | integer (uint32) | |
pageToken | string |
SELECT
examples
- list
RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the Resource Manager API, which provides the underlying data for this method and has more capabilities.
SELECT
id,
friendlyName,
kind,
numericId,
projectReference
FROM google.bigquery.projects
WHERE maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}';