Debian Codegraph @

docs/dyn/bigquery_v2.projects.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="bigquery_v2.html">BigQuery API</a> . <a href="bigquery_v2.projects.html">projects</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#getServiceAccount">getServiceAccount(projectId, x__xgafv=None)</a></code></p>
82 <p class="firstline">RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the `bigquery.jobs.create` permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="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. # IAM Permissions Requires no specific IAM permission(s) to use this method. The results are filtered to only include projects on which the caller has been granted a project-level role such as a BigQuery predefined IAM role or a basic role such as Viewer or Owner.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="getServiceAccount">getServiceAccount(projectId, x__xgafv=None)</code>
97 <pre>RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the `bigquery.jobs.create` permission on the project resource. This permission is required to authorize the retrieval of the project&#x27;s service identity for technical management tasks like encryption configuration.
98
99 Args:
100 projectId: string, Required. ID of the project. (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # Response object of GetServiceAccount
110 &quot;email&quot;: &quot;A String&quot;, # The service account email address.
111 &quot;kind&quot;: &quot;bigquery#getServiceAccountResponse&quot;, # The resource type of the response.
112 }</pre>
113 </div>
114
115 <div class="method">
116 <code class="details" id="list">list(maxResults=None, pageToken=None, x__xgafv=None)</code>
117 <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. # IAM Permissions Requires no specific IAM permission(s) to use this method. The results are filtered to only include projects on which the caller has been granted a project-level role such as a BigQuery predefined IAM role or a basic role such as Viewer or Owner.
118
119 Args:
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
126
127 Returns:
128 An object of the form:
129
130 { # Response object of ListProjects
131 &quot;etag&quot;: &quot;A String&quot;, # A hash of the page of results.
132 &quot;kind&quot;: &quot;bigquery#projectList&quot;, # The resource type of the response.
133 &quot;nextPageToken&quot;: &quot;A String&quot;, # Use this token to request the next page of results.
134 &quot;projects&quot;: [ # Projects to which the user has at least READ access. This field can be omitted if `totalItems` is 0.
135 { # Information about a single project.
136 &quot;friendlyName&quot;: &quot;A String&quot;, # A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string.
137 &quot;id&quot;: &quot;A String&quot;, # An opaque ID of this project.
138 &quot;kind&quot;: &quot;A String&quot;, # The resource type.
139 &quot;numericId&quot;: &quot;A String&quot;, # The numeric ID of this project.
140 &quot;projectReference&quot;: { # A unique reference to a project. # A unique reference to this project.
141 &quot;projectId&quot;: &quot;A String&quot;, # Required. ID of the project. Can be either the numeric ID or the assigned ID of the project.
142 },
143 },
144 ],
145 &quot;totalItems&quot;: 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.
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="list_next">list_next()</code>
151 <pre>Retrieves the next page of results.
152
153 Args:
154 previous_request: The request for the previous page. (required)
155 previous_response: The response from the request for the previous page. (required)
156
157 Returns:
158 A request object that you can call &#x27;execute()&#x27; on to request the next
159 page. Returns None if there are no more items in the collection.
160 </pre>
161 </div>
162
163 </body></html>