Class: Google::Apis::SlidesV1::MasterProperties

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

Overview

The properties of Page that are only relevant for pages with page_type MASTER.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MasterProperties

Returns a new instance of MasterProperties



1720
1721
1722
# File 'generated/google/apis/slides_v1/classes.rb', line 1720

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

Instance Attribute Details

#display_nameString

The human-readable name of the master. Corresponds to the JSON property displayName

Returns:

  • (String)


1718
1719
1720
# File 'generated/google/apis/slides_v1/classes.rb', line 1718

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1725
1726
1727
# File 'generated/google/apis/slides_v1/classes.rb', line 1725

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