diff --git a/api_names_out.yaml b/api_names_out.yaml index 87cfe9edb96..a49ed846d11 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -327863,6 +327863,10 @@ "/metastore:v1/BackendMetastore": backend_metastore "/metastore:v1/BackendMetastore/metastoreType": metastore_type "/metastore:v1/BackendMetastore/name": name +"/metastore:v1/BackfillStatus": backfill_status +"/metastore:v1/BackfillStatus/migrationSummary": migration_summary +"/metastore:v1/BackfillStatus/reportPath": report_path +"/metastore:v1/BackfillStatus/state": state "/metastore:v1/Backup": backup "/metastore:v1/Backup/createTime": create_time "/metastore:v1/Backup/description": description @@ -327872,6 +327876,14 @@ "/metastore:v1/Backup/restoringServices/restoring_service": restoring_service "/metastore:v1/Backup/serviceRevision": service_revision "/metastore:v1/Backup/state": state +"/metastore:v1/BigLakeMetastoreMigrationConfig": big_lake_metastore_migration_config +"/metastore:v1/BigLakeMetastoreMigrationConfig/backfillStatus": backfill_status +"/metastore:v1/BigLakeMetastoreMigrationConfig/conflictPolicy": conflict_policy +"/metastore:v1/BigLakeMetastoreMigrationConfig/dryRun": dry_run +"/metastore:v1/BigLakeMetastoreMigrationConfig/hiveConfig": hive_config +"/metastore:v1/BigLakeMetastoreMigrationConfig/icebergConfig": iceberg_config +"/metastore:v1/BigLakeMetastoreMigrationConfig/mode": mode +"/metastore:v1/BigLakeMetastoreMigrationConfig/reportPath": report_path "/metastore:v1/Binding": binding "/metastore:v1/Binding/condition": condition "/metastore:v1/Binding/members": members @@ -327879,6 +327891,16 @@ "/metastore:v1/Binding/role": role "/metastore:v1/CancelMigrationRequest": cancel_migration_request "/metastore:v1/CancelOperationRequest": cancel_operation_request +"/metastore:v1/CatalogReport": catalog_report +"/metastore:v1/CatalogReport/catalog": catalog +"/metastore:v1/CatalogReport/catalogType": catalog_type +"/metastore:v1/CatalogReport/databaseReports": database_reports +"/metastore:v1/CatalogReport/databaseReports/database_report": database_report +"/metastore:v1/CatalogSummary": catalog_summary +"/metastore:v1/CatalogSummary/catalog": catalog +"/metastore:v1/CatalogSummary/catalogType": catalog_type +"/metastore:v1/CatalogSummary/databaseSummaries": database_summaries +"/metastore:v1/CatalogSummary/databaseSummaries/database_summary": database_summary "/metastore:v1/CdcConfig": cdc_config "/metastore:v1/CdcConfig/bucket": bucket "/metastore:v1/CdcConfig/password": password @@ -327917,12 +327939,32 @@ "/metastore:v1/DatabaseDump/gcsUri": gcs_uri "/metastore:v1/DatabaseDump/sourceDatabase": source_database "/metastore:v1/DatabaseDump/type": type +"/metastore:v1/DatabaseReport": database_report +"/metastore:v1/DatabaseReport/database": database +"/metastore:v1/DatabaseReport/executionPlan": execution_plan +"/metastore:v1/DatabaseReport/executionResult": execution_result +"/metastore:v1/DatabaseReport/tableReports": table_reports +"/metastore:v1/DatabaseReport/tableReports/table_report": table_report +"/metastore:v1/DatabaseSummary": database_summary +"/metastore:v1/DatabaseSummary/database": database +"/metastore:v1/DatabaseSummary/planAction": plan_action +"/metastore:v1/DatabaseSummary/resultStatus": result_status +"/metastore:v1/DatabaseSummary/tableSummary": table_summary "/metastore:v1/Empty": empty "/metastore:v1/EncryptionConfig": encryption_config "/metastore:v1/EncryptionConfig/kmsKey": kms_key "/metastore:v1/ErrorDetails": error_details "/metastore:v1/ErrorDetails/details": details "/metastore:v1/ErrorDetails/details/detail": detail +"/metastore:v1/ExecutionPlan": execution_plan +"/metastore:v1/ExecutionPlan/action": action +"/metastore:v1/ExecutionPlan/diffs": diffs +"/metastore:v1/ExecutionPlan/diffs/diff": diff +"/metastore:v1/ExecutionPlan/reason": reason +"/metastore:v1/ExecutionResult": execution_result +"/metastore:v1/ExecutionResult/errorMessage": error_message +"/metastore:v1/ExecutionResult/remediation": remediation +"/metastore:v1/ExecutionResult/state": state "/metastore:v1/ExportMetadataRequest": export_metadata_request "/metastore:v1/ExportMetadataRequest/databaseDumpType": database_dump_type "/metastore:v1/ExportMetadataRequest/destinationGcsFolder": destination_gcs_folder @@ -327947,6 +327989,10 @@ "/metastore:v1/Federation/uid": uid "/metastore:v1/Federation/updateTime": update_time "/metastore:v1/Federation/version": version +"/metastore:v1/HiveConfig": hive_config +"/metastore:v1/HiveConfig/catalog": catalog +"/metastore:v1/HiveConfig/databases": databases +"/metastore:v1/HiveConfig/databases/database": database "/metastore:v1/HiveMetastoreConfig": hive_metastore_config "/metastore:v1/HiveMetastoreConfig/auxiliaryVersions": auxiliary_versions "/metastore:v1/HiveMetastoreConfig/auxiliaryVersions/auxiliary_version": auxiliary_version @@ -327958,6 +328004,10 @@ "/metastore:v1/HiveMetastoreVersion": hive_metastore_version "/metastore:v1/HiveMetastoreVersion/isDefault": is_default "/metastore:v1/HiveMetastoreVersion/version": version +"/metastore:v1/IcebergConfig": iceberg_config +"/metastore:v1/IcebergConfig/catalog": catalog +"/metastore:v1/IcebergConfig/namespaces": namespaces +"/metastore:v1/IcebergConfig/namespaces/namespace": namespace "/metastore:v1/KerberosConfig": kerberos_config "/metastore:v1/KerberosConfig/keytab": keytab "/metastore:v1/KerberosConfig/krb5ConfigGcsUri": krb5_config_gcs_uri @@ -328050,6 +328100,7 @@ "/metastore:v1/MetadataManagementActivity/restores": restores "/metastore:v1/MetadataManagementActivity/restores/restore": restore "/metastore:v1/MigrationExecution": migration_execution +"/metastore:v1/MigrationExecution/biglakeMetastoreMigrationConfig": biglake_metastore_migration_config "/metastore:v1/MigrationExecution/cloudSqlMigrationConfig": cloud_sql_migration_config "/metastore:v1/MigrationExecution/createTime": create_time "/metastore:v1/MigrationExecution/endTime": end_time @@ -328057,6 +328108,16 @@ "/metastore:v1/MigrationExecution/phase": phase "/metastore:v1/MigrationExecution/state": state "/metastore:v1/MigrationExecution/stateMessage": state_message +"/metastore:v1/MigrationReport": migration_report +"/metastore:v1/MigrationReport/catalogReports": catalog_reports +"/metastore:v1/MigrationReport/catalogReports/catalog_report": catalog_report +"/metastore:v1/MigrationReport/summary": summary +"/metastore:v1/MigrationSummary": migration_summary +"/metastore:v1/MigrationSummary/catalogSummaries": catalog_summaries +"/metastore:v1/MigrationSummary/catalogSummaries/catalog_summary": catalog_summary +"/metastore:v1/MigrationSummary/createTime": create_time +"/metastore:v1/MigrationSummary/dryRun": dry_run +"/metastore:v1/MigrationSummary/service": service "/metastore:v1/MoveTableToDatabaseRequest": move_table_to_database_request "/metastore:v1/MoveTableToDatabaseRequest/dbName": db_name "/metastore:v1/MoveTableToDatabaseRequest/destinationDbName": destination_db_name @@ -328086,6 +328147,10 @@ "/metastore:v1/OperationMetadata/statusMessage": status_message "/metastore:v1/OperationMetadata/target": target "/metastore:v1/OperationMetadata/verb": verb +"/metastore:v1/PartitionReport": partition_report +"/metastore:v1/PartitionReport/partitionFailedCount": partition_failed_count +"/metastore:v1/PartitionReport/partitionSuccessCount": partition_success_count +"/metastore:v1/PartitionReport/state": state "/metastore:v1/Policy": policy "/metastore:v1/Policy/auditConfigs": audit_configs "/metastore:v1/Policy/auditConfigs/audit_config": audit_config @@ -328156,6 +328221,7 @@ "/metastore:v1/SetIamPolicyRequest/updateMask": update_mask "/metastore:v1/StartMigrationRequest": start_migration_request "/metastore:v1/StartMigrationRequest/migrationExecution": migration_execution +"/metastore:v1/StartMigrationRequest/migrationExecutionId": migration_execution_id "/metastore:v1/StartMigrationRequest/requestId": request_id "/metastore:v1/Status": status "/metastore:v1/Status/code": code @@ -328169,6 +328235,20 @@ "/metastore:v1/StatusProto/message": message "/metastore:v1/StatusProto/messageSet": message_set "/metastore:v1/StatusProto/space": space +"/metastore:v1/TableReport": table_report +"/metastore:v1/TableReport/executionPlan": execution_plan +"/metastore:v1/TableReport/executionResult": execution_result +"/metastore:v1/TableReport/partitionDiscoveredCount": partition_discovered_count +"/metastore:v1/TableReport/partitionReport": partition_report +"/metastore:v1/TableReport/table": table +"/metastore:v1/TableSummary": table_summary +"/metastore:v1/TableSummary/partitionDiscoveredCount": partition_discovered_count +"/metastore:v1/TableSummary/partitionFailedCount": partition_failed_count +"/metastore:v1/TableSummary/partitionSuccessCount": partition_success_count +"/metastore:v1/TableSummary/planCounts": plan_counts +"/metastore:v1/TableSummary/planCounts/plan_count": plan_count +"/metastore:v1/TableSummary/resultCounts": result_counts +"/metastore:v1/TableSummary/resultCounts/result_count": result_count "/metastore:v1/TelemetryConfig": telemetry_config "/metastore:v1/TelemetryConfig/logFormat": log_format "/metastore:v1/TestIamPermissionsRequest": test_iam_permissions_request @@ -328177,6 +328257,9 @@ "/metastore:v1/TestIamPermissionsResponse": test_iam_permissions_response "/metastore:v1/TestIamPermissionsResponse/permissions": permissions "/metastore:v1/TestIamPermissionsResponse/permissions/permission": permission +"/metastore:v1/ValueDiff": value_diff +"/metastore:v1/ValueDiff/sourceValue": source_value +"/metastore:v1/ValueDiff/targetValue": target_value "/metastore:v1/fields": fields "/metastore:v1/key": key "/metastore:v1/metastore.operations.cancel": cancel_operation diff --git a/generated/google-apis-metastore_v1/CHANGELOG.md b/generated/google-apis-metastore_v1/CHANGELOG.md index 37514bb4518..a33546b3a37 100644 --- a/generated/google-apis-metastore_v1/CHANGELOG.md +++ b/generated/google-apis-metastore_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-metastore_v1 +### v0.48.0 (2026-08-30) + +* Regenerated from discovery document revision 20260825 + ### v0.47.0 (2026-06-14) * Regenerated using generator version 0.19.0 diff --git a/generated/google-apis-metastore_v1/Gemfile.lock b/generated/google-apis-metastore_v1/Gemfile.lock index f75f6ace184..fc1bf845048 100644 --- a/generated/google-apis-metastore_v1/Gemfile.lock +++ b/generated/google-apis-metastore_v1/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - google-apis-metastore_v1 (0.47.0) + google-apis-metastore_v1 (0.48.0) google-apis-core (>= 0.15.0, < 2.a) GEM @@ -97,43 +97,43 @@ DEPENDENCIES yard (~> 0.9, >= 0.9.25) CHECKSUMS - addressable (2.9.0) - base64 (0.3.0) + addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af + base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b bundler (4.0.14) sha256=d09a0a965cf772266a7e49e83610be7c2f4e49e61134c42a56804bb383cc24b8 - declarative (0.0.20) - diff-lcs (1.6.2) - faraday (2.14.3) - faraday-follow_redirects (0.5.0) - faraday-net_http (3.4.4) - google-apis-core (1.2.1) - google-apis-metastore_v1 (0.47.0) - google-cloud-env (2.3.1) - google-logging-utils (0.2.0) - googleauth (1.17.1) - json (2.20.0) - jwt (3.2.0) - logger (1.7.0) - mini_mime (1.1.5) - multi_json (1.21.1) - net-http (0.9.1) - opencensus (0.5.0) - os (1.1.4) - pstore (0.2.1) - public_suffix (7.0.5) - rake (13.4.2) - redcarpet (3.6.1) - representable (3.2.0) - retriable (3.8.0) - rspec (3.13.2) - rspec-core (3.13.6) - rspec-expectations (3.13.5) - rspec-mocks (3.13.8) - rspec-support (3.13.7) - signet (0.22.0) - trailblazer-option (0.1.2) - uber (0.1.0) - uri (1.1.1) - yard (0.9.44) + declarative (0.0.20) sha256=8021dd6cb17ab2b61233c56903d3f5a259c5cf43c80ff332d447d395b17d9ff9 + diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962 + faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278 + faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad + faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588 + google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337 + google-apis-metastore_v1 (0.48.0) + google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7 + google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b + googleauth (1.17.1) sha256=0f7e6fc70e204cee1b2d71f1e1de2d3b349d432404197fe68ebf7fa23d0821b9 + json (2.20.0) sha256=9362bc6e55a952b056abf9167cf053358181c904cb70cd6eee0808ea830fc32b + jwt (3.2.0) sha256=5419b1fe37b1da0982bd07051f573a8b8789ab724c2aa7e785e4784a3ed217d7 + logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203 + mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef + multi_json (1.21.1) sha256=e6126a31808e3b4d19f483c775ceac34df190dffa62adfb63a165ee14ba68080 + net-http (0.9.1) sha256=25ba0b67c63e89df626ed8fac771d0ad24ad151a858af2cc8e6a716ca4336996 + opencensus (0.5.0) sha256=0456d1878fd91685c21a4bfa7feac85480a0c3bc969d25550f6d3f36dd75cbba + os (1.1.4) sha256=57816d6a334e7bd6aed048f4b0308226c5fb027433b67d90a9ab435f35108d3f + pstore (0.2.1) sha256=03904d0f2c66579e96d1e6704cdabc0c88df7ea8ed8782d9f3569f6f6c702c1a + public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623 + rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701 + redcarpet (3.6.1) sha256=d444910e6aa55480c6bcdc0cdb057626e8a32c054c29e793fa642ba2f155f445 + representable (3.2.0) sha256=cc29bf7eebc31653586849371a43ffe36c60b54b0a6365b5f7d95ec34d1ebace + retriable (3.8.0) sha256=9f2f1b0207594c7817f17f671587b8ec7587387ac6cebda6c941a802bb98a8e5 + rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587 + rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d + rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836 + rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47 + rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c + signet (0.22.0) sha256=b76d495ccb07ad35dbc89f3e920665a9d8ed717141955034005d7843dcfe4780 + trailblazer-option (0.1.2) sha256=20e4f12ea4e1f718c8007e7944ca21a329eee4eed9e0fa5dde6e8ad8ac4344a3 + uber (0.1.0) sha256=5beeb407ff807b5db994f82fa9ee07cfceaa561dad8af20be880bc67eba935dc + uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6 + yard (0.9.44) sha256=eb087e9b631ccd887b049f303d489963945452d5e2a7eb49a5a74a7cf6887f28 BUNDLED WITH 4.0.14 diff --git a/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/classes.rb b/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/classes.rb index d4e51a44080..382efa09f8c 100644 --- a/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/classes.rb +++ b/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/classes.rb @@ -269,6 +269,38 @@ def update!(**args) end end + # Backfill status for the migration execution. + class BackfillStatus + include Google::Apis::Core::Hashable + + # Summary of the migration results. + # Corresponds to the JSON property `migrationSummary` + # @return [Google::Apis::MetastoreV1::MigrationSummary] + attr_accessor :migration_summary + + # Output only. The Cloud Storage path where the backfill or dry run report is + # written. Format: "gs://path-to-report". + # Corresponds to the JSON property `reportPath` + # @return [String] + attr_accessor :report_path + + # Output only. The current state of the backfill (or dry run). + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @migration_summary = args[:migration_summary] if args.key?(:migration_summary) + @report_path = args[:report_path] if args.key?(:report_path) + @state = args[:state] if args.key?(:state) + end + end + # The details of a backup resource. class Backup include Google::Apis::Core::Hashable @@ -326,6 +358,68 @@ def update!(**args) end end + # Defines the configuration required to migrate metadata from a Dataproc + # Metastore service to BigLake Metastore. + class BigLakeMetastoreMigrationConfig + include Google::Apis::Core::Hashable + + # Backfill status for the migration execution. + # Corresponds to the JSON property `backfillStatus` + # @return [Google::Apis::MetastoreV1::BackfillStatus] + attr_accessor :backfill_status + + # Optional. The policy to handle conflicts when migrating resources, defaults to + # SKIP if not specified. + # Corresponds to the JSON property `conflictPolicy` + # @return [String] + attr_accessor :conflict_policy + + # Optional. If true, performs discovery of requested resources and analysis + # against the target catalog to come up with a plan for each resource (e.g. + # Create, Update, Skip, etc.). No metadata is actually migrated. + # Corresponds to the JSON property `dryRun` + # @return [Boolean] + attr_accessor :dry_run + alias_method :dry_run?, :dry_run + + # Configuration for migrating Hive metadata. + # Corresponds to the JSON property `hiveConfig` + # @return [Google::Apis::MetastoreV1::HiveConfig] + attr_accessor :hive_config + + # Configuration for migrating Iceberg metadata. + # Corresponds to the JSON property `icebergConfig` + # @return [Google::Apis::MetastoreV1::IcebergConfig] + attr_accessor :iceberg_config + + # Required. Defines the behavior of the migration execution. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + # Optional. The Cloud Storage path where the backfill / dry run report should be + # written. If not provided, the report will be generated in the service's + # artifacts bucket. Format: "gs://path/to/folder" + # Corresponds to the JSON property `reportPath` + # @return [String] + attr_accessor :report_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backfill_status = args[:backfill_status] if args.key?(:backfill_status) + @conflict_policy = args[:conflict_policy] if args.key?(:conflict_policy) + @dry_run = args[:dry_run] if args.key?(:dry_run) + @hive_config = args[:hive_config] if args.key?(:hive_config) + @iceberg_config = args[:iceberg_config] if args.key?(:iceberg_config) + @mode = args[:mode] if args.key?(:mode) + @report_path = args[:report_path] if args.key?(:report_path) + end + end + # Associates members, or principals, with a role. class Binding include Google::Apis::Core::Hashable @@ -452,60 +546,24 @@ def update!(**args) end end - # Configuration information to start the Change Data Capture (CDC) streams from - # customer database to backend database of Dataproc Metastore. - class CdcConfig + # Aggregated report at the catalog level. + class CatalogReport include Google::Apis::Core::Hashable - # Optional. The bucket to write the intermediate stream event data in. The - # bucket name must be without any prefix like "gs://". See the bucket naming - # requirements (https://cloud.google.com/storage/docs/buckets#naming). This - # field is optional. If not set, the Artifacts Cloud Storage bucket will be used. - # Corresponds to the JSON property `bucket` - # @return [String] - attr_accessor :bucket - - # Required. Input only. The password for the user that Datastream service should - # use for the MySQL connection. This field is not returned on request. - # Corresponds to the JSON property `password` - # @return [String] - attr_accessor :password - - # Required. The URL of the subnetwork resource to create the VM instance hosting - # the reverse proxy in. More context in https://cloud.google.com/datastream/docs/ - # private-connectivity#reverse-csql-proxy The subnetwork should reside in the - # network provided in the request that Datastream will peer to and should be in - # the same region as Datastream, in the following format. projects/`project_id`/ - # regions/`region_id`/subnetworks/`subnetwork_id` - # Corresponds to the JSON property `reverseProxySubnet` + # The name of the catalog (format: projects/*/catalogs/*). + # Corresponds to the JSON property `catalog` # @return [String] - attr_accessor :reverse_proxy_subnet + attr_accessor :catalog - # Optional. The root path inside the Cloud Storage bucket. The stream event data - # will be written to this path. The default value is /migration. - # Corresponds to the JSON property `rootPath` + # The type of catalog. + # Corresponds to the JSON property `catalogType` # @return [String] - attr_accessor :root_path + attr_accessor :catalog_type - # Required. A /29 CIDR IP range for peering with datastream. - # Corresponds to the JSON property `subnetIpRange` - # @return [String] - attr_accessor :subnet_ip_range - - # Required. The username that the Datastream service should use for the MySQL - # connection. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - # Required. Fully qualified name of the Cloud SQL instance's VPC network or the - # shared VPC network that Datastream will peer to, in the following format: - # projects/`project_id`/locations/global/networks/`network_id`. More context in - # https://cloud.google.com/datastream/docs/network-connectivity-options# - # privateconnectivity - # Corresponds to the JSON property `vpcNetwork` - # @return [String] - attr_accessor :vpc_network + # A map of database names to their respective reports. + # Corresponds to the JSON property `databaseReports` + # @return [Hash] + attr_accessor :database_reports def initialize(**args) update!(**args) @@ -513,108 +571,30 @@ def initialize(**args) # Update properties of this object def update!(**args) - @bucket = args[:bucket] if args.key?(:bucket) - @password = args[:password] if args.key?(:password) - @reverse_proxy_subnet = args[:reverse_proxy_subnet] if args.key?(:reverse_proxy_subnet) - @root_path = args[:root_path] if args.key?(:root_path) - @subnet_ip_range = args[:subnet_ip_range] if args.key?(:subnet_ip_range) - @username = args[:username] if args.key?(:username) - @vpc_network = args[:vpc_network] if args.key?(:vpc_network) + @catalog = args[:catalog] if args.key?(:catalog) + @catalog_type = args[:catalog_type] if args.key?(:catalog_type) + @database_reports = args[:database_reports] if args.key?(:database_reports) end end - # Configuration information to establish customer database connection before the - # cutover phase of migration - class CloudSqlConnectionConfig + # Summary of results for a specific destination catalog. + class CatalogSummary include Google::Apis::Core::Hashable - # Required. The hive database name. - # Corresponds to the JSON property `hiveDatabaseName` - # @return [String] - attr_accessor :hive_database_name - - # Required. Cloud SQL database connection name (project_id:region:instance_name) - # Corresponds to the JSON property `instanceConnectionName` - # @return [String] - attr_accessor :instance_connection_name - - # Required. The private IP address of the Cloud SQL instance. - # Corresponds to the JSON property `ipAddress` + # Output only. The catalog resource name (format: projects/*/catalogs/*). + # Corresponds to the JSON property `catalog` # @return [String] - attr_accessor :ip_address + attr_accessor :catalog - # Required. The relative resource name of the subnetwork to be used for Private - # Service Connect. Note that this cannot be a regular subnet and is used only - # for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc- - # subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet - # size must be at least /29 and it should reside in a network through which the - # Cloud SQL instance is accessible. The resource name should be in the format, - # projects/`project_id`/regions/`region_id`/subnetworks/`subnetwork_id` - # Corresponds to the JSON property `natSubnet` + # Output only. The type of the catalog. + # Corresponds to the JSON property `catalogType` # @return [String] - attr_accessor :nat_subnet - - # Required. Input only. The password for the user that Dataproc Metastore - # service will be using to connect to the database. This field is not returned - # on request. - # Corresponds to the JSON property `password` - # @return [String] - attr_accessor :password - - # Required. The network port of the database. - # Corresponds to the JSON property `port` - # @return [Fixnum] - attr_accessor :port - - # Required. The relative resource name of the subnetwork to deploy the SOCKS5 - # proxy service in. The subnetwork should reside in a network through which the - # Cloud SQL instance is accessible. The resource name should be in the format, - # projects/`project_id`/regions/`region_id`/subnetworks/`subnetwork_id` - # Corresponds to the JSON property `proxySubnet` - # @return [String] - attr_accessor :proxy_subnet - - # Required. The username that Dataproc Metastore service will use to connect to - # the database. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hive_database_name = args[:hive_database_name] if args.key?(:hive_database_name) - @instance_connection_name = args[:instance_connection_name] if args.key?(:instance_connection_name) - @ip_address = args[:ip_address] if args.key?(:ip_address) - @nat_subnet = args[:nat_subnet] if args.key?(:nat_subnet) - @password = args[:password] if args.key?(:password) - @port = args[:port] if args.key?(:port) - @proxy_subnet = args[:proxy_subnet] if args.key?(:proxy_subnet) - @username = args[:username] if args.key?(:username) - end - end - - # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use - # BigLake Metastore migration instead. Configuration information for migrating - # from self-managed hive metastore on Google Cloud using Cloud SQL as the - # backend database to Dataproc Metastore. - class CloudSqlMigrationConfig - include Google::Apis::Core::Hashable - - # Configuration information to start the Change Data Capture (CDC) streams from - # customer database to backend database of Dataproc Metastore. - # Corresponds to the JSON property `cdcConfig` - # @return [Google::Apis::MetastoreV1::CdcConfig] - attr_accessor :cdc_config + attr_accessor :catalog_type - # Configuration information to establish customer database connection before the - # cutover phase of migration - # Corresponds to the JSON property `cloudSqlConnectionConfig` - # @return [Google::Apis::MetastoreV1::CloudSqlConnectionConfig] - attr_accessor :cloud_sql_connection_config + # Output only. Summary of results for each database in the catalog. + # Corresponds to the JSON property `databaseSummaries` + # @return [Array] + attr_accessor :database_summaries def initialize(**args) update!(**args) @@ -622,8 +602,9 @@ def initialize(**args) # Update properties of this object def update!(**args) - @cdc_config = args[:cdc_config] if args.key?(:cdc_config) - @cloud_sql_connection_config = args[:cloud_sql_connection_config] if args.key?(:cloud_sql_connection_config) + @catalog = args[:catalog] if args.key?(:catalog) + @catalog_type = args[:catalog_type] if args.key?(:catalog_type) + @database_summaries = args[:database_summaries] if args.key?(:database_summaries) end end @@ -772,6 +753,82 @@ def update!(**args) end end + # Aggregated report at the database level. + class DatabaseReport + include Google::Apis::Core::Hashable + + # The name of the database. + # Corresponds to the JSON property `database` + # @return [String] + attr_accessor :database + + # Represents the migration plan for a specific resource (e.g. Database, Table). + # Corresponds to the JSON property `executionPlan` + # @return [Google::Apis::MetastoreV1::ExecutionPlan] + attr_accessor :execution_plan + + # Represents the actual migration result for a specific resource (e.g. Database, + # Table). + # Corresponds to the JSON property `executionResult` + # @return [Google::Apis::MetastoreV1::ExecutionResult] + attr_accessor :execution_result + + # A map of table names to their respective reports. + # Corresponds to the JSON property `tableReports` + # @return [Hash] + attr_accessor :table_reports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database = args[:database] if args.key?(:database) + @execution_plan = args[:execution_plan] if args.key?(:execution_plan) + @execution_result = args[:execution_result] if args.key?(:execution_result) + @table_reports = args[:table_reports] if args.key?(:table_reports) + end + end + + # Summary of results for a specific database in a catalog. + class DatabaseSummary + include Google::Apis::Core::Hashable + + # Output only. The name of the database. + # Corresponds to the JSON property `database` + # @return [String] + attr_accessor :database + + # Output only. The migration plan action for the database. + # Corresponds to the JSON property `planAction` + # @return [String] + attr_accessor :plan_action + + # Output only. The migration result status for the database. This is only set if + # the migration is not a dry run. + # Corresponds to the JSON property `resultStatus` + # @return [String] + attr_accessor :result_status + + # Aggregated summary of results for all tables in a database. + # Corresponds to the JSON property `tableSummary` + # @return [Google::Apis::MetastoreV1::TableSummary] + attr_accessor :table_summary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database = args[:database] if args.key?(:database) + @plan_action = args[:plan_action] if args.key?(:plan_action) + @result_status = args[:result_status] if args.key?(:result_status) + @table_summary = args[:table_summary] if args.key?(:table_summary) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. @@ -829,6 +886,69 @@ def update!(**args) end end + # Represents the migration plan for a specific resource (e.g. Database, Table). + class ExecutionPlan + include Google::Apis::Core::Hashable + + # The action that will be taken for a resource during migration. + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # A map of field names to their respective value diff. + # Corresponds to the JSON property `diffs` + # @return [Hash] + attr_accessor :diffs + + # A human-readable string explaining why the action was chosen. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @diffs = args[:diffs] if args.key?(:diffs) + @reason = args[:reason] if args.key?(:reason) + end + end + + # Represents the actual migration result for a specific resource (e.g. Database, + # Table). + class ExecutionResult + include Google::Apis::Core::Hashable + + # Description of the error if the state is FAILED. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # Remediation steps for the error if the state is FAILED. + # Corresponds to the JSON property `remediation` + # @return [String] + attr_accessor :remediation + + # Output only. The state of the migration for a resource. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_message = args[:error_message] if args.key?(:error_message) + @remediation = args[:remediation] if args.key?(:remediation) + @state = args[:state] if args.key?(:state) + end + end + # Request message for DataprocMetastore.ExportMetadata. class ExportMetadataRequest include Google::Apis::Core::Hashable @@ -1012,6 +1132,34 @@ def update!(**args) end end + # Configuration for migrating Hive metadata. + class HiveConfig + include Google::Apis::Core::Hashable + + # Required. The target catalog for migrated databases and tables. Format: " + # projects/`project_id_or_number`/catalogs/`catalog_id`" + # Corresponds to the JSON property `catalog` + # @return [String] + attr_accessor :catalog + + # Required. The list of databases to migrate to the Hive catalog. Use "*" to + # migrate all databases. Note: If Iceberg tables exist in these databases, they + # will only be migrated if iceberg_config is also specified. + # Corresponds to the JSON property `databases` + # @return [Array] + attr_accessor :databases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @catalog = args[:catalog] if args.key?(:catalog) + @databases = args[:databases] if args.key?(:databases) + end + end + # Specifies configuration information specific to running Hive metastore # software as the metastore service. class HiveMetastoreConfig @@ -1095,6 +1243,34 @@ def update!(**args) end end + # Configuration for migrating Iceberg metadata. + class IcebergConfig + include Google::Apis::Core::Hashable + + # Required. The target catalog for migrated Iceberg metadata. Format: "projects/` + # project_id_or_number`/catalogs/`catalog_id`" + # Corresponds to the JSON property `catalog` + # @return [String] + attr_accessor :catalog + + # Required. The list of namespaces to migrate to the Iceberg REST catalog. Use "* + # " to migrate all namespaces. Note: If Hive tables exist in these namespaces, + # they will only be migrated if hive_config is also specified. + # Corresponds to the JSON property `namespaces` + # @return [Array] + attr_accessor :namespaces + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @catalog = args[:catalog] if args.key?(:catalog) + @namespaces = args[:namespaces] if args.key?(:namespaces) + end + end + # Configuration information for a Kerberos principal. class KerberosConfig include Google::Apis::Core::Hashable @@ -1693,13 +1869,11 @@ def update!(**args) class MigrationExecution include Google::Apis::Core::Hashable - # Deprecated: Migrations to Dataproc Metastore are no longer supported. Use - # BigLake Metastore migration instead. Configuration information for migrating - # from self-managed hive metastore on Google Cloud using Cloud SQL as the - # backend database to Dataproc Metastore. - # Corresponds to the JSON property `cloudSqlMigrationConfig` - # @return [Google::Apis::MetastoreV1::CloudSqlMigrationConfig] - attr_accessor :cloud_sql_migration_config + # Defines the configuration required to migrate metadata from a Dataproc + # Metastore service to BigLake Metastore. + # Corresponds to the JSON property `biglakeMetastoreMigrationConfig` + # @return [Google::Apis::MetastoreV1::BigLakeMetastoreMigrationConfig] + attr_accessor :biglake_metastore_migration_config # Output only. The time when the migration execution was started. # Corresponds to the JSON property `createTime` @@ -1742,7 +1916,7 @@ def initialize(**args) # Update properties of this object def update!(**args) - @cloud_sql_migration_config = args[:cloud_sql_migration_config] if args.key?(:cloud_sql_migration_config) + @biglake_metastore_migration_config = args[:biglake_metastore_migration_config] if args.key?(:biglake_metastore_migration_config) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @@ -1752,6 +1926,72 @@ def update!(**args) end end + # Report containing the results of a migration run. This report is generated at + # the specified path in the BigLakeMetastoreMigrationConfig after the backfill + # is complete, or when a dry run is executed. + class MigrationReport + include Google::Apis::Core::Hashable + + # Output only. Detailed results for each catalog involved in the migration. + # Corresponds to the JSON property `catalogReports` + # @return [Array] + attr_accessor :catalog_reports + + # Summary of the migration results. + # Corresponds to the JSON property `summary` + # @return [Google::Apis::MetastoreV1::MigrationSummary] + attr_accessor :summary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @catalog_reports = args[:catalog_reports] if args.key?(:catalog_reports) + @summary = args[:summary] if args.key?(:summary) + end + end + + # Summary of the migration results. + class MigrationSummary + include Google::Apis::Core::Hashable + + # Output only. Summary of results for each catalog involved in the migration. + # Corresponds to the JSON property `catalogSummaries` + # @return [Array] + attr_accessor :catalog_summaries + + # Output only. The UTC time when this report was finalized. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. Whether the migration was a dry run. + # Corresponds to the JSON property `dryRun` + # @return [Boolean] + attr_accessor :dry_run + alias_method :dry_run?, :dry_run + + # Output only. The Dataproc Metastore service name (format: projects/*/locations/ + # */services/*) on which the migration was executed. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @catalog_summaries = args[:catalog_summaries] if args.key?(:catalog_summaries) + @create_time = args[:create_time] if args.key?(:create_time) + @dry_run = args[:dry_run] if args.key?(:dry_run) + @service = args[:service] if args.key?(:service) + end + end + # Request message for DataprocMetastore.MoveTableToDatabase. class MoveTableToDatabaseRequest include Google::Apis::Core::Hashable @@ -1971,6 +2211,37 @@ def update!(**args) end end + # Partition migration report for a Hive table. + class PartitionReport + include Google::Apis::Core::Hashable + + # The number of partitions that failed to migrate at the target. + # Corresponds to the JSON property `partitionFailedCount` + # @return [Fixnum] + attr_accessor :partition_failed_count + + # The number of partitions successfully migrated at the target. + # Corresponds to the JSON property `partitionSuccessCount` + # @return [Fixnum] + attr_accessor :partition_success_count + + # Output only. The state of the partition migration. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @partition_failed_count = args[:partition_failed_count] if args.key?(:partition_failed_count) + @partition_success_count = args[:partition_success_count] if args.key?(:partition_success_count) + @state = args[:state] if args.key?(:state) + end + end + # An Identity and Access Management (IAM) policy, which specifies access # controls for Google Cloud resources.A Policy is a collection of bindings. A # binding binds one or more members, or principals, to a single role. Principals @@ -2565,6 +2836,15 @@ class StartMigrationRequest # @return [Google::Apis::MetastoreV1::MigrationExecution] attr_accessor :migration_execution + # Optional. The ID to use for the migration execution, which will become the + # final component of the migration execution's resource name. If not specified, + # a UUID will be generated.This value must be between 2 and 63 characters long + # inclusive, begin with a letter, end with a letter or number, and valid + # characters are a-z0-9-. + # Corresponds to the JSON property `migrationExecutionId` + # @return [String] + attr_accessor :migration_execution_id + # Optional. A request ID. Specify a unique request ID to allow the server to # ignore the request if it has completed. The server will ignore subsequent # requests that provide a duplicate request ID for at least 60 minutes after the @@ -2584,6 +2864,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @migration_execution = args[:migration_execution] if args.key?(:migration_execution) + @migration_execution_id = args[:migration_execution_id] if args.key?(:migration_execution_id) @request_id = args[:request_id] if args.key?(:request_id) end end @@ -2685,6 +2966,100 @@ def update!(**args) end end + # Aggregated report at the table level. + class TableReport + include Google::Apis::Core::Hashable + + # Represents the migration plan for a specific resource (e.g. Database, Table). + # Corresponds to the JSON property `executionPlan` + # @return [Google::Apis::MetastoreV1::ExecutionPlan] + attr_accessor :execution_plan + + # Represents the actual migration result for a specific resource (e.g. Database, + # Table). + # Corresponds to the JSON property `executionResult` + # @return [Google::Apis::MetastoreV1::ExecutionResult] + attr_accessor :execution_result + + # The total number of partitions identified at the source during discovery. This + # is only relevant for Hive Partitioned tables. + # Corresponds to the JSON property `partitionDiscoveredCount` + # @return [Fixnum] + attr_accessor :partition_discovered_count + + # Partition migration report for a Hive table. + # Corresponds to the JSON property `partitionReport` + # @return [Google::Apis::MetastoreV1::PartitionReport] + attr_accessor :partition_report + + # The name of the table. + # Corresponds to the JSON property `table` + # @return [String] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @execution_plan = args[:execution_plan] if args.key?(:execution_plan) + @execution_result = args[:execution_result] if args.key?(:execution_result) + @partition_discovered_count = args[:partition_discovered_count] if args.key?(:partition_discovered_count) + @partition_report = args[:partition_report] if args.key?(:partition_report) + @table = args[:table] if args.key?(:table) + end + end + + # Aggregated summary of results for all tables in a database. + class TableSummary + include Google::Apis::Core::Hashable + + # Output only. Partition migration summary across all Hive tables in the + # database.The total number of partitions discovered at the source. + # Corresponds to the JSON property `partitionDiscoveredCount` + # @return [Fixnum] + attr_accessor :partition_discovered_count + + # Output only. The total number of partitions that failed to migrate at the + # target. + # Corresponds to the JSON property `partitionFailedCount` + # @return [Fixnum] + attr_accessor :partition_failed_count + + # Output only. The total number of partitions successfully migrated at the + # target. + # Corresponds to the JSON property `partitionSuccessCount` + # @return [Fixnum] + attr_accessor :partition_success_count + + # Output only. Number of tables with a specific migration plan action. The key + # is the action name (e.g. CREATE, UPDATE, SKIP, etc.). + # Corresponds to the JSON property `planCounts` + # @return [Hash] + attr_accessor :plan_counts + + # Output only. Number of tables with a specific migration result status. The key + # is the status name (e.g. SUCCEEDED, FAILED, SKIPPED, etc.). This is only set + # if the migration is not a dry run. + # Corresponds to the JSON property `resultCounts` + # @return [Hash] + attr_accessor :result_counts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @partition_discovered_count = args[:partition_discovered_count] if args.key?(:partition_discovered_count) + @partition_failed_count = args[:partition_failed_count] if args.key?(:partition_failed_count) + @partition_success_count = args[:partition_success_count] if args.key?(:partition_success_count) + @plan_counts = args[:plan_counts] if args.key?(:plan_counts) + @result_counts = args[:result_counts] if args.key?(:result_counts) + end + end + # Telemetry Configuration for the Dataproc Metastore service. class TelemetryConfig include Google::Apis::Core::Hashable @@ -2743,6 +3118,31 @@ def update!(**args) @permissions = args[:permissions] if args.key?(:permissions) end end + + # A field-level metadata mismatch for a resource between the source and target. + class ValueDiff + include Google::Apis::Core::Hashable + + # The value of the field at the source. + # Corresponds to the JSON property `sourceValue` + # @return [String] + attr_accessor :source_value + + # The value of the field at the target. + # Corresponds to the JSON property `targetValue` + # @return [String] + attr_accessor :target_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source_value = args[:source_value] if args.key?(:source_value) + @target_value = args[:target_value] if args.key?(:target_value) + end + end end end end diff --git a/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/gem_version.rb b/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/gem_version.rb index 79829690ec3..ece80a334e5 100644 --- a/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/gem_version.rb +++ b/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module MetastoreV1 # Version of the google-apis-metastore_v1 gem - GEM_VERSION = "0.47.0" + GEM_VERSION = "0.48.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260427" + REVISION = "20260825" end end end diff --git a/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/representations.rb b/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/representations.rb index 5f43afb3f00..13ec96a1d66 100644 --- a/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/representations.rb +++ b/generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/representations.rb @@ -70,43 +70,49 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackfillStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Backup class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Binding + class BigLakeMetastoreMigrationConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CancelMigrationRequest + class Binding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CancelOperationRequest + class CancelMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CdcConfig + class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CloudSqlConnectionConfig + class CatalogReport class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CloudSqlMigrationConfig + class CatalogSummary class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -142,6 +148,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DatabaseReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DatabaseSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -160,6 +178,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ExecutionPlan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExecutionResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ExportMetadataRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,6 +208,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class HiveConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HiveMetastoreConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,6 +226,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class IcebergConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class KerberosConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -304,6 +346,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class MigrationReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MigrationSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MoveTableToDatabaseRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -340,6 +394,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class PartitionReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Policy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -418,6 +478,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TableReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TelemetryConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -436,6 +508,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ValueDiff + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AlterMetadataResourceLocationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -504,6 +582,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class BackfillStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :migration_summary, as: 'migrationSummary', class: Google::Apis::MetastoreV1::MigrationSummary, decorator: Google::Apis::MetastoreV1::MigrationSummary::Representation + + property :report_path, as: 'reportPath' + property :state, as: 'state' + end + end + class Backup # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -518,6 +606,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class BigLakeMetastoreMigrationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :backfill_status, as: 'backfillStatus', class: Google::Apis::MetastoreV1::BackfillStatus, decorator: Google::Apis::MetastoreV1::BackfillStatus::Representation + + property :conflict_policy, as: 'conflictPolicy' + property :dry_run, as: 'dryRun' + property :hive_config, as: 'hiveConfig', class: Google::Apis::MetastoreV1::HiveConfig, decorator: Google::Apis::MetastoreV1::HiveConfig::Representation + + property :iceberg_config, as: 'icebergConfig', class: Google::Apis::MetastoreV1::IcebergConfig, decorator: Google::Apis::MetastoreV1::IcebergConfig::Representation + + property :mode, as: 'mode' + property :report_path, as: 'reportPath' + end + end + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -540,39 +644,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class CdcConfig + class CatalogReport # @private class Representation < Google::Apis::Core::JsonRepresentation - property :bucket, as: 'bucket' - property :password, as: 'password' - property :reverse_proxy_subnet, as: 'reverseProxySubnet' - property :root_path, as: 'rootPath' - property :subnet_ip_range, as: 'subnetIpRange' - property :username, as: 'username' - property :vpc_network, as: 'vpcNetwork' - end - end + property :catalog, as: 'catalog' + property :catalog_type, as: 'catalogType' + hash :database_reports, as: 'databaseReports', class: Google::Apis::MetastoreV1::DatabaseReport, decorator: Google::Apis::MetastoreV1::DatabaseReport::Representation - class CloudSqlConnectionConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :hive_database_name, as: 'hiveDatabaseName' - property :instance_connection_name, as: 'instanceConnectionName' - property :ip_address, as: 'ipAddress' - property :nat_subnet, as: 'natSubnet' - property :password, as: 'password' - property :port, as: 'port' - property :proxy_subnet, as: 'proxySubnet' - property :username, as: 'username' end end - class CloudSqlMigrationConfig + class CatalogSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :cdc_config, as: 'cdcConfig', class: Google::Apis::MetastoreV1::CdcConfig, decorator: Google::Apis::MetastoreV1::CdcConfig::Representation - - property :cloud_sql_connection_config, as: 'cloudSqlConnectionConfig', class: Google::Apis::MetastoreV1::CloudSqlConnectionConfig, decorator: Google::Apis::MetastoreV1::CloudSqlConnectionConfig::Representation + property :catalog, as: 'catalog' + property :catalog_type, as: 'catalogType' + collection :database_summaries, as: 'databaseSummaries', class: Google::Apis::MetastoreV1::DatabaseSummary, decorator: Google::Apis::MetastoreV1::DatabaseSummary::Representation end end @@ -618,6 +705,30 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class DatabaseReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database, as: 'database' + property :execution_plan, as: 'executionPlan', class: Google::Apis::MetastoreV1::ExecutionPlan, decorator: Google::Apis::MetastoreV1::ExecutionPlan::Representation + + property :execution_result, as: 'executionResult', class: Google::Apis::MetastoreV1::ExecutionResult, decorator: Google::Apis::MetastoreV1::ExecutionResult::Representation + + hash :table_reports, as: 'tableReports', class: Google::Apis::MetastoreV1::TableReport, decorator: Google::Apis::MetastoreV1::TableReport::Representation + + end + end + + class DatabaseSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database, as: 'database' + property :plan_action, as: 'planAction' + property :result_status, as: 'resultStatus' + property :table_summary, as: 'tableSummary', class: Google::Apis::MetastoreV1::TableSummary, decorator: Google::Apis::MetastoreV1::TableSummary::Representation + + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -638,6 +749,25 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ExecutionPlan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + hash :diffs, as: 'diffs', class: Google::Apis::MetastoreV1::ValueDiff, decorator: Google::Apis::MetastoreV1::ValueDiff::Representation + + property :reason, as: 'reason' + end + end + + class ExecutionResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_message, as: 'errorMessage' + property :remediation, as: 'remediation' + property :state, as: 'state' + end + end + class ExportMetadataRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -675,6 +805,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class HiveConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :catalog, as: 'catalog' + collection :databases, as: 'databases' + end + end + class HiveMetastoreConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -696,6 +834,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class IcebergConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :catalog, as: 'catalog' + collection :namespaces, as: 'namespaces' + end + end + class KerberosConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -876,7 +1022,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class MigrationExecution # @private class Representation < Google::Apis::Core::JsonRepresentation - property :cloud_sql_migration_config, as: 'cloudSqlMigrationConfig', class: Google::Apis::MetastoreV1::CloudSqlMigrationConfig, decorator: Google::Apis::MetastoreV1::CloudSqlMigrationConfig::Representation + property :biglake_metastore_migration_config, as: 'biglakeMetastoreMigrationConfig', class: Google::Apis::MetastoreV1::BigLakeMetastoreMigrationConfig, decorator: Google::Apis::MetastoreV1::BigLakeMetastoreMigrationConfig::Representation property :create_time, as: 'createTime' property :end_time, as: 'endTime' @@ -887,6 +1033,27 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class MigrationReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :catalog_reports, as: 'catalogReports', class: Google::Apis::MetastoreV1::CatalogReport, decorator: Google::Apis::MetastoreV1::CatalogReport::Representation + + property :summary, as: 'summary', class: Google::Apis::MetastoreV1::MigrationSummary, decorator: Google::Apis::MetastoreV1::MigrationSummary::Representation + + end + end + + class MigrationSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :catalog_summaries, as: 'catalogSummaries', class: Google::Apis::MetastoreV1::CatalogSummary, decorator: Google::Apis::MetastoreV1::CatalogSummary::Representation + + property :create_time, as: 'createTime' + property :dry_run, as: 'dryRun' + property :service, as: 'service' + end + end + class MoveTableToDatabaseRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -944,6 +1111,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class PartitionReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_failed_count, :numeric_string => true, as: 'partitionFailedCount' + property :partition_success_count, :numeric_string => true, as: 'partitionSuccessCount' + property :state, as: 'state' + end + end + class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1077,6 +1253,7 @@ class StartMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation property :migration_execution, as: 'migrationExecution', class: Google::Apis::MetastoreV1::MigrationExecution, decorator: Google::Apis::MetastoreV1::MigrationExecution::Representation + property :migration_execution_id, as: 'migrationExecutionId' property :request_id, as: 'requestId' end end @@ -1102,6 +1279,31 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class TableReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :execution_plan, as: 'executionPlan', class: Google::Apis::MetastoreV1::ExecutionPlan, decorator: Google::Apis::MetastoreV1::ExecutionPlan::Representation + + property :execution_result, as: 'executionResult', class: Google::Apis::MetastoreV1::ExecutionResult, decorator: Google::Apis::MetastoreV1::ExecutionResult::Representation + + property :partition_discovered_count, :numeric_string => true, as: 'partitionDiscoveredCount' + property :partition_report, as: 'partitionReport', class: Google::Apis::MetastoreV1::PartitionReport, decorator: Google::Apis::MetastoreV1::PartitionReport::Representation + + property :table, as: 'table' + end + end + + class TableSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_discovered_count, :numeric_string => true, as: 'partitionDiscoveredCount' + property :partition_failed_count, :numeric_string => true, as: 'partitionFailedCount' + property :partition_success_count, :numeric_string => true, as: 'partitionSuccessCount' + hash :plan_counts, as: 'planCounts' + hash :result_counts, as: 'resultCounts' + end + end + class TelemetryConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1122,6 +1324,14 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :permissions, as: 'permissions' end end + + class ValueDiff + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_value, as: 'sourceValue' + property :target_value, as: 'targetValue' + end + end end end end