google-apis-metastore_v1 0.27.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30e72db392f1246ca199824b269dcbe21190f291b7a7a310864106ef9ecca051
4
- data.tar.gz: '0910942e4cd23f35cc215063f3f1402a4fcc8b39ba9667e2790573acc5e3e6e8'
3
+ metadata.gz: dff1a6ba5279cc046e029819927d5d494a4d4cbca28cd1ad64274b73a0b622dc
4
+ data.tar.gz: 2416adf6b220df909605603504d8d813d59e438fb98fdf80196b1d59967dde88
5
5
  SHA512:
6
- metadata.gz: c5bde93be16c6f0504147e2e0ea59d2eb6aa5cfb231c8ad61bfee1107bed82ec48854bc723835a2b6ede7d4bb6c6fa96e6fd1499aceedb8f2228a52947e38d4b
7
- data.tar.gz: 6462e118818f6ec58f5d690f9e4598d3a44f59de2064192a32d218e05198936900979262c4cd7af35ab0d23b23a4aed6e0e2c283d29c5f4233f07300dd05125e
6
+ metadata.gz: 55527a1cd441c97b7c83bd94ee806c568f1278c2b666abb31ea732c2772e77b80154c4aa7a12895e66133cc110df3febf7927a280f172777f800ad2201adb9b4
7
+ data.tar.gz: 45625a1d541c7006464a28353df157ff297d0723dfa8435e9bcb3b66ef7df93516d47b773140b8597fba401a7f5be657d03e2c32dc82e4a9f65463b03a95fe6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-metastore_v1
2
2
 
3
+ ### v0.29.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240709
6
+
7
+ ### v0.28.0 (2024-07-07)
8
+
9
+ * Regenerated from discovery document revision 20240627
10
+
3
11
  ### v0.27.0 (2024-06-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20240611
@@ -173,6 +173,38 @@ module Google
173
173
  end
174
174
  end
175
175
 
176
+ # Represents the autoscaling configuration of a metastore service.
177
+ class AutoscalingConfig
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # Optional. Whether or not autoscaling is enabled for this service.
181
+ # Corresponds to the JSON property `autoscalingEnabled`
182
+ # @return [Boolean]
183
+ attr_accessor :autoscaling_enabled
184
+ alias_method :autoscaling_enabled?, :autoscaling_enabled
185
+
186
+ # Output only. The scaling factor of a service with autoscaling enabled.
187
+ # Corresponds to the JSON property `autoscalingFactor`
188
+ # @return [Float]
189
+ attr_accessor :autoscaling_factor
190
+
191
+ # Represents the autoscaling limit configuration of a metastore service.
192
+ # Corresponds to the JSON property `limitConfig`
193
+ # @return [Google::Apis::MetastoreV1::LimitConfig]
194
+ attr_accessor :limit_config
195
+
196
+ def initialize(**args)
197
+ update!(**args)
198
+ end
199
+
200
+ # Update properties of this object
201
+ def update!(**args)
202
+ @autoscaling_enabled = args[:autoscaling_enabled] if args.key?(:autoscaling_enabled)
203
+ @autoscaling_factor = args[:autoscaling_factor] if args.key?(:autoscaling_factor)
204
+ @limit_config = args[:limit_config] if args.key?(:limit_config)
205
+ end
206
+ end
207
+
176
208
  # Configuration information for the auxiliary service versions.
177
209
  class AuxiliaryVersionConfig
178
210
  include Google::Apis::Core::Hashable
@@ -394,6 +426,19 @@ module Google
394
426
  end
395
427
  end
396
428
 
429
+ # Request message for DataprocMetastore.CancelMigration.
430
+ class CancelMigrationRequest
431
+ include Google::Apis::Core::Hashable
432
+
433
+ def initialize(**args)
434
+ update!(**args)
435
+ end
436
+
437
+ # Update properties of this object
438
+ def update!(**args)
439
+ end
440
+ end
441
+
397
442
  # The request message for Operations.CancelOperation.
398
443
  class CancelOperationRequest
399
444
  include Google::Apis::Core::Hashable
@@ -407,6 +452,192 @@ module Google
407
452
  end
408
453
  end
409
454
 
