Class: Google::Apis::BiglakeV1::HiveDatabaseOptions
- Inherits:
-
Object
- Object
- Google::Apis::BiglakeV1::HiveDatabaseOptions
- 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
-
#location_uri ⇒ String
Cloud Storage folder URI where the database data is stored, starting with "gs:/ /".
-
#parameters ⇒ Hash<String,String>
Stores user supplied Hive database parameters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HiveDatabaseOptions
constructor
A new instance of HiveDatabaseOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_uri ⇒ String
Cloud Storage folder URI where the database data is stored, starting with "gs:/
/".
Corresponds to the JSON property locationUri
137 138 139 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 137 def location_uri @location_uri end |
#parameters ⇒ Hash<String,String>
Stores user supplied Hive database parameters.
Corresponds to the JSON property parameters
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 |