google-apis-metastore_v1 0.47.0 → 0.48.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: 6d3436c5ebc872697823959280b98991ea0f484cdd5e3e5f141453fc9e5feeb6
4
- data.tar.gz: 10776b928ae1f119334c66c20620b8f6cb405315dd726eddf212022485e5eb2f
3
+ metadata.gz: e5a317913218ba9b98b33fdaeafbc654a1e5ef17ca0d155044b432acf29bd809
4
+ data.tar.gz: a9bccb2e4d93916d1716fa32016f8538b71e5972bb47a969d2f0998a30520cf6
5
5
  SHA512:
6
- metadata.gz: 8bd0e8388f94abe4b8ad68cc01b4b286e3390cd9d25470e712baa5e1e8cc90b899118aad4a553e686caf26c4644c4f305b160936b1e6a3be427f23a56e625d05
7
- data.tar.gz: e03d3a21db621224bf85edae908ec7bab7ea22a023e3dc9af24aaf39c92ed87e7ca70ab80272e8872b389f9c31a88869a79b57edb3fb412bd2bfd9535187c843
6
+ metadata.gz: 592ee0fd17fa334b0be1b91dd35a3720fe6a17033e08c65e95b8d73924e3ad541c5ff48fc78136868aff2c7b48cefeecd80abae9990f69b52782c8fd9869b676
7
+ data.tar.gz: 80d03952b4278627217d338f989531ce7113c76188ba4e0372cdaa789f99d5fa9a2da1cb607431b6c445ebfe3c6896b8952d5bd969e3fbd2275d09e07f3dbea4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1
2
2
 
3
+ ### v0.48.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260825
6
+
3
7
  ### v0.47.0 (2026-06-14)
4
8
 
5
9
  * Regenerated using generator version 0.19.0
@@ -269,6 +269,38 @@ module Google
269
269
  end
270
270
  end
271
271
 
272
+ # Backfill status for the migration execution.
273
+ class BackfillStatus
274
+ include Google::Apis::Core::Hashable
275
+
276
+ # Summary of the migration results.
277
+ # Corresponds to the JSON property `migrationSummary`
278
+ # @return [Google::Apis::MetastoreV1::MigrationSummary]
279
+ attr_accessor :migration_summary
280
+
281
+ # Output only. The Cloud Storage path where the backfill or dry run report is
282
+ # written. Format: "gs://path-to-report".
283
+ # Corresponds to the JSON property `reportPath`
284
+ # @return [String]
285
+ attr_accessor :report_path
286
+
287
+ # Output only. The current state of the backfill (or dry run).
288
+ # Corresponds to the JSON property `state`
289
+ # @return [String]
290
+ attr_accessor :state
291
+
292
+ def initialize(**args)
293
+ update!(**args)
294
+ end
295
+
296
+ # Update properties of this object
297
+ def update!(**args)
298
+ @migration_summary = args[:migration_summary] if args.key?(:migration_summary)
299
+ @report_path = args[:report_path] if args.key?(:report_path)
300
+ @state = args[:state] if args.key?(:state)
301
+ end
302
+ end
303
+
272
304
  # The details of a backup resource.
273
305
  class Backup
274
306
  include Google::Apis::Core::Hashable
@@ -326,6 +358,68 @@ module Google
326
358
  end
327
359
  end
328
360
 
361
+ # Defines the configuration required to migrate metadata from a Dataproc
362
+ # Metastore service to BigLake Metastore.
363
+ class BigLakeMetastoreMigrationConfig
364
+ include Google::Apis::Core::Hashable
365
+
366
+ # Backfill status for the migration execution.
367
+ # Corresponds to the JSON property `backfillStatus`
368
+ # @return [Google::Apis::MetastoreV1::BackfillStatus]
369
+ attr_accessor :backfill_status
370
+
371
+ # Optional. The policy to handle conflicts when migrating resources, defaults to
372
+ # SKIP if not specified.
373
+ # Corresponds to the JSON property `conflictPolicy`
374
+ # @return [String]
375
+ attr_accessor :conflict_policy
376
+
377
+ # Optional. If true, performs discovery of requested resources and analysis
378
+ # against the target catalog to come up with a plan for each resource (e.g.
379
+ # Create, Update, Skip, etc.). No metadata is actually migrated.
380
+ # Corresponds to the JSON property `dryRun`
381
+ # @return [Boolean]
382
+ attr_accessor :dry_run
383
+ alias_method :dry_run?, :dry_run
384
+
385
+ # Configuration for migrating Hive metadata.
386
+ # Corresponds to the JSON property `hiveConfig`
387
+ # @return [Google::Apis::MetastoreV1::HiveConfig]
388
+ attr_accessor :hive_config
389
+
390
+ # Configuration for migrating Iceberg metadata.
391
+ # Corresponds to the JSON property `icebergConfig`
392
+ # @return [Google::Apis::MetastoreV1::IcebergConfig]
393
+ attr_accessor :iceberg_config
394
+
395
+ # Required. Defines the behavior of the migration execution.
396
+ # Corresponds to the JSON property `mode`
397
+ # @return [String]
398
+ attr_accessor :mode
399
+
400
+ # Optional. The Cloud Storage path where the backfill / dry run report should be
401
+ # written. If not provided, the report will be generated in the service's
402
+ # artifacts bucket. Format: "gs://path/to/folder"
403
+ # Corresponds to the JSON property `reportPath`
404
+ # @return [String]
405
+ attr_accessor :report_path
406
+
407
+ def initialize(**args)
408
+ update!(**args)
409
+ end
410
+
411
+ # Update properties of this object
412
+ def update!(**args)
413
+ @backfill_status = args[:backfill_status] if args.key?(:backfill_status)
414
+ @conflict_policy = args[:conflict_policy] if args.key?(:conflict_policy)
415
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
416
+ @hive_config = args[:hive_config] if args.key?(:hive_config)
417
+ @iceberg_config = args[:iceberg_config] if args.key?(:iceberg_config)
418
+ @mode = args[:mode] if args.key?(:mode)
419
+ @report_path = args[:report_path] if args.key?(:report_path)
420
+ end
421
+ end
422
+
329
423
  # Associates members, or principals, with a role.
