Debian Codegraph @

docs/dyn/firebaseapphosting_v1beta.projects.locations.backends.domains.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.domains.html">domains</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, domainId=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Links a new domain to a backend.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single domain.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets information about a domain.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists domains of a backend.</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 <p class="toc_element">
96 <code><a href="#patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the information for a single domain.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, domainId=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
106 <pre>Links a new domain to a backend.
107
108 Args:
109 parent: string, Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A domain name that is associated with a backend.
114 &quot;annotations&quot;: { # Optional. Annotations as key value pairs.
115 &quot;a_key&quot;: &quot;A String&quot;,
116 },
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was created.
118 &quot;customDomainStatus&quot;: { # The status of a custom domain&#x27;s linkage to a backend. # Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.
119 &quot;certState&quot;: &quot;A String&quot;, # Output only. Tracks SSL certificate status for the domain.
120 &quot;hostState&quot;: &quot;A String&quot;, # Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.
121 &quot;issues&quot;: [ # Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.
122 { # 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).
123 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
124 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
125 {
126 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
127 },
128 ],
129 &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.
130 },
131 ],
132 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain&#x27;s DNS records.
133 &quot;requiredDnsUpdates&quot;: [ # Output only. Lists the records that must added or removed to a custom domain&#x27;s DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain&#x27;s DNS records are in a bad state.
134 { # A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain&#x27;s and related subdomains&#x27; DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.
135 &quot;checkTime&quot;: &quot;A String&quot;, # Output only. The last time App Hosting checked your custom domain&#x27;s DNS records.
136 &quot;desired&quot;: [ # Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.
137 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
138 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
139 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
140 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
141 {
142 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
143 },
144 ],
145 &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.
146 },
147 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
148 &quot;records&quot;: [ # Output only. Records on the domain.
149 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
150 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
151 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
152 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
153 &quot;A String&quot;,
154 ],
155 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
156 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
157 },
158 ],
159 },
160 ],
161 &quot;discovered&quot;: [ # Output only. The set of DNS records App Hosting discovered when inspecting a domain.
162 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
163 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
164 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
165 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
166 {
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168 },
169 ],
170 &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.
171 },
172 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
173 &quot;records&quot;: [ # Output only. Records on the domain.
174 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
175 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
176 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
177 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
178 &quot;A String&quot;,
179 ],
180 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
181 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
182 },
183 ],
184 },
185 ],
186 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the DNS updates pertain to.
187 },
188 ],
189 },
190 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was deleted.
191 &quot;disabled&quot;: True or False, # Optional. Whether the domain is disabled. Defaults to false.
192 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.
193 &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.
194 &quot;labels&quot;: { # Optional. Labels as key value pairs.
195 &quot;a_key&quot;: &quot;A String&quot;,
196 },
197 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`
198 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
199 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the build has an ongoing LRO.
200 &quot;serve&quot;: { # Indicates whether App Hosting will serve content on the domain. # Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend&#x27;s live content.
201 &quot;redirect&quot;: { # Specifies redirect behavior for a domain. # Optional. Redirect behavior for a domain, if provided.
202 &quot;status&quot;: &quot;A String&quot;, # Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.
203 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the redirect&#x27;s intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.
204 },
205 },
206 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the domain.
207 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
208 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was last updated.
209 }
210
211 domainId: string, Required. Id of the domain to create. Must be a valid domain name.
212 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).
213 validateOnly: boolean, Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
214 x__xgafv: string, V1 error format.
215 Allowed values
216 1 - v1 error format
217 2 - v2 error format
218
219 Returns:
220 An object of the form:
221
222 { # This resource represents a long-running operation that is the result of a network API call.
223 &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.
224 &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.
225 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
226 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
227 {
228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
229 },
230 ],
231 &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.
232 },
233 &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.
234 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
235 },
236 &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}`.
237 &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`.
238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
239 },
240 }</pre>
241 </div>
242
243 <div class="method">
244 <code class="details" id="delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
245 <pre>Deletes a single domain.
246
247 Args:
248 name: string, Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`. (required)
249 etag: string, Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.
250 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 after 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).
251 validateOnly: boolean, Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257 Returns:
258 An object of the form:
259
260 { # This resource represents a long-running operation that is the result of a network API call.
261 &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.
262 &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.
263 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
264 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
265 {
266 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
267 },
268 ],
269 &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.
270 },
271 &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.
272 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
273 },
274 &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}`.
275 &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`.
276 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
277 },
278 }</pre>
279 </div>
280
281 <div class="method">
282 <code class="details" id="get">get(name, x__xgafv=None)</code>
283 <pre>Gets information about a domain.
284
285 Args:
286 name: string, Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`. (required)
287 x__xgafv: string, V1 error format.
288 Allowed values
289 1 - v1 error format
290 2 - v2 error format
291
292 Returns:
293 An object of the form:
294
295 { # A domain name that is associated with a backend.
296 &quot;annotations&quot;: { # Optional. Annotations as key value pairs.
297 &quot;a_key&quot;: &quot;A String&quot;,
298 },
299 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was created.
300 &quot;customDomainStatus&quot;: { # The status of a custom domain&#x27;s linkage to a backend. # Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.
301 &quot;certState&quot;: &quot;A String&quot;, # Output only. Tracks SSL certificate status for the domain.
302 &quot;hostState&quot;: &quot;A String&quot;, # Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.
303 &quot;issues&quot;: [ # Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.
304 { # 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).
305 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
306 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
307 {
308 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
309 },
310 ],
311 &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.
312 },
313 ],
314 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain&#x27;s DNS records.
315 &quot;requiredDnsUpdates&quot;: [ # Output only. Lists the records that must added or removed to a custom domain&#x27;s DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain&#x27;s DNS records are in a bad state.
316 { # A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain&#x27;s and related subdomains&#x27; DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.
317 &quot;checkTime&quot;: &quot;A String&quot;, # Output only. The last time App Hosting checked your custom domain&#x27;s DNS records.
318 &quot;desired&quot;: [ # Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.
319 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
320 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
321 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
322 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
323 {
324 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
325 },
326 ],
327 &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.
328 },
329 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
330 &quot;records&quot;: [ # Output only. Records on the domain.
331 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
332 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
333 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
334 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
335 &quot;A String&quot;,
336 ],
337 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
338 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
339 },
340 ],
341 },
342 ],
343 &quot;discovered&quot;: [ # Output only. The set of DNS records App Hosting discovered when inspecting a domain.
344 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
345 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
346 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
347 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
348 {
349 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
350 },
351 ],
352 &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.
353 },
354 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
355 &quot;records&quot;: [ # Output only. Records on the domain.
356 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
357 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
358 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
359 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
360 &quot;A String&quot;,
361 ],
362 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
363 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
364 },
365 ],
366 },
367 ],
368 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the DNS updates pertain to.
369 },
370 ],
371 },
372 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was deleted.
373 &quot;disabled&quot;: True or False, # Optional. Whether the domain is disabled. Defaults to false.
374 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.
375 &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.
376 &quot;labels&quot;: { # Optional. Labels as key value pairs.
377 &quot;a_key&quot;: &quot;A String&quot;,
378 },
379 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`
380 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
381 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the build has an ongoing LRO.
382 &quot;serve&quot;: { # Indicates whether App Hosting will serve content on the domain. # Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend&#x27;s live content.
383 &quot;redirect&quot;: { # Specifies redirect behavior for a domain. # Optional. Redirect behavior for a domain, if provided.
384 &quot;status&quot;: &quot;A String&quot;, # Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.
385 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the redirect&#x27;s intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.
386 },
387 },
388 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the domain.
389 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
390 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was last updated.
391 }</pre>
392 </div>
393
394 <div class="method">
395 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
396 <pre>Lists domains of a backend.
397
398 Args:
399 parent: string, Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`. (required)
400 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).
401 orderBy: string, Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.
402 pageSize: integer, Optional. The maximum number of results to return. If not set, the service selects a default.
403 pageToken: string, Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.
404 showDeleted: boolean, Optional. If true, the request returns soft-deleted resources that haven&#x27;t been fully-deleted yet.
405 x__xgafv: string, V1 error format.
406 Allowed values
407 1 - v1 error format
408 2 - v2 error format
409
410 Returns:
411 An object of the form:
412
413 { # Message for response to list domains.
414 &quot;domains&quot;: [ # Output only. The list of domains.
415 { # A domain name that is associated with a backend.
416 &quot;annotations&quot;: { # Optional. Annotations as key value pairs.
417 &quot;a_key&quot;: &quot;A String&quot;,
418 },
419 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was created.
420 &quot;customDomainStatus&quot;: { # The status of a custom domain&#x27;s linkage to a backend. # Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.
421 &quot;certState&quot;: &quot;A String&quot;, # Output only. Tracks SSL certificate status for the domain.
422 &quot;hostState&quot;: &quot;A String&quot;, # Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.
423 &quot;issues&quot;: [ # Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.
424 { # 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).
425 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
426 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
427 {
428 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
429 },
430 ],
431 &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.
432 },
433 ],
434 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain&#x27;s DNS records.
435 &quot;requiredDnsUpdates&quot;: [ # Output only. Lists the records that must added or removed to a custom domain&#x27;s DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain&#x27;s DNS records are in a bad state.
436 { # A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain&#x27;s and related subdomains&#x27; DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.
437 &quot;checkTime&quot;: &quot;A String&quot;, # Output only. The last time App Hosting checked your custom domain&#x27;s DNS records.
438 &quot;desired&quot;: [ # Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.
439 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
440 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
441 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
442 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
443 {
444 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
445 },
446 ],
447 &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.
448 },
449 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
450 &quot;records&quot;: [ # Output only. Records on the domain.
451 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
452 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
453 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
454 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
455 &quot;A String&quot;,
456 ],
457 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
458 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
459 },
460 ],
461 },
462 ],
463 &quot;discovered&quot;: [ # Output only. The set of DNS records App Hosting discovered when inspecting a domain.
464 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
465 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
466 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
467 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
468 {
469 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
470 },
471 ],
472 &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.
473 },
474 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
475 &quot;records&quot;: [ # Output only. Records on the domain.
476 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
477 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
478 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
479 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
480 &quot;A String&quot;,
481 ],
482 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
483 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
484 },
485 ],
486 },
487 ],
488 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the DNS updates pertain to.
489 },
490 ],
491 },
492 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was deleted.
493 &quot;disabled&quot;: True or False, # Optional. Whether the domain is disabled. Defaults to false.
494 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.
495 &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.
496 &quot;labels&quot;: { # Optional. Labels as key value pairs.
497 &quot;a_key&quot;: &quot;A String&quot;,
498 },
499 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`
500 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
501 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the build has an ongoing LRO.
502 &quot;serve&quot;: { # Indicates whether App Hosting will serve content on the domain. # Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend&#x27;s live content.
503 &quot;redirect&quot;: { # Specifies redirect behavior for a domain. # Optional. Redirect behavior for a domain, if provided.
504 &quot;status&quot;: &quot;A String&quot;, # Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.
505 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the redirect&#x27;s intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.
506 },
507 },
508 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the domain.
509 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
510 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was last updated.
511 },
512 ],
513 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token identifying the next page of results the server should return.
514 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
515 &quot;A String&quot;,
516 ],
517 }</pre>
518 </div>
519
520 <div class="method">
521 <code class="details" id="list_next">list_next()</code>
522 <pre>Retrieves the next page of results.
523
524 Args:
525 previous_request: The request for the previous page. (required)
526 previous_response: The response from the request for the previous page. (required)
527
528 Returns:
529 A request object that you can call &#x27;execute()&#x27; on to request the next
530 page. Returns None if there are no more items in the collection.
531 </pre>
532 </div>
533
534 <div class="method">
535 <code class="details" id="patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
536 <pre>Updates the information for a single domain.
537
538 Args:
539 name: string, Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com` (required)
540 body: object, The request body.
541 The object takes the form of:
542
543 { # A domain name that is associated with a backend.
544 &quot;annotations&quot;: { # Optional. Annotations as key value pairs.
545 &quot;a_key&quot;: &quot;A String&quot;,
546 },
547 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was created.
548 &quot;customDomainStatus&quot;: { # The status of a custom domain&#x27;s linkage to a backend. # Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.
549 &quot;certState&quot;: &quot;A String&quot;, # Output only. Tracks SSL certificate status for the domain.
550 &quot;hostState&quot;: &quot;A String&quot;, # Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.
551 &quot;issues&quot;: [ # Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.
552 { # 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).
553 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
554 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
555 {
556 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
557 },
558 ],
559 &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.
560 },
561 ],
562 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain&#x27;s DNS records.
563 &quot;requiredDnsUpdates&quot;: [ # Output only. Lists the records that must added or removed to a custom domain&#x27;s DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain&#x27;s DNS records are in a bad state.
564 { # A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain&#x27;s and related subdomains&#x27; DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.
565 &quot;checkTime&quot;: &quot;A String&quot;, # Output only. The last time App Hosting checked your custom domain&#x27;s DNS records.
566 &quot;desired&quot;: [ # Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.
567 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
568 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
569 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
570 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
571 {
572 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
573 },
574 ],
575 &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.
576 },
577 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
578 &quot;records&quot;: [ # Output only. Records on the domain.
579 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
580 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
581 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
582 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
583 &quot;A String&quot;,
584 ],
585 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
586 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
587 },
588 ],
589 },
590 ],
591 &quot;discovered&quot;: [ # Output only. The set of DNS records App Hosting discovered when inspecting a domain.
592 { # A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.
593 &quot;checkError&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. An error App Hosting services encountered when querying your domain&#x27;s DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
594 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
595 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
596 {
597 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
598 },
599 ],
600 &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.
601 },
602 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
603 &quot;records&quot;: [ # Output only. Records on the domain.
604 { # A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain&#x27;s DNS records, you&#x27;re informing other systems (such as your users&#x27; web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).
605 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain the record pertains to, e.g. `foo.bar.com.`.
606 &quot;rdata&quot;: &quot;A String&quot;, # Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
607 &quot;relevantState&quot;: [ # Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.
608 &quot;A String&quot;,
609 ],
610 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.
611 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
612 },
613 ],
614 },
615 ],
616 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the DNS updates pertain to.
617 },
618 ],
619 },
620 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was deleted.
621 &quot;disabled&quot;: True or False, # Optional. Whether the domain is disabled. Defaults to false.
622 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.
623 &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.
624 &quot;labels&quot;: { # Optional. Labels as key value pairs.
625 &quot;a_key&quot;: &quot;A String&quot;,
626 },
627 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`
628 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted.
629 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that the build has an ongoing LRO.
630 &quot;serve&quot;: { # Indicates whether App Hosting will serve content on the domain. # Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend&#x27;s live content.
631 &quot;redirect&quot;: { # Specifies redirect behavior for a domain. # Optional. Redirect behavior for a domain, if provided.
632 &quot;status&quot;: &quot;A String&quot;, # Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.
633 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the redirect&#x27;s intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.
634 },
635 },
636 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the domain.
637 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
638 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time at which the domain was last updated.
639 }
640
641 allowMissing: boolean, Optional. If set to true, and the domain is not found, a new domain will be created.
642 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).
643 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
644 validateOnly: boolean, Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources.
645 x__xgafv: string, V1 error format.
646 Allowed values
647 1 - v1 error format
648 2 - v2 error format
649
650 Returns:
651 An object of the form:
652
653 { # This resource represents a long-running operation that is the result of a network API call.
654 &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.
655 &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.
656 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
657 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
658 {
659 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
660 },
661 ],
662 &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.
663 },
664 &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.
665 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
666 },
667 &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}`.
668 &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`.
669 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
670 },
671 }</pre>
672 </div>
673
674 </body></html>