@@ -967,6 +967,57 @@ def list_project_location_application_authorized_domains(projects_id, locations_
967967 execute_or_queue_command ( command , &block )
968968 end
969969
970+ # Maps a domain to an application. A user must be authorized to administer a
971+ # domain in order to map it to an application. For a list of available
972+ # authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
973+ # @param [String] projects_id
974+ # Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
975+ # @param [String] locations_id
976+ # Part of `parent`. See documentation of `projectsId`.
977+ # @param [String] applications_id
978+ # Part of `parent`. See documentation of `projectsId`.
979+ # @param [Google::Apis::AppengineV1alpha::DomainMapping] domain_mapping_object
980+ # @param [Boolean] no_managed_certificate
981+ # Whether a managed certificate should be provided by App Engine. If true, a
982+ # certificate ID must be manaually set in the DomainMapping resource to
983+ # configure SSL for this domain. If false, a managed certificate will be
984+ # provisioned and a certificate ID will be automatically populated.
985+ # @param [String] override_strategy
986+ # Whether the domain creation should override any existing mappings for this
987+ # domain. By default, overrides are rejected.
988+ # @param [String] fields
989+ # Selector specifying which fields to include in a partial response.
990+ # @param [String] quota_user
991+ # Available to use for quota purposes for server-side applications. Can be any
992+ # arbitrary string assigned to a user, but should not exceed 40 characters.
993+ # @param [Google::Apis::RequestOptions] options
994+ # Request-specific options
995+ #
996+ # @yield [result, err] Result & error if block supplied
997+ # @yieldparam result [Google::Apis::AppengineV1alpha::Operation] parsed result object
998+ # @yieldparam err [StandardError] error object if request failed
999+ #
1000+ # @return [Google::Apis::AppengineV1alpha::Operation]
1001+ #
1002+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1003+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1004+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1005+ def create_project_location_application_domain_mapping ( projects_id , locations_id , applications_id , domain_mapping_object = nil , no_managed_certificate : nil , override_strategy : nil , fields : nil , quota_user : nil , options : nil , &block )
1006+ command = make_simple_command ( :post , 'v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings' , options )
1007+ command . request_representation = Google ::Apis ::AppengineV1alpha ::DomainMapping ::Representation
1008+ command . request_object = domain_mapping_object
1009+ command . response_representation = Google ::Apis ::AppengineV1alpha ::Operation ::Representation
1010+ command . response_class = Google ::Apis ::AppengineV1alpha ::Operation
1011+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1012+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1013+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1014+ command . query [ 'noManagedCertificate' ] = no_managed_certificate unless no_managed_certificate . nil?
1015+ command . query [ 'overrideStrategy' ] = override_strategy unless override_strategy . nil?
1016+ command . query [ 'fields' ] = fields unless fields . nil?
1017+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1018+ execute_or_queue_command ( command , &block )
1019+ end
1020+
9701021 # Gets the specified domain mapping.
9711022 # @param [String] projects_id
9721023 # Part of `name`. Name of the resource requested. Example: apps/myapp/
0 commit comments