330
424
  class Binding
331
425
  include Google::Apis::Core::Hashable
@@ -452,60 +546,24 @@ module Google
452
546
  end
453
547
  end
454
548
 
455
- # Configuration information to start the Change Data Capture (CDC) streams from
456
- # customer database to backend database of Dataproc Metastore.
457
- class CdcConfig
549
+ # Aggregated report at the catalog level.
550
+ class CatalogReport
458
551
  include Google::Apis::Core::Hashable
459
552
 
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`
553
+ # The name of the catalog (format: projects/*/catalogs/*).
554
+ # Corresponds to the JSON property `catalog`
481
555
  # @return [String]
482
- attr_accessor :reverse_proxy_subnet
556
+ attr_accessor :catalog
483
557
 
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`
558
+ # The type of catalog.
559
+ # Corresponds to the JSON property `catalogType`
487
560
  # @return [String]
488
- attr_accessor :root_path
561
+ attr_accessor :catalog_type
489
562
 
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
563
+ # A map of database names to their respective reports.
564
+ # Corresponds to the JSON property `databaseReports`
565
+ # @return [Hash<String,Google::Apis::MetastoreV1::DatabaseReport>]
566
+ attr_accessor :database_reports
509
567
 
510
568
  def initialize(**args)
511
569
  update!(**args)
@@ -513,108 +571,30 @@ module Google
513
571
 
514
572
  # Update properties of this object
515
573
  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)
574
+ @catalog = args[:catalog] if args.key?(:catalog)
575
+ @catalog_type = args[:catalog_type] if args.key?(:catalog_type)
576
+ @database_reports = args[:database_reports] if args.key?(:database_reports)
523
577
  end
524
578
  end
525
579
 
526
- # Configuration information to establish customer database connection before the
527
- # cutover phase of migration
528
- class CloudSqlConnectionConfig
580
+ # Summary of results for a specific destination catalog.
581
+ class CatalogSummary
529
582
  include Google::Apis::Core::Hashable
530
583
 
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`
584
+ # Output only. The catalog resource name (format: projects/*/catalogs/*).
585
+ # Corresponds to the JSON property `catalog`
543
586
  # @return [String]
544
- attr_accessor :ip_address
587
+ attr_accessor :catalog
545
588
 
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`
589
+ # Output only. The type of the catalog.
590
+ # Corresponds to the JSON property `catalogType`
554
591
  # @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
- # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use
601
- # BigLake Metastore migration instead. Configuration information for migrating
602
- # from self-managed hive metastore on Google Cloud using Cloud SQL as the
603
- # backend database to Dataproc Metastore.
604
- class CloudSqlMigrationConfig
605
- include Google::Apis::Core::Hashable
606
-
607
- # Configuration information to start the Change Data Capture (CDC) streams from
608
- # customer database to backend database of Dataproc Metastore.
609
- # Corresponds to the JSON property `cdcConfig`
610
- # @return [Google::Apis::MetastoreV1::CdcConfig]
611
- attr_accessor :cdc_config
592
+ attr_accessor :catalog_type
612
593
 
613
- # Configuration information to establish customer database connection before the
614
- # cutover phase of migration
615
- # Corresponds to the JSON property `cloudSqlConnectionConfig`
616
- # @return [Google::Apis::MetastoreV1::CloudSqlConnectionConfig]
617
- attr_accessor :cloud_sql_connection_config
594
+ # Output only. Summary of results for each database in the catalog.
595
+ # Corresponds to the JSON property `databaseSummaries`
596
+ # @return [Array<Google::Apis::MetastoreV1::DatabaseSummary>]
597
+ attr_accessor :database_summaries
618
598
 
619
599
  def initialize(**args)
620
600
  update!(**args)
@@ -622,8 +602,9 @@ module Google
622
602
 
623
603
  # Update properties of this object
624
604
  def update!(**args)
625
- @cdc_config = args[:cdc_config] if args.key?(:cdc_config)
626
- @cloud_sql_connection_config = args[:cloud_sql_connection_config] if args.key?(:cloud_sql_connection_config)
605
+ @catalog = args[:catalog] if args.key?(:catalog)
606
+ @catalog_type = args[:catalog_type] if args.key?(:catalog_type)
607
+ @database_summaries = args[:database_summaries] if args.key?(:database_summaries)
627
608
  end
628
609
  end
629
610
 
@@ -772,6 +753,82 @@ module Google
772
753
  end
773
754
  end
774
755
 
