You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
projectsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. (required)
95
+
locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
96
+
applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
97
+
domainMappingsId: string, Part of `name`. See documentation of `projectsId`. (required)
98
+
x__xgafv: string, V1 error format.
99
+
Allowed values
100
+
1 - v1 error format
101
+
2 - v2 error format
102
+
103
+
Returns:
104
+
An object of the form:
105
+
106
+
{ # A domain serving an App Engine application.
107
+
"id": "A String", # Relative name of the domain serving the application. Example: example.com.
108
+
"name": "A String", # Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
109
+
"resourceRecords": [ # The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.@OutputOnly
110
+
{ # A DNS resource record.
111
+
"name": "A String", # Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
112
+
"rrdata": "A String", # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
113
+
"type": "A String", # Resource record type. Example: AAAA.
114
+
},
115
+
],
116
+
"sslSettings": { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
117
+
"certificateId": "A String", # 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 SslManagementType.MANUAL 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.
118
+
"pendingManagedCertificateId": "A String", # ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.@OutputOnly
119
+
"sslManagementType": "A String", # SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.
<pre>Updates the configuration of the specified service.
138
+
139
+
Args:
140
+
projectsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/services/default. (required)
141
+
locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
142
+
applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
143
+
servicesId: string, Part of `name`. See documentation of `projectsId`. (required)
144
+
body: object, The request body.
145
+
The object takes the form of:
146
+
147
+
{ # A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.
148
+
"generatedCustomerMetadata": { # Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest
149
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
150
+
},
151
+
"id": "A String", # Output only. Relative name of the service within the application. Example: default.@OutputOnly
152
+
"labels": { # A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
153
+
"a_key": "A String",
154
+
},
155
+
"name": "A String", # Output only. Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly
156
+
"networkSettings": { # A NetworkSettings resource is a container for ingress settings for a version or service. # Ingress settings for this service. Will apply to all versions.
157
+
"ingressTrafficAllowed": "A String", # The ingress settings for version or service.
158
+
},
159
+
"split": { # Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions. # Mapping that defines fractional HTTP traffic diversion to different versions within the service.
160
+
"allocations": { # Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
161
+
"a_key": 3.14,
162
+
},
163
+
"shardBy": "A String", # Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.
164
+
},
165
+
}
166
+
167
+
migrateTraffic: boolean, Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
168
+
updateMask: string, Required. Standard field mask for the set of fields to be updated.
169
+
x__xgafv: string, V1 error format.
170
+
Allowed values
171
+
1 - v1 error format
172
+
2 - v2 error format
173
+
174
+
Returns:
175
+
An object of the form:
176
+
177
+
{ # This resource represents a long-running operation that is the result of a network API call.
178
+
"done": 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.
179
+
"error": { # 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.
180
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
181
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
182
+
{
183
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
184
+
},
185
+
],
186
+
"message": "A String", # 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.
187
+
},
188
+
"metadata": { # 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.
189
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
190
+
},
191
+
"name": "A String", # 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}.
192
+
"response": { # 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.
193
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
projectsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. (required)
95
+
locationsId: string, Part of `name`. See documentation of `projectsId`. (required)
96
+
applicationsId: string, Part of `name`. See documentation of `projectsId`. (required)
97
+
domainMappingsId: string, Part of `name`. See documentation of `projectsId`. (required)
98
+
x__xgafv: string, V1 error format.
99
+
Allowed values
100
+
1 - v1 error format
101
+
2 - v2 error format
102
+
103
+
Returns:
104
+
An object of the form:
105
+
106
+
{ # A domain serving an App Engine application.
107
+
"id": "A String", # Relative name of the domain serving the application. Example: example.com.
108
+
"name": "A String", # Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly
109
+
"resourceRecords": [ # The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.@OutputOnly
110
+
{ # A DNS resource record.
111
+
"name": "A String", # Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
112
+
"rrdata": "A String", # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
113
+
"type": "A String", # Resource record type. Example: AAAA.
114
+
},
115
+
],
116
+
"sslSettings": { # SSL configuration for a DomainMapping resource. # SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
117
+
"certificateId": "A String", # 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.
118
+
"isManagedCertificate": 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
0 commit comments