Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageIntegrationPayload
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageIntegrationPayload
- 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 payload(restricted to 1P applications) to be stored with a specific message.
Instance Attribute Summary collapse
-
#project_number ⇒ Fixnum
Pantheon project number used to identify the calling app.
-
#tasks_message_integration_payload ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksMessageIntegrationPayload
A payload containing Tasks metadata for rendering a live card.
-
#type ⇒ String
An enum indicating which 1P application's payload this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedMessageIntegrationPayload
constructor
A new instance of AppsDynamiteSharedMessageIntegrationPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedMessageIntegrationPayload
Returns a new instance of AppsDynamiteSharedMessageIntegrationPayload.
2001 2002 2003 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_number ⇒ Fixnum
Pantheon project number used to identify the calling app.
Corresponds to the JSON property projectNumber
1987 1988 1989 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1987 def project_number @project_number end |
#tasks_message_integration_payload ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksMessageIntegrationPayload
A payload containing Tasks metadata for rendering a live card. Currently not
used by the Tasks integration.
Corresponds to the JSON property tasksMessageIntegrationPayload
1993 1994 1995 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1993 def @tasks_message_integration_payload end |
#type ⇒ String
An enum indicating which 1P application's payload this is. This field is
required to add 1P payload.
Corresponds to the JSON property type
1999 2000 2001 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1999 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2006 2007 2008 2009 2010 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2006 def update!(**args) @project_number = args[:project_number] if args.key?(:project_number) @tasks_message_integration_payload = args[:tasks_message_integration_payload] if args.key?(:tasks_message_integration_payload) @type = args[:type] if args.key?(:type) end |