class Google::Apis::SlidesV1::ReplaceAllTextRequest

Replaces all instances of text matching a criteria with replace text.

Attributes

contains_text[RW]

A criteria that matches a specific string of text in a shape or table. Corresponds to the JSON property `containsText` @return [Google::Apis::SlidesV1::SubstringMatchCriteria]

page_object_ids[RW]

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` @return [Array<String>]

replace_text[RW]

The text that will replace the matched text. Corresponds to the JSON property `replaceText` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 2735
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 2740
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