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
<pclass="firstline">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](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.</p>
<pre>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](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.
114
118
115
119
Args:
116
-
maxResults: integer, Maximum number of results to return
117
-
pageToken: string, Page token, returned by a previous call, to request the next page of results
120
+
maxResults: integer, `maxResults` unset returns all results, up to 50 per page. Additionally, the number of projects in a page may be fewer than `maxResults` because projects are retrieved and then filtered to only projects with the BigQuery API enabled.
121
+
pageToken: string, Page token, returned by a previous call, to request the next page of results. If not present, no further pages are present.
122
+
x__xgafv: string, V1 error format.
123
+
Allowed values
124
+
1 - v1 error format
125
+
2 - v2 error format
118
126
119
127
Returns:
120
128
An object of the form:
121
129
122
-
{
123
-
"etag": "A String", # A hash of the page of results
124
-
"kind": "bigquery#projectList", # The type of list.
125
-
"nextPageToken": "A String", # A token to request the next page of results.
126
-
"projects": [ # Projects to which you have at least READ access.
127
-
{
128
-
"friendlyName": "A String", # A descriptive name for this project.
130
+
{ # Response object of ListProjects
131
+
"etag": "A String", # A hash of the page of results.
132
+
"kind": "bigquery#projectList", # The resource type of the response.
133
+
"nextPageToken": "A String", # Use this token to request the next page of results.
134
+
"projects": [ # Projects to which the user has at least READ access.
135
+
{ # Information about a single project.
136
+
"friendlyName": "A String", # A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string.
129
137
"id": "A String", # An opaque ID of this project.
130
-
"kind": "bigquery#project", # The resource type.
138
+
"kind": "A String", # The resource type.
131
139
"numericId": "A String", # The numeric ID of this project.
132
-
"projectReference": { # A unique reference to this project.
133
-
"projectId": "A String", # [Required] ID of the project. Can be either the numeric ID or the assigned ID of the project.
140
+
"projectReference": { # A unique reference to a project. # A unique reference to this project.
141
+
"projectId": "A String", # Required. ID of the project. Can be either the numeric ID or the assigned ID of the project.
134
142
},
135
143
},
136
144
],
137
-
"totalItems": 42, # The total number of projects in the list.
145
+
"totalItems": 42, # The total number of projects in the page. A wrapper is used here because the field should still be in the response when the value is 0.
0 commit comments