Class: Google::Apis::MetastoreV1alpha::Lake

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Lake

Returns a new instance of Lake.



1131
1132
1133
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1131

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

Instance Attribute Details

#nameString

The Lake resource name. Example: projects/project_number/locations/ location_id/lakes/lake_id Corresponds to the JSON property name

Returns:

  • (String)


1129
1130
1131
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1129

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1136
1137
1138
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1136

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