class Google::Apis::DocsV1::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 the document. Corresponds to the JSON property `containsText` @return [Google::Apis::DocsV1::SubstringMatchCriteria]

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/docs_v1/classes.rb, line 3840
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 3845
def update!(**args)
  @contains_text = args[:contains_text] if args.key?(:contains_text)
  @replace_text = args[:replace_text] if args.key?(:replace_text)
end