756
+ # Aggregated report at the database level.
757
+ class DatabaseReport
758
+ include Google::Apis::Core::Hashable
759
+
760
+ # The name of the database.
761
+ # Corresponds to the JSON property `database`
762
+ # @return [String]
763
+ attr_accessor :database
764
+
765
+ # Represents the migration plan for a specific resource (e.g. Database, Table).
766
+ # Corresponds to the JSON property `executionPlan`
767
+ # @return [Google::Apis::MetastoreV1::ExecutionPlan]
768
+ attr_accessor :execution_plan
769
+
770
+ # Represents the actual migration result for a specific resource (e.g. Database,
771
+ # Table).
772
+ # Corresponds to the JSON property `executionResult`
773
+ # @return [Google::Apis::MetastoreV1::ExecutionResult]
774
+ attr_accessor :execution_result
775
+
776
+ # A map of table names to their respective reports.
777
+ # Corresponds to the JSON property `tableReports`
778
+ # @return [Hash<String,Google::Apis::MetastoreV1::TableReport>]
779
+ attr_accessor :table_reports
780
+
781
+ def initialize(**args)
782
+ update!(**args)
783
+ end
784
+
785
+ # Update properties of this object
786
+ def update!(**args)
787
+ @database = args[:database] if args.key?(:database)
788
+ @execution_plan = args[:execution_plan] if args.key?(:execution_plan)
789
+ @execution_result = args[:execution_result] if args.key?(:execution_result)
790
+ @table_reports = args[:table_reports] if args.key?(:table_reports)
791
+ end
792
+ end
793
+
794
+ # Summary of results for a specific database in a catalog.
795
+ class DatabaseSummary
796
+ include Google::Apis::Core::Hashable
797
+
798
+ # Output only. The name of the database.
799
+ # Corresponds to the JSON property `database`
800
+ # @return [String]
801
+ attr_accessor :database
802
+
803
+ # Output only. The migration plan action for the database.
804
+ # Corresponds to the JSON property `planAction`
805
+ # @return [String]
806
+ attr_accessor :plan_action
807
+
808
+ # Output only. The migration result status for the database. This is only set if
809
+ # the migration is not a dry run.
810
+ # Corresponds to the JSON property `resultStatus`
811
+ # @return [String]
812
+ attr_accessor :result_status
813
+
814
+ # Aggregated summary of results for all tables in a database.
815
+ # Corresponds to the JSON property `tableSummary`
816
+ # @return [Google::Apis::MetastoreV1::TableSummary]
817
+ attr_accessor :table_summary
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @database = args[:database] if args.key?(:database)
826
+ @plan_action = args[:plan_action] if args.key?(:plan_action)
827
+ @result_status = args[:result_status] if args.key?(:result_status)
828
+ @table_summary = args[:table_summary] if args.key?(:table_summary)
829
+ end
830
+ end
831
+
775
832
  # A generic empty message that you can re-use to avoid defining duplicated empty
776
833
  # messages in your APIs. A typical example is to use it as the request or the
777
834
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -829,6 +886,69 @@ module Google
829
886
  end
830
887
  end
831
888
 
889
+ # Represents the migration plan for a specific resource (e.g. Database, Table).
890
+ class ExecutionPlan
891
+ include Google::Apis::Core::Hashable
892
+
893
+ # The action that will be taken for a resource during migration.
894
+ # Corresponds to the JSON property `action`
895
+ # @return [String]
896
+ attr_accessor :action
897
+
898
+ # A map of field names to their respective value diff.
899
+ # Corresponds to the JSON property `diffs`
900
+ # @return [Hash<String,Google::Apis::MetastoreV1::ValueDiff>]
901
+ attr_accessor :diffs
902
+
903
+ # A human-readable string explaining why the action was chosen.
904
+ # Corresponds to the JSON property `reason`
905
+ # @return [String]
906
+ attr_accessor :reason
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ @action = args[:action] if args.key?(:action)
915
+ @diffs = args[:diffs] if args.key?(:diffs)
916
+ @reason = args[:reason] if args.key?(:reason)
917
+ end
918
+ end
919
+
920
+ # Represents the actual migration result for a specific resource (e.g. Database,
921
+ # Table).
922
+ class ExecutionResult
923
+ include Google::Apis::Core::Hashable
924
+
925
+ # Description of the error if the state is FAILED.
926
+ # Corresponds to the JSON property `errorMessage`
927
+ # @return [String]
928
+ attr_accessor :error_message
929
+
930
+ # Remediation steps for the error if the state is FAILED.
931
+ # Corresponds to the JSON property `remediation`
932
+ # @return [String]
933
+ attr_accessor :remediation
934
+
935
+ # Output only. The state of the migration for a resource.
936
+ # Corresponds to the JSON property `state`
937
+ # @return [String]
938
+ attr_accessor :state
939
+
940
+ def initialize(**args)
941
+ update!(**args)
942
+ end
943
+
944
+ # Update properties of this object
945
+ def update!(**args)
946
+ @error_message = args[:error_message] if args.key?(:error_message)
947
+ @remediation = args[:remediation] if args.key?(:remediation)
948
+ @state = args[:state] if args.key?(:state)
949
+ end
950
+ end
951
+
832
952
  # Request message for DataprocMetastore.ExportMetadata.
833
953
  class ExportMetadataRequest
834
954
  include Google::Apis::Core::Hashable
@@ -1012,6 +1132,34 @@ module Google
1012
1132
  end
1013
1133
  end
1014
1134
 
1135
+ # Configuration for migrating Hive metadata.
1136
+ class HiveConfig
1137
+ include Google::Apis::Core::Hashable
1138
+
1139
+ # Required. The target catalog for migrated databases and tables. Format: "
1140
+ # projects/`project_id_or_number`/catalogs/`catalog_id`"
1141
+ # Corresponds to the JSON property `catalog`
1142
+ # @return [String]
1143
+ attr_accessor :catalog
1144
+
1145
+ # Required. The list of databases to migrate to the Hive catalog. Use "*" to
1146
+ # migrate all databases. Note: If Iceberg tables exist in these databases, they
1147
+ # will only be migrated if iceberg_config is also specified.
1148
+ # Corresponds to the JSON property `databases`
1149
+ # @return [Array<String>]
1150
+ attr_accessor :databases
1151
+
1152
+ def initialize(**args)
1153
+ update!(**args)
1154
+ end
1155
+
1156
+ # Update properties of this object
1157
+ def update!(**args)
1158
+ @catalog = args[:catalog] if args.key?(:catalog)
1159
+ @databases = args[:databases] if args.key?(:databases)
1160
+ end
1161
+ end
1162
+
1015
1163
  # Specifies configuration information specific to running Hive metastore
1016
1164
  # software as the metastore service.
1017
1165
  class HiveMetastoreConfig
@@ -1095,6 +1243,34 @@ module Google
1095
1243
  end
1096
1244
  end
1097
1245
 
