Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAgendaGroupCardProtoContext
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickAgendaGroupCardProtoContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
The context that resulted in the generation of the card.
Instance Attribute Summary collapse
-
#context ⇒ String
User friendly free text that describes the context of the card (e.g. "Next meeting with Bob").
-
#date ⇒ String
Localized free text that describes the dates represented by the card.
-
#events_restrict ⇒ String
Represents restrictions applied to the events requested in the user's query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickAgendaGroupCardProtoContext
constructor
A new instance of EnterpriseTopazSidekickAgendaGroupCardProtoContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickAgendaGroupCardProtoContext
Returns a new instance of EnterpriseTopazSidekickAgendaGroupCardProtoContext.
1406 1407 1408 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ String
User friendly free text that describes the context of the card (e.g. "Next
meeting with Bob"). This is largely only applicable when the card is generated
from a query.
Corresponds to the JSON property context
1393 1394 1395 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1393 def context @context end |
#date ⇒ String
Localized free text that describes the dates represented by the card.
Currently, the card will only represent a single day.
Corresponds to the JSON property date
1399 1400 1401 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1399 def date @date end |
#events_restrict ⇒ String
Represents restrictions applied to the events requested in the user's query.
Corresponds to the JSON property eventsRestrict
1404 1405 1406 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1404 def events_restrict @events_restrict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1411 1412 1413 1414 1415 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1411 def update!(**args) @context = args[:context] if args.key?(:context) @date = args[:date] if args.key?(:date) @events_restrict = args[:events_restrict] if args.key?(:events_restrict) end |