Class: Google::Apis::BiglakeV1::HiveDatabaseOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/biglake_v1/classes.rb,
lib/google/apis/biglake_v1/representations.rb,
lib/google/apis/biglake_v1/representations.rb

Overview

Options of a Hive database.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HiveDatabaseOptions

Returns a new instance of HiveDatabaseOptions.



144
145
146
# File 'lib/google/apis/biglake_v1/classes.rb', line 144

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#location_uriString

Cloud Storage folder URI where the database data is stored, starting with "gs:/ /". Corresponds to the JSON property locationUri

Returns:

  • (String)


137
138
139
# File 'lib/google/apis/biglake_v1/classes.rb', line 137

def location_uri
  @location_uri
end

#parametersHash<String,String>

Stores user supplied Hive database parameters. Corresponds to the JSON property parameters

Returns:

  • (Hash<String,String>)


142
143
144
# File 'lib/google/apis/biglake_v1/classes.rb', line 142

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



149
150
151
152
# File 'lib/google/apis/biglake_v1/classes.rb', line 149

def update!(**args)
  @location_uri = args[:location_uri] if args.key?(:location_uri)
  @parameters = args[:parameters] if args.key?(:parameters)
end