Class: Google::Apis::VaultV1::CalendarOptions
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CalendarOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
Additional options for Calendar search
Instance Attribute Summary collapse
-
#location_query ⇒ Array<String>
Matches only those events whose location contains all of the words in the given set.
-
#minus_words ⇒ Array<String>
Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees.
-
#people_query ⇒ Array<String>
Matches only those events whose attendees contain all of the words in the given set.
-
#response_statuses ⇒ Array<String>
Matches only events for which the custodian gave one of these responses.
-
#version_date ⇒ String
Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CalendarOptions
constructor
A new instance of CalendarOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CalendarOptions
Returns a new instance of CalendarOptions.
273 274 275 |
# File 'lib/google/apis/vault_v1/classes.rb', line 273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_query ⇒ Array<String>
Matches only those events whose location contains all of the words in the
given set. If the string contains quoted phrases, this method only matches
those events whose location contain the exact phrase. Entries in the set are
considered in "and". Word splitting example: ["New Zealand"] vs ["New","
Zealand"] "New Zealand": matched by both "New and better Zealand": only
matched by the later
Corresponds to the JSON property locationQuery
244 245 246 |
# File 'lib/google/apis/vault_v1/classes.rb', line 244 def location_query @location_query end |
#minus_words ⇒ Array<String>
Matches only those events that do not contain any of the words in the given
set in title, description, location, or attendees. Entries in the set are
considered in "or".
Corresponds to the JSON property minusWords
251 252 253 |
# File 'lib/google/apis/vault_v1/classes.rb', line 251 def minus_words @minus_words end |
#people_query ⇒ Array<String>
Matches only those events whose attendees contain all of the words in the
given set. Entries in the set are considered in "and".
Corresponds to the JSON property peopleQuery
257 258 259 |
# File 'lib/google/apis/vault_v1/classes.rb', line 257 def people_query @people_query end |
#response_statuses ⇒ Array<String>
Matches only events for which the custodian gave one of these responses. If
the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no
filtering on responses.
Corresponds to the JSON property responseStatuses
264 265 266 |
# File 'lib/google/apis/vault_v1/classes.rb', line 264 def response_statuses @response_statuses end |
#version_date ⇒ String
Search the current version of the Calendar event, but export the contents of
the last version saved before 12:00 AM UTC on the specified date. Enter the
date in UTC.
Corresponds to the JSON property versionDate
271 272 273 |
# File 'lib/google/apis/vault_v1/classes.rb', line 271 def version_date @version_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
278 279 280 281 282 283 284 |
# File 'lib/google/apis/vault_v1/classes.rb', line 278 def update!(**args) @location_query = args[:location_query] if args.key?(:location_query) @minus_words = args[:minus_words] if args.key?(:minus_words) @people_query = args[:people_query] if args.key?(:people_query) @response_statuses = args[:response_statuses] if args.key?(:response_statuses) @version_date = args[:version_date] if args.key?(:version_date) end |