Class: Google::Apis::MetastoreV1::AuxiliaryVersionConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::AuxiliaryVersionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb
Overview
Configuration information for the auxiliary service versions.
Instance Attribute Summary collapse
-
#config_overrides ⇒ Hash<String,String>
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.
-
#network_config ⇒ Google::Apis::MetastoreV1::NetworkConfig
Network configuration for the Dataproc Metastore service.Next available ID: 4 Corresponds to the JSON property
networkConfig. -
#version ⇒ String
The Hive metastore version of the auxiliary service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuxiliaryVersionConfig
constructor
A new instance of AuxiliaryVersionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuxiliaryVersionConfig
Returns a new instance of AuxiliaryVersionConfig.
160 161 162 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_overrides ⇒ Hash<String,String>
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.
Corresponds to the JSON property configOverrides
147 148 149 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 147 def config_overrides @config_overrides end |
#network_config ⇒ Google::Apis::MetastoreV1::NetworkConfig
Network configuration for the Dataproc Metastore service.Next available ID: 4
Corresponds to the JSON property networkConfig
152 153 154 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 152 def network_config @network_config end |
#version ⇒ String
The Hive metastore version of the auxiliary service. It must be less than the
primary Hive metastore service's version.
Corresponds to the JSON property version
158 159 160 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 158 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
165 166 167 168 169 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 165 def update!(**args) @config_overrides = args[:config_overrides] if args.key?(:config_overrides) @network_config = args[:network_config] if args.key?(:network_config) @version = args[:version] if args.key?(:version) end |