Class: Google::Apis::SlidesV1::Placeholder
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::Placeholder
 
- 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 placeholder information that uniquely identifies a placeholder shape.
Instance Attribute Summary collapse
- 
  
    
      #index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The index of the placeholder. 
- 
  
    
      #parent_object_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The object ID of this shape's parent placeholder. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the placeholder. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Placeholder 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Placeholder. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Placeholder
Returns a new instance of Placeholder
| 2382 2383 2384 | # File 'generated/google/apis/slides_v1/classes.rb', line 2382 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#index ⇒ Fixnum
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
| 2368 2369 2370 | # File 'generated/google/apis/slides_v1/classes.rb', line 2368 def index @index end | 
#parent_object_id ⇒ String
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
| 2375 2376 2377 | # File 'generated/google/apis/slides_v1/classes.rb', line 2375 def parent_object_id @parent_object_id end | 
#type ⇒ String
The type of the placeholder.
Corresponds to the JSON property type
| 2380 2381 2382 | # File 'generated/google/apis/slides_v1/classes.rb', line 2380 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2387 2388 2389 2390 2391 | # File 'generated/google/apis/slides_v1/classes.rb', line 2387 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 |