Debian Codegraph @

docs/dyn/firebasehosting_v1beta1.projects.sites.customDomains.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="firebasehosting_v1beta1.html">Firebase Hosting API</a> . <a href="firebasehosting_v1beta1.projects.html">projects</a> . <a href="firebasehosting_v1beta1.projects.sites.html">sites</a> . <a href="firebasehosting_v1beta1.projects.sites.customDomains.html">customDomains</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="firebasehosting_v1beta1.projects.sites.customDomains.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, customDomainId=None, validateOnly=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a `CustomDomain`.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, allowMissing=None, etag=None, validateOnly=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes the specified `CustomDomain`.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets the specified `CustomDomain`.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists each `CustomDomain` associated with the specified parent Hosting site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the specified `CustomDomain`.</p>
103 <p class="toc_element">
104 <code><a href="#undelete">undelete(name, body=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted custom domains for around 30 days before permanently deleting them.</p>
106 <h3>Method Details</h3>
107 <div class="method">
108 <code class="details" id="close">close()</code>
109 <pre>Close httplib2 connections.</pre>
110 </div>
111
112 <div class="method">
113 <code class="details" id="create">create(parent, body=None, customDomainId=None, validateOnly=None, x__xgafv=None)</code>
114 <pre>Creates a `CustomDomain`.
115
116 Args:
117 parent: string, Required. The custom domain&#x27;s parent, specifically a Firebase Hosting `Site`. (required)
118 body: object, The request body.
119 The object takes the form of:
120
121 { # A `CustomDomain` is an entity that links a domain name to a Firebase Hosting site. Add a `CustomDomain` to your site to allow Hosting to serve the site&#x27;s content in response to requests against your domain name.
122 &quot;annotations&quot;: { # Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
123 &quot;a_key&quot;: &quot;A String&quot;,
124 },
125 &quot;cert&quot;: { # An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting&#x27;s intent to create one. # Output only. The SSL certificate Hosting has for this custom domain&#x27;s domain name. For new custom domains, this often represents Hosting&#x27;s intent to create a certificate, rather than an actual cert. Check the `state` field for more.
126 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s creation time. For `TEMPORARY` certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it&#x27;s the time the actual cert was created.
127 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site&#x27;s visitors.
128 &quot;issues&quot;: [ # Output only. A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site&#x27;s visitors.
129 { # 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).
130 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
131 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
132 {
133 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
134 },
135 ],
136 &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.
137 },
138 ],
139 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
140 &quot;type&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s type.
141 &quot;verification&quot;: { # A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it&#x27;s not necessary to provide both. # Output only. A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
142 &quot;dns&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.
143 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
144 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
145 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
146 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
147 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
148 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
149 {
150 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
151 },
152 ],
153 &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.
154 },
155 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
156 &quot;records&quot;: [ # Output only. Records on the domain.
157 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
158 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
159 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
160 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
161 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
162 },
163 ],
164 },
165 ],
166 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
167 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
168 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
169 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
170 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
171 {
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 ],
175 &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.
176 },
177 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
178 &quot;records&quot;: [ # Output only. Records on the domain.
179 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
180 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
181 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
182 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
183 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
184 },
185 ],
186 },
187 ],
188 },
189 &quot;http&quot;: { # A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting&#x27;s Certificate Authorities to create an SSL certificate for your domain. # Output only. A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
190 &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 encountered during the last contents check. If null, the check completed successfully.
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
197 &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.
198 },
199 &quot;desired&quot;: &quot;A String&quot;, # Output only. A text string to serve at the path.
200 &quot;discovered&quot;: &quot;A String&quot;, # Output only. Whether Hosting was able to find the required file contents on the specified path during its last check.
201 &quot;lastCheckTime&quot;: &quot;A String&quot;, # Output only. The last time Hosting systems checked for the file contents.
202 &quot;path&quot;: &quot;A String&quot;, # Output only. The path to the file.
203 },
204 },
205 },
206 &quot;certPreference&quot;: &quot;A String&quot;, # A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option.
207 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The custom domain&#x27;s create time.
208 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time the `CustomDomain` was deleted; null for custom domains that haven&#x27;t been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request.
209 &quot;etag&quot;: &quot;A String&quot;, # Output only. A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
210 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven&#x27;t been deleted.
211 &quot;hostState&quot;: &quot;A String&quot;, # Output only. The `HostState` of the domain name this `CustomDomain` refers to.
212 &quot;issues&quot;: [ # Output only. A set of errors Hosting systems encountered when trying to establish Hosting&#x27;s ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly.
213 { # 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).
214 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
215 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
216 {
217 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
218 },
219 ],
220 &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.
221 },
222 ],
223 &quot;labels&quot;: { # Labels used for extra metadata and/or filtering.
224 &quot;a_key&quot;: &quot;A String&quot;,
225 },
226 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully-qualified name of the `CustomDomain`.
227 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. The `OwnershipState` of the domain name this `CustomDomain` refers to.
228 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that Hosting&#x27;s systems are attmepting to make the custom domain&#x27;s state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.
229 &quot;redirectTarget&quot;: &quot;A String&quot;, # A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.
230 &quot;requiredDnsUpdates&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A set of updates you should make to the domain name&#x27;s DNS records to let Hosting serve secure content on its behalf.
231 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
232 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
233 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
234 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
235 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
236 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
237 {
238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
239 },
240 ],
241 &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.
242 },
243 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
244 &quot;records&quot;: [ # Output only. Records on the domain.
245 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
246 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
247 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
248 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
249 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
250 },
251 ],
252 },
253 ],
254 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
255 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
256 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
257 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
258 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
259 {
260 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
261 },
262 ],
263 &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.
264 },
265 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
266 &quot;records&quot;: [ # Output only. Records on the domain.
267 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
268 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
269 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
270 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
271 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
272 },
273 ],
274 },
275 ],
276 },
277 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the `CustomDomain` was updated.
278 }
279
280 customDomainId: string, Required. The ID of the `CustomDomain`, which is the domain name you&#x27;d like to use with Firebase Hosting.
281 validateOnly: boolean, If true, Hosting validates that it&#x27;s possible to complete your request but doesn&#x27;t actually create a new `CustomDomain`.
282 x__xgafv: string, V1 error format.
283 Allowed values
284 1 - v1 error format
285 2 - v2 error format
286
287 Returns:
288 An object of the form:
289
290 { # This resource represents a long-running operation that is the result of a network API call.
291 &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.
292 &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.
293 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
294 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
295 {
296 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
297 },
298 ],
299 &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.
300 },
301 &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.
302 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
303 },
304 &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}`.
305 &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`.
306 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
307 },
308 }</pre>
309 </div>
310
311 <div class="method">
312 <code class="details" id="delete">delete(name, allowMissing=None, etag=None, validateOnly=None, x__xgafv=None)</code>
313 <pre>Deletes the specified `CustomDomain`.
314
315 Args:
316 name: string, Required. The name of the `CustomDomain` to delete. (required)
317 allowMissing: boolean, If true, the request succeeds even if the `CustomDomain` doesn&#x27;t exist.
318 etag: string, A tag that represents the state of the `CustomDomain` as you know it. If present, the supplied tag must match the current value on your `CustomDomain`, or the request fails.
319 validateOnly: boolean, If true, Hosting validates that it&#x27;s possible to complete your request but doesn&#x27;t actually delete the `CustomDomain`.
320 x__xgafv: string, V1 error format.
321 Allowed values
322 1 - v1 error format
323 2 - v2 error format
324
325 Returns:
326 An object of the form:
327
328 { # This resource represents a long-running operation that is the result of a network API call.
329 &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.
330 &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.
331 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
332 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
333 {
334 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
335 },
336 ],
337 &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.
338 },
339 &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.
340 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
341 },
342 &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}`.
343 &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`.
344 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
345 },
346 }</pre>
347 </div>
348
349 <div class="method">
350 <code class="details" id="get">get(name, x__xgafv=None)</code>
351 <pre>Gets the specified `CustomDomain`.
352
353 Args:
354 name: string, Required. The name of the `CustomDomain` to get. (required)
355 x__xgafv: string, V1 error format.
356 Allowed values
357 1 - v1 error format
358 2 - v2 error format
359
360 Returns:
361 An object of the form:
362
363 { # A `CustomDomain` is an entity that links a domain name to a Firebase Hosting site. Add a `CustomDomain` to your site to allow Hosting to serve the site&#x27;s content in response to requests against your domain name.
364 &quot;annotations&quot;: { # Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
365 &quot;a_key&quot;: &quot;A String&quot;,
366 },
367 &quot;cert&quot;: { # An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting&#x27;s intent to create one. # Output only. The SSL certificate Hosting has for this custom domain&#x27;s domain name. For new custom domains, this often represents Hosting&#x27;s intent to create a certificate, rather than an actual cert. Check the `state` field for more.
368 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s creation time. For `TEMPORARY` certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it&#x27;s the time the actual cert was created.
369 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site&#x27;s visitors.
370 &quot;issues&quot;: [ # Output only. A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site&#x27;s visitors.
371 { # 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).
372 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
373 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
374 {
375 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
376 },
377 ],
378 &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.
379 },
380 ],
381 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
382 &quot;type&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s type.
383 &quot;verification&quot;: { # A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it&#x27;s not necessary to provide both. # Output only. A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
384 &quot;dns&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.
385 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
386 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
387 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
388 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
389 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
390 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
391 {
392 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
393 },
394 ],
395 &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.
396 },
397 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
398 &quot;records&quot;: [ # Output only. Records on the domain.
399 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
400 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
401 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
402 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
403 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
404 },
405 ],
406 },
407 ],
408 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
409 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
410 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
411 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
412 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
413 {
414 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
415 },
416 ],
417 &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.
418 },
419 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
420 &quot;records&quot;: [ # Output only. Records on the domain.
421 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
422 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
423 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
424 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
425 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
426 },
427 ],
428 },
429 ],
430 },
431 &quot;http&quot;: { # A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting&#x27;s Certificate Authorities to create an SSL certificate for your domain. # Output only. A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
432 &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 encountered during the last contents check. If null, the check completed successfully.
433 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
434 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
435 {
436 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
437 },
438 ],
439 &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.
440 },
441 &quot;desired&quot;: &quot;A String&quot;, # Output only. A text string to serve at the path.
442 &quot;discovered&quot;: &quot;A String&quot;, # Output only. Whether Hosting was able to find the required file contents on the specified path during its last check.
443 &quot;lastCheckTime&quot;: &quot;A String&quot;, # Output only. The last time Hosting systems checked for the file contents.
444 &quot;path&quot;: &quot;A String&quot;, # Output only. The path to the file.
445 },
446 },
447 },
448 &quot;certPreference&quot;: &quot;A String&quot;, # A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option.
449 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The custom domain&#x27;s create time.
450 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time the `CustomDomain` was deleted; null for custom domains that haven&#x27;t been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request.
451 &quot;etag&quot;: &quot;A String&quot;, # Output only. A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
452 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven&#x27;t been deleted.
453 &quot;hostState&quot;: &quot;A String&quot;, # Output only. The `HostState` of the domain name this `CustomDomain` refers to.
454 &quot;issues&quot;: [ # Output only. A set of errors Hosting systems encountered when trying to establish Hosting&#x27;s ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly.
455 { # 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).
456 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
457 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
458 {
459 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
460 },
461 ],
462 &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.
463 },
464 ],
465 &quot;labels&quot;: { # Labels used for extra metadata and/or filtering.
466 &quot;a_key&quot;: &quot;A String&quot;,
467 },
468 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully-qualified name of the `CustomDomain`.
469 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. The `OwnershipState` of the domain name this `CustomDomain` refers to.
470 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that Hosting&#x27;s systems are attmepting to make the custom domain&#x27;s state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.
471 &quot;redirectTarget&quot;: &quot;A String&quot;, # A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.
472 &quot;requiredDnsUpdates&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A set of updates you should make to the domain name&#x27;s DNS records to let Hosting serve secure content on its behalf.
473 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
474 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
475 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
476 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
477 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
478 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
479 {
480 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
481 },
482 ],
483 &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.
484 },
485 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
486 &quot;records&quot;: [ # Output only. Records on the domain.
487 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
488 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
489 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
490 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
491 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
492 },
493 ],
494 },
495 ],
496 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
497 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
498 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
499 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
500 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
501 {
502 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
503 },
504 ],
505 &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.
506 },
507 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
508 &quot;records&quot;: [ # Output only. Records on the domain.
509 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
510 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
511 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
512 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
513 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
514 },
515 ],
516 },
517 ],
518 },
519 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the `CustomDomain` was updated.
520 }</pre>
521 </div>
522
523 <div class="method">
524 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
525 <pre>Lists each `CustomDomain` associated with the specified parent Hosting site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.
526
527 Args:
528 parent: string, Required. The Firebase Hosting `Site` with `CustomDomain` entities you&#x27;d like to list. (required)
529 pageSize: integer, The max number of `CustomDomain` entities to return in a request. Defaults to 10.
530 pageToken: string, A token from a previous call to `ListCustomDomains` that tells the server where to resume listing.
531 showDeleted: boolean, If true, the request returns soft-deleted `CustomDomain`s that haven&#x27;t been fully-deleted yet. To restore deleted `CustomDomain`s, make an `UndeleteCustomDomain` request.
532 x__xgafv: string, V1 error format.
533 Allowed values
534 1 - v1 error format
535 2 - v2 error format
536
537 Returns:
538 An object of the form:
539
540 { # The response from `ListCustomDomains`.
541 &quot;customDomains&quot;: [ # A list of `CustomDomain` entities associated with the specified Firebase `Site`.
542 { # A `CustomDomain` is an entity that links a domain name to a Firebase Hosting site. Add a `CustomDomain` to your site to allow Hosting to serve the site&#x27;s content in response to requests against your domain name.
543 &quot;annotations&quot;: { # Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
544 &quot;a_key&quot;: &quot;A String&quot;,
545 },
546 &quot;cert&quot;: { # An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting&#x27;s intent to create one. # Output only. The SSL certificate Hosting has for this custom domain&#x27;s domain name. For new custom domains, this often represents Hosting&#x27;s intent to create a certificate, rather than an actual cert. Check the `state` field for more.
547 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s creation time. For `TEMPORARY` certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it&#x27;s the time the actual cert was created.
548 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site&#x27;s visitors.
549 &quot;issues&quot;: [ # Output only. A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site&#x27;s visitors.
550 { # 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).
551 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
552 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
553 {
554 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
555 },
556 ],
557 &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.
558 },
559 ],
560 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
561 &quot;type&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s type.
562 &quot;verification&quot;: { # A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it&#x27;s not necessary to provide both. # Output only. A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
563 &quot;dns&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.
564 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
565 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
566 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
567 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
568 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
569 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
570 {
571 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
572 },
573 ],
574 &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.
575 },
576 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
577 &quot;records&quot;: [ # Output only. Records on the domain.
578 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
579 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
580 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
581 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
582 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
583 },
584 ],
585 },
586 ],
587 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
588 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
589 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
590 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
591 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
592 {
593 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
594 },
595 ],
596 &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.
597 },
598 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
599 &quot;records&quot;: [ # Output only. Records on the domain.
600 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
601 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
602 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
603 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
604 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
605 },
606 ],
607 },
608 ],
609 },
610 &quot;http&quot;: { # A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting&#x27;s Certificate Authorities to create an SSL certificate for your domain. # Output only. A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
611 &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 encountered during the last contents check. If null, the check completed successfully.
612 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
613 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
614 {
615 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
616 },
617 ],
618 &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.
619 },
620 &quot;desired&quot;: &quot;A String&quot;, # Output only. A text string to serve at the path.
621 &quot;discovered&quot;: &quot;A String&quot;, # Output only. Whether Hosting was able to find the required file contents on the specified path during its last check.
622 &quot;lastCheckTime&quot;: &quot;A String&quot;, # Output only. The last time Hosting systems checked for the file contents.
623 &quot;path&quot;: &quot;A String&quot;, # Output only. The path to the file.
624 },
625 },
626 },
627 &quot;certPreference&quot;: &quot;A String&quot;, # A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option.
628 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The custom domain&#x27;s create time.
629 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time the `CustomDomain` was deleted; null for custom domains that haven&#x27;t been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request.
630 &quot;etag&quot;: &quot;A String&quot;, # Output only. A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
631 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven&#x27;t been deleted.
632 &quot;hostState&quot;: &quot;A String&quot;, # Output only. The `HostState` of the domain name this `CustomDomain` refers to.
633 &quot;issues&quot;: [ # Output only. A set of errors Hosting systems encountered when trying to establish Hosting&#x27;s ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly.
634 { # 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).
635 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
636 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
637 {
638 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
639 },
640 ],
641 &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.
642 },
643 ],
644 &quot;labels&quot;: { # Labels used for extra metadata and/or filtering.
645 &quot;a_key&quot;: &quot;A String&quot;,
646 },
647 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully-qualified name of the `CustomDomain`.
648 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. The `OwnershipState` of the domain name this `CustomDomain` refers to.
649 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that Hosting&#x27;s systems are attmepting to make the custom domain&#x27;s state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.
650 &quot;redirectTarget&quot;: &quot;A String&quot;, # A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.
651 &quot;requiredDnsUpdates&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A set of updates you should make to the domain name&#x27;s DNS records to let Hosting serve secure content on its behalf.
652 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
653 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
654 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
655 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
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;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
665 &quot;records&quot;: [ # Output only. Records on the domain.
666 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
667 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
668 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
669 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
670 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
671 },
672 ],
673 },
674 ],
675 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
676 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
677 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
678 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
679 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
680 {
681 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
682 },
683 ],
684 &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.
685 },
686 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
687 &quot;records&quot;: [ # Output only. Records on the domain.
688 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
689 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
690 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
691 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
692 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
693 },
694 ],
695 },
696 ],
697 },
698 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the `CustomDomain` was updated.
699 },
700 ],
701 &quot;nextPageToken&quot;: &quot;A String&quot;, # The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListCustomDomains`. Page tokens are short-lived and should not be stored.
702 }</pre>
703 </div>
704
705 <div class="method">
706 <code class="details" id="list_next">list_next()</code>
707 <pre>Retrieves the next page of results.
708
709 Args:
710 previous_request: The request for the previous page. (required)
711 previous_response: The response from the request for the previous page. (required)
712
713 Returns:
714 A request object that you can call &#x27;execute()&#x27; on to request the next
715 page. Returns None if there are no more items in the collection.
716 </pre>
717 </div>
718
719 <div class="method">
720 <code class="details" id="patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
721 <pre>Updates the specified `CustomDomain`.
722
723 Args:
724 name: string, Output only. The fully-qualified name of the `CustomDomain`. (required)
725 body: object, The request body.
726 The object takes the form of:
727
728 { # A `CustomDomain` is an entity that links a domain name to a Firebase Hosting site. Add a `CustomDomain` to your site to allow Hosting to serve the site&#x27;s content in response to requests against your domain name.
729 &quot;annotations&quot;: { # Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
730 &quot;a_key&quot;: &quot;A String&quot;,
731 },
732 &quot;cert&quot;: { # An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting&#x27;s intent to create one. # Output only. The SSL certificate Hosting has for this custom domain&#x27;s domain name. For new custom domains, this often represents Hosting&#x27;s intent to create a certificate, rather than an actual cert. Check the `state` field for more.
733 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s creation time. For `TEMPORARY` certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it&#x27;s the time the actual cert was created.
734 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site&#x27;s visitors.
735 &quot;issues&quot;: [ # Output only. A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site&#x27;s visitors.
736 { # 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).
737 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
738 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
739 {
740 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
741 },
742 ],
743 &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.
744 },
745 ],
746 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
747 &quot;type&quot;: &quot;A String&quot;, # Output only. The certificate&#x27;s type.
748 &quot;verification&quot;: { # A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it&#x27;s not necessary to provide both. # Output only. A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
749 &quot;dns&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.
750 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
751 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
752 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
753 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
754 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
755 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
756 {
757 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
758 },
759 ],
760 &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.
761 },
762 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
763 &quot;records&quot;: [ # Output only. Records on the domain.
764 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
765 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
766 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
767 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
768 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
769 },
770 ],
771 },
772 ],
773 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
774 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
775 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
776 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
777 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
778 {
779 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
780 },
781 ],
782 &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.
783 },
784 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
785 &quot;records&quot;: [ # Output only. Records on the domain.
786 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
787 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
788 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
789 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
790 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
791 },
792 ],
793 },
794 ],
795 },
796 &quot;http&quot;: { # A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting&#x27;s Certificate Authorities to create an SSL certificate for your domain. # Output only. A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
797 &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 encountered during the last contents check. If null, the check completed successfully.
798 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
799 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
800 {
801 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
802 },
803 ],
804 &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.
805 },
806 &quot;desired&quot;: &quot;A String&quot;, # Output only. A text string to serve at the path.
807 &quot;discovered&quot;: &quot;A String&quot;, # Output only. Whether Hosting was able to find the required file contents on the specified path during its last check.
808 &quot;lastCheckTime&quot;: &quot;A String&quot;, # Output only. The last time Hosting systems checked for the file contents.
809 &quot;path&quot;: &quot;A String&quot;, # Output only. The path to the file.
810 },
811 },
812 },
813 &quot;certPreference&quot;: &quot;A String&quot;, # A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option.
814 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The custom domain&#x27;s create time.
815 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time the `CustomDomain` was deleted; null for custom domains that haven&#x27;t been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request.
816 &quot;etag&quot;: &quot;A String&quot;, # Output only. A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
817 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven&#x27;t been deleted.
818 &quot;hostState&quot;: &quot;A String&quot;, # Output only. The `HostState` of the domain name this `CustomDomain` refers to.
819 &quot;issues&quot;: [ # Output only. A set of errors Hosting systems encountered when trying to establish Hosting&#x27;s ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly.
820 { # 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).
821 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
822 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
823 {
824 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
825 },
826 ],
827 &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.
828 },
829 ],
830 &quot;labels&quot;: { # Labels used for extra metadata and/or filtering.
831 &quot;a_key&quot;: &quot;A String&quot;,
832 },
833 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully-qualified name of the `CustomDomain`.
834 &quot;ownershipState&quot;: &quot;A String&quot;, # Output only. The `OwnershipState` of the domain name this `CustomDomain` refers to.
835 &quot;reconciling&quot;: True or False, # Output only. A field that, if true, indicates that Hosting&#x27;s systems are attmepting to make the custom domain&#x27;s state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.
836 &quot;redirectTarget&quot;: &quot;A String&quot;, # A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.
837 &quot;requiredDnsUpdates&quot;: { # A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name&#x27;s DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. # Output only. A set of updates you should make to the domain name&#x27;s DNS records to let Hosting serve secure content on its behalf.
838 &quot;checkTime&quot;: &quot;A String&quot;, # The last time Hosting checked your custom domain&#x27;s DNS records.
839 &quot;desired&quot;: [ # The set of DNS records Hosting needs to serve secure content on the domain.
840 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
841 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
842 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
843 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
844 {
845 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
846 },
847 ],
848 &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.
849 },
850 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
851 &quot;records&quot;: [ # Output only. Records on the domain.
852 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
853 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
854 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
855 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
856 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
857 },
858 ],
859 },
860 ],
861 &quot;discovered&quot;: [ # The set of DNS records Hosting discovered when inspecting a domain.
862 { # A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.
863 &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 Hosting services encountered when querying your domain name&#x27;s DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn&#x27;t been set up yet.
864 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
865 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
866 {
867 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
868 },
869 ],
870 &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.
871 },
872 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record set pertains to.
873 &quot;records&quot;: [ # Output only. Records on the domain.
874 { # DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name&#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 name (such as your Hosting site files).
875 &quot;domainName&quot;: &quot;A String&quot;, # Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
876 &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 name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name&#x27;s behalf. - CAA: The record&#x27;s flags, tag, and value, e.g. `0 issue &quot;pki.goog&quot;`.
877 &quot;requiredAction&quot;: &quot;A String&quot;, # Output only. An enum that indicates the a required action for this record.
878 &quot;type&quot;: &quot;A String&quot;, # Output only. The record&#x27;s type, which determines what data the record contains.
879 },
880 ],
881 },
882 ],
883 },
884 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the `CustomDomain` was updated.
885 }
886
887 allowMissing: boolean, If true, Hosting creates the `CustomDomain` if it doesn&#x27;t already exist.
888 updateMask: string, The set of field names from your `CustomDomain` that you want to update. A field will be overwritten if, and only if, it&#x27;s in the mask. If you don&#x27;t provide a mask, Hosting updates the entire `CustomDomain`.
889 validateOnly: boolean, If true, Hosting validates that it&#x27;s possible to complete your request but doesn&#x27;t actually create or update the `CustomDomain`.
890 x__xgafv: string, V1 error format.
891 Allowed values
892 1 - v1 error format
893 2 - v2 error format
894
895 Returns:
896 An object of the form:
897
898 { # This resource represents a long-running operation that is the result of a network API call.
899 &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.
900 &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.
901 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
902 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
903 {
904 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
905 },
906 ],
907 &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.
908 },
909 &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.
910 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
911 },
912 &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}`.
913 &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`.
914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
915 },
916 }</pre>
917 </div>
918
919 <div class="method">
920 <code class="details" id="undelete">undelete(name, body=None, x__xgafv=None)</code>
921 <pre>Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted custom domains for around 30 days before permanently deleting them.
922
923 Args:
924 name: string, Required. The name of the `CustomDomain` to delete. (required)
925 body: object, The request body.
926 The object takes the form of:
927
928 { # The request sent to `UndeleteCustomDomain`.
929 &quot;etag&quot;: &quot;A String&quot;, # A tag that represents the state of the `CustomDomain` as you know it. If present, the supplied tag must match the current value on your `CustomDomain`, or the request fails.
930 &quot;validateOnly&quot;: True or False, # If true, Hosting validates that it&#x27;s possible to complete your request but doesn&#x27;t actually delete the `CustomDomain`.
931 }
932
933 x__xgafv: string, V1 error format.
934 Allowed values
935 1 - v1 error format
936 2 - v2 error format
937
938 Returns:
939 An object of the form:
940
941 { # This resource represents a long-running operation that is the result of a network API call.
942 &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.
943 &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.
944 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
945 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
946 {
947 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
948 },
949 ],
950 &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.
951 },
952 &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.
953 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
954 },
955 &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}`.
956 &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`.
957 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
958 },
959 }</pre>
960 </div>
961
962 </body></html>