Class: Google::Apis::SlidesV1::ReplaceAllTextRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::ReplaceAllTextRequest
 
- 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
Replaces all instances of text matching a criteria with replace text.
Instance Attribute Summary collapse
- 
  
    
      #contains_text  ⇒ Google::Apis::SlidesV1::SubstringMatchCriteria 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A criteria that matches a specific string of text in a shape or table. 
- 
  
    
      #page_object_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If non-empty, limits the matches to page elements only on the given pages. 
- 
  
    
      #replace_text  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The text that will replace the matched text. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ReplaceAllTextRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ReplaceAllTextRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReplaceAllTextRequest
Returns a new instance of ReplaceAllTextRequest
| 2746 2747 2748 | # File 'generated/google/apis/slides_v1/classes.rb', line 2746 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#contains_text ⇒ Google::Apis::SlidesV1::SubstringMatchCriteria
A criteria that matches a specific string of text in a shape or table.
Corresponds to the JSON property containsText
| 2731 2732 2733 | # File 'generated/google/apis/slides_v1/classes.rb', line 2731 def contains_text @contains_text end | 
#page_object_ids ⇒ Array<String>
If non-empty, limits the matches to page elements only on the given pages.
Returns a 400 bad request error if given the page object ID of a
notes master,
or if a page with that object ID doesn't exist in the presentation.
Corresponds to the JSON property pageObjectIds
| 2739 2740 2741 | # File 'generated/google/apis/slides_v1/classes.rb', line 2739 def page_object_ids @page_object_ids end | 
#replace_text ⇒ String
The text that will replace the matched text.
Corresponds to the JSON property replaceText
| 2744 2745 2746 | # File 'generated/google/apis/slides_v1/classes.rb', line 2744 def replace_text @replace_text end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2751 2752 2753 2754 2755 | # File 'generated/google/apis/slides_v1/classes.rb', line 2751 def update!(**args) @contains_text = args[:contains_text] if args.key?(:contains_text) @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) @replace_text = args[:replace_text] if args.key?(:replace_text) end |