Class: Google::Apis::Area120tablesV1alpha1::SavedView

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

Overview

A saved view of a table. NextId: 3

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SavedView

Returns a new instance of SavedView.



472
473
474
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 472

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

Instance Attribute Details

#idString

Internal id associated with the saved view. Corresponds to the JSON property id

Returns:

  • (String)


465
466
467
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 465

def id
  @id
end

#nameString

Display name of the saved view. Corresponds to the JSON property name

Returns:

  • (String)


470
471
472
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 470

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



477
478
479
480
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 477

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