Skip to content

Commit 912c4c8

Browse files
feat: Automated regeneration of Metastore client (googleapis#12872)
Auto-created at 2025-01-26 13:10:37 +0000 using the toys pull request generator.
1 parent c3960a2 commit 912c4c8

30 files changed

+64
-64
lines changed

clients/metastore/lib/google_api/metastore/v1/api/projects.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ defmodule GoogleApi.Metastore.V1.Api.Projects do
18351835
## Parameters
18361836
18371837
* `connection` (*type:* `GoogleApi.Metastore.V1.Connection.t`) - Connection to server
1838-
* `name` (*type:* `String.t`) - Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.
1838+
* `name` (*type:* `String.t`) - Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.
18391839
* `optional_params` (*type:* `keyword()`) - Optional parameters
18401840
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
18411841
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -3227,7 +3227,7 @@ defmodule GoogleApi.Metastore.V1.Api.Projects do
32273227
## Parameters
32283228
32293229
* `connection` (*type:* `GoogleApi.Metastore.V1.Connection.t`) - Connection to server
3230-
* `name` (*type:* `String.t`) - Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
3230+
* `name` (*type:* `String.t`) - Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
32313231
* `optional_params` (*type:* `keyword()`) - Optional parameters
32323232
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
32333233
* `:access_token` (*type:* `String.t`) - OAuth access token.

clients/metastore/lib/google_api/metastore/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Metastore.V1 do
2020
API client metadata for GoogleApi.Metastore.V1.
2121
"""
2222

23-
@discovery_revision "20241203"
23+
@discovery_revision "20250121"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/metastore/lib/google_api/metastore/v1/model/auxiliary_version_config.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ defmodule GoogleApi.Metastore.V1.Model.AuxiliaryVersionConfig do
2121
2222
## Attributes
2323
24-
* `configOverrides` (*type:* `map()`, *default:* `nil`) - A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
24+
* `configOverrides` (*type:* `map()`, *default:* `nil`) - Optional. A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
2525
* `networkConfig` (*type:* `GoogleApi.Metastore.V1.Model.NetworkConfig.t`, *default:* `nil`) - Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
26-
* `version` (*type:* `String.t`, *default:* `nil`) - The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
26+
* `version` (*type:* `String.t`, *default:* `nil`) - Optional. The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/metastore/lib/google_api/metastore/v1/model/backup.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ defmodule GoogleApi.Metastore.V1.Model.Backup do
2222
## Attributes
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the backup was started.
25-
* `description` (*type:* `String.t`, *default:* `nil`) - The description of the backup.
25+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. The description of the backup.
2626
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the backup finished creating.
27-
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
27+
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. Identifier. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
2828
* `restoringServices` (*type:* `list(String.t)`, *default:* `nil`) - Output only. Services that are restoring from the backup.
2929
* `serviceRevision` (*type:* `GoogleApi.Metastore.V1.Model.Service.t`, *default:* `nil`) - Output only. The revision of the service at the time of backup.
3030
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of the backup.

clients/metastore/lib/google_api/metastore/v1/model/database_dump.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ defmodule GoogleApi.Metastore.V1.Model.DatabaseDump do
2222
## Attributes
2323
2424
* `databaseType` (*type:* `String.t`, *default:* `nil`) - The type of the database.
25-
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
26-
* `sourceDatabase` (*type:* `String.t`, *default:* `nil`) - The name of the source database.
25+
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - Optional. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.
26+
* `sourceDatabase` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the source database.
2727
* `type` (*type:* `String.t`, *default:* `nil`) - Optional. The type of the database dump. If unspecified, defaults to MYSQL.
2828
"""
2929

clients/metastore/lib/google_api/metastore/v1/model/encryption_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Metastore.V1.Model.EncryptionConfig do
2121
2222
## Attributes
2323
24-
* `kmsKey` (*type:* `String.t`, *default:* `nil`) - The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.
24+
* `kmsKey` (*type:* `String.t`, *default:* `nil`) - Optional. The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/metastore/lib/google_api/metastore/v1/model/hive_metastore_config.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ defmodule GoogleApi.Metastore.V1.Model.HiveMetastoreConfig do
2121
2222
## Attributes
2323
24-
* `auxiliaryVersions` (*type:* `%{optional(String.t) => GoogleApi.Metastore.V1.Model.AuxiliaryVersionConfig.t}`, *default:* `nil`) - A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
25-
* `configOverrides` (*type:* `map()`, *default:* `nil`) - A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.
26-
* `endpointProtocol` (*type:* `String.t`, *default:* `nil`) - The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.
27-
* `kerberosConfig` (*type:* `GoogleApi.Metastore.V1.Model.KerberosConfig.t`, *default:* `nil`) - Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service.
24+
* `auxiliaryVersions` (*type:* `%{optional(String.t) => GoogleApi.Metastore.V1.Model.AuxiliaryVersionConfig.t}`, *default:* `nil`) - Optional. A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
25+
* `configOverrides` (*type:* `map()`, *default:* `nil`) - Optional. A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.
26+
* `endpointProtocol` (*type:* `String.t`, *default:* `nil`) - Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.
27+
* `kerberosConfig` (*type:* `GoogleApi.Metastore.V1.Model.KerberosConfig.t`, *default:* `nil`) - Optional. Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service.
2828
* `version` (*type:* `String.t`, *default:* `nil`) - Immutable. The Hive metastore schema version.
2929
"""
3030

clients/metastore/lib/google_api/metastore/v1/model/kerberos_config.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ defmodule GoogleApi.Metastore.V1.Model.KerberosConfig do
2121
2222
## Attributes
2323
24-
* `keytab` (*type:* `GoogleApi.Metastore.V1.Model.Secret.t`, *default:* `nil`) - A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
25-
* `krb5ConfigGcsUri` (*type:* `String.t`, *default:* `nil`) - A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.
26-
* `principal` (*type:* `String.t`, *default:* `nil`) - A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form primary/instance@REALM, but there is no exact format.
24+
* `keytab` (*type:* `GoogleApi.Metastore.V1.Model.Secret.t`, *default:* `nil`) - Optional. A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
25+
* `krb5ConfigGcsUri` (*type:* `String.t`, *default:* `nil`) - Optional. A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.
26+
* `principal` (*type:* `String.t`, *default:* `nil`) - Optional. A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form primary/instance@REALM, but there is no exact format.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/metastore/lib/google_api/metastore/v1/model/maintenance_window.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ defmodule GoogleApi.Metastore.V1.Model.MaintenanceWindow do
2121
2222
## Attributes
2323
24-
* `dayOfWeek` (*type:* `String.t`, *default:* `nil`) - The day of week, when the window starts.
25-
* `hourOfDay` (*type:* `integer()`, *default:* `nil`) - The hour of day (0-23) when the window starts.
24+
* `dayOfWeek` (*type:* `String.t`, *default:* `nil`) - Optional. The day of week, when the window starts.
25+
* `hourOfDay` (*type:* `integer()`, *default:* `nil`) - Optional. The hour of day (0-23) when the window starts.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/metastore/lib/google_api/metastore/v1/model/metadata_import.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ defmodule GoogleApi.Metastore.V1.Model.MetadataImport do
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the metadata import was started.
2525
* `databaseDump` (*type:* `GoogleApi.Metastore.V1.Model.DatabaseDump.t`, *default:* `nil`) - Immutable. A database dump from a pre-existing metastore's database.
26-
* `description` (*type:* `String.t`, *default:* `nil`) - The description of the metadata import.
26+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. The description of the metadata import.
2727
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the metadata import finished.
28-
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
28+
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
2929
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of the metadata import.
3030
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the metadata import was last updated.
3131
"""

0 commit comments

Comments
 (0)