1246
+ # Configuration for migrating Iceberg metadata.
1247
+ class IcebergConfig
1248
+ include Google::Apis::Core::Hashable
1249
+
1250
+ # Required. The target catalog for migrated Iceberg metadata. Format: "projects/`
1251
+ # project_id_or_number`/catalogs/`catalog_id`"
1252
+ # Corresponds to the JSON property `catalog`
1253
+ # @return [String]
1254
+ attr_accessor :catalog
1255
+
1256
+ # Required. The list of namespaces to migrate to the Iceberg REST catalog. Use "*
1257
+ # " to migrate all namespaces. Note: If Hive tables exist in these namespaces,
1258
+ # they will only be migrated if hive_config is also specified.
1259
+ # Corresponds to the JSON property `namespaces`
1260
+ # @return [Array<String>]
1261
+ attr_accessor :namespaces
1262
+
1263
+ def initialize(**args)
1264
+ update!(**args)
1265
+ end
1266
+
1267
+ # Update properties of this object
1268
+ def update!(**args)
1269
+ @catalog = args[:catalog] if args.key?(:catalog)
1270
+ @namespaces = args[:namespaces] if args.key?(:namespaces)
1271
+ end
1272
+ end
1273
+
1098
1274
  # Configuration information for a Kerberos principal.
1099
1275
  class KerberosConfig
1100
1276
  include Google::Apis::Core::Hashable
@@ -1693,13 +1869,11 @@ module Google
1693
1869
  class MigrationExecution
1694
1870
  include Google::Apis::Core::Hashable
1695
1871
 
1696
- # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use
1697
- # BigLake Metastore migration instead. Configuration information for migrating
1698
- # from self-managed hive metastore on Google Cloud using Cloud SQL as the
1699
- # backend database to Dataproc Metastore.
1700
- # Corresponds to the JSON property `cloudSqlMigrationConfig`
1701
- # @return [Google::Apis::MetastoreV1::CloudSqlMigrationConfig]
1702
- attr_accessor :cloud_sql_migration_config
1872
+ # Defines the configuration required to migrate metadata from a Dataproc
1873
+ # Metastore service to BigLake Metastore.
1874
+ # Corresponds to the JSON property `biglakeMetastoreMigrationConfig`
1875
+ # @return [Google::Apis::MetastoreV1::BigLakeMetastoreMigrationConfig]
1876
+ attr_accessor :biglake_metastore_migration_config
1703
1877
 
1704
1878
  # Output only. The time when the migration execution was started.
1705
1879
  # Corresponds to the JSON property `createTime`
@@ -1742,7 +1916,7 @@ module Google
1742
1916
 
1743
1917
  # Update properties of this object
1744
1918
  def update!(**args)
1745
- @cloud_sql_migration_config = args[:cloud_sql_migration_config] if args.key?(:cloud_sql_migration_config)
1919
+ @biglake_metastore_migration_config = args[:biglake_metastore_migration_config] if args.key?(:biglake_metastore_migration_config)
1746
1920
  @create_time = args[:create_time] if args.key?(:create_time)
1747
1921
  @end_time = args[:end_time] if args.key?(:end_time)
1748
1922
  @name = args[:name] if args.key?(:name)
@@ -1752,6 +1926,72 @@ module Google
1752
1926
  end
1753
1927
  end
1754
1928
 
1929
+ # Report containing the results of a migration run. This report is generated at
1930
+ # the specified path in the BigLakeMetastoreMigrationConfig after the backfill
1931
+ # is complete, or when a dry run is executed.
1932
+ class MigrationReport
1933
+ include Google::Apis::Core::Hashable
1934
+
1935
+ # Output only. Detailed results for each catalog involved in the migration.
1936
+ # Corresponds to the JSON property `catalogReports`
1937
+ # @return [Array<Google::Apis::MetastoreV1::CatalogReport>]
1938
+ attr_accessor :catalog_reports
1939
+
1940
+ # Summary of the migration results.
1941
+ # Corresponds to the JSON property `summary`
1942
+ # @return [Google::Apis::MetastoreV1::MigrationSummary]
1943
+ attr_accessor :summary
1944
+
1945
+ def initialize(**args)
1946
+ update!(**args)
1947
+ end
1948
+
1949
+ # Update properties of this object
1950
+ def update!(**args)
1951
+ @catalog_reports = args[:catalog_reports] if args.key?(:catalog_reports)
1952
+ @summary = args[:summary] if args.key?(:summary)
1953
+ end
1954
+ end
1955
+
1956
+ # Summary of the migration results.
1957
+ class MigrationSummary
1958
+ include Google::Apis::Core::Hashable
1959
+
1960
+ # Output only. Summary of results for each catalog involved in the migration.
1961
+ # Corresponds to the JSON property `catalogSummaries`
1962
+ # @return [Array<Google::Apis::MetastoreV1::CatalogSummary>]
1963
+ attr_accessor :catalog_summaries
1964
+
1965
+ # Output only. The UTC time when this report was finalized.
1966
+ # Corresponds to the JSON property `createTime`
1967
+ # @return [String]
1968
+ attr_accessor :create_time
1969
+
1970
+ # Output only. Whether the migration was a dry run.
1971
+ # Corresponds to the JSON property `dryRun`
1972
+ # @return [Boolean]
1973
+ attr_accessor :dry_run
1974
+ alias_method :dry_run?, :dry_run
1975
+
1976
+ # Output only. The Dataproc Metastore service name (format: projects/*/locations/
1977
+ # */services/*) on which the migration was executed.
1978
+ # Corresponds to the JSON property `service`
1979
+ # @return [String]
1980
+ attr_accessor :service
1981
+
1982
+ def initialize(**args)
1983
+ update!(**args)
1984
+ end
1985
+
1986
+ # Update properties of this object
1987
+ def update!(**args)
1988
+ @catalog_summaries = args[:catalog_summaries] if args.key?(:catalog_summaries)
1989
+ @create_time = args[:create_time] if args.key?(:create_time)
1990
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
1991
+ @service = args[:service] if args.key?(:service)
1992
+ end
1993
+ end
1994
+
1755
1995
  # Request message for DataprocMetastore.MoveTableToDatabase.
