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
parent: string, Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`. (required)
115
+
body: object, The request body.
116
+
The object takes the form of:
117
+
118
+
{ # Metadata about a reservation resource.
119
+
"name": "A String", # The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
120
+
"throughputCapacity": "A String", # The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
121
+
}
122
+
123
+
reservationId: string, Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.
124
+
x__xgafv: string, V1 error format.
125
+
Allowed values
126
+
1 - v1 error format
127
+
2 - v2 error format
128
+
129
+
Returns:
130
+
An object of the form:
131
+
132
+
{ # Metadata about a reservation resource.
133
+
"name": "A String", # The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
134
+
"throughputCapacity": "A String", # The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
name: string, Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} (required)
144
+
x__xgafv: string, V1 error format.
145
+
Allowed values
146
+
1 - v1 error format
147
+
2 - v2 error format
148
+
149
+
Returns:
150
+
An object of the form:
151
+
152
+
{ # 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); } The JSON representation for `Empty` is empty JSON object `{}`.
name: string, Required. The name of the reservation whose configuration to return. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} (required)
162
+
x__xgafv: string, V1 error format.
163
+
Allowed values
164
+
1 - v1 error format
165
+
2 - v2 error format
166
+
167
+
Returns:
168
+
An object of the form:
169
+
170
+
{ # Metadata about a reservation resource.
171
+
"name": "A String", # The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
172
+
"throughputCapacity": "A String", # The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
<pre>Returns the list of reservations for the given project.
179
+
180
+
Args:
181
+
parent: string, Required. The parent whose reservations are to be listed. Structured like `projects/{project_number}/locations/{location}`. (required)
182
+
pageSize: integer, The maximum number of reservations to return. The service may return fewer than this value. If unset or zero, all reservations for the parent will be returned.
183
+
pageToken: string, A page token, received from a previous `ListReservations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservations` must match the call that provided the page token.
184
+
x__xgafv: string, V1 error format.
185
+
Allowed values
186
+
1 - v1 error format
187
+
2 - v2 error format
188
+
189
+
Returns:
190
+
An object of the form:
191
+
192
+
{ # Response for ListReservations.
193
+
"nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
194
+
"reservations": [ # The list of reservation in the requested parent. The order of the reservations is unspecified.
195
+
{ # Metadata about a reservation resource.
196
+
"name": "A String", # The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
197
+
"throughputCapacity": "A String", # The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
<pre>Updates properties of the specified reservation.
220
+
221
+
Args:
222
+
name: string, The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} (required)
223
+
body: object, The request body.
224
+
The object takes the form of:
225
+
226
+
{ # Metadata about a reservation resource.
227
+
"name": "A String", # The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
228
+
"throughputCapacity": "A String", # The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
229
+
}
230
+
231
+
updateMask: string, Required. A mask specifying the reservation fields to change.
232
+
x__xgafv: string, V1 error format.
233
+
Allowed values
234
+
1 - v1 error format
235
+
2 - v2 error format
236
+
237
+
Returns:
238
+
An object of the form:
239
+
240
+
{ # Metadata about a reservation resource.
241
+
"name": "A String", # The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
242
+
"throughputCapacity": "A String", # The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
<pre>Lists the topics attached to the specified reservation.
95
+
96
+
Args:
97
+
name: string, Required. The name of the reservation whose topics to list. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} (required)
98
+
pageSize: integer, The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the given reservation will be returned.
99
+
pageToken: string, A page token, received from a previous `ListReservationTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservationTopics` must match the call that provided the page token.
100
+
x__xgafv: string, V1 error format.
101
+
Allowed values
102
+
1 - v1 error format
103
+
2 - v2 error format
104
+
105
+
Returns:
106
+
An object of the form:
107
+
108
+
{ # Response for ListReservationTopics.
109
+
"nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
110
+
"topics": [ # The names of topics attached to the reservation. The order of the topics is unspecified.
0 commit comments