class Google::Apis::SlidesV1::Placeholder

The placeholder information that uniquely identifies a placeholder shape.

Attributes

index[RW]

The index of the placeholder. If the same placeholder types are present in the same page, they would have different index values. Corresponds to the JSON property `index` @return [Fixnum]

parent_object_id[RW]

The object ID of this shape's parent placeholder. If unset, the parent placeholder shape does not exist, so the shape does not inherit properties from any other shape. Corresponds to the JSON property `parentObjectId` @return [String]

type[RW]

The type of the placeholder. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 2385
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/slides_v1/classes.rb, line 2390
def update!(**args)
  @index = args[:index] if args.key?(:index)
  @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id)
  @type = args[:type] if args.key?(:type)
end