455
+ # Configuration information to start the Change Data Capture (CDC) streams from
456
+ # customer database to backend database of Dataproc Metastore.
457
+ class CdcConfig
458
+ include Google::Apis::Core::Hashable
459
+
460
+ # Optional. The bucket to write the intermediate stream event data in. The
461
+ # bucket name must be without any prefix like "gs://". See the bucket naming
462
+ # requirements (https://cloud.google.com/storage/docs/buckets#naming). This
463
+ # field is optional. If not set, the Artifacts Cloud Storage bucket will be used.
464
+ # Corresponds to the JSON property `bucket`
465
+ # @return [String]
466
+ attr_accessor :bucket
467
+
468
+ # Required. Input only. The password for the user that Datastream service should
469
+ # use for the MySQL connection. This field is not returned on request.
470
+ # Corresponds to the JSON property `password`
471
+ # @return [String]
472
+ attr_accessor :password
473
+
474
+ # Required. The URL of the subnetwork resource to create the VM instance hosting
475
+ # the reverse proxy in. More context in https://cloud.google.com/datastream/docs/
476
+ # private-connectivity#reverse-csql-proxy The subnetwork should reside in the
477
+ # network provided in the request that Datastream will peer to and should be in
478
+ # the same region as Datastream, in the following format. projects/`project_id`/
479
+ # regions/`region_id`/subnetworks/`subnetwork_id`
480
+ # Corresponds to the JSON property `reverseProxySubnet`
481
+ # @return [String]
482
+ attr_accessor :reverse_proxy_subnet
483
+
484
+ # Optional. The root path inside the Cloud Storage bucket. The stream event data
485
+ # will be written to this path. The default value is /migration.
486
+ # Corresponds to the JSON property `rootPath`
487
+ # @return [String]
488
+ attr_accessor :root_path
489
+
490
+ # Required. A /29 CIDR IP range for peering with datastream.
491
+ # Corresponds to the JSON property `subnetIpRange`
492
+ # @return [String]
493
+ attr_accessor :subnet_ip_range
494
+
495
+ # Required. The username that the Datastream service should use for the MySQL
496
+ # connection.
497
+ # Corresponds to the JSON property `username`
498
+ # @return [String]
499
+ attr_accessor :username
500
+
501
+ # Required. Fully qualified name of the Cloud SQL instance's VPC network or the
502
+ # shared VPC network that Datastream will peer to, in the following format:
503
+ # projects/`project_id`/locations/global/networks/`network_id`. More context in
504
+ # https://cloud.google.com/datastream/docs/network-connectivity-options#
505
+ # privateconnectivity
506
+ # Corresponds to the JSON property `vpcNetwork`
507
+ # @return [String]
508
+ attr_accessor :vpc_network
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @bucket = args[:bucket] if args.key?(:bucket)
517
+ @password = args[:password] if args.key?(:password)
518
+ @reverse_proxy_subnet = args[:reverse_proxy_subnet] if args.key?(:reverse_proxy_subnet)
519
+ @root_path = args[:root_path] if args.key?(:root_path)
520
+ @subnet_ip_range = args[:subnet_ip_range] if args.key?(:subnet_ip_range)
521
+ @username = args[:username] if args.key?(:username)
522
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
523
+ end
524
+ end
525
+
526
+ # Configuration information to establish customer database connection before the
527
+ # cutover phase of migration
528
+ class CloudSqlConnectionConfig
529
+ include Google::Apis::Core::Hashable
530
+
531
+ # Required. The hive database name.
532
+ # Corresponds to the JSON property `hiveDatabaseName`
533
+ # @return [String]
534
+ attr_accessor :hive_database_name
535
+
536
+ # Required. Cloud SQL database connection name (project_id:region:instance_name)
537
+ # Corresponds to the JSON property `instanceConnectionName`
538
+ # @return [String]
539
+ attr_accessor :instance_connection_name
540
+
541
+ # Required. The private IP address of the Cloud SQL instance.
542
+ # Corresponds to the JSON property `ipAddress`
543
+ # @return [String]
544
+ attr_accessor :ip_address
545
+
546
+ # Required. The relative resource name of the subnetwork to be used for Private
547
+ # Service Connect. Note that this cannot be a regular subnet and is used only
548
+ # for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-
549
+ # subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet
550
+ # size must be at least /29 and it should reside in a network through which the
551
+ # Cloud SQL instance is accessible. The resource name should be in the format,
552
+ # projects/`project_id`/regions/`region_id`/subnetworks/`subnetwork_id`
553
+ # Corresponds to the JSON property `natSubnet`
554
+ # @return [String]
555
+ attr_accessor :nat_subnet
556
+
557
+ # Required. Input only. The password for the user that Dataproc Metastore
558
+ # service will be using to connect to the database. This field is not returned
559
+ # on request.
560
+ # Corresponds to the JSON property `password`
561
+ # @return [String]
562
+ attr_accessor :password
563
+
564
+ # Required. The network port of the database.
565
+ # Corresponds to the JSON property `port`
566
+ # @return [Fixnum]
567
+ attr_accessor :port
568
+
569
+ # Required. The relative resource name of the subnetwork to deploy the SOCKS5
570
+ # proxy service in. The subnetwork should reside in a network through which the
571
+ # Cloud SQL instance is accessible. The resource name should be in the format,
572
+ # projects/`project_id`/regions/`region_id`/subnetworks/`subnetwork_id`
573
+ # Corresponds to the JSON property `proxySubnet`
574
+ # @return [String]
575
+ attr_accessor :proxy_subnet
576
+
577
+ # Required. The username that Dataproc Metastore service will use to connect to
578
+ # the database.
579
+ # Corresponds to the JSON property `username`
580
+ # @return [String]
581
+ attr_accessor :username
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ @hive_database_name = args[:hive_database_name] if args.key?(:hive_database_name)
590
+ @instance_connection_name = args[:instance_connection_name] if args.key?(:instance_connection_name)
591
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
592
+ @nat_subnet = args[:nat_subnet] if args.key?(:nat_subnet)
593
+ @password = args[:password] if args.key?(:password)
594
+ @port = args[:port] if args.key?(:port)
595
+ @proxy_subnet = args[:proxy_subnet] if args.key?(:proxy_subnet)
596
+ @username = args[:username] if args.key?(:username)
597
+ end
598
+ end
599
+
600
+ # Configuration information for migrating from self-managed hive metastore on
601
+ # Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.
602
+ class CloudSqlMigrationConfig
603
+ include Google::Apis::Core::Hashable
604
+
605
+ # Configuration information to start the Change Data Capture (CDC) streams from
606
+ # customer database to backend database of Dataproc Metastore.
607
+ # Corresponds to the JSON property `cdcConfig`
608
+ # @return [Google::Apis::MetastoreV1::CdcConfig]
609
+ attr_accessor :cdc_config
610
+
611
+ # Configuration information to establish customer database connection before the
612
+ # cutover phase of migration
613
+ # Corresponds to the JSON property `cloudSqlConnectionConfig`
614
+ # @return [Google::Apis::MetastoreV1::CloudSqlConnectionConfig]
615
+ attr_accessor :cloud_sql_connection_config
616
+
617
+ def initialize(**args)
618
+ update!(**args)
619
+ end
620
+
621
+ # Update properties of this object
622
+ def update!(**args)
623
+ @cdc_config = args[:cdc_config] if args.key?(:cdc_config)
624
+ @cloud_sql_connection_config = args[:cloud_sql_connection_config] if args.key?(:cloud_sql_connection_config)
625
+ end
626
+ end
627
+
628
+ # Request message for DataprocMetastore.CompleteMigration.
629
+ class CompleteMigrationRequest
630
+ include Google::Apis::Core::Hashable
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ end
639
+ end
640
+
410
641
  # Contains information of the customer's network configurations.
