Class: Google::Apis::SlidesV1::SubstringMatchCriteria
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::SubstringMatchCriteria
- 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
-
#match_case ⇒ Boolean
(also: #match_case?)
Indicates whether the search should respect case: -
True
: the search is case sensitive. -
#text ⇒ String
The text to search for in the shape or table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubstringMatchCriteria
constructor
A new instance of SubstringMatchCriteria.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubstringMatchCriteria
Returns a new instance of SubstringMatchCriteria
1234 1235 1236 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_case ⇒ Boolean 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 propertymatchCase
1231 1232 1233 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1231 def match_case @match_case end |
#text ⇒ String
The text to search for in the shape or table.
Corresponds to the JSON property text
1224 1225 1226 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1224 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1239 1240 1241 1242 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1239 def update!(**args) @text = args[:text] if args.key?(:text) @match_case = args[:match_case] if args.key?(:match_case) end |