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

Inherits:
Object
  • Object
show all
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 criteria that matches a specific string of text in a shape or table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SubstringMatchCriteria

Returns a new instance of SubstringMatchCriteria



1090
1091
1092
# File 'generated/google/apis/slides_v1/classes.rb', line 1090

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)


1087
1088
1089
# File 'generated/google/apis/slides_v1/classes.rb', line 1087

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)


1080
1081
1082
# File 'generated/google/apis/slides_v1/classes.rb', line 1080

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1095
1096
1097
1098
# File 'generated/google/apis/slides_v1/classes.rb', line 1095

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