Skip to content

Commit f466196

Browse files
feat: Automated regeneration of metastore v1 client (googleapis#21885)
Auto-created at 2025-02-26 21:31:41 +0000 using the toys pull request generator.
1 parent d2e85f5 commit f466196

File tree

4 files changed

+65
-58
lines changed

4 files changed

+65
-58
lines changed

generated/google-apis-metastore_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-metastore_v1
22

3+
### v0.31.0 (2025-02-26)
4+
5+
* Regenerated from discovery document revision 20250121
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.30.0 (2024-12-08)
49

510
* Regenerated from discovery document revision 20241203

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

Lines changed: 51 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ def update!(**args)
209209
class AuxiliaryVersionConfig
210210
include Google::Apis::Core::Hashable
211211

212-
# A mapping of Hive metastore configuration key-value pairs to apply to the
213-
# auxiliary Hive metastore (configured in hive-site.xml) in addition to the
214-
# primary version's overrides. If keys are present in both the auxiliary version'
215-
# s overrides and the primary version's overrides, the value from the auxiliary
216-
# version's overrides takes precedence.
212+
# Optional. A mapping of Hive metastore configuration key-value pairs to apply
213+
# to the auxiliary Hive metastore (configured in hive-site.xml) in addition to
214+
# the primary version's overrides. If keys are present in both the auxiliary
215+
# version's overrides and the primary version's overrides, the value from the
216+
# auxiliary version's overrides takes precedence.
217217
# Corresponds to the JSON property `configOverrides`
218218
# @return [Hash<String,String>]
219219
attr_accessor :config_overrides
@@ -223,8 +223,8 @@ class AuxiliaryVersionConfig
223223
# @return [Google::Apis::MetastoreV1::NetworkConfig]
224224
attr_accessor :network_config
225225

226-
# The Hive metastore version of the auxiliary service. It must be less than the
227-
# primary Hive metastore service's version.
226+
# Optional. The Hive metastore version of the auxiliary service. It must be less
227+
# than the primary Hive metastore service's version.
228228
# Corresponds to the JSON property `version`
229229
# @return [String]
230230
attr_accessor :version
@@ -278,7 +278,7 @@ class Backup
278278
# @return [String]
279279
attr_accessor :create_time
280280

281-
# The description of the backup.
281+
# Optional. The description of the backup.
282282
# Corresponds to the JSON property `description`
283283
# @return [String]
284284
attr_accessor :description
@@ -288,9 +288,9 @@ class Backup
288288
# @return [String]
289289
attr_accessor :end_time
290290

291-
# Immutable. The relative resource name of the backup, in the following form:
292-
# projects/`project_number`/locations/`location_id`/services/`service_id`/
293-
# backups/`backup_id`
291+
# Immutable. Identifier. The relative resource name of the backup, in the
292+
# following form:projects/`project_number`/locations/`location_id`/services/`
293+
# service_id`/backups/`backup_id`
294294
# Corresponds to the JSON property `name`
295295
# @return [String]
296296
attr_accessor :name
@@ -740,13 +740,13 @@ class DatabaseDump
740740
# @return [String]
741741
attr_accessor :database_type
742742

743-
# A Cloud Storage object or folder URI that specifies the source from which to
744-
# import metadata. It must begin with gs://.
743+
# Optional. A Cloud Storage object or folder URI that specifies the source from
744+
# which to import metadata. It must begin with gs://.
745745
# Corresponds to the JSON property `gcsUri`
746746
# @return [String]
747747
attr_accessor :gcs_uri
748748

749-
# The name of the source database.
749+
# Optional. The name of the source database.
750750
# Corresponds to the JSON property `sourceDatabase`
751751
# @return [String]
752752
attr_accessor :source_database
@@ -789,9 +789,9 @@ def update!(**args)
789789
class EncryptionConfig
790790
include Google::Apis::Core::Hashable
791791

792-
# The fully qualified customer provided Cloud KMS key name to use for customer
793-
# data encryption, in the following format:projects/`project_number`/locations/`
794-
# location_id`/keyRings/`key_ring_id`/cryptoKeys/`crypto_key_id`.
792+
# Optional. The fully qualified customer provided Cloud KMS key name to use for
793+
# customer data encryption, in the following format:projects/`project_number`/
794+
# locations/`location_id`/keyRings/`key_ring_id`/cryptoKeys/`crypto_key_id`.
795795
# Corresponds to the JSON property `kmsKey`
796796
# @return [String]
797797
attr_accessor :kms_key
@@ -1006,28 +1006,29 @@ def update!(**args)
10061006
class HiveMetastoreConfig
10071007
include Google::Apis::Core::Hashable
10081008

1009-
# A mapping of Hive metastore version to the auxiliary version configuration.
1010-
# When specified, a secondary Hive metastore service is created along with the
1011-
# primary service. All auxiliary versions must be less than the service's
1012-
# primary version. The key is the auxiliary service name and it must match the
1013-
# regular expression a-z?. This means that the first character must be a
1014-
# lowercase letter, and all the following characters must be hyphens, lowercase
1015-
# letters, or digits, except the last character, which cannot be a hyphen.
1009+
# Optional. A mapping of Hive metastore version to the auxiliary version
1010+
# configuration. When specified, a secondary Hive metastore service is created
1011+
# along with the primary service. All auxiliary versions must be less than the
1012+
# service's primary version. The key is the auxiliary service name and it must
1013+
# match the regular expression a-z?. This means that the first character must be
1014+
# a lowercase letter, and all the following characters must be hyphens,
1015+
# lowercase letters, or digits, except the last character, which cannot be a
1016+
# hyphen.
10161017
# Corresponds to the JSON property `auxiliaryVersions`
10171018
# @return [Hash<String,Google::Apis::MetastoreV1::AuxiliaryVersionConfig>]
10181019
attr_accessor :auxiliary_versions
10191020

1020-
# A mapping of Hive metastore configuration key-value pairs to apply to the Hive
1021-
# metastore (configured in hive-site.xml). The mappings override system defaults
1022-
# (some keys cannot be overridden). These overrides are also applied to
1023-
# auxiliary versions and can be further customized in the auxiliary version's
1024-
# AuxiliaryVersionConfig.
1021+
# Optional. A mapping of Hive metastore configuration key-value pairs to apply
1022+
# to the Hive metastore (configured in hive-site.xml). The mappings override
1023+
# system defaults (some keys cannot be overridden). These overrides are also
1024+
# applied to auxiliary versions and can be further customized in the auxiliary
1025+
# version's AuxiliaryVersionConfig.
10251026
# Corresponds to the JSON property `configOverrides`
10261027
# @return [Hash<String,String>]
10271028
attr_accessor :config_overrides
10281029

1029-
# The protocol to use for the metastore service endpoint. If unspecified,
1030-
# defaults to THRIFT.
1030+
# Optional. The protocol to use for the metastore service endpoint. If
1031+
# unspecified, defaults to THRIFT.
10311032
# Corresponds to the JSON property `endpointProtocol`
10321033
# @return [String]
10331034
attr_accessor :endpoint_protocol
@@ -1092,14 +1093,14 @@ class KerberosConfig
10921093
# @return [Google::Apis::MetastoreV1::Secret]
10931094
attr_accessor :keytab
10941095

1095-
# A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the
1096-
# form gs://`bucket_name`/path/to/krb5.conf, although the file does not need to
1097-
# be named krb5.conf explicitly.
1096+
# Optional. A Cloud Storage URI that specifies the path to a krb5.conf file. It
1097+
# is of the form gs://`bucket_name`/path/to/krb5.conf, although the file does
1098+
# not need to be named krb5.conf explicitly.
10981099
# Corresponds to the JSON property `krb5ConfigGcsUri`
10991100
# @return [String]
11001101
attr_accessor :krb5_config_gcs_uri
11011102

1102-
# A Kerberos principal that exists in the both the keytab the KDC to
1103+
# Optional. A Kerberos principal that exists in the both the keytab the KDC to
11031104
# authenticate as. A typical principal is of the form primary/instance@REALM,
11041105
# but there is no exact format.
11051106
# Corresponds to the JSON property `principal`
@@ -1478,12 +1479,12 @@ def update!(**args)
14781479
class MaintenanceWindow
14791480
include Google::Apis::Core::Hashable
14801481

1481-
# The day of week, when the window starts.
1482+
# Optional. The day of week, when the window starts.
14821483
# Corresponds to the JSON property `dayOfWeek`
14831484
# @return [String]
14841485
attr_accessor :day_of_week
14851486

1486-
# The hour of day (0-23) when the window starts.
1487+
# Optional. The hour of day (0-23) when the window starts.
14871488
# Corresponds to the JSON property `hourOfDay`
14881489
# @return [Fixnum]
14891490
attr_accessor :hour_of_day
@@ -1558,7 +1559,7 @@ class MetadataImport
15581559
# @return [Google::Apis::MetastoreV1::DatabaseDump]
15591560
attr_accessor :database_dump
15601561

1561-
# The description of the metadata import.
1562+
# Optional. The description of the metadata import.
15621563
# Corresponds to the JSON property `description`
15631564
# @return [String]
15641565
attr_accessor :description
@@ -1568,9 +1569,9 @@ class MetadataImport
15681569
# @return [String]
15691570
attr_accessor :end_time
15701571

1571-
# Immutable. The relative resource name of the metadata import, of the form:
1572-
# projects/`project_number`/locations/`location_id`/services/`service_id`/
1573-
# metadataImports/`metadata_import_id`.
1572+
# Immutable. Identifier. The relative resource name of the metadata import, of
1573+
# the form:projects/`project_number`/locations/`location_id`/services/`
1574+
# service_id`/metadataImports/`metadata_import_id`.
15741575
# Corresponds to the JSON property `name`
15751576
# @return [String]
15761577
attr_accessor :name
@@ -2249,8 +2250,8 @@ def update!(**args)
22492250
class Secret
22502251
include Google::Apis::Core::Hashable
22512252

2252-
# The relative resource name of a Secret Manager secret version, in the
2253-
# following form:projects/`project_number`/secrets/`secret_id`/versions/`
2253+
# Optional. The relative resource name of a Secret Manager secret version, in
2254+
# the following form:projects/`project_number`/secrets/`secret_id`/versions/`
22542255
# version_id`.
22552256
# Corresponds to the JSON property `cloudSecret`
22562257
# @return [String]
@@ -2330,9 +2331,9 @@ class Service
23302331
# @return [Google::Apis::MetastoreV1::MetadataManagementActivity]
23312332
attr_accessor :metadata_management_activity
23322333

2333-
# Immutable. The relative resource name of the metastore service, in the
2334-
# following format:projects/`project_number`/locations/`location_id`/services/`
2335-
# service_id`.
2334+
# Immutable. Identifier. The relative resource name of the metastore service, in
2335+
# the following format:projects/`project_number`/locations/`location_id`/
2336+
# services/`service_id`.
23362337
# Corresponds to the JSON property `name`
23372338
# @return [String]
23382339
attr_accessor :name
@@ -2349,7 +2350,8 @@ class Service
23492350
# @return [Google::Apis::MetastoreV1::NetworkConfig]
23502351
attr_accessor :network_config
23512352

2352-
# The TCP port at which the metastore service is reached. Default: 9083.
2353+
# Optional. The TCP port at which the metastore service is reached. Default:
2354+
# 9083.
23532355
# Corresponds to the JSON property `port`
23542356
# @return [Fixnum]
23552357
attr_accessor :port
@@ -2386,7 +2388,7 @@ class Service
23862388
# @return [Google::Apis::MetastoreV1::TelemetryConfig]
23872389
attr_accessor :telemetry_config
23882390

2389-
# The tier of the service.
2391+
# Optional. The tier of the service.
23902392
# Corresponds to the JSON property `tier`
23912393
# @return [String]
23922394
attr_accessor :tier
@@ -2562,7 +2564,7 @@ def update!(**args)
25622564
class TelemetryConfig
25632565
include Google::Apis::Core::Hashable
25642566

2565-
# The output format of the Dataproc Metastore service's logs.
2567+
# Optional. The output format of the Dataproc Metastore service's logs.
25662568
# Corresponds to the JSON property `logFormat`
25672569
# @return [String]
25682570
attr_accessor :log_format

generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MetastoreV1
1818
# Version of the google-apis-metastore_v1 gem
19-
GEM_VERSION = "0.30.0"
19+
GEM_VERSION = "0.31.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241203"
25+
REVISION = "20250121"
2626
end
2727
end
2828
end

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,9 +1054,9 @@ def move_service_table_to_database(service, move_table_to_database_request_objec
10541054

10551055
# Updates the parameters of a single service.
10561056
# @param [String] name
1057-
# Immutable. The relative resource name of the metastore service, in the
1058-
# following format:projects/`project_number`/locations/`location_id`/services/`
1059-
# service_id`.
1057+
# Immutable. Identifier. The relative resource name of the metastore service, in
1058+
# the following format:projects/`project_number`/locations/`location_id`/
1059+
# services/`service_id`.
10601060
# @param [Google::Apis::MetastoreV1::Service] service_object
10611061
# @param [String] request_id
10621062
# Optional. A request ID. Specify a unique request ID to allow the server to
@@ -1844,9 +1844,9 @@ def list_project_location_service_metadata_imports(parent, filter: nil, order_by
18441844
# Updates a single import. Only the description field of MetadataImport is
18451845
# supported to be updated.
18461846
# @param [String] name
1847-
# Immutable. The relative resource name of the metadata import, of the form:
1848-
# projects/`project_number`/locations/`location_id`/services/`service_id`/
1849-
# metadataImports/`metadata_import_id`.
1847+
# Immutable. Identifier. The relative resource name of the metadata import, of
1848+
# the form:projects/`project_number`/locations/`location_id`/services/`
1849+
# service_id`/metadataImports/`metadata_import_id`.
18501850
# @param [Google::Apis::MetastoreV1::MetadataImport] metadata_import_object
18511851
# @param [String] request_id
18521852
# Optional. A request ID. Specify a unique request ID to allow the server to

0 commit comments

Comments
 (0)