1756
1996
  class MoveTableToDatabaseRequest
1757
1997
  include Google::Apis::Core::Hashable
@@ -1971,6 +2211,37 @@ module Google
1971
2211
  end
1972
2212
  end
1973
2213
 
2214
+ # Partition migration report for a Hive table.
2215
+ class PartitionReport
2216
+ include Google::Apis::Core::Hashable
2217
+
2218
+ # The number of partitions that failed to migrate at the target.
2219
+ # Corresponds to the JSON property `partitionFailedCount`
2220
+ # @return [Fixnum]
2221
+ attr_accessor :partition_failed_count
2222
+
2223
+ # The number of partitions successfully migrated at the target.
2224
+ # Corresponds to the JSON property `partitionSuccessCount`
2225
+ # @return [Fixnum]
2226
+ attr_accessor :partition_success_count
2227
+
2228
+ # Output only. The state of the partition migration.
2229
+ # Corresponds to the JSON property `state`
2230
+ # @return [String]
2231
+ attr_accessor :state
2232
+
2233
+ def initialize(**args)
2234
+ update!(**args)
2235
+ end
2236
+
2237
+ # Update properties of this object
2238
+ def update!(**args)
2239
+ @partition_failed_count = args[:partition_failed_count] if args.key?(:partition_failed_count)
2240
+ @partition_success_count = args[:partition_success_count] if args.key?(:partition_success_count)
2241
+ @state = args[:state] if args.key?(:state)
2242
+ end
2243
+ end
2244
+
1974
2245
  # An Identity and Access Management (IAM) policy, which specifies access
1975
2246
  # controls for Google Cloud resources.A Policy is a collection of bindings. A
1976
2247
  # binding binds one or more members, or principals, to a single role. Principals
@@ -2565,6 +2836,15 @@ module Google
2565
2836
  # @return [Google::Apis::MetastoreV1::MigrationExecution]
2566
2837
  attr_accessor :migration_execution
2567
2838
 
2839
+ # Optional. The ID to use for the migration execution, which will become the
2840
+ # final component of the migration execution's resource name. If not specified,
2841
+ # a UUID will be generated.This value must be between 2 and 63 characters long
2842
+ # inclusive, begin with a letter, end with a letter or number, and valid
2843
+ # characters are a-z0-9-.
2844
+ # Corresponds to the JSON property `migrationExecutionId`
2845
+ # @return [String]
2846
+ attr_accessor :migration_execution_id
2847
+
2568
2848
  # Optional. A request ID. Specify a unique request ID to allow the server to
2569
2849
  # ignore the request if it has completed. The server will ignore subsequent
2570
2850
  # requests that provide a duplicate request ID for at least 60 minutes after the
@@ -2584,6 +2864,7 @@ module Google
2584
2864
  # Update properties of this object
2585
2865
  def update!(**args)
2586
2866
  @migration_execution = args[:migration_execution] if args.key?(:migration_execution)
2867
+ @migration_execution_id = args[:migration_execution_id] if args.key?(:migration_execution_id)
2587
2868
  @request_id = args[:request_id] if args.key?(:request_id)
2588
2869
  end
2589
2870
  end
@@ -2685,6 +2966,100 @@ module Google
2685
2966
  end
2686
2967
  end
2687
2968
 
2969
+ # Aggregated report at the table level.
2970
+ class TableReport
2971
+ include Google::Apis::Core::Hashable
2972
+
2973
+ # Represents the migration plan for a specific resource (e.g. Database, Table).
2974
+ # Corresponds to the JSON property `executionPlan`
2975
+ # @return [Google::Apis::MetastoreV1::ExecutionPlan]
2976
+ attr_accessor :execution_plan
2977
+
2978
+ # Represents the actual migration result for a specific resource (e.g. Database,
2979
+ # Table).
2980
+ # Corresponds to the JSON property `executionResult`
2981
+ # @return [Google::Apis::MetastoreV1::ExecutionResult]
2982
+ attr_accessor :execution_result
2983
+
2984
+ # The total number of partitions identified at the source during discovery. This
2985
+ # is only relevant for Hive Partitioned tables.
2986
+ # Corresponds to the JSON property `partitionDiscoveredCount`
2987
+ # @return [Fixnum]
2988
+ attr_accessor :partition_discovered_count
2989
+
2990
+ # Partition migration report for a Hive table.
2991
+ # Corresponds to the JSON property `partitionReport`
2992
+ # @return [Google::Apis::MetastoreV1::PartitionReport]
2993
+ attr_accessor :partition_report
2994
+
2995
+ # The name of the table.
2996
+ # Corresponds to the JSON property `table`
2997
+ # @return [String]
2998
+ attr_accessor :table
2999
+
3000
+ def initialize(**args)
3001
+ update!(**args)
3002
+ end
3003
+
3004
+ # Update properties of this object
3005
+ def update!(**args)
3006
+ @execution_plan = args[:execution_plan] if args.key?(:execution_plan)
3007
+ @execution_result = args[:execution_result] if args.key?(:execution_result)
3008
+ @partition_discovered_count = args[:partition_discovered_count] if args.key?(:partition_discovered_count)
3009
+ @partition_report = args[:partition_report] if args.key?(:partition_report)
3010
+ @table = args[:table] if args.key?(:table)
3011
+ end
3012
+ end
3013
+
3014
+ # Aggregated summary of results for all tables in a database.
3015
+ class TableSummary
3016
+ include Google::Apis::Core::Hashable
3017
+
3018
+ # Output only. Partition migration summary across all Hive tables in the
3019
+ # database.The total number of partitions discovered at the source.
3020
+ # Corresponds to the JSON property `partitionDiscoveredCount`
3021
+ # @return [Fixnum]
3022
+ attr_accessor :partition_discovered_count
3023
+
3024
+ # Output only. The total number of partitions that failed to migrate at the
3025
+ # target.
3026
+ # Corresponds to the JSON property `partitionFailedCount`
3027
+ # @return [Fixnum]
3028
+ attr_accessor :partition_failed_count
3029
+
3030
+ # Output only. The total number of partitions successfully migrated at the
3031
+ # target.
3032
+ # Corresponds to the JSON property `partitionSuccessCount`
3033
+ # @return [Fixnum]
3034
+ attr_accessor :partition_success_count
3035
+
3036
+ # Output only. Number of tables with a specific migration plan action. The key
3037
+ # is the action name (e.g. CREATE, UPDATE, SKIP, etc.).
3038
+ # Corresponds to the JSON property `planCounts`
3039
+ # @return [Hash<String,Fixnum>]
3040
+ attr_accessor :plan_counts
3041
+
3042
+ # Output only. Number of tables with a specific migration result status. The key
3043
+ # is the status name (e.g. SUCCEEDED, FAILED, SKIPPED, etc.). This is only set
3044
+ # if the migration is not a dry run.
3045
+ # Corresponds to the JSON property `resultCounts`
3046
+ # @return [Hash<String,Fixnum>]
3047
+ attr_accessor :result_counts
3048
+
3049
+ def initialize(**args)
3050
+ update!(**args)
3051
+ end
3052
+
3053
+ # Update properties of this object
3054
+ def update!(**args)
3055
+ @partition_discovered_count = args[:partition_discovered_count] if args.key?(:partition_discovered_count)
3056
+ @partition_failed_count = args[:partition_failed_count] if args.key?(:partition_failed_count)
3057
+ @partition_success_count = args[:partition_success_count] if args.key?(:partition_success_count)
3058
+ @plan_counts = args[:plan_counts] if args.key?(:plan_counts)
3059
+ @result_counts = args[:result_counts] if args.key?(:result_counts)
3060
+ end
3061
+ end
3062
+
2688
3063
  # Telemetry Configuration for the Dataproc Metastore service.