411
642
  class Consumer
412
643
  include Google::Apis::Core::Hashable
@@ -444,6 +675,38 @@ module Google
444
675
  end
445
676
  end
446
677
 
678
+ # Metadata about a custom region. This is only populated if the region is a
679
+ # custom region. For single/multi regions, it will be empty.
680
+ class CustomRegionMetadata
681
+ include Google::Apis::Core::Hashable
682
+
683
+ # The read-only regions for this custom region.
684
+ # Corresponds to the JSON property `optionalReadOnlyRegions`
685
+ # @return [Array<String>]
686
+ attr_accessor :optional_read_only_regions
687
+
688
+ # The read-write regions for this custom region.
689
+ # Corresponds to the JSON property `requiredReadWriteRegions`
690
+ # @return [Array<String>]
691
+ attr_accessor :required_read_write_regions
692
+
693
+ # The Spanner witness region for this custom region.
694
+ # Corresponds to the JSON property `witnessRegion`
695
+ # @return [String]
696
+ attr_accessor :witness_region
697
+
698
+ def initialize(**args)
699
+ update!(**args)
700
+ end
701
+
702
+ # Update properties of this object
703
+ def update!(**args)
704
+ @optional_read_only_regions = args[:optional_read_only_regions] if args.key?(:optional_read_only_regions)
705
+ @required_read_write_regions = args[:required_read_write_regions] if args.key?(:required_read_write_regions)
706
+ @witness_region = args[:witness_region] if args.key?(:witness_region)
707
+ end
708
+ end
709
+
447
710
  # Specifies how metastore metadata should be integrated with the Data Catalog
448
711
  # service.
449
712
  class DataCatalogConfig
@@ -893,6 +1156,31 @@ module Google
893
1156
  end
894
1157
  end
895
1158
 
1159
+ # Represents the autoscaling limit configuration of a metastore service.
1160
+ class LimitConfig
1161
+ include Google::Apis::Core::Hashable
1162
+
1163
+ # Optional. The highest scaling factor that the service should be autoscaled to.
1164
+ # Corresponds to the JSON property `maxScalingFactor`
1165
+ # @return [Float]
1166
+ attr_accessor :max_scaling_factor
1167
+
1168
+ # Optional. The lowest scaling factor that the service should be autoscaled to.
1169
+ # Corresponds to the JSON property `minScalingFactor`
1170
+ # @return [Float]
1171
+ attr_accessor :min_scaling_factor
1172
+
1173
+ def initialize(**args)
1174
+ update!(**args)
1175
+ end
1176
+
1177
+ # Update properties of this object
1178
+ def update!(**args)
1179
+ @max_scaling_factor = args[:max_scaling_factor] if args.key?(:max_scaling_factor)
1180
+ @min_scaling_factor = args[:min_scaling_factor] if args.key?(:min_scaling_factor)
1181
+ end
1182
+ end
1183
+
896
1184
  # Response message for DataprocMetastore.ListBackups.
897
1185
  class ListBackupsResponse
898
1186
  include Google::Apis::Core::Hashable
@@ -1014,6 +1302,38 @@ module Google
1014
1302
  end
1015
1303
  end
1016
1304
 
1305
+ # Response message for DataprocMetastore.ListMigrationExecutions.
1306
+ class ListMigrationExecutionsResponse
1307
+ include Google::Apis::Core::Hashable
1308
+
1309
+ # The migration executions on the specified service.
1310
+ # Corresponds to the JSON property `migrationExecutions`
1311
+ # @return [Array<Google::Apis::MetastoreV1::MigrationExecution>]
1312
+ attr_accessor :migration_executions
1313
+
1314
+ # A token that can be sent as page_token to retrieve the next page. If this
1315
+ # field is omitted, there are no subsequent pages.
1316
+ # Corresponds to the JSON property `nextPageToken`
1317
+ # @return [String]
1318
+ attr_accessor :next_page_token
1319
+
1320
+ # Locations that could not be reached.
1321
+ # Corresponds to the JSON property `unreachable`
1322
+ # @return [Array<String>]
1323
+ attr_accessor :unreachable
1324
+
1325
+ def initialize(**args)
1326
+ update!(**args)
1327
+ end
1328
+
1329
+ # Update properties of this object
1330
+ def update!(**args)
1331
+ @migration_executions = args[:migration_executions] if args.key?(:migration_executions)
1332
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1333
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1334
+ end
1335
+ end
1336
+
1017
1337
  # The response message for Operations.ListOperations.
