google-apis-migrationcenter_v1 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4a33f2e9d22209c812ed2d711f7765482d033ddf3103f7f4487f30d9aaff02b
4
- data.tar.gz: cc0222064947ae068fbca5d7906328985a128bf4aa5cd3893e264b295f4d3797
3
+ metadata.gz: 73602e4e887108d9c2b1dbdf52666d4f01df3d98c44a2a831ff0cc13c41b5dee
4
+ data.tar.gz: 4aa3a9bfb654294746f3d43d51011d3d1cbf440ea5bff7a9e8eceb893ddc24cf
5
5
  SHA512:
6
- metadata.gz: 1dfdd0aaf68672e2285eba374ecd16567ceb88cf2edca6195c94204eb13d50f5bb53431717a9c31d59c26ec229b1e5f0991ee8501ef6ee6018757bc366c25382
7
- data.tar.gz: 66c9781b91a33085ea459bd93d614dc17a133c578b8ad9fafa6f23f0a3ef27ec7f55fa15894b15293021e5d9251c183ca71360dab75934f133e243853c64fcd4
6
+ metadata.gz: bfe0959fae7001c264cac4355fec7e3f5282154e8e823be03bb129a7924a6cdf24cc44b667fef628a5e7c1304ed1c4f8d331bb32937e6c806aa25c56cfeca4e8
7
+ data.tar.gz: b10f07286bd8a09ce2c8867af21fce24eb85be38ad799e4fca8824829b00b94b95947cbc1115070f45c8c4f92bd9ec81ab6106265c047d20e625aba511c70b15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-migrationcenter_v1
2
2
 
3
+ ### v0.23.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250429
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.22.0 (2025-03-30)
9
+
10
+ * Regenerated from discovery document revision 20250320
11
+
3
12
  ### v0.21.0 (2025-02-26)
4
13
 
5
14
  * Regenerated from discovery document revision 20250220
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/migration-center) may provi
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -81,6 +81,13 @@ module Google
81
81
  # @return [String]
82
82
  attr_accessor :filter
83
83
 
84
+ # Optional. When this value is set to 'true,' the response will include all
85
+ # assets, including those that are hidden.
86
+ # Corresponds to the JSON property `showHidden`
87
+ # @return [Boolean]
88
+ attr_accessor :show_hidden
89
+ alias_method :show_hidden?, :show_hidden
90
+
84
91
  def initialize(**args)
85
92
  update!(**args)
86
93
  end
@@ -89,6 +96,7 @@ module Google
89
96
  def update!(**args)
90
97
  @aggregations = args[:aggregations] if args.key?(:aggregations)
91
98
  @filter = args[:filter] if args.key?(:filter)
99
+ @show_hidden = args[:show_hidden] if args.key?(:show_hidden)
92
100
  end
93
101
  end
94
102
 
@@ -404,6 +412,22 @@ module Google
404
412
  # @return [Google::Apis::MigrationcenterV1::DatabaseDetails]
405
413
  attr_accessor :database_details
406
414
 
415
+ # Optional. Indicates if the asset is hidden.
416
+ # Corresponds to the JSON property `hidden`
417
+ # @return [Boolean]
418
+ attr_accessor :hidden
419
+ alias_method :hidden?, :hidden
420
+
421
+ # Optional. An optional reason for marking this asset as hidden.
422
+ # Corresponds to the JSON property `hideReason`
423
+ # @return [String]
424
+ attr_accessor :hide_reason
425
+
426
+ # Output only. The timestamp when the asset was marked as hidden.
427
+ # Corresponds to the JSON property `hideTime`
428
+ # @return [String]
429
+ attr_accessor :hide_time
430
+
407
431
  # Message containing insights list.
408
432
  # Corresponds to the JSON property `insightList`
409
433
  # @return [Google::Apis::MigrationcenterV1::InsightList]
@@ -455,6 +479,9 @@ module Google
455
479
  @create_time = args[:create_time] if args.key?(:create_time)
456
480
  @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
457
481
  @database_details = args[:database_details] if args.key?(:database_details)
