Skip to content

Commit d82090e

Browse files
feat(metastore): update the api
#### metastore:v1 The following keys were added: - schemas.AuxiliaryVersionConfig (Total Keys: 7) - schemas.HiveMetastoreConfig.properties.auxiliaryVersions (Total Keys: 2) - schemas.ScalingConfig (Total Keys: 5) - schemas.Service.properties.scalingConfig.$ref (Total Keys: 1) #### metastore:v1alpha The following keys were added: - schemas.ScalingConfig (Total Keys: 5) - schemas.Service.properties.scalingConfig.$ref (Total Keys: 1) #### metastore:v1beta The following keys were added: - schemas.ScalingConfig (Total Keys: 5) - schemas.Service.properties.scalingConfig.$ref (Total Keys: 1)
1 parent 46f26e4 commit d82090e

9 files changed

+337
-3
lines changed

docs/dyn/metastore_v1.projects.locations.services.backups.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,22 @@ <h3>Method Details</h3>
130130
},
131131
&quot;endpointUri&quot;: &quot;A String&quot;, # Output only. The URI of the endpoint used to access the metastore service.
132132
&quot;hiveMetastoreConfig&quot;: { # Specifies configuration information specific to running Hive metastore software as the metastore service. # Configuration information specific to running Hive metastore software as the metastore service.
133+
&quot;auxiliaryVersions&quot;: { # 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&#x27;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.
134+
&quot;a_key&quot;: { # Configuration information for the auxiliary service versions.
135+
&quot;configOverrides&quot;: { # 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&#x27;s overrides. If keys are present in both the auxiliary version&#x27;s overrides and the primary version&#x27;s overrides, the value from the auxiliary version&#x27;s overrides takes precedence.
136+
&quot;a_key&quot;: &quot;A String&quot;,
137+
},
138+
&quot;networkConfig&quot;: { # Network configuration for the Dataproc Metastore service. # Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
139+
&quot;consumers&quot;: [ # Immutable. The consumer-side network configuration for the Dataproc Metastore instance.
140+
{ # Contains information of the customer&#x27;s network configurations.
141+
&quot;endpointUri&quot;: &quot;A String&quot;, # Output only. The URI of the endpoint used to access the metastore service.
142+
&quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service&#x27;s endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet&#x27;s primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
143+
},
144+
],
145+
},
146+
&quot;version&quot;: &quot;A String&quot;, # The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service&#x27;s version.
147+
},
148+
},
133149
&quot;configOverrides&quot;: { # 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&#x27;s AuxiliaryVersionConfig.
134150
&quot;a_key&quot;: &quot;A String&quot;,
135151
},
@@ -182,6 +198,10 @@ <h3>Method Details</h3>
182198
},
183199
&quot;port&quot;: 42, # The TCP port at which the metastore service is reached. Default: 9083.
184200
&quot;releaseChannel&quot;: &quot;A String&quot;, # Immutable. The release channel of the service. If unspecified, defaults to STABLE.
201+
&quot;scalingConfig&quot;: { # Represents the scaling configuration of a metastore service. # Scaling configuration of the metastore service.
202+
&quot;instanceSize&quot;: &quot;A String&quot;, # An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
203+
&quot;scalingFactor&quot;: 3.14, # Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
204+
},
185205
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the metastore service.
186206
&quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of the metastore service, if available.
187207
&quot;telemetryConfig&quot;: { # Telemetry Configuration for the Dataproc Metastore service. # The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
@@ -292,6 +312,22 @@ <h3>Method Details</h3>
292312
},
293313
&quot;endpointUri&quot;: &quot;A String&quot;, # Output only. The URI of the endpoint used to access the metastore service.
294314
&quot;hiveMetastoreConfig&quot;: { # Specifies configuration information specific to running Hive metastore software as the metastore service. # Configuration information specific to running Hive metastore software as the metastore service.
315+
&quot;auxiliaryVersions&quot;: { # 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&#x27;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.
316+
&quot;a_key&quot;: { # Configuration information for the auxiliary service versions.
317+
&quot;configOverrides&quot;: { # 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&#x27;s overrides. If keys are present in both the auxiliary version&#x27;s overrides and the primary version&#x27;s overrides, the value from the auxiliary version&#x27;s overrides takes precedence.
318+
&quot;a_key&quot;: &quot;A String&quot;,
319+
},
320+
&quot;networkConfig&quot;: { # Network configuration for the Dataproc Metastore service. # Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
321+
&quot;consumers&quot;: [ # Immutable. The consumer-side network configuration for the Dataproc Metastore instance.
322+
{ # Contains information of the customer&#x27;s network configurations.
323+
&quot;endpointUri&quot;: &quot;A String&quot;, # Output only. The URI of the endpoint used to access the metastore service.
324+
&quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service&#x27;s endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet&#x27;s primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
325+
},
326+
],
327+
},
328+
&quot;version&quot;: &quot;A String&quot;, # The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service&#x27;s version.
329+
},
330+
},
295331
&quot;configOverrides&quot;: { # 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&#x27;s AuxiliaryVersionConfig.
296332
&quot;a_key&quot;: &quot;A String&quot;,
297333
},
@@ -344,6 +380,10 @@ <h3>Method Details</h3>
344380
},
345381
&quot;port&quot;: 42, # The TCP port at which the metastore service is reached. Default: 9083.
346382
&quot;releaseChannel&quot;: &quot;A String&quot;, # Immutable. The release channel of the service. If unspecified, defaults to STABLE.
383+
&quot;scalingConfig&quot;: { # Represents the scaling configuration of a metastore service. # Scaling configuration of the metastore service.
384+
&quot;instanceSize&quot;: &quot;A String&quot;, # An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
385+
&quot;scalingFactor&quot;: 3.14, # Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
386+
},
347387
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the metastore service.
348388
&quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of the metastore service, if available.
349389
&quot;telemetryConfig&quot;: { # Telemetry Configuration for the Dataproc Metastore service. # The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
@@ -442,6 +482,22 @@ <h3>Method Details</h3>
442482
},
443483
&quot;endpointUri&quot;: &quot;A String&quot;, # Output only. The URI of the endpoint used to access the metastore service.
444484
&quot;hiveMetastoreConfig&quot;: { # Specifies configuration information specific to running Hive metastore software as the metastore service. # Configuration information specific to running Hive metastore software as the metastore service.
485+
&quot;auxiliaryVersions&quot;: { # 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&#x27;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.
486+
&quot;a_key&quot;: { # Configuration information for the auxiliary service versions.
487+
&quot;configOverrides&quot;: { # 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&#x27;s overrides. If keys are present in both the auxiliary version&#x27;s overrides and the primary version&#x27;s overrides, the value from the auxiliary version&#x27;s overrides takes precedence.
488+
&quot;a_key&quot;: &quot;A String&quot;,
489+
},
490+
&quot;networkConfig&quot;: { # Network configuration for the Dataproc Metastore service. # Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
491+
&quot;consumers&quot;: [ # Immutable. The consumer-side network configuration for the Dataproc Metastore instance.
492+
{ # Contains information of the customer&#x27;s network configurations.
493+
&quot;endpointUri&quot;: &quot;A String&quot;, # Output only. The URI of the endpoint used to access the metastore service.
494+
&quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service&#x27;s endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet&#x27;s primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
495+
},
496+
],
497+
},
498+
&quot;version&quot;: &quot;A String&quot;, # The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service&#x27;s version.
499+
},
500+
},
445501
&quot;configOverrides&quot;: { # 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&#x27;s AuxiliaryVersionConfig.
446502
&quot;a_key&quot;: &quot;A String&quot;,
447503
},
@@ -494,6 +550,10 @@ <h3>Method Details</h3>
494550
},
495551
&quot;port&quot;: 42, # The TCP port at which the metastore service is reached. Default: 9083.
496552
&quot;releaseChannel&quot;: &quot;A String&quot;, # Immutable. The release channel of the service. If unspecified, defaults to STABLE.
553+
&quot;scalingConfig&quot;: { # Represents the scaling configuration of a metastore service. # Scaling configuration of the metastore service.
554+
&quot;instanceSize&quot;: &quot;A String&quot;, # An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
555+
&quot;scalingFactor&quot;: 3.14, # Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
556+
},
497557
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the metastore service.
498558
&quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of the metastore service, if available.
499559
&quot;telemetryConfig&quot;: { # Telemetry Configuration for the Dataproc Metastore service. # The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.

0 commit comments

Comments
 (0)