1018
1338
  class ListOperationsResponse
1019
1339
  include Google::Apis::Core::Hashable
@@ -1122,6 +1442,11 @@ module Google
1122
1442
  class LocationMetadata
1123
1443
  include Google::Apis::Core::Hashable
1124
1444
 
1445
+ # Possible configurations supported if the current region is a custom region.
1446
+ # Corresponds to the JSON property `customRegionMetadata`
1447
+ # @return [Array<Google::Apis::MetastoreV1::CustomRegionMetadata>]
1448
+ attr_accessor :custom_region_metadata
1449
+
1125
1450
  # The metadata for the multi-region that includes the constituent regions. The
1126
1451
  # metadata is only populated if the region is multi-region. For single region or
1127
1452
  # custom dual region, it will be empty.
@@ -1142,6 +1467,7 @@ module Google
1142
1467
 
1143
1468
  # Update properties of this object
1144
1469
  def update!(**args)
1470
+ @custom_region_metadata = args[:custom_region_metadata] if args.key?(:custom_region_metadata)
1145
1471
  @multi_region_metadata = args[:multi_region_metadata] if args.key?(:multi_region_metadata)
1146
1472
  @supported_hive_metastore_versions = args[:supported_hive_metastore_versions] if args.key?(:supported_hive_metastore_versions)
1147
1473
  end
@@ -1320,6 +1646,65 @@ module Google
1320
1646
  end
1321
1647
  end
1322
1648
 
1649
+ # The details of a migration execution resource.
1650
+ class MigrationExecution
1651
+ include Google::Apis::Core::Hashable
1652
+
1653
+ # Configuration information for migrating from self-managed hive metastore on
1654
+ # Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.
1655
+ # Corresponds to the JSON property `cloudSqlMigrationConfig`
1656
+ # @return [Google::Apis::MetastoreV1::CloudSqlMigrationConfig]
1657
+ attr_accessor :cloud_sql_migration_config
1658
+
1659
+ # Output only. The time when the migration execution was started.
1660
+ # Corresponds to the JSON property `createTime`
1661
+ # @return [String]
1662
+ attr_accessor :create_time
1663
+
1664
+ # Output only. The time when the migration execution finished.
1665
+ # Corresponds to the JSON property `endTime`
1666
+ # @return [String]
1667
+ attr_accessor :end_time
1668
+
1669
+ # Output only. The relative resource name of the migration execution, in the
1670
+ # following form: projects/`project_number`/locations/`location_id`/services/`
1671
+ # service_id`/migrationExecutions/`migration_execution_id`
1672
+ # Corresponds to the JSON property `name`
1673
+ # @return [String]
1674
+ attr_accessor :name
1675
+
1676
+ # Output only. The current phase of the migration execution.
1677
+ # Corresponds to the JSON property `phase`
1678
+ # @return [String]
1679
+ attr_accessor :phase
1680
+
1681
+ # Output only. The current state of the migration execution.
1682
+ # Corresponds to the JSON property `state`
1683
+ # @return [String]
1684
+ attr_accessor :state
1685
+
1686
+ # Output only. Additional information about the current state of the migration
1687
+ # execution.
1688
+ # Corresponds to the JSON property `stateMessage`
1689
+ # @return [String]
1690
+ attr_accessor :state_message
1691
+
1692
+ def initialize(**args)
1693
+ update!(**args)
1694
+ end
1695
+
1696
+ # Update properties of this object
1697
+ def update!(**args)
1698
+ @cloud_sql_migration_config = args[:cloud_sql_migration_config] if args.key?(:cloud_sql_migration_config)
1699
+ @create_time = args[:create_time] if args.key?(:create_time)
1700
+ @end_time = args[:end_time] if args.key?(:end_time)
1701
+ @name = args[:name] if args.key?(:name)
1702
+ @phase = args[:phase] if args.key?(:phase)
1703
+ @state = args[:state] if args.key?(:state)
1704
+ @state_message = args[:state_message] if args.key?(:state_message)
1705
+ end
1706
+ end
1707
+
1323
1708
  # Request message for DataprocMetastore.MoveTableToDatabase.
1324
1709
  class MoveTableToDatabaseRequest
1325
1710
  include Google::Apis::Core::Hashable
@@ -1774,6 +2159,11 @@ module Google
1774
2159
  class ScalingConfig
1775
2160
  include Google::Apis::Core::Hashable
1776
2161
 
2162
+ # Represents the autoscaling configuration of a metastore service.
2163
+ # Corresponds to the JSON property `autoscalingConfig`
2164
+ # @return [Google::Apis::MetastoreV1::AutoscalingConfig]
2165
+ attr_accessor :autoscaling_config
2166
+
1777
2167
  # An enum of readable instance sizes, with each instance size mapping to a float
1778
2168
  # value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
1779
2169
  # Corresponds to the JSON property `instanceSize`
@@ -1792,6 +2182,7 @@ module Google
1792
2182
 
1793
2183
  # Update properties of this object
1794
2184
  def update!(**args)
2185
+ @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
1795
2186
  @instance_size = args[:instance_size] if args.key?(:instance_size)
1796
2187
  @scaling_factor = args[:scaling_factor] if args.key?(:scaling_factor)
1797
2188
  end
@@ -2096,6 +2487,38 @@ module Google
2096
2487
  end
2097
2488
  end
2098
2489
 