482
+ @hidden = args[:hidden] if args.key?(:hidden)
483
+ @hide_reason = args[:hide_reason] if args.key?(:hide_reason)
484
+ @hide_time = args[:hide_time] if args.key?(:hide_time)
458
485
  @insight_list = args[:insight_list] if args.key?(:insight_list)
459
486
  @labels = args[:labels] if args.key?(:labels)
460
487
  @machine_details = args[:machine_details] if args.key?(:machine_details)
@@ -669,6 +696,11 @@ module Google
669
696
  attr_accessor :allow_missing
670
697
  alias_method :allow_missing?, :allow_missing
671
698
 
699
+ # Optional. Optional cascading rules for deleting related assets.
700
+ # Corresponds to the JSON property `cascadingRules`
701
+ # @return [Array<Google::Apis::MigrationcenterV1::CascadingRule>]
702
+ attr_accessor :cascading_rules
703
+
672
704
  # Required. The IDs of the assets to delete. A maximum of 1000 assets can be
673
705
  # deleted in a batch. Format: projects/`project`/locations/`location`/assets/`
674
706
  # name`.
@@ -683,6 +715,7 @@ module Google
683
715
  # Update properties of this object
684
716
  def update!(**args)
685
717
  @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
718
+ @cascading_rules = args[:cascading_rules] if args.key?(:cascading_rules)
686
719
  @names = args[:names] if args.key?(:names)
687
720
  end
688
721
  end
@@ -796,6 +829,38 @@ module Google
796
829
  end
797
830
  end
798
831
 
832
+ # Cascading rule for related logical DBs.
833
+ class CascadeLogicalDBsRule
834
+ include Google::Apis::Core::Hashable
835
+
836
+ def initialize(**args)
837
+ update!(**args)
838
+ end
839
+
840
+ # Update properties of this object
841
+ def update!(**args)
842
+ end
843
+ end
844
+
845
+ # Specifies cascading rules for traversing relations.
846
+ class CascadingRule
847
+ include Google::Apis::Core::Hashable
848
+
849
+ # Cascading rule for related logical DBs.
850
+ # Corresponds to the JSON property `cascadeLogicalDbs`
851
+ # @return [Google::Apis::MigrationcenterV1::CascadeLogicalDBsRule]
852
+ attr_accessor :cascade_logical_dbs
853
+
854
+ def initialize(**args)
855
+ update!(**args)
856
+ end
857
+
858
+ # Update properties of this object
859
+ def update!(**args)
860
+ @cascade_logical_dbs = args[:cascade_logical_dbs] if args.key?(:cascade_logical_dbs)
861
+ end
862
+ end
863
+
799
864
  # Compute engine migration target.
800
865
  class ComputeEngineMigrationTarget
801
866
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MigrationcenterV1
18
18
  # Version of the google-apis-migrationcenter_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250220"
25
+ REVISION = "20250429"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,18 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class CascadeLogicalDBsRule
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class CascadingRule
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class ComputeEngineMigrationTarget
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -1124,6 +1136,7 @@ module Google
1124
1136
  collection :aggregations, as: 'aggregations', class: Google::Apis::MigrationcenterV1::Aggregation, decorator: Google::Apis::MigrationcenterV1::Aggregation::Representation
1125
1137
 
1126
1138
  property :filter, as: 'filter'
1139
+ property :show_hidden, as: 'showHidden'
1127
1140
  end
1128
1141
  end
1129
1142
 
@@ -1238,6 +1251,9 @@ module Google
1238
1251
 
1239
1252
  property :database_details, as: 'databaseDetails', class: Google::Apis::MigrationcenterV1::DatabaseDetails, decorator: Google::Apis::MigrationcenterV1::DatabaseDetails::Representation
1240
1253
 
1254
+ property :hidden, as: 'hidden'
1255
+ property :hide_reason, as: 'hideReason'
1256
+ property :hide_time, as: 'hideTime'
1241
1257
  property :insight_list, as: 'insightList', class: Google::Apis::MigrationcenterV1::InsightList, decorator: Google::Apis::MigrationcenterV1::InsightList::Representation