2689
3064
  class TelemetryConfig
2690
3065
  include Google::Apis::Core::Hashable
@@ -2743,6 +3118,31 @@ module Google
2743
3118
  @permissions = args[:permissions] if args.key?(:permissions)
2744
3119
  end
2745
3120
  end
3121
+
3122
+ # A field-level metadata mismatch for a resource between the source and target.
3123
+ class ValueDiff
3124
+ include Google::Apis::Core::Hashable
3125
+
3126
+ # The value of the field at the source.
3127
+ # Corresponds to the JSON property `sourceValue`
3128
+ # @return [String]
3129
+ attr_accessor :source_value
3130
+
3131
+ # The value of the field at the target.
3132
+ # Corresponds to the JSON property `targetValue`
3133
+ # @return [String]
3134
+ attr_accessor :target_value
3135
+
3136
+ def initialize(**args)
3137
+ update!(**args)
3138
+ end
3139
+
3140
+ # Update properties of this object
3141
+ def update!(**args)
3142
+ @source_value = args[:source_value] if args.key?(:source_value)
3143
+ @target_value = args[:target_value] if args.key?(:target_value)
3144
+ end
3145
+ end
2746
3146
  end
2747
3147
  end
2748
3148
  end
@@ -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.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260427"
25
+ REVISION = "20260825"
26
26
  end
27
27
  end
28
28
  end
@@ -70,43 +70,49 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BackfillStatus
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Backup
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
79
- class Binding
85
+ class BigLakeMetastoreMigrationConfig
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
85
- class CancelMigrationRequest
91
+ class Binding
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
91
- class CancelOperationRequest
97
+ class CancelMigrationRequest
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
94
100
  include Google::Apis::Core::JsonObjectSupport
95
101
  end
96
102
 
97
- class CdcConfig
103
+ class CancelOperationRequest
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
103
- class CloudSqlConnectionConfig
109
+ class CatalogReport
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
109
- class CloudSqlMigrationConfig
115
+ class CatalogSummary
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
112
118
  include Google::Apis::Core::JsonObjectSupport
@@ -142,6 +148,18 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class DatabaseReport
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class DatabaseSummary
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class Empty
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -160,6 +178,18 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class ExecutionPlan
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ExecutionResult
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
163
193
  class ExportMetadataRequest
164
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
195
 
@@ -178,6 +208,12 @@ module Google
178
208
  include Google::Apis::Core::JsonObjectSupport
179
209
  end
180
210
 
211
+ class HiveConfig
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
181
217
  class HiveMetastoreConfig
182
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
219
 
@@ -190,6 +226,12 @@ module Google
190
226
  include Google::Apis::Core::JsonObjectSupport
191
227
  end
192
228
 
229
+ class IcebergConfig
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
193
235
  class KerberosConfig
194
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
237
 
@@ -304,6 +346,18 @@ module Google
304
346
  include Google::Apis::Core::JsonObjectSupport
305
347
  end
306
348
 
349
+ class MigrationReport
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class MigrationSummary
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
307
361
  class MoveTableToDatabaseRequest
308
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
363
 
@@ -340,6 +394,12 @@ module Google
340
394
  include Google::Apis::Core::JsonObjectSupport
341
395
  end
342
396
 
397
+ class PartitionReport
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
343
403
  class Policy
344
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
405
 
@@ -418,6 +478,18 @@ module Google
418
478
  include Google::Apis::Core::JsonObjectSupport
419
479
  end
420
480
 
481
+ class TableReport
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class TableSummary
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
421
493
  class TelemetryConfig
422
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
495
 
@@ -436,6 +508,12 @@ module Google
436
508
  include Google::Apis::Core::JsonObjectSupport
437
509
  end
438
510
 
511
+ class ValueDiff
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
439
517
  class AlterMetadataResourceLocationRequest
440
518
  # @private
441
519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -504,6 +582,16 @@ module Google
504
582
  end
505
583
  end
506
584
 
