Debian Codegraph @

docs/dyn/appengine_v1alpha.projects.locations.applications.domainMappings.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="appengine_v1alpha.html">App Engine Admin API</a> . <a href="appengine_v1alpha.projects.html">projects</a> . <a href="appengine_v1alpha.projects.locations.html">locations</a> . <a href="appengine_v1alpha.projects.locations.applications.html">applications</a> . <a href="appengine_v1alpha.projects.locations.applications.domainMappings.html">domainMappings</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(projectsId, locationsId, applicationsId, body=None, noManagedCertificate=None, overrideStrategy=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(projectsId, locationsId, applicationsId, domainMappingsId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(projectsId, locationsId, applicationsId, domainMappingsId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets the specified domain mapping.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(projectsId, locationsId, applicationsId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists the domain mappings on an application.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(projectsId, locationsId, applicationsId, domainMappingsId, body=None, noManagedCertificate=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(projectsId, locationsId, applicationsId, body=None, noManagedCertificate=None, overrideStrategy=None, x__xgafv=None)</code>
106 <pre>Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
107
108 Args:
109 projectsId: string, Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. (required)
110 locationsId: string, Part of `parent`. See documentation of `projectsId`. (required)
111 applicationsId: string, Part of `parent`. See documentation of `projectsId`. (required)
112 body: object, The request body.
113 The object takes the form of:
114
115 { # A domain serving an App Engine application.
116 &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
117 &quot;name&quot;: &quot;A String&quot;, # Output only. Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
118 &quot;resourceRecords&quot;: [ # Output only. The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.@OutputOnly
119 { # A DNS resource record.
120 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for CNAME records. Example: &#x27;www&#x27;.
121 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
122 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
123 },
124 ],
125 &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
126 &quot;certificateId&quot;: &quot;A String&quot;, # ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
127 &quot;isManagedCertificate&quot;: True or False, # Output only. Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.@OutputOnly
128 },
129 }
130
131 noManagedCertificate: boolean, Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
132 overrideStrategy: string, Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
133 Allowed values
134 UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY - Strategy unspecified. Defaults to STRICT.
135 STRICT - Overrides not allowed. If a mapping already exists for the specified domain, the request will return an ALREADY_EXISTS (409).
136 OVERRIDE - Overrides allowed. If a mapping already exists for the specified domain, the request will overwrite it. Note that this might stop another Google product from serving. For example, if the domain is mapped to another App Engine application, that app will no longer serve from that domain.
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141
142 Returns:
143 An object of the form:
144
145 { # This resource represents a long-running operation that is the result of a network API call.
146 &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.
147 &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.
148 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
149 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
150 {
151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
152 },
153 ],
154 &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.
155 },
156 &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.
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
158 },
159 &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}.
160 &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.
161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
162 },
163 }</pre>
164 </div>
165
166 <div class="method">
167 <code class="details" id="delete">delete(projectsId, locationsId, applicationsId, domainMappingsId, x__xgafv=None)</code>
168 <pre>Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.
169
170 Args:
171 projectsId: string, Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com. (required)
172 locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
173 applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
174 domainMappingsId: string, Part of `name`. See documentation of `projectsId`. (required)
175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180 Returns:
181 An object of the form:
182
183 { # This resource represents a long-running operation that is the result of a network API call.
184 &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.
185 &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.
186 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
187 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
188 {
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 ],
192 &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.
193 },
194 &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.
195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
196 },
197 &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}.
198 &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.
199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200 },
201 }</pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="get">get(projectsId, locationsId, applicationsId, domainMappingsId, x__xgafv=None)</code>
206 <pre>Gets the specified domain mapping.
207
208 Args:
209 projectsId: string, Part of `name`. Required. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. (required)
210 locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
211 applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
212 domainMappingsId: string, Part of `name`. See documentation of `projectsId`. (required)
213 x__xgafv: string, V1 error format.
214 Allowed values
215 1 - v1 error format
216 2 - v2 error format
217
218 Returns:
219 An object of the form:
220
221 { # A domain serving an App Engine application.
222 &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
223 &quot;name&quot;: &quot;A String&quot;, # Output only. Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
224 &quot;resourceRecords&quot;: [ # Output only. The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.@OutputOnly
225 { # A DNS resource record.
226 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for CNAME records. Example: &#x27;www&#x27;.
227 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
228 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
229 },
230 ],
231 &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
232 &quot;certificateId&quot;: &quot;A String&quot;, # ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
233 &quot;isManagedCertificate&quot;: True or False, # Output only. Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.@OutputOnly
234 },
235 }</pre>
236 </div>
237
238 <div class="method">
239 <code class="details" id="list">list(projectsId, locationsId, applicationsId, pageSize=None, pageToken=None, x__xgafv=None)</code>
240 <pre>Lists the domain mappings on an application.
241
242 Args:
243 projectsId: string, Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. (required)
244 locationsId: string, Part of `parent`. See documentation of `projectsId`. (required)
245 applicationsId: string, Part of `parent`. See documentation of `projectsId`. (required)
246 pageSize: integer, Maximum results to return per page.
247 pageToken: string, Continuation token for fetching the next page of results.
248 x__xgafv: string, V1 error format.
249 Allowed values
250 1 - v1 error format
251 2 - v2 error format
252
253 Returns:
254 An object of the form:
255
256 { # Response message for DomainMappings.ListDomainMappings.
257 &quot;domainMappings&quot;: [ # The domain mappings for the application.
258 { # A domain serving an App Engine application.
259 &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
260 &quot;name&quot;: &quot;A String&quot;, # Output only. Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
261 &quot;resourceRecords&quot;: [ # Output only. The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.@OutputOnly
262 { # A DNS resource record.
263 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for CNAME records. Example: &#x27;www&#x27;.
264 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
265 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
266 },
267 ],
268 &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
269 &quot;certificateId&quot;: &quot;A String&quot;, # ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
270 &quot;isManagedCertificate&quot;: True or False, # Output only. Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.@OutputOnly
271 },
272 },
273 ],
274 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
275 }</pre>
276 </div>
277
278 <div class="method">
279 <code class="details" id="list_next">list_next()</code>
280 <pre>Retrieves the next page of results.
281
282 Args:
283 previous_request: The request for the previous page. (required)
284 previous_response: The response from the request for the previous page. (required)
285
286 Returns:
287 A request object that you can call &#x27;execute()&#x27; on to request the next
288 page. Returns None if there are no more items in the collection.
289 </pre>
290 </div>
291
292 <div class="method">
293 <code class="details" id="patch">patch(projectsId, locationsId, applicationsId, domainMappingsId, body=None, noManagedCertificate=None, updateMask=None, x__xgafv=None)</code>
294 <pre>Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.
295
296 Args:
297 projectsId: string, Part of `name`. Required. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. (required)
298 locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
299 applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
300 domainMappingsId: string, Part of `name`. See documentation of `projectsId`. (required)
301 body: object, The request body.
302 The object takes the form of:
303
304 { # A domain serving an App Engine application.
305 &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
306 &quot;name&quot;: &quot;A String&quot;, # Output only. Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
307 &quot;resourceRecords&quot;: [ # Output only. The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.@OutputOnly
308 { # A DNS resource record.
309 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for CNAME records. Example: &#x27;www&#x27;.
310 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
311 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
312 },
313 ],
314 &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
315 &quot;certificateId&quot;: &quot;A String&quot;, # ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
316 &quot;isManagedCertificate&quot;: True or False, # Output only. Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.@OutputOnly
317 },
318 }
319
320 noManagedCertificate: boolean, Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated. Only applicable if ssl_settings.certificate_id is specified in the update mask.
321 updateMask: string, Required. Standard field mask for the set of fields to be updated.
322 x__xgafv: string, V1 error format.
323 Allowed values
324 1 - v1 error format
325 2 - v2 error format
326
327 Returns:
328 An object of the form:
329
330 { # This resource represents a long-running operation that is the result of a network API call.
331 &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.
332 &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.
333 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
334 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
335 {
336 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337 },
338 ],
339 &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.
340 },
341 &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.
342 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
343 },
344 &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}.
345 &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.
346 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
347 },
348 }</pre>
349 </div>
350
351 </body></html>