Class: Google::Apis::MetastoreV1::AuxiliaryVersionConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_overridesHash<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

Returns:

  • (Hash<String,String>)


147
148
149
# File 'lib/google/apis/metastore_v1/classes.rb', line 147

def config_overrides
  @config_overrides
end

#network_configGoogle::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

#versionString

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

Returns:

  • (String)


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