Skip to content

Commit da61e2c

Browse files
feat: Automated regeneration of appengine v1beta client (#26050)
Auto-created at 2026-03-22 11:03:21 +0000 using the toys pull request generator.
1 parent 519f657 commit da61e2c

5 files changed

Lines changed: 128 additions & 2 deletions

File tree

generated/google-apis-appengine_v1beta/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_v1beta
22

3+
### v0.68.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260316
6+
37
### v0.67.0 (2026-02-22)
48

59
* Regenerated from discovery document revision 20260220

generated/google-apis-appengine_v1beta/lib/google/apis/appengine_v1beta/classes.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,29 @@ def update!(**args)
11051105
end
11061106
end
11071107

1108+
# Request message for Versions.ExportAppImage.
1109+
class ExportAppImageRequest
1110+
include Google::Apis::Core::Hashable
1111+
1112+
# Optional. The full resource name of the AR repository to export to. Format:
1113+
# projects/`project`/locations/`location`/repositories/`repository` If not
1114+
# specified, defaults to projects/`project`/locations/`location`/repositories/
1115+
# gae-standard in the same region as the app. The default repository will be
1116+
# created if it does not exist.
1117+
# Corresponds to the JSON property `destinationRepository`
1118+
# @return [String]
1119+
attr_accessor :destination_repository
1120+
1121+
def initialize(**args)
1122+
update!(**args)
1123+
end
1124+
1125+
# Update properties of this object
1126+
def update!(**args)
1127+
@destination_repository = args[:destination_repository] if args.key?(:destination_repository)
1128+
end
1129+
end
1130+
11081131
# The feature specific settings to be used in the application. These define
11091132
# behaviors that are user configurable.
11101133
class FeatureSettings

generated/google-apis-appengine_v1beta/lib/google/apis/appengine_v1beta/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 AppengineV1beta
1818
# Version of the google-apis-appengine_v1beta gem
19-
GEM_VERSION = "0.67.0"
19+
GEM_VERSION = "0.68.0"
2020

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

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

generated/google-apis-appengine_v1beta/lib/google/apis/appengine_v1beta/representations.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
190190
include Google::Apis::Core::JsonObjectSupport
191191
end
192192

193+
class ExportAppImageRequest
194+
class Representation < Google::Apis::Core::JsonRepresentation; end
195+
196+
include Google::Apis::Core::JsonObjectSupport
197+
end
198+
193199
class FeatureSettings
194200
class Representation < Google::Apis::Core::JsonRepresentation; end
195201

@@ -818,6 +824,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
818824
end
819825
end
820826

827+
class ExportAppImageRequest
828+
# @private
829+
class Representation < Google::Apis::Core::JsonRepresentation
830+
property :destination_repository, as: 'destinationRepository'
831+
end
832+
end
833+
821834
class FeatureSettings
822835
# @private
823836
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,46 @@ def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, q
12751275
execute_or_queue_command(command, &block)
12761276
end
12771277

1278+
# Exports a user image to Artifact Registry.
1279+
# @param [String] apps_id
1280+
# Part of `name`. Required. Name of the App Engine version resource. Format:
1281+
# apps/`app`/services/`service`/versions/`version`
1282+
# @param [String] services_id
1283+
# Part of `name`. See documentation of `appsId`.
1284+
# @param [String] versions_id
1285+
# Part of `name`. See documentation of `appsId`.
1286+
# @param [Google::Apis::AppengineV1beta::ExportAppImageRequest] export_app_image_request_object
1287+
# @param [String] fields
1288+
# Selector specifying which fields to include in a partial response.
1289+
# @param [String] quota_user
1290+
# Available to use for quota purposes for server-side applications. Can be any
1291+
# arbitrary string assigned to a user, but should not exceed 40 characters.
1292+
# @param [Google::Apis::RequestOptions] options
1293+
# Request-specific options
1294+
#
1295+
# @yield [result, err] Result & error if block supplied
1296+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
1297+
# @yieldparam err [StandardError] error object if request failed
1298+
#
1299+
# @return [Google::Apis::AppengineV1beta::Operation]
1300+
#
1301+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1302+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1303+
# @raise [Google::Apis::AuthorizationError] Authorization is required
1304+
def export_app_service_version_app_image(apps_id, services_id, versions_id, export_app_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1305+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage', options)
1306+
command.request_representation = Google::Apis::AppengineV1beta::ExportAppImageRequest::Representation
1307+
command.request_object = export_app_image_request_object
1308+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
1309+
command.response_class = Google::Apis::AppengineV1beta::Operation
1310+
command.params['appsId'] = apps_id unless apps_id.nil?
1311+
command.params['servicesId'] = services_id unless services_id.nil?
1312+
command.params['versionsId'] = versions_id unless versions_id.nil?
1313+
command.query['fields'] = fields unless fields.nil?
1314+
command.query['quotaUser'] = quota_user unless quota_user.nil?
1315+
execute_or_queue_command(command, &block)
1316+
end
1317+
12781318
# Gets the specified Version resource. By default, only a BASIC_VIEW will be
12791319
# returned. Specify the FULL_VIEW parameter to get the full resource.
12801320
# @param [String] apps_id
@@ -2379,6 +2419,52 @@ def delete_project_location_application_service_version(projects_id, locations_i
23792419
execute_or_queue_command(command, &block)
23802420
end
23812421

2422+
# Exports a user image to Artifact Registry.
2423+
# @param [String] projects_id
2424+
# Part of `name`. Required. Name of the App Engine version resource. Format:
2425+
# apps/`app`/services/`service`/versions/`version`
2426+
# @param [String] locations_id
2427+
# Part of `name`. See documentation of `projectsId`.
2428+
# @param [String] applications_id
2429+
# Part of `name`. See documentation of `projectsId`.
2430+
# @param [String] services_id
2431+
# Part of `name`. See documentation of `projectsId`.
2432+
# @param [String] versions_id
2433+
# Part of `name`. See documentation of `projectsId`.
2434+
# @param [Google::Apis::AppengineV1beta::ExportAppImageRequest] export_app_image_request_object
2435+
# @param [String] fields
2436+
# Selector specifying which fields to include in a partial response.
2437+
# @param [String] quota_user
2438+
# Available to use for quota purposes for server-side applications. Can be any
2439+
# arbitrary string assigned to a user, but should not exceed 40 characters.
2440+
# @param [Google::Apis::RequestOptions] options
2441+
# Request-specific options
2442+
#
2443+
# @yield [result, err] Result & error if block supplied
2444+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
2445+
# @yieldparam err [StandardError] error object if request failed
2446+
#
2447+
# @return [Google::Apis::AppengineV1beta::Operation]
2448+
#
2449+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2450+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2451+
# @raise [Google::Apis::AuthorizationError] Authorization is required
2452+
def export_project_location_application_service_version_app_image(projects_id, locations_id, applications_id, services_id, versions_id, export_app_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2453+
command = make_simple_command(:post, 'v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage', options)
2454+
command.request_representation = Google::Apis::AppengineV1beta::ExportAppImageRequest::Representation
2455+
command.request_object = export_app_image_request_object
2456+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
2457+
command.response_class = Google::Apis::AppengineV1beta::Operation
2458+
command.params['projectsId'] = projects_id unless projects_id.nil?
2459+
command.params['locationsId'] = locations_id unless locations_id.nil?
2460+
command.params['applicationsId'] = applications_id unless applications_id.nil?
2461+
command.params['servicesId'] = services_id unless services_id.nil?
2462+
command.params['versionsId'] = versions_id unless versions_id.nil?
2463+
command.query['fields'] = fields unless fields.nil?
2464+
command.query['quotaUser'] = quota_user unless quota_user.nil?
2465+
execute_or_queue_command(command, &block)
2466+
end
2467+
23822468
# Updates the specified Version resource. You can specify the following fields
23832469
# depending on the App Engine environment and type of scaling that the version
23842470
# resource uses:Standard environment instance_class (https://cloud.google.com/

0 commit comments

Comments
 (0)