2490
+ # Request message for DataprocMetastore.StartMigration.
2491
+ class StartMigrationRequest
2492
+ include Google::Apis::Core::Hashable
2493
+
2494
+ # The details of a migration execution resource.
2495
+ # Corresponds to the JSON property `migrationExecution`
2496
+ # @return [Google::Apis::MetastoreV1::MigrationExecution]
2497
+ attr_accessor :migration_execution
2498
+
2499
+ # Optional. A request ID. Specify a unique request ID to allow the server to
2500
+ # ignore the request if it has completed. The server will ignore subsequent
2501
+ # requests that provide a duplicate request ID for at least 60 minutes after the
2502
+ # first request.For example, if an initial request times out, followed by
2503
+ # another request with the same request ID, the server ignores the second
2504
+ # request to prevent the creation of duplicate commitments.The request ID must
2505
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
2506
+ # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
2507
+ # Corresponds to the JSON property `requestId`
2508
+ # @return [String]
2509
+ attr_accessor :request_id
2510
+
2511
+ def initialize(**args)
2512
+ update!(**args)
2513
+ end
2514
+
2515
+ # Update properties of this object
2516
+ def update!(**args)
2517
+ @migration_execution = args[:migration_execution] if args.key?(:migration_execution)
2518
+ @request_id = args[:request_id] if args.key?(:request_id)
2519
+ end
2520
+ end
2521
+
2099
2522
  # The Status type defines a logical error model that is suitable for different
2100
2523
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2101
2524
  # (https://github.com/grpc). Each Status message contains three pieces of data:
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1
18
18
  # Version of the google-apis-metastore_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240611"
25
+ REVISION = "20240709"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class AutoscalingConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class AuxiliaryVersionConfig
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -76,18 +82,54 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class CancelMigrationRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class CancelOperationRequest
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
97
+ class CdcConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CloudSqlConnectionConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CloudSqlMigrationConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CompleteMigrationRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
85
121
  class Consumer
86
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
123
 
88
124
  include Google::Apis::Core::JsonObjectSupport
89
125
  end
90
126
 
127
+ class CustomRegionMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
91
133
  class DataCatalogConfig
92
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
135
 
@@ -160,6 +202,12 @@ module Google
160
202
  include Google::Apis::Core::JsonObjectSupport
161
203
  end
162
204
 
205
+ class LimitConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
163
211
  class ListBackupsResponse
164
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
213
 
@@ -184,6 +232,12 @@ module Google
184
232
  include Google::Apis::Core::JsonObjectSupport
185
233
  end
186
234
 
235
+ class ListMigrationExecutionsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
187
241
  class ListOperationsResponse
188
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
243
 
@@ -238,6 +292,12 @@ module Google
238
292
  include Google::Apis::Core::JsonObjectSupport
239
293
  end
240
294
 
295
+ class MigrationExecution
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
241
301
  class MoveTableToDatabaseRequest
242
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
303
 
@@ -334,6 +394,12 @@ module Google
334
394
  include Google::Apis::Core::JsonObjectSupport
335
395
  end
336
396
 
397
+ class StartMigrationRequest
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
337
403
  class Status
338
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
405
 
@@ -398,6 +464,16 @@ module Google
398
464
  end
399
465
  end
400
466
 
467
+ class AutoscalingConfig
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :autoscaling_enabled, as: 'autoscalingEnabled'
471
+ property :autoscaling_factor, as: 'autoscalingFactor'
472
+ property :limit_config, as: 'limitConfig', class: Google::Apis::MetastoreV1::LimitConfig, decorator: Google::Apis::MetastoreV1::LimitConfig::Representation
473
+
474
+ end
475
+ end
476
+
401
477
  class AuxiliaryVersionConfig
402
478
  # @private
403
479
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -440,12 +516,61 @@ module Google
440
516
  end
441
517
  end
442
518
 
519
+ class CancelMigrationRequest
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ end
523
+ end
524
+
443
525
  class CancelOperationRequest
444
526
  # @private
445
527
  class Representation < Google::Apis::Core::JsonRepresentation
446
528
  end
447
529
  end
448
530
 
531
+ class CdcConfig
532
+ # @private
533
+ class Representation < Google::Apis::Core::JsonRepresentation
534
+ property :bucket, as: 'bucket'
535
+ property :password, as: 'password'
536
+ property :reverse_proxy_subnet, as: 'reverseProxySubnet'
537
+ property :root_path, as: 'rootPath'
538
+ property :subnet_ip_range, as: 'subnetIpRange'
539
+ property :username, as: 'username'
540
+ property :vpc_network, as: 'vpcNetwork'
541
+ end
542
+ end
543
+
544
+ class CloudSqlConnectionConfig
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :hive_database_name, as: 'hiveDatabaseName'
548
+ property :instance_connection_name, as: 'instanceConnectionName'
549
+ property :ip_address, as: 'ipAddress'
550
+ property :nat_subnet, as: 'natSubnet'
551
+ property :password, as: 'password'
552
+ property :port, as: 'port'
553
+ property :proxy_subnet, as: 'proxySubnet'
554
+ property :username, as: 'username'
555
+ end
556
+ end
557
+
558
+ class CloudSqlMigrationConfig
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :cdc_config, as: 'cdcConfig', class: Google::Apis::MetastoreV1::CdcConfig, decorator: Google::Apis::MetastoreV1::CdcConfig::Representation
562
+
563
+ property :cloud_sql_connection_config, as: 'cloudSqlConnectionConfig', class: Google::Apis::MetastoreV1::CloudSqlConnectionConfig, decorator: Google::Apis::MetastoreV1::CloudSqlConnectionConfig::Representation
564
+
565
+ end
566
+ end
567
+
568
+ class CompleteMigrationRequest
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ end
572
+ end
573
+
449
574
  class Consumer
