Class: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SlidesV1::LayoutPlaceholderIdMapping
 
 
- 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 user-specified ID mapping for a placeholder that will be created on a slide from a specified layout.
Instance Attribute Summary collapse
- 
  
    
      #layout_placeholder  ⇒ Google::Apis::SlidesV1::Placeholder 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The placeholder information that uniquely identifies a placeholder shape.
 - 
  
    
      #layout_placeholder_object_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The object ID of the placeholder on a layout that will be applied to a slide.
 - 
  
    
      #object_id_prop  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A user-supplied object ID for the placeholder identified above that to be created onto a slide.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LayoutPlaceholderIdMapping 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LayoutPlaceholderIdMapping.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LayoutPlaceholderIdMapping
Returns a new instance of LayoutPlaceholderIdMapping
      1473 1474 1475  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1473 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#layout_placeholder ⇒ Google::Apis::SlidesV1::Placeholder
The placeholder information that uniquely identifies a placeholder shape.
Corresponds to the JSON property layoutPlaceholder
      1452 1453 1454  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1452 def layout_placeholder @layout_placeholder end  | 
  
#layout_placeholder_object_id ⇒ String
The object ID of the placeholder on a layout that will be applied
to a slide.
Corresponds to the JSON property layoutPlaceholderObjectId
      1458 1459 1460  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1458 def layout_placeholder_object_id @layout_placeholder_object_id end  | 
  
#object_id_prop ⇒ String
A user-supplied object ID for the placeholder identified above that to be
created onto a slide.
If you specify an ID, it must be unique among all pages and page elements
in the presentation. The ID must start with an alphanumeric character or an
underscore (matches regex [a-zA-Z0-9_]); remaining characters
may include those as well as a hyphen or colon (matches regex
[a-zA-Z0-9_-:]).
The length of the ID must not be less than 5 or greater than 50.
If you don't specify an ID, a unique one is generated.
Corresponds to the JSON property objectId
      1471 1472 1473  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1471 def object_id_prop @object_id_prop end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1478 1479 1480 1481 1482  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 1478 def update!(**args) @layout_placeholder = args[:layout_placeholder] if args.key?(:layout_placeholder) @layout_placeholder_object_id = args[:layout_placeholder_object_id] if args.key?(:layout_placeholder_object_id) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) end  |