1242
1258
 
1243
1259
  hash :labels, as: 'labels'
@@ -1315,6 +1331,8 @@ module Google
1315
1331
  # @private
1316
1332
  class Representation < Google::Apis::Core::JsonRepresentation
1317
1333
  property :allow_missing, as: 'allowMissing'
1334
+ collection :cascading_rules, as: 'cascadingRules', class: Google::Apis::MigrationcenterV1::CascadingRule, decorator: Google::Apis::MigrationcenterV1::CascadingRule::Representation
1335
+
1318
1336
  collection :names, as: 'names'
1319
1337
  end
1320
1338
  end
@@ -1354,6 +1372,20 @@ module Google
1354
1372
  end
1355
1373
  end
1356
1374
 
1375
+ class CascadeLogicalDBsRule
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ end
1379
+ end
1380
+
1381
+ class CascadingRule
1382
+ # @private
1383
+ class Representation < Google::Apis::Core::JsonRepresentation
1384
+ property :cascade_logical_dbs, as: 'cascadeLogicalDbs', class: Google::Apis::MigrationcenterV1::CascadeLogicalDBsRule, decorator: Google::Apis::MigrationcenterV1::CascadeLogicalDBsRule::Representation
1385
+
1386
+ end
1387
+ end
1388
+
1357
1389
  class ComputeEngineMigrationTarget
1358
1390
  # @private
1359
1391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -115,6 +115,9 @@ module Google
115
115
  # Lists information about the supported locations for this service.
116
116
  # @param [String] name
117
117
  # The resource that owns the locations collection, if applicable.
118
+ # @param [Array<String>, String] extra_location_types
119
+ # Optional. A list of extra location types that should be used as conditions for
120
+ # controlling the visibility of the locations.
118
121
  # @param [String] filter
119
122
  # A filter to narrow down results to a preferred subset. The filtering language
120
123
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -142,11 +145,12 @@ module Google
142
145
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
147
  # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
148
+ 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)
146
149
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
147
150
  command.response_representation = Google::Apis::MigrationcenterV1::ListLocationsResponse::Representation
148
151
  command.response_class = Google::Apis::MigrationcenterV1::ListLocationsResponse
149
152
  command.params['name'] = name unless name.nil?
153
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
150
154
  command.query['filter'] = filter unless filter.nil?
151
155
  command.query['pageSize'] = page_size unless page_size.nil?
152
156
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -393,6 +397,9 @@ module Google
393
397
  # unspecified, server will pick an appropriate default.
394
398
  # @param [String] page_token
395
399
  # A token identifying a page of results the server should return.
400
+ # @param [Boolean] show_hidden
401
+ # Optional. When this value is set to 'true,' the response will include all
402
+ # assets, including those that are hidden.
396
403
  # @param [String] view
397
404
  # View of the assets. Defaults to BASIC.
398
405
  # @param [String] fields
@@ -412,7 +419,7 @@ module Google
412
419
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
413
420
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
414
421
  # @raise [Google::Apis::AuthorizationError] Authorization is required
415
- def list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
422
+ def list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_hidden: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
416
423
  command = make_simple_command(:get, 'v1/{+parent}/assets', options)
417
424
  command.response_representation = Google::Apis::MigrationcenterV1::ListAssetsResponse::Representation
418
425
  command.response_class = Google::Apis::MigrationcenterV1::ListAssetsResponse
@@ -421,6 +428,7 @@ module Google
421
428
  command.query['orderBy'] = order_by unless order_by.nil?
422
429
  command.query['pageSize'] = page_size unless page_size.nil?
423
430
  command.query['pageToken'] = page_token unless page_token.nil?
431
+ command.query['showHidden'] = show_hidden unless show_hidden.nil?
424
432
  command.query['view'] = view unless view.nil?
425
433
  command.query['fields'] = fields unless fields.nil?
426
434
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-migrationcenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1/v0.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1/v0.23.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Migration Center API V1
79
79
  test_files: []