450
575
  # @private
451
576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -455,6 +580,15 @@ module Google
455
580
  end
456
581
  end
457
582
 
583
+ class CustomRegionMetadata
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ collection :optional_read_only_regions, as: 'optionalReadOnlyRegions'
587
+ collection :required_read_write_regions, as: 'requiredReadWriteRegions'
588
+ property :witness_region, as: 'witnessRegion'
589
+ end
590
+ end
591
+
458
592
  class DataCatalogConfig
459
593
  # @private
460
594
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -569,6 +703,14 @@ module Google
569
703
  end
570
704
  end
571
705
 
706
+ class LimitConfig
707
+ # @private
708
+ class Representation < Google::Apis::Core::JsonRepresentation
709
+ property :max_scaling_factor, as: 'maxScalingFactor'
710
+ property :min_scaling_factor, as: 'minScalingFactor'
711
+ end
712
+ end
713
+
572
714
  class ListBackupsResponse
573
715
  # @private
574
716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -608,6 +750,16 @@ module Google
608
750
  end
609
751
  end
610
752
 
753
+ class ListMigrationExecutionsResponse
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ collection :migration_executions, as: 'migrationExecutions', class: Google::Apis::MetastoreV1::MigrationExecution, decorator: Google::Apis::MetastoreV1::MigrationExecution::Representation
757
+
758
+ property :next_page_token, as: 'nextPageToken'
759
+ collection :unreachable, as: 'unreachable'
760
+ end
761
+ end
762
+
611
763
  class ListOperationsResponse
612
764
  # @private
613
765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -641,6 +793,8 @@ module Google
641
793
  class LocationMetadata
642
794
  # @private
643
795
  class Representation < Google::Apis::Core::JsonRepresentation
796
+ collection :custom_region_metadata, as: 'customRegionMetadata', class: Google::Apis::MetastoreV1::CustomRegionMetadata, decorator: Google::Apis::MetastoreV1::CustomRegionMetadata::Representation
797
+
644
798
  property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV1::MultiRegionMetadata, decorator: Google::Apis::MetastoreV1::MultiRegionMetadata::Representation
645
799
 
646
800
  collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV1::HiveMetastoreVersion, decorator: Google::Apis::MetastoreV1::HiveMetastoreVersion::Representation
@@ -699,6 +853,20 @@ module Google
699
853
  end
700
854
  end
701
855
 
856
+ class MigrationExecution
857
+ # @private
858
+ class Representation < Google::Apis::Core::JsonRepresentation
859
+ property :cloud_sql_migration_config, as: 'cloudSqlMigrationConfig', class: Google::Apis::MetastoreV1::CloudSqlMigrationConfig, decorator: Google::Apis::MetastoreV1::CloudSqlMigrationConfig::Representation
860
+
861
+ property :create_time, as: 'createTime'
862
+ property :end_time, as: 'endTime'
863
+ property :name, as: 'name'
864
+ property :phase, as: 'phase'
865
+ property :state, as: 'state'
866
+ property :state_message, as: 'stateMessage'
867
+ end
868
+ end
869
+
702
870
  class MoveTableToDatabaseRequest
703
871
  # @private
704
872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -806,6 +974,8 @@ module Google
806
974
  class ScalingConfig
807
975
  # @private
808
976
  class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::MetastoreV1::AutoscalingConfig, decorator: Google::Apis::MetastoreV1::AutoscalingConfig::Representation
978
+
809
979
  property :instance_size, as: 'instanceSize'
810
980
  property :scaling_factor, as: 'scalingFactor'
811
981
  end
@@ -879,6 +1049,15 @@ module Google
879
1049
  end
880
1050
  end
881
1051
 
1052
+ class StartMigrationRequest
1053
+ # @private
1054
+ class Representation < Google::Apis::Core::JsonRepresentation
1055
+ property :migration_execution, as: 'migrationExecution', class: Google::Apis::MetastoreV1::MigrationExecution, decorator: Google::Apis::MetastoreV1::MigrationExecution::Representation
1056
+
1057
+ property :request_id, as: 'requestId'
1058
+ end
1059
+ end
1060
+
882
1061
  class Status
883
1062
  # @private
884
1063
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -690,6 +690,77 @@ module Google
690
690
  execute_or_queue_command(command, &block)
691
691
  end
692
692
 
