Class: Google::Apis::SlidesV1::Shape
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SlidesV1::Shape
 
 
- 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
A PageElement kind representing a generic shape that does not have a more specific classification.
Instance Attribute Summary collapse
- 
  
    
      #placeholder  ⇒ Google::Apis::SlidesV1::Placeholder 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The placeholder information that uniquely identifies a placeholder shape.
 - 
  
    
      #shape_properties  ⇒ Google::Apis::SlidesV1::ShapeProperties 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The properties of a Shape.
 - 
  
    
      #shape_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the shape.
 - 
  
    
      #text  ⇒ Google::Apis::SlidesV1::TextContent 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The general text content.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Shape 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Shape.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Shape
Returns a new instance of Shape
      3336 3337 3338  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3336 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#placeholder ⇒ Google::Apis::SlidesV1::Placeholder
The placeholder information that uniquely identifies a placeholder shape.
Corresponds to the JSON property placeholder
      3313 3314 3315  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3313 def placeholder @placeholder end  | 
  
#shape_properties ⇒ Google::Apis::SlidesV1::ShapeProperties
The properties of a Shape.
If the shape is a placeholder shape as determined by the
placeholder field, then these
properties may be inherited from a parent placeholder shape.
Determining the rendered value of the property depends on the corresponding
property_state field value.
Corresponds to the JSON property shapeProperties
      3323 3324 3325  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3323 def shape_properties @shape_properties end  | 
  
#shape_type ⇒ String
The type of the shape.
Corresponds to the JSON property shapeType
      3328 3329 3330  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3328 def shape_type @shape_type end  | 
  
#text ⇒ Google::Apis::SlidesV1::TextContent
The general text content. The text must reside in a compatible shape (e.g.
text box or rectangle) or a table cell in a page.
Corresponds to the JSON property text
      3334 3335 3336  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3334 def text @text end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3341 3342 3343 3344 3345 3346  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3341 def update!(**args) @placeholder = args[:placeholder] if args.key?(:placeholder) @shape_properties = args[:shape_properties] if args.key?(:shape_properties) @shape_type = args[:shape_type] if args.key?(:shape_type) @text = args[:text] if args.key?(:text) end  |