585
+ class BackfillStatus
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :migration_summary, as: 'migrationSummary', class: Google::Apis::MetastoreV1::MigrationSummary, decorator: Google::Apis::MetastoreV1::MigrationSummary::Representation
589
+
590
+ property :report_path, as: 'reportPath'
591
+ property :state, as: 'state'
592
+ end
593
+ end
594
+
507
595
  class Backup
508
596
  # @private
509
597
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -518,6 +606,22 @@ module Google
518
606
  end
519
607
  end
520
608
 
609
+ class BigLakeMetastoreMigrationConfig
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :backfill_status, as: 'backfillStatus', class: Google::Apis::MetastoreV1::BackfillStatus, decorator: Google::Apis::MetastoreV1::BackfillStatus::Representation
613
+
614
+ property :conflict_policy, as: 'conflictPolicy'
615
+ property :dry_run, as: 'dryRun'
616
+ property :hive_config, as: 'hiveConfig', class: Google::Apis::MetastoreV1::HiveConfig, decorator: Google::Apis::MetastoreV1::HiveConfig::Representation
617
+
618
+ property :iceberg_config, as: 'icebergConfig', class: Google::Apis::MetastoreV1::IcebergConfig, decorator: Google::Apis::MetastoreV1::IcebergConfig::Representation
619
+
620
+ property :mode, as: 'mode'
621
+ property :report_path, as: 'reportPath'
622
+ end
623
+ end
624
+
521
625
  class Binding
522
626
  # @private
523
627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -540,39 +644,22 @@ module Google
540
644
  end
541
645
  end
542
646
 
543
- class CdcConfig
647
+ class CatalogReport
544
648
  # @private
545
649
  class Representation < Google::Apis::Core::JsonRepresentation
546
- property :bucket, as: 'bucket'
547
- property :password, as: 'password'
548
- property :reverse_proxy_subnet, as: 'reverseProxySubnet'
549
- property :root_path, as: 'rootPath'
550
- property :subnet_ip_range, as: 'subnetIpRange'
551
- property :username, as: 'username'
552
- property :vpc_network, as: 'vpcNetwork'
553
- end
554
- end
650
+ property :catalog, as: 'catalog'
651
+ property :catalog_type, as: 'catalogType'
652
+ hash :database_reports, as: 'databaseReports', class: Google::Apis::MetastoreV1::DatabaseReport, decorator: Google::Apis::MetastoreV1::DatabaseReport::Representation
555
653
 
556
- class CloudSqlConnectionConfig
557
- # @private
558
- class Representation < Google::Apis::Core::JsonRepresentation
559
- property :hive_database_name, as: 'hiveDatabaseName'
560
- property :instance_connection_name, as: 'instanceConnectionName'
561
- property :ip_address, as: 'ipAddress'
562
- property :nat_subnet, as: 'natSubnet'
563
- property :password, as: 'password'
564
- property :port, as: 'port'
565
- property :proxy_subnet, as: 'proxySubnet'
566
- property :username, as: 'username'
567
654
  end
568
655
  end
569
656
 
570
- class CloudSqlMigrationConfig
657
+ class CatalogSummary
571
658
  # @private
572
659
  class Representation < Google::Apis::Core::JsonRepresentation
573
- property :cdc_config, as: 'cdcConfig', class: Google::Apis::MetastoreV1::CdcConfig, decorator: Google::Apis::MetastoreV1::CdcConfig::Representation
574
-
575
- property :cloud_sql_connection_config, as: 'cloudSqlConnectionConfig', class: Google::Apis::MetastoreV1::CloudSqlConnectionConfig, decorator: Google::Apis::MetastoreV1::CloudSqlConnectionConfig::Representation
660
+ property :catalog, as: 'catalog'
661
+ property :catalog_type, as: 'catalogType'
662
+ collection :database_summaries, as: 'databaseSummaries', class: Google::Apis::MetastoreV1::DatabaseSummary, decorator: Google::Apis::MetastoreV1::DatabaseSummary::Representation
576
663
 
577
664
  end
578
665
  end
@@ -618,6 +705,30 @@ module Google
618
705
  end
619
706
  end
620
707
 
708
+ class DatabaseReport
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :database, as: 'database'
712
+ property :execution_plan, as: 'executionPlan', class: Google::Apis::MetastoreV1::ExecutionPlan, decorator: Google::Apis::MetastoreV1::ExecutionPlan::Representation
713
+
714
+ property :execution_result, as: 'executionResult', class: Google::Apis::MetastoreV1::ExecutionResult, decorator: Google::Apis::MetastoreV1::ExecutionResult::Representation
715
+
716
+ hash :table_reports, as: 'tableReports', class: Google::Apis::MetastoreV1::TableReport, decorator: Google::Apis::MetastoreV1::TableReport::Representation
717
+
718
+ end
719
+ end
720
+
721
+ class DatabaseSummary
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :database, as: 'database'
725
+ property :plan_action, as: 'planAction'
726
+ property :result_status, as: 'resultStatus'
727
+ property :table_summary, as: 'tableSummary', class: Google::Apis::MetastoreV1::TableSummary, decorator: Google::Apis::MetastoreV1::TableSummary::Representation
728
+
729
+ end
730
+ end
731
+
621
732
  class Empty
622
733
  # @private
623
734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -638,6 +749,25 @@ module Google
638
749
  end
639
750
  end
640
751
 
752
+ class ExecutionPlan
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ property :action, as: 'action'
756
+ hash :diffs, as: 'diffs', class: Google::Apis::MetastoreV1::ValueDiff, decorator: Google::Apis::MetastoreV1::ValueDiff::Representation
757
+
758
+ property :reason, as: 'reason'
759
+ end
760
+ end
761
+
762
+ class ExecutionResult
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :error_message, as: 'errorMessage'
766
+ property :remediation, as: 'remediation'
767
+ property :state, as: 'state'
768
+ end
769
+ end
770
+
641
771
  class ExportMetadataRequest
642
772
  # @private
643
773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -675,6 +805,14 @@ module Google
675
805
  end
676
806
  end
677
807
 
