Class: Google::Apis::SlidesV1::SubstringMatchCriteria

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb

Overview

A criteria that matches a specific string of text in a shape or table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubstringMatchCriteria

Returns a new instance of SubstringMatchCriteria.



3667
3668
3669
# File 'lib/google/apis/slides_v1/classes.rb', line 3667

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#match_caseBoolean Also known as: match_case?

Indicates whether the search should respect case: - True: the search is case sensitive. - False: the search is case insensitive. Corresponds to the JSON property matchCase

Returns:

  • (Boolean)


3659
3660
3661
# File 'lib/google/apis/slides_v1/classes.rb', line 3659

def match_case
  @match_case
end

#textString

The text to search for in the shape or table. Corresponds to the JSON property text

Returns:

  • (String)


3665
3666
3667
# File 'lib/google/apis/slides_v1/classes.rb', line 3665

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3672
3673
3674
3675
# File 'lib/google/apis/slides_v1/classes.rb', line 3672

def update!(**args)
  @match_case = args[:match_case] if args.key?(:match_case)
  @text = args[:text] if args.key?(:text)
end