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.
1439 1440 1441 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1439 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
1426 1427 1428 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1426 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
1432 1433 1434 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1432 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
1437 1438 1439 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1437 def events_restrict @events_restrict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1444 1445 1446 1447 1448 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1444 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 |