693
+ # Cancels the ongoing Managed Migration process.
694
+ # @param [String] service
695
+ # Required. The relative resource name of the metastore service to cancel the
696
+ # ongoing migration to, in the following format:projects/`project_id`/locations/`
697
+ # location_id`/services/`service_id`.
698
+ # @param [Google::Apis::MetastoreV1::CancelMigrationRequest] cancel_migration_request_object
699
+ # @param [String] fields
700
+ # Selector specifying which fields to include in a partial response.
701
+ # @param [String] quota_user
702
+ # Available to use for quota purposes for server-side applications. Can be any
703
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
704
+ # @param [Google::Apis::RequestOptions] options
705
+ # Request-specific options
706
+ #
707
+ # @yield [result, err] Result & error if block supplied
708
+ # @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
709
+ # @yieldparam err [StandardError] error object if request failed
710
+ #
711
+ # @return [Google::Apis::MetastoreV1::Operation]
712
+ #
713
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
714
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
715
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
716
+ def cancel_service_migration(service, cancel_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
717
+ command = make_simple_command(:post, 'v1/{+service}:cancelMigration', options)
718
+ command.request_representation = Google::Apis::MetastoreV1::CancelMigrationRequest::Representation
719
+ command.request_object = cancel_migration_request_object
720
+ command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
721
+ command.response_class = Google::Apis::MetastoreV1::Operation
722
+ command.params['service'] = service unless service.nil?
723
+ command.query['fields'] = fields unless fields.nil?
724
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
725
+ execute_or_queue_command(command, &block)
726
+ end
727
+
728
+ # Completes the managed migration process. The Dataproc Metastore service will
729
+ # switch to using its own backend database after successful migration.
730
+ # @param [String] service
731
+ # Required. The relative resource name of the metastore service to complete the
732
+ # migration to, in the following format:projects/`project_id`/locations/`
733
+ # location_id`/services/`service_id`.
734
+ # @param [Google::Apis::MetastoreV1::CompleteMigrationRequest] complete_migration_request_object
735
+ # @param [String] fields
736
+ # Selector specifying which fields to include in a partial response.
737
+ # @param [String] quota_user
738
+ # Available to use for quota purposes for server-side applications. Can be any
739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
740
+ # @param [Google::Apis::RequestOptions] options
741
+ # Request-specific options
742
+ #
743
+ # @yield [result, err] Result & error if block supplied
744
+ # @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
745
+ # @yieldparam err [StandardError] error object if request failed
746
+ #
747
+ # @return [Google::Apis::MetastoreV1::Operation]
748
+ #
749
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
750
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
751
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
752
+ def complete_service_migration(service, complete_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
753
+ command = make_simple_command(:post, 'v1/{+service}:completeMigration', options)
754
+ command.request_representation = Google::Apis::MetastoreV1::CompleteMigrationRequest::Representation
755
+ command.request_object = complete_migration_request_object
756
+ command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
757
+ command.response_class = Google::Apis::MetastoreV1::Operation
758
+ command.params['service'] = service unless service.nil?
759
+ command.query['fields'] = fields unless fields.nil?
760
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
761
+ execute_or_queue_command(command, &block)
762
+ end
763
+
693
764
  # Creates a metastore service in a project and location.
694
765
  # @param [String] parent
695
766
  # Required. The relative resource name of the location in which to create a
@@ -1139,6 +1210,41 @@ module Google
1139
1210
  execute_or_queue_command(command, &block)
1140
1211
  end
1141
1212
 
1213
+ # Starts the Managed Migration process.
1214
+ # @param [String] service
1215
+ # Required. The relative resource name of the metastore service to start
1216
+ # migrating to, in the following format:projects/`project_id`/locations/`
1217
+ # location_id`/services/`service_id`.
1218
+ # @param [Google::Apis::MetastoreV1::StartMigrationRequest] start_migration_request_object
1219
+ # @param [String] fields
1220
+ # Selector specifying which fields to include in a partial response.
1221
+ # @param [String] quota_user
1222
+ # Available to use for quota purposes for server-side applications. Can be any
1223
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1224
+ # @param [Google::Apis::RequestOptions] options
1225
+ # Request-specific options
1226
+ #
1227
+ # @yield [result, err] Result & error if block supplied
1228
+ # @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
1229
+ # @yieldparam err [StandardError] error object if request failed
1230
+ #
1231
+ # @return [Google::Apis::MetastoreV1::Operation]
1232
+ #
1233
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1234
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1235
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1236
+ def start_service_migration(service, start_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1237
+ command = make_simple_command(:post, 'v1/{+service}:startMigration', options)
1238
+ command.request_representation = Google::Apis::MetastoreV1::StartMigrationRequest::Representation
1239
+ command.request_object = start_migration_request_object
1240
+ command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
1241
+ command.response_class = Google::Apis::MetastoreV1::Operation
1242
+ command.params['service'] = service unless service.nil?
1243
+ command.query['fields'] = fields unless fields.nil?
1244
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1245
+ execute_or_queue_command(command, &block)
1246
+ end
1247
+
1142
1248
  # Returns permissions that a caller has on the specified resource. If the
1143
1249
  # resource does not exist, this will return an empty set of permissions, not a
1144
1250
  # NOT_FOUND error.Note: This operation is designed to be used for building
@@ -1786,6 +1892,133 @@ module Google
1786
1892
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1787
1893
  execute_or_queue_command(command, &block)
1788
1894
  end
1895
+
1896
+ # Deletes a single migration execution.
1897
+ # @param [String] name
1898
+ # Required. The relative resource name of the migrationExecution to delete, in
1899
+ # the following form:projects/`project_number`/locations/`location_id`/services/`
1900
+ # service_id`/migrationExecutions/`migration_execution_id`.
1901
+ # @param [String] request_id
1902
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1903
+ # ignore the request if it has completed. The server will ignore subsequent
1904
+ # requests that provide a duplicate request ID for at least 60 minutes after the
1905
+ # first request.For example, if an initial request times out, followed by
1906
+ # another request with the same request ID, the server ignores the second
1907
+ # request to prevent the creation of duplicate commitments.The request ID must
1908
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
1909
+ # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1910
+ # @param [String] fields
1911
+ # Selector specifying which fields to include in a partial response.
1912
+ # @param [String] quota_user
1913
+ # Available to use for quota purposes for server-side applications. Can be any
1914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1915
+ # @param [Google::Apis::RequestOptions] options
1916
+ # Request-specific options
1917
+ #
1918
+ # @yield [result, err] Result & error if block supplied
1919
+ # @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
1920
+ # @yieldparam err [StandardError] error object if request failed
1921
+ #
1922
+ # @return [Google::Apis::MetastoreV1::Operation]
1923
+ #
1924
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1925
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1926
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1927
+ def delete_project_location_service_migration_execution(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1928
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1929
+ command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
1930
+ command.response_class = Google::Apis::MetastoreV1::Operation
1931
+ command.params['name'] = name unless name.nil?
1932
+ command.query['requestId'] = request_id unless request_id.nil?
1933
+ command.query['fields'] = fields unless fields.nil?
1934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1935
+ execute_or_queue_command(command, &block)
1936
+ end
1937
+
1938
+ # Gets details of a single migration execution.
1939
+ # @param [String] name
1940
+ # Required. The relative resource name of the migration execution to retrieve,
1941
+ # in the following form:projects/`project_number`/locations/`location_id`/
1942
+ # services/`service_id`/migrationExecutions/`migration_execution_id`.
1943
+ # @param [String] fields
1944
+ # Selector specifying which fields to include in a partial response.
1945
+ # @param [String] quota_user
1946
+ # Available to use for quota purposes for server-side applications. Can be any
1947
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1948
+ # @param [Google::Apis::RequestOptions] options
1949
+ # Request-specific options
1950
+ #
1951
+ # @yield [result, err] Result & error if block supplied
1952
+ # @yieldparam result [Google::Apis::MetastoreV1::MigrationExecution] parsed result object
1953
+ # @yieldparam err [StandardError] error object if request failed
1954
+ #
1955
+ # @return [Google::Apis::MetastoreV1::MigrationExecution]
1956
+ #
1957
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1958
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1959
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1960
+ def get_project_location_service_migration_execution(name, fields: nil, quota_user: nil, options: nil, &block)
1961
+ command = make_simple_command(:get, 'v1/{+name}', options)
1962
+ command.response_representation = Google::Apis::MetastoreV1::MigrationExecution::Representation
1963
+ command.response_class = Google::Apis::MetastoreV1::MigrationExecution
1964
+ command.params['name'] = name unless name.nil?
1965
+ command.query['fields'] = fields unless fields.nil?
1966
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1967
+ execute_or_queue_command(command, &block)
1968
+ end
1969
+
1970
+ # Lists migration executions on a service.
1971
+ # @param [String] parent
1972
+ # Required. The relative resource name of the service whose migration executions
1973
+ # to list, in the following form:projects/`project_number`/locations/`
1974
+ # location_id`/services/`service_id`/migrationExecutions.
1975
+ # @param [String] filter
1976
+ # Optional. The filter to apply to list results.
1977
+ # @param [String] order_by
1978
+ # Optional. Specify the ordering of results as described in Sorting Order (https:
1979
+ # //cloud.google.com/apis/design/design_patterns#sorting_order). If not
1980
+ # specified, the results will be sorted in the default order.
1981
+ # @param [Fixnum] page_size
1982
+ # Optional. The maximum number of migration executions to return. The response
1983
+ # may contain less than the maximum number. If unspecified, no more than 500
1984
+ # migration executions are returned. The maximum value is 1000; values above
1985
+ # 1000 are changed to 1000.
1986
+ # @param [String] page_token
1987
+ # Optional. A page token, received from a previous DataprocMetastore.
1988
+ # ListMigrationExecutions call. Provide this token to retrieve the subsequent
1989
+ # page.To retrieve the first page, supply an empty page token.When paginating,
1990
+ # other parameters provided to DataprocMetastore.ListMigrationExecutions must
1991
+ # match the call that provided the page token.
1992
+ # @param [String] fields
1993
+ # Selector specifying which fields to include in a partial response.
1994
+ # @param [String] quota_user
1995
+ # Available to use for quota purposes for server-side applications. Can be any
1996
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1997
+ # @param [Google::Apis::RequestOptions] options
1998
+ # Request-specific options
1999
+ #
2000
+ # @yield [result, err] Result & error if block supplied
2001
+ # @yieldparam result [Google::Apis::MetastoreV1::ListMigrationExecutionsResponse] parsed result object
2002
+ # @yieldparam err [StandardError] error object if request failed
2003
+ #
2004
+ # @return [Google::Apis::MetastoreV1::ListMigrationExecutionsResponse]
2005
+ #
2006
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2007
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2008
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2009
+ def list_project_location_service_migration_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2010
+ command = make_simple_command(:get, 'v1/{+parent}/migrationExecutions', options)
2011
+ command.response_representation = Google::Apis::MetastoreV1::ListMigrationExecutionsResponse::Representation
2012
+ command.response_class = Google::Apis::MetastoreV1::ListMigrationExecutionsResponse
2013
+ command.params['parent'] = parent unless parent.nil?
2014
+ command.query['filter'] = filter unless filter.nil?
2015
+ command.query['orderBy'] = order_by unless order_by.nil?
2016
+ command.query['pageSize'] = page_size unless page_size.nil?
2017
+ command.query['pageToken'] = page_token unless page_token.nil?
2018
+ command.query['fields'] = fields unless fields.nil?
2019
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2020
+ execute_or_queue_command(command, &block)
2021
+ end
1789
2022
 
1790
2023
  protected
1791
2024
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-16 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []