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.
1437 1438 1439 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1437 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
1424 1425 1426 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1424 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
1430 1431 1432 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1430 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
1435 1436 1437 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1435 def events_restrict @events_restrict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1442 1443 1444 1445 1446 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1442 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 |