Debian Codegraph @

docs/dyn/firebaseapphosting_v1beta.projects.locations.backends.rollouts.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="firebaseapphosting_v1beta.html">Firebase App Hosting API</a> . <a href="firebaseapphosting_v1beta.projects.html">projects</a> . <a href="firebaseapphosting_v1beta.projects.locations.html">locations</a> . <a href="firebaseapphosting_v1beta.projects.locations.backends.html">backends</a> . <a href="firebaseapphosting_v1beta.projects.locations.backends.rollouts.html">rollouts</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, requestId=None, rolloutId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new rollout for a backend.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets information about a rollout.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists rollouts for a backend.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(parent, body=None, requestId=None, rolloutId=None, validateOnly=None, x__xgafv=None)</code>
100 <pre>Creates a new rollout for a backend.
101
102 Args:
103 parent: string, Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`. (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # A single rollout of a build for a backend.
108 &quot;annotations&quot;: { # Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
109 &quot;a_key&quot;: &quot;A String&quot;,
110 },
111 &quot;build&quot;: &quot;A String&quot;, # Required. Immutable. The name of a build that already exists. It doesn&#x27;t have to be built; a rollout will wait for a build to be ready before updating traffic.
112 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was created.
113 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was deleted.
114 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name. 63 character limit.
115 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.
116 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
117 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
118 {
119 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
120 },
121 ],
122 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
123 },
124 &quot;etag&quot;: &quot;A String&quot;, # Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
125 &quot;labels&quot;: { # Optional. Unstructured key value map that can be used to organize and categorize objects.
126 &quot;a_key&quot;: &quot;A String&quot;,
127 },
128 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.
129 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the Rollout currently has an LRO.
130 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the rollout.
131 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
132 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was last updated.
133 }
134
135 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
136 rolloutId: string, Optional. Desired ID of the rollout being created.
137 validateOnly: boolean, Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
138 x__xgafv: string, V1 error format.
139 Allowed values
140 1 - v1 error format
141 2 - v2 error format
142
143 Returns:
144 An object of the form:
145
146 { # This resource represents a long-running operation that is the result of a network API call.
147 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
148 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
149 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
150 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
151 {
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 ],
155 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
156 },
157 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
161 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163 },
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="get">get(name, x__xgafv=None)</code>
169 <pre>Gets information about a rollout.
170
171 Args:
172 name: string, Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`. (required)
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 { # A single rollout of a build for a backend.
182 &quot;annotations&quot;: { # Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
183 &quot;a_key&quot;: &quot;A String&quot;,
184 },
185 &quot;build&quot;: &quot;A String&quot;, # Required. Immutable. The name of a build that already exists. It doesn&#x27;t have to be built; a rollout will wait for a build to be ready before updating traffic.
186 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was created.
187 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was deleted.
188 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name. 63 character limit.
189 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.
190 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
191 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
192 {
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 ],
196 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
197 },
198 &quot;etag&quot;: &quot;A String&quot;, # Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
199 &quot;labels&quot;: { # Optional. Unstructured key value map that can be used to organize and categorize objects.
200 &quot;a_key&quot;: &quot;A String&quot;,
201 },
202 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.
203 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the Rollout currently has an LRO.
204 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the rollout.
205 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
206 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was last updated.
207 }</pre>
208 </div>
209
210 <div class="method">
211 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
212 <pre>Lists rollouts for a backend.
213
214 Args:
215 parent: string, Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`. (required)
216 filter: string, Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google&#x27;s [AIP 160 standard](https://google.aip.dev/160).
217 orderBy: string, Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.
218 pageSize: integer, Optional. The maximum number of results to return. If not set, the service selects a default.
219 pageToken: string, Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.
220 showDeleted: boolean, Optional. If true, the request returns soft-deleted resources that haven&#x27;t been fully-deleted yet.
221 x__xgafv: string, V1 error format.
222 Allowed values
223 1 - v1 error format
224 2 - v2 error format
225
226 Returns:
227 An object of the form:
228
229 { # Message for response to list rollouts.
230 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying the next page of results the server should return.
231 &quot;rollouts&quot;: [ # The list of rollouts.
232 { # A single rollout of a build for a backend.
233 &quot;annotations&quot;: { # Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
234 &quot;a_key&quot;: &quot;A String&quot;,
235 },
236 &quot;build&quot;: &quot;A String&quot;, # Required. Immutable. The name of a build that already exists. It doesn&#x27;t have to be built; a rollout will wait for a build to be ready before updating traffic.
237 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was created.
238 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was deleted.
239 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name. 63 character limit.
240 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.
241 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
242 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
243 {
244 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
245 },
246 ],
247 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
248 },
249 &quot;etag&quot;: &quot;A String&quot;, # Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
250 &quot;labels&quot;: { # Optional. Unstructured key value map that can be used to organize and categorize objects.
251 &quot;a_key&quot;: &quot;A String&quot;,
252 },
253 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.
254 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the Rollout currently has an LRO.
255 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the rollout.
256 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
257 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the rollout was last updated.
258 },
259 ],
260 &quot;unreachable&quot;: [ # Locations that could not be reached.
261 &quot;A String&quot;,
262 ],
263 }</pre>
264 </div>
265
266 <div class="method">
267 <code class="details" id="list_next">list_next()</code>
268 <pre>Retrieves the next page of results.
269
270 Args:
271 previous_request: The request for the previous page. (required)
272 previous_response: The response from the request for the previous page. (required)
273
274 Returns:
275 A request object that you can call &#x27;execute()&#x27; on to request the next
276 page. Returns None if there are no more items in the collection.
277 </pre>
278 </div>
279
280 </body></html>