808
+ class HiveConfig
809
+ # @private
810
+ class Representation < Google::Apis::Core::JsonRepresentation
811
+ property :catalog, as: 'catalog'
812
+ collection :databases, as: 'databases'
813
+ end
814
+ end
815
+
678
816
  class HiveMetastoreConfig
679
817
  # @private
680
818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -696,6 +834,14 @@ module Google
696
834
  end
697
835
  end
698
836
 
837
+ class IcebergConfig
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :catalog, as: 'catalog'
841
+ collection :namespaces, as: 'namespaces'
842
+ end
843
+ end
844
+
699
845
  class KerberosConfig
700
846
  # @private
701
847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,7 +1022,7 @@ module Google
876
1022
  class MigrationExecution
877
1023
  # @private
878
1024
  class Representation < Google::Apis::Core::JsonRepresentation
879
- property :cloud_sql_migration_config, as: 'cloudSqlMigrationConfig', class: Google::Apis::MetastoreV1::CloudSqlMigrationConfig, decorator: Google::Apis::MetastoreV1::CloudSqlMigrationConfig::Representation
1025
+ property :biglake_metastore_migration_config, as: 'biglakeMetastoreMigrationConfig', class: Google::Apis::MetastoreV1::BigLakeMetastoreMigrationConfig, decorator: Google::Apis::MetastoreV1::BigLakeMetastoreMigrationConfig::Representation
880
1026
 
881
1027
  property :create_time, as: 'createTime'
882
1028
  property :end_time, as: 'endTime'
@@ -887,6 +1033,27 @@ module Google
887
1033
  end
888
1034
  end
889
1035
 
1036
+ class MigrationReport
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ collection :catalog_reports, as: 'catalogReports', class: Google::Apis::MetastoreV1::CatalogReport, decorator: Google::Apis::MetastoreV1::CatalogReport::Representation
1040
+
1041
+ property :summary, as: 'summary', class: Google::Apis::MetastoreV1::MigrationSummary, decorator: Google::Apis::MetastoreV1::MigrationSummary::Representation
1042
+
1043
+ end
1044
+ end
1045
+
1046
+ class MigrationSummary
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ collection :catalog_summaries, as: 'catalogSummaries', class: Google::Apis::MetastoreV1::CatalogSummary, decorator: Google::Apis::MetastoreV1::CatalogSummary::Representation
1050
+
1051
+ property :create_time, as: 'createTime'
1052
+ property :dry_run, as: 'dryRun'
1053
+ property :service, as: 'service'
1054
+ end
1055
+ end
1056
+
890
1057
  class MoveTableToDatabaseRequest
891
1058
  # @private
892
1059
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -944,6 +1111,15 @@ module Google
944
1111
  end
945
1112
  end
946
1113
 
1114
+ class PartitionReport
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ property :partition_failed_count, :numeric_string => true, as: 'partitionFailedCount'
1118
+ property :partition_success_count, :numeric_string => true, as: 'partitionSuccessCount'
1119
+ property :state, as: 'state'
1120
+ end
1121
+ end
1122
+
947
1123
  class Policy
948
1124
  # @private
949
1125
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1077,6 +1253,7 @@ module Google
1077
1253
  class Representation < Google::Apis::Core::JsonRepresentation
1078
1254
  property :migration_execution, as: 'migrationExecution', class: Google::Apis::MetastoreV1::MigrationExecution, decorator: Google::Apis::MetastoreV1::MigrationExecution::Representation
1079
1255
 
1256
+ property :migration_execution_id, as: 'migrationExecutionId'
1080
1257
  property :request_id, as: 'requestId'
1081
1258
  end
1082
1259
  end
@@ -1102,6 +1279,31 @@ module Google
1102
1279
  end
1103
1280
  end
1104
1281
 
1282
+ class TableReport
1283
+ # @private
1284
+ class Representation < Google::Apis::Core::JsonRepresentation
1285
+ property :execution_plan, as: 'executionPlan', class: Google::Apis::MetastoreV1::ExecutionPlan, decorator: Google::Apis::MetastoreV1::ExecutionPlan::Representation
1286
+
1287
+ property :execution_result, as: 'executionResult', class: Google::Apis::MetastoreV1::ExecutionResult, decorator: Google::Apis::MetastoreV1::ExecutionResult::Representation
1288
+
1289
+ property :partition_discovered_count, :numeric_string => true, as: 'partitionDiscoveredCount'
1290
+ property :partition_report, as: 'partitionReport', class: Google::Apis::MetastoreV1::PartitionReport, decorator: Google::Apis::MetastoreV1::PartitionReport::Representation
1291
+
1292
+ property :table, as: 'table'
1293
+ end
1294
+ end
1295
+
1296
+ class TableSummary
1297
+ # @private
1298
+ class Representation < Google::Apis::Core::JsonRepresentation
1299
+ property :partition_discovered_count, :numeric_string => true, as: 'partitionDiscoveredCount'
1300
+ property :partition_failed_count, :numeric_string => true, as: 'partitionFailedCount'
1301
+ property :partition_success_count, :numeric_string => true, as: 'partitionSuccessCount'
1302
+ hash :plan_counts, as: 'planCounts'
1303
+ hash :result_counts, as: 'resultCounts'
1304
+ end
1305
+ end
1306
+
1105
1307
  class TelemetryConfig
1106
1308
  # @private
1107
1309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1122,6 +1324,14 @@ module Google
1122
1324
  collection :permissions, as: 'permissions'
1123
1325
  end
1124
1326
  end
1327
+
1328
+ class ValueDiff
1329
+ # @private
1330
+ class Representation < Google::Apis::Core::JsonRepresentation
1331
+ property :source_value, as: 'sourceValue'
1332
+ property :target_value, as: 'targetValue'
1333
+ end
1334
+ end
1125
1335
  end
1126
1336
  end
1127
1337
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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-metastore_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.48.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
62
62
  rdoc_options: []
63
63
  require_paths: