1<html><body>
2<style>
3
4body, 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
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, 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.apps.html">apps</a> . <a href="appengine_v1alpha.apps.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(appsId, 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(appsId, 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(appsId, 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(appsId, 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(previous_request, previous_response)</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(appsId, 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(appsId, 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
108Args:
109  appsId: string, Part of `parent`. Name of the parent Application resource. Example: apps/myapp. (required)
110  body: object, The request body.
111    The object takes the form of:
112
113{ # A domain serving an App Engine application.
114  &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
115  &quot;name&quot;: &quot;A String&quot;, # Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
116  &quot;resourceRecords&quot;: [ # 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
117    { # A DNS resource record.
118      &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;.
119      &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).
120      &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
121    },
122  ],
123  &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
124    &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.
125    &quot;isManagedCertificate&quot;: True or False, # 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
126  },
127}
128
129  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.
130  overrideStrategy: string, Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
131    Allowed values
132      UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY - Strategy unspecified. Defaults to STRICT.
133      STRICT - Overrides not allowed. If a mapping already exists for the specified domain, the request will return an ALREADY_EXISTS (409).
134      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.
135  x__xgafv: string, V1 error format.
136    Allowed values
137      1 - v1 error format
138      2 - v2 error format
139
140Returns:
141  An object of the form:
142
143    { # This resource represents a long-running operation that is the result of a network API call.
144  &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.
145  &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.
146    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
147    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
148      {
149        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
150      },
151    ],
152    &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.
153  },
154  &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.
155    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156  },
157  &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}.
158  &quot;response&quot;: { # The normal response of the operation in case of success. 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.
159    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160  },
161}</pre>
162</div>
163
164<div class="method">
165    <code class="details" id="delete">delete(appsId, domainMappingsId, x__xgafv=None)</code>
166  <pre>Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.
167
168Args:
169  appsId: string, Part of `name`. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com. (required)
170  domainMappingsId: string, Part of `name`. See documentation of `appsId`. (required)
171  x__xgafv: string, V1 error format.
172    Allowed values
173      1 - v1 error format
174      2 - v2 error format
175
176Returns:
177  An object of the form:
178
179    { # This resource represents a long-running operation that is the result of a network API call.
180  &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.
181  &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.
182    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
183    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
184      {
185        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
186      },
187    ],
188    &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.
189  },
190  &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.
191    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
192  },
193  &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}.
194  &quot;response&quot;: { # The normal response of the operation in case of success. 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.
195    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
196  },
197}</pre>
198</div>
199
200<div class="method">
201    <code class="details" id="get">get(appsId, domainMappingsId, x__xgafv=None)</code>
202  <pre>Gets the specified domain mapping.
203
204Args:
205  appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. (required)
206  domainMappingsId: string, Part of `name`. See documentation of `appsId`. (required)
207  x__xgafv: string, V1 error format.
208    Allowed values
209      1 - v1 error format
210      2 - v2 error format
211
212Returns:
213  An object of the form:
214
215    { # A domain serving an App Engine application.
216  &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
217  &quot;name&quot;: &quot;A String&quot;, # Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
218  &quot;resourceRecords&quot;: [ # 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
219    { # A DNS resource record.
220      &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;.
221      &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).
222      &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
223    },
224  ],
225  &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
226    &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.
227    &quot;isManagedCertificate&quot;: True or False, # 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
228  },
229}</pre>
230</div>
231
232<div class="method">
233    <code class="details" id="list">list(appsId, pageSize=None, pageToken=None, x__xgafv=None)</code>
234  <pre>Lists the domain mappings on an application.
235
236Args:
237  appsId: string, Part of `parent`. Name of the parent Application resource. Example: apps/myapp. (required)
238  pageSize: integer, Maximum results to return per page.
239  pageToken: string, Continuation token for fetching the next page of results.
240  x__xgafv: string, V1 error format.
241    Allowed values
242      1 - v1 error format
243      2 - v2 error format
244
245Returns:
246  An object of the form:
247
248    { # Response message for DomainMappings.ListDomainMappings.
249  &quot;domainMappings&quot;: [ # The domain mappings for the application.
250    { # A domain serving an App Engine application.
251      &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
252      &quot;name&quot;: &quot;A String&quot;, # Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
253      &quot;resourceRecords&quot;: [ # 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
254        { # A DNS resource record.
255          &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;.
256          &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).
257          &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
258        },
259      ],
260      &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
261        &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.
262        &quot;isManagedCertificate&quot;: True or False, # 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
263      },
264    },
265  ],
266  &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
267}</pre>
268</div>
269
270<div class="method">
271    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
272  <pre>Retrieves the next page of results.
273
274Args:
275  previous_request: The request for the previous page. (required)
276  previous_response: The response from the request for the previous page. (required)
277
278Returns:
279  A request object that you can call &#x27;execute()&#x27; on to request the next
280  page. Returns None if there are no more items in the collection.
281    </pre>
282</div>
283
284<div class="method">
285    <code class="details" id="patch">patch(appsId, domainMappingsId, body=None, noManagedCertificate=None, updateMask=None, x__xgafv=None)</code>
286  <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.
287
288Args:
289  appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. (required)
290  domainMappingsId: string, Part of `name`. See documentation of `appsId`. (required)
291  body: object, The request body.
292    The object takes the form of:
293
294{ # A domain serving an App Engine application.
295  &quot;id&quot;: &quot;A String&quot;, # Relative name of the domain serving the application. Example: example.com.
296  &quot;name&quot;: &quot;A String&quot;, # Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
297  &quot;resourceRecords&quot;: [ # 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
298    { # A DNS resource record.
299      &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;.
300      &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).
301      &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: AAAA.
302    },
303  ],
304  &quot;sslSettings&quot;: { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
305    &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.
306    &quot;isManagedCertificate&quot;: True or False, # 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
307  },
308}
309
310  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.
311  updateMask: string, Required. Standard field mask for the set of fields to be updated.
312  x__xgafv: string, V1 error format.
313    Allowed values
314      1 - v1 error format
315      2 - v2 error format
316
317Returns:
318  An object of the form:
319
320    { # This resource represents a long-running operation that is the result of a network API call.
321  &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.
322  &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.
323    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
324    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
325      {
326        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
327      },
328    ],
329    &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.
330  },
331  &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.
332    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
333  },
334  &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}.
335  &quot;response&quot;: { # The normal response of the operation in case of success. 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.
336    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337  },
338}</pre>
339</div>
340
341</body></html>