Class: Google::Apis::CloudsearchV1::HostAppActionMarkup
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::HostAppActionMarkup
- 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
Actions handled by individual host apps.
Instance Attribute Summary collapse
-
#calendar_action ⇒ Google::Apis::CloudsearchV1::CalendarClientActionMarkup
Actions handled by Calendar.
-
#chat_action ⇒ Google::Apis::CloudsearchV1::ChatClientActionMarkup
Actions handled by Chat Clients.
-
#drive_action ⇒ Google::Apis::CloudsearchV1::DriveClientActionMarkup
Actions handled by Drive.
-
#editor_action ⇒ Google::Apis::CloudsearchV1::EditorClientActionMarkup
Actions handled by Docs, Sheets, or Slides.
-
#gmail_action ⇒ Google::Apis::CloudsearchV1::GmailClientActionMarkup
Actions handled by Gmail.
-
#sheets_action ⇒ Google::Apis::CloudsearchV1::SheetsClientActionMarkup
Actions handled by Sheets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HostAppActionMarkup
constructor
A new instance of HostAppActionMarkup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HostAppActionMarkup
Returns a new instance of HostAppActionMarkup.
11190 11191 11192 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#calendar_action ⇒ Google::Apis::CloudsearchV1::CalendarClientActionMarkup
Actions handled by Calendar.
Corresponds to the JSON property calendarAction
11163 11164 11165 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11163 def calendar_action @calendar_action end |
#chat_action ⇒ Google::Apis::CloudsearchV1::ChatClientActionMarkup
Actions handled by Chat Clients.
Corresponds to the JSON property chatAction
11168 11169 11170 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11168 def chat_action @chat_action end |
#drive_action ⇒ Google::Apis::CloudsearchV1::DriveClientActionMarkup
Actions handled by Drive.
Corresponds to the JSON property driveAction
11173 11174 11175 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11173 def drive_action @drive_action end |
#editor_action ⇒ Google::Apis::CloudsearchV1::EditorClientActionMarkup
Actions handled by Docs, Sheets, or Slides.
Corresponds to the JSON property editorAction
11178 11179 11180 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11178 def editor_action @editor_action end |
#gmail_action ⇒ Google::Apis::CloudsearchV1::GmailClientActionMarkup
Actions handled by Gmail.
Corresponds to the JSON property gmailAction
11183 11184 11185 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11183 def gmail_action @gmail_action end |
#sheets_action ⇒ Google::Apis::CloudsearchV1::SheetsClientActionMarkup
Actions handled by Sheets.
Corresponds to the JSON property sheetsAction
11188 11189 11190 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11188 def sheets_action @sheets_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11195 11196 11197 11198 11199 11200 11201 11202 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11195 def update!(**args) @calendar_action = args[:calendar_action] if args.key?(:calendar_action) @chat_action = args[:chat_action] if args.key?(:chat_action) @drive_action = args[:drive_action] if args.key?(:drive_action) @editor_action = args[:editor_action] if args.key?(:editor_action) @gmail_action = args[:gmail_action] if args.key?(:gmail_action) @sheets_action = args[:sheets_action] if args.key?(:sheets_action) end |