Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageIntegrationPayload

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedMessageIntegrationPayload

Returns a new instance of AppsDynamiteSharedMessageIntegrationPayload.



2778
2779
2780
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2778

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#project_numberFixnum

Pantheon project number used to identify the calling app. Corresponds to the JSON property projectNumber

Returns:

  • (Fixnum)


2764
2765
2766
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2764

def project_number
  @project_number
end

#tasks_message_integration_payloadGoogle::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



2770
2771
2772
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2770

def tasks_message_integration_payload
  @tasks_message_integration_payload
end

#typeString

An enum indicating which 1P application's payload this is. This field is required to add 1P payload. Corresponds to the JSON property type

Returns:

  • (String)


2776
2777
2778
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2776

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2783
2784
2785
2786
2787
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2783

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