@@ -1686,6 +1686,46 @@ def list_project_location_application_authorized_domains(projects_id, locations_
16861686 execute_or_queue_command ( command , &block )
16871687 end
16881688
1689+ # Gets the specified domain mapping.
1690+ # @param [String] projects_id
1691+ # Part of `name`. Name of the resource requested. Example: apps/myapp/
1692+ # domainMappings/example.com.
1693+ # @param [String] locations_id
1694+ # Part of `name`. See documentation of `projectsId`.
1695+ # @param [String] applications_id
1696+ # Part of `name`. See documentation of `projectsId`.
1697+ # @param [String] domain_mappings_id
1698+ # Part of `name`. See documentation of `projectsId`.
1699+ # @param [String] fields
1700+ # Selector specifying which fields to include in a partial response.
1701+ # @param [String] quota_user
1702+ # Available to use for quota purposes for server-side applications. Can be any
1703+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1704+ # @param [Google::Apis::RequestOptions] options
1705+ # Request-specific options
1706+ #
1707+ # @yield [result, err] Result & error if block supplied
1708+ # @yieldparam result [Google::Apis::AppengineV1::DomainMapping] parsed result object
1709+ # @yieldparam err [StandardError] error object if request failed
1710+ #
1711+ # @return [Google::Apis::AppengineV1::DomainMapping]
1712+ #
1713+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1714+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1715+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1716+ def get_project_location_application_domain_mapping ( projects_id , locations_id , applications_id , domain_mappings_id , fields : nil , quota_user : nil , options : nil , &block )
1717+ command = make_simple_command ( :get , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}' , options )
1718+ command . response_representation = Google ::Apis ::AppengineV1 ::DomainMapping ::Representation
1719+ command . response_class = Google ::Apis ::AppengineV1 ::DomainMapping
1720+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1721+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1722+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1723+ command . params [ 'domainMappingsId' ] = domain_mappings_id unless domain_mappings_id . nil?
1724+ command . query [ 'fields' ] = fields unless fields . nil?
1725+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1726+ execute_or_queue_command ( command , &block )
1727+ end
1728+
16891729 # Deletes the specified service and all enclosed versions.
16901730 # @param [String] projects_id
16911731 # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
@@ -1726,6 +1766,66 @@ def delete_project_location_application_service(projects_id, locations_id, appli
17261766 execute_or_queue_command ( command , &block )
17271767 end
17281768
1769+ # Updates the configuration of the specified service.
1770+ # @param [String] projects_id
1771+ # Part of `name`. Name of the resource to update. Example: apps/myapp/services/
1772+ # default.
1773+ # @param [String] locations_id
1774+ # Part of `name`. See documentation of `projectsId`.
1775+ # @param [String] applications_id
1776+ # Part of `name`. See documentation of `projectsId`.
1777+ # @param [String] services_id
1778+ # Part of `name`. See documentation of `projectsId`.
1779+ # @param [Google::Apis::AppengineV1::Service] service_object
1780+ # @param [Boolean] migrate_traffic
1781+ # Set to true to gradually shift traffic to one or more versions that you
1782+ # specify. By default, traffic is shifted immediately. For gradual traffic
1783+ # migration, the target versions must be located within instances that are
1784+ # configured for both warmup requests (https://cloud.google.com/appengine/docs/
1785+ # admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) and
1786+ # automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/
1787+ # rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy
1788+ # (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.
1789+ # services#ShardBy) field in the Service resource. Gradual traffic migration is
1790+ # not supported in the App Engine flexible environment. For examples, see
1791+ # Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-
1792+ # api/migrating-splitting-traffic).
1793+ # @param [String] update_mask
1794+ # Required. Standard field mask for the set of fields to be updated.
1795+ # @param [String] fields
1796+ # Selector specifying which fields to include in a partial response.
1797+ # @param [String] quota_user
1798+ # Available to use for quota purposes for server-side applications. Can be any
1799+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1800+ # @param [Google::Apis::RequestOptions] options
1801+ # Request-specific options
1802+ #
1803+ # @yield [result, err] Result & error if block supplied
1804+ # @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
1805+ # @yieldparam err [StandardError] error object if request failed
1806+ #
1807+ # @return [Google::Apis::AppengineV1::Operation]
1808+ #
1809+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1810+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1811+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1812+ def patch_project_location_application_service ( projects_id , locations_id , applications_id , services_id , service_object = nil , migrate_traffic : nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
1813+ command = make_simple_command ( :patch , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}' , options )
1814+ command . request_representation = Google ::Apis ::AppengineV1 ::Service ::Representation
1815+ command . request_object = service_object
1816+ command . response_representation = Google ::Apis ::AppengineV1 ::Operation ::Representation
1817+ command . response_class = Google ::Apis ::AppengineV1 ::Operation
1818+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1819+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1820+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1821+ command . params [ 'servicesId' ] = services_id unless services_id . nil?
1822+ command . query [ 'migrateTraffic' ] = migrate_traffic unless migrate_traffic . nil?
1823+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
1824+ command . query [ 'fields' ] = fields unless fields . nil?
1825+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1826+ execute_or_queue_command ( command , &block )
1827+ end
1828+
17291829 # Deletes an existing Version resource.
17301830 # @param [String] projects_id
17311831 # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
0 commit comments