Skip to content

Commit f05c42f

Browse files
feat: Automated regeneration of vmmigration v1alpha1 client (googleapis#22331)
Auto-created at 2025-03-30 10:51:09 +0000 using the toys pull request generator.
1 parent dc972ff commit f05c42f

File tree

6 files changed

+23
-3
lines changed

6 files changed

+23
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359209,6 +359209,7 @@
359209359209
"/vmmigration:v1alpha1/ImageImportJob/warnings": warnings
359210359210
"/vmmigration:v1alpha1/ImageImportJob/warnings/warning": warning
359211359211
"/vmmigration:v1alpha1/ImageImportOsAdaptationParameters": image_import_os_adaptation_parameters
359212+
"/vmmigration:v1alpha1/ImageImportOsAdaptationParameters/bootConversion": boot_conversion
359212359213
"/vmmigration:v1alpha1/ImageImportOsAdaptationParameters/generalize": generalize
359213359214
"/vmmigration:v1alpha1/ImageImportOsAdaptationParameters/licenseType": license_type
359214359215
"/vmmigration:v1alpha1/ImageImportStep": image_import_step
@@ -359656,6 +359657,7 @@
359656359657
"/vmmigration:v1alpha1/vmmigration.projects.locations.imageImports.list/pageToken": page_token
359657359658
"/vmmigration:v1alpha1/vmmigration.projects.locations.imageImports.list/parent": parent
359658359659
"/vmmigration:v1alpha1/vmmigration.projects.locations.list": list_project_locations
359660+
"/vmmigration:v1alpha1/vmmigration.projects.locations.list/extraLocationTypes": extra_location_types
359659359661
"/vmmigration:v1alpha1/vmmigration.projects.locations.list/filter": filter
359660359662
"/vmmigration:v1alpha1/vmmigration.projects.locations.list/name": name
359661359663
"/vmmigration:v1alpha1/vmmigration.projects.locations.list/pageSize": page_size

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

3+
### v0.54.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250321
6+
37
### v0.53.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250213

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,6 +2403,14 @@ def update!(**args)
24032403
class ImageImportOsAdaptationParameters
24042404
include Google::Apis::Core::Hashable
24052405

2406+
# Optional. By default the image will keep its existing boot option. Setting
2407+
# this property will trigger an internal process which will convert the image
2408+
# from using the existing boot option to another. The size of the boot disk
2409+
# might be increased to allow the conversion
2410+
# Corresponds to the JSON property `bootConversion`
2411+
# @return [String]
2412+
attr_accessor :boot_conversion
2413+
24062414
# Optional. Set to true in order to generalize the imported image. The
24072415
# generalization process enables co-existence of multiple VMs created from the
24082416
# same image. For Windows, generalizing the image removes computer-specific
@@ -2424,6 +2432,7 @@ def initialize(**args)
24242432

24252433
# Update properties of this object
24262434
def update!(**args)
2435+
@boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
24272436
@generalize = args[:generalize] if args.key?(:generalize)
24282437
@license_type = args[:license_type] if args.key?(:license_type)
24292438
end

generated/google-apis-vmmigration_v1alpha1/lib/google/apis/vmmigration_v1alpha1/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 VmmigrationV1alpha1
1818
# Version of the google-apis-vmmigration_v1alpha1 gem
19-
GEM_VERSION = "0.53.0"
19+
GEM_VERSION = "0.54.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13741374
class ImageImportOsAdaptationParameters
13751375
# @private
13761376
class Representation < Google::Apis::Core::JsonRepresentation
1377+
property :boot_conversion, as: 'bootConversion'
13771378
property :generalize, as: 'generalize'
13781379
property :license_type, as: 'licenseType'
13791380
end

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8484
# Lists information about the supported locations for this service.
8585
# @param [String] name
8686
# The resource that owns the locations collection, if applicable.
87+
# @param [Array<String>, String] extra_location_types
88+
# Optional. A list of extra location types that should be used as conditions for
89+
# controlling the visibility of the locations.
8790
# @param [String] filter
8891
# A filter to narrow down results to a preferred subset. The filtering language
8992
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -111,11 +114,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
111114
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112115
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113116
# @raise [Google::Apis::AuthorizationError] Authorization is required
114-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
115118
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
116119
command.response_representation = Google::Apis::VmmigrationV1alpha1::ListLocationsResponse::Representation
117120
command.response_class = Google::Apis::VmmigrationV1alpha1::ListLocationsResponse
118121
command.params['name'] = name unless name.nil?
122+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
119123
command.query['filter'] = filter unless filter.nil?
120124
command.query['pageSize'] = page_size unless page_size.nil?
121125
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)