Skip to content

Commit 0b34b9d

Browse files
feat: Automated regeneration of datamigration v1 client (googleapis#24103)
Auto-created at 2025-08-24 11:07:58 +0000 using the toys pull request generator.
1 parent 32a1a01 commit 0b34b9d

File tree

6 files changed

+51
-4
lines changed

6 files changed

+51
-4
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149975,6 +149975,8 @@
149975149975
"/datamigration:v1/GoogleCloudClouddmsV1OperationMetadata/statusMessage": status_message
149976149976
"/datamigration:v1/GoogleCloudClouddmsV1OperationMetadata/target": target
149977149977
"/datamigration:v1/GoogleCloudClouddmsV1OperationMetadata/verb": verb
149978+
"/datamigration:v1/HeterogeneousMetadata": heterogeneous_metadata
149979+
"/datamigration:v1/HeterogeneousMetadata/unsupportedEventsCount": unsupported_events_count
149978149980
"/datamigration:v1/ImportMappingRulesRequest": import_mapping_rules_request
149979149981
"/datamigration:v1/ImportMappingRulesRequest/autoCommit": auto_commit
149980149982
"/datamigration:v1/ImportMappingRulesRequest/rulesFiles": rules_files
@@ -150128,6 +150130,7 @@
150128150130
"/datamigration:v1/MigrationJobObject": migration_job_object
150129150131
"/datamigration:v1/MigrationJobObject/createTime": create_time
150130150132
"/datamigration:v1/MigrationJobObject/error": error
150133+
"/datamigration:v1/MigrationJobObject/heterogeneousMetadata": heterogeneous_metadata
150131150134
"/datamigration:v1/MigrationJobObject/name": name
150132150135
"/datamigration:v1/MigrationJobObject/phase": phase
150133150136
"/datamigration:v1/MigrationJobObject/sourceObject": source_object

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

3+
### v0.79.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250815
6+
37
### v0.78.0 (2025-07-06)
48

59
* Regenerated from discovery document revision 20250625

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,6 +2279,25 @@ def update!(**args)
22792279
end
22802280
end
22812281

2282+
# Metadata for heterogeneous migration jobs objects.
2283+
class HeterogeneousMetadata
2284+
include Google::Apis::Core::Hashable
2285+
2286+
# The number of unsupported events.
2287+
# Corresponds to the JSON property `unsupportedEventsCount`
2288+
# @return [Fixnum]
2289+
attr_accessor :unsupported_events_count
2290+
2291+
def initialize(**args)
2292+
update!(**args)
2293+
end
2294+
2295+
# Update properties of this object
2296+
def update!(**args)
2297+
@unsupported_events_count = args[:unsupported_events_count] if args.key?(:unsupported_events_count)
2298+
end
2299+
end
2300+
22822301
# Request message for 'ImportMappingRules' request.
22832302
class ImportMappingRulesRequest
22842303
include Google::Apis::Core::Hashable
@@ -3328,6 +3347,11 @@ class MigrationJobObject
33283347
# @return [Google::Apis::DatamigrationV1::Status]
33293348
attr_accessor :error
33303349

3350+
# Metadata for heterogeneous migration jobs objects.
3351+
# Corresponds to the JSON property `heterogeneousMetadata`
3352+
# @return [Google::Apis::DatamigrationV1::HeterogeneousMetadata]
3353+
attr_accessor :heterogeneous_metadata
3354+
33313355
# The object's name.
33323356
# Corresponds to the JSON property `name`
33333357
# @return [String]
@@ -3361,6 +3385,7 @@ def initialize(**args)
33613385
def update!(**args)
33623386
@create_time = args[:create_time] if args.key?(:create_time)
33633387
@error = args[:error] if args.key?(:error)
3388+
@heterogeneous_metadata = args[:heterogeneous_metadata] if args.key?(:heterogeneous_metadata)
33643389
@name = args[:name] if args.key?(:name)
33653390
@phase = args[:phase] if args.key?(:phase)
33663391
@source_object = args[:source_object] if args.key?(:source_object)

generated/google-apis-datamigration_v1/lib/google/apis/datamigration_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 DatamigrationV1
1818
# Version of the google-apis-datamigration_v1 gem
19-
GEM_VERSION = "0.78.0"
19+
GEM_VERSION = "0.79.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 = "20250625"
25+
REVISION = "20250815"
2626
end
2727
end
2828
end

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
328328
include Google::Apis::Core::JsonObjectSupport
329329
end
330330

331+
class HeterogeneousMetadata
332+
class Representation < Google::Apis::Core::JsonRepresentation; end
333+
334+
include Google::Apis::Core::JsonObjectSupport
335+
end
336+
331337
class ImportMappingRulesRequest
332338
class Representation < Google::Apis::Core::JsonRepresentation; end
333339

@@ -1509,6 +1515,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
15091515
end
15101516
end
15111517

1518+
class HeterogeneousMetadata
1519+
# @private
1520+
class Representation < Google::Apis::Core::JsonRepresentation
1521+
property :unsupported_events_count, :numeric_string => true, as: 'unsupportedEventsCount'
1522+
end
1523+
end
1524+
15121525
class ImportMappingRulesRequest
15131526
# @private
15141527
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1788,6 +1801,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
17881801
property :create_time, as: 'createTime'
17891802
property :error, as: 'error', class: Google::Apis::DatamigrationV1::Status, decorator: Google::Apis::DatamigrationV1::Status::Representation
17901803

1804+
property :heterogeneous_metadata, as: 'heterogeneousMetadata', class: Google::Apis::DatamigrationV1::HeterogeneousMetadata, decorator: Google::Apis::DatamigrationV1::HeterogeneousMetadata::Representation
1805+
17911806
property :name, as: 'name'
17921807
property :phase, as: 'phase'
17931808
property :source_object, as: 'sourceObject', class: Google::Apis::DatamigrationV1::SourceObjectIdentifier, decorator: Google::Apis::DatamigrationV1::SourceObjectIdentifier::Representation

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
123123
# @param [String] name
124124
# The resource that owns the locations collection, if applicable.
125125
# @param [Array<String>, String] extra_location_types
126-
# Optional. A list of extra location types that should be used as conditions for
127-
# controlling the visibility of the locations.
126+
# Optional. Do not use this field. It is unsupported and is ignored unless
127+
# explicitly documented otherwise. This is primarily for internal usage.
128128
# @param [String] filter
129129
# A filter to narrow down results to a preferred subset. The filtering language
130130
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)