Class: Google::Apis::MetastoreV1alpha::Lake
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::Lake
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Represents a Lake resource
Instance Attribute Summary collapse
-
#name ⇒ String
The Lake resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Lake
constructor
A new instance of Lake.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Lake
Returns a new instance of Lake.
1163 1164 1165 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The Lake resource name. Example: projects/project_number/locations/
location_id/lakes/lake_id
Corresponds to the JSON property name
1161 1162 1163 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1161 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1168 1169 1170 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1168 def update!(**args) @name = args[:name] if args.key?(:name) end |