Skip to content

Commit 0b17a62

Browse files
feat: Automated regeneration of appengine v1 client (googleapis#23164)
Auto-created at 2025-05-18 10:28:56 +0000 using the toys pull request generator.
1 parent b04054d commit 0b17a62

File tree

4 files changed

+118
-2
lines changed

4 files changed

+118
-2
lines changed

api_names_out.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40029,6 +40029,11 @@
4002940029
"/appengine:v1/appengine.projects.locations.applications.create": create_project_location_application
4003040030
"/appengine:v1/appengine.projects.locations.applications.create/locationsId": locations_id
4003140031
"/appengine:v1/appengine.projects.locations.applications.create/projectsId": projects_id
40032+
"/appengine:v1/appengine.projects.locations.applications.domainMappings.get": get_project_location_application_domain_mapping
40033+
"/appengine:v1/appengine.projects.locations.applications.domainMappings.get/applicationsId": applications_id
40034+
"/appengine:v1/appengine.projects.locations.applications.domainMappings.get/domainMappingsId": domain_mappings_id
40035+
"/appengine:v1/appengine.projects.locations.applications.domainMappings.get/locationsId": locations_id
40036+
"/appengine:v1/appengine.projects.locations.applications.domainMappings.get/projectsId": projects_id
4003240037
"/appengine:v1/appengine.projects.locations.applications.get": get_project_location_application
4003340038
"/appengine:v1/appengine.projects.locations.applications.get/applicationsId": applications_id
4003440039
"/appengine:v1/appengine.projects.locations.applications.get/locationsId": locations_id
@@ -40059,6 +40064,13 @@
4005940064
"/appengine:v1/appengine.projects.locations.applications.services.list/pageSize": page_size
4006040065
"/appengine:v1/appengine.projects.locations.applications.services.list/pageToken": page_token
4006140066
"/appengine:v1/appengine.projects.locations.applications.services.list/projectsId": projects_id
40067+
"/appengine:v1/appengine.projects.locations.applications.services.patch": patch_project_location_application_service
40068+
"/appengine:v1/appengine.projects.locations.applications.services.patch/applicationsId": applications_id
40069+
"/appengine:v1/appengine.projects.locations.applications.services.patch/locationsId": locations_id
40070+
"/appengine:v1/appengine.projects.locations.applications.services.patch/migrateTraffic": migrate_traffic
40071+
"/appengine:v1/appengine.projects.locations.applications.services.patch/projectsId": projects_id
40072+
"/appengine:v1/appengine.projects.locations.applications.services.patch/servicesId": services_id
40073+
"/appengine:v1/appengine.projects.locations.applications.services.patch/updateMask": update_mask
4006240074
"/appengine:v1/appengine.projects.locations.applications.services.versions.delete": delete_project_location_application_service_version
4006340075
"/appengine:v1/appengine.projects.locations.applications.services.versions.delete/applicationsId": applications_id
4006440076
"/appengine:v1/appengine.projects.locations.applications.services.versions.delete/locationsId": locations_id

generated/google-apis-appengine_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-appengine_v1
22

3+
### v0.61.0 (2025-05-18)
4+
5+
* Regenerated from discovery document revision 20250512
6+
37
### v0.60.0 (2025-05-04)
48

59
* Regenerated using generator version 0.17.0

generated/google-apis-appengine_v1/lib/google/apis/appengine_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AppengineV1
1818
# Version of the google-apis-appengine_v1 gem
19-
GEM_VERSION = "0.60.0"
19+
GEM_VERSION = "0.61.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.17.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250409"
25+
REVISION = "20250512"
2626
end
2727
end
2828
end

generated/google-apis-appengine_v1/lib/google/apis/appengine_v1/service.rb

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)