Skip to content

Commit 0eede7c

Browse files
feat(bigqueryreservation): update the api
#### bigqueryreservation:v1 The following keys were added: - resources.projects.resources.locations.resources.reservationGroups.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.reservationGroups.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.reservationGroups.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.reservationGroups.methods.list (Total Keys: 16) - schemas.ListReservationGroupsResponse (Total Keys: 5) - schemas.Reservation.properties.reservationGroup.type (Total Keys: 1) - schemas.ReservationGroup (Total Keys: 3)
1 parent 367c996 commit 0eede7c

File tree

4 files changed

+386
-9
lines changed

4 files changed

+386
-9
lines changed

docs/dyn/bigqueryreservation_v1.projects.locations.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the capacityCommitments Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="bigqueryreservation_v1.projects.locations.reservationGroups.html">reservationGroups()</a></code>
84+
</p>
85+
<p class="firstline">Returns the reservationGroups Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="bigqueryreservation_v1.projects.locations.reservations.html">reservations()</a></code>
8489
</p>
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
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="bigqueryreservation_v1.html">BigQuery Reservation API</a> . <a href="bigqueryreservation_v1.projects.html">projects</a> . <a href="bigqueryreservation_v1.projects.locations.html">locations</a> . <a href="bigqueryreservation_v1.projects.locations.reservationGroups.html">reservationGroups</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="#create">create(parent, body=None, reservationGroupId=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a new reservation group.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has assignments.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Returns information about the reservation group.</p>
89+
<p class="toc_element">
90+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Lists all the reservation groups for the project in the specified location.</p>
92+
<p class="toc_element">
93+
<code><a href="#list_next">list_next()</a></code></p>
94+
<p class="firstline">Retrieves the next page of results.</p>
95+
<h3>Method Details</h3>
96+
<div class="method">
97+
<code class="details" id="close">close()</code>
98+
<pre>Close httplib2 connections.</pre>
99+
</div>
100+
101+
<div class="method">
102+
<code class="details" id="create">create(parent, body=None, reservationGroupId=None, x__xgafv=None)</code>
103+
<pre>Creates a new reservation group.
104+
105+
Args:
106+
parent: string, Required. Project, location. E.g., `projects/myproject/locations/US` (required)
107+
body: object, The request body.
108+
The object takes the form of:
109+
110+
{ # A reservation group is a container for reservations.
111+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reservation group, e.g., `projects/*/locations/*/reservationGroups/team1-prod`. The reservation_group_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
112+
}
113+
114+
reservationGroupId: string, Required. The reservation group ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
115+
x__xgafv: string, V1 error format.
116+
Allowed values
117+
1 - v1 error format
118+
2 - v2 error format
119+
120+
Returns:
121+
An object of the form:
122+
123+
{ # A reservation group is a container for reservations.
124+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reservation group, e.g., `projects/*/locations/*/reservationGroups/team1-prod`. The reservation_group_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
125+
}</pre>
126+
</div>
127+
128+
<div class="method">
129+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
130+
<pre>Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has assignments.
131+
132+
Args:
133+
name: string, Required. Resource name of the reservation group to retrieve. E.g., `projects/myproject/locations/US/reservationGroups/team1-prod` (required)
134+
x__xgafv: string, V1 error format.
135+
Allowed values
136+
1 - v1 error format
137+
2 - v2 error format
138+
139+
Returns:
140+
An object of the form:
141+
142+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
143+
}</pre>
144+
</div>
145+
146+
<div class="method">
147+
<code class="details" id="get">get(name, x__xgafv=None)</code>
148+
<pre>Returns information about the reservation group.
149+
150+
Args:
151+
name: string, Required. Resource name of the reservation group to retrieve. E.g., `projects/myproject/locations/US/reservationGroups/team1-prod` (required)
152+
x__xgafv: string, V1 error format.
153+
Allowed values
154+
1 - v1 error format
155+
2 - v2 error format
156+
157+
Returns:
158+
An object of the form:
159+
160+
{ # A reservation group is a container for reservations.
161+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reservation group, e.g., `projects/*/locations/*/reservationGroups/team1-prod`. The reservation_group_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
162+
}</pre>
163+
</div>
164+
165+
<div class="method">
166+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
167+
<pre>Lists all the reservation groups for the project in the specified location.
168+
169+
Args:
170+
parent: string, Required. The parent resource name containing project and location, e.g.: `projects/myproject/locations/US` (required)
171+
pageSize: integer, The maximum number of items to return per page.
172+
pageToken: string, The next_page_token value returned from a previous List request, if any.
173+
x__xgafv: string, V1 error format.
174+
Allowed values
175+
1 - v1 error format
176+
2 - v2 error format
177+
178+
Returns:
179+
An object of the form:
180+
181+
{ # The response for ReservationService.ListReservationGroups.
182+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
183+
&quot;reservationGroups&quot;: [ # List of reservations visible to the user.
184+
{ # A reservation group is a container for reservations.
185+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the reservation group, e.g., `projects/*/locations/*/reservationGroups/team1-prod`. The reservation_group_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
186+
},
187+
],
188+
}</pre>
189+
</div>
190+
191+
<div class="method">
192+
<code class="details" id="list_next">list_next()</code>
193+
<pre>Retrieves the next page of results.
194+
195+
Args:
196+
previous_request: The request for the previous page. (required)
197+
previous_response: The response from the request for the previous page. (required)
198+
199+
Returns:
200+
A request object that you can call &#x27;execute()&#x27; on to request the next
201+
page. Returns None if there are no more items in the collection.
202+
</pre>
203+
</div>
204+
205+
</body></html>

0 commit comments

Comments
 (0)