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.
10576 10577 10578 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10576 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
10549 10550 10551 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10549 def calendar_action @calendar_action end |
#chat_action ⇒ Google::Apis::CloudsearchV1::ChatClientActionMarkup
Actions handled by Chat Clients.
Corresponds to the JSON property chatAction
10554 10555 10556 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10554 def chat_action @chat_action end |
#drive_action ⇒ Google::Apis::CloudsearchV1::DriveClientActionMarkup
Actions handled by Drive.
Corresponds to the JSON property driveAction
10559 10560 10561 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10559 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
10564 10565 10566 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10564 def editor_action @editor_action end |
#gmail_action ⇒ Google::Apis::CloudsearchV1::GmailClientActionMarkup
Actions handled by Gmail.
Corresponds to the JSON property gmailAction
10569 10570 10571 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10569 def gmail_action @gmail_action end |
#sheets_action ⇒ Google::Apis::CloudsearchV1::SheetsClientActionMarkup
Actions handled by Sheets.
Corresponds to the JSON property sheetsAction
10574 10575 10576 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10574 def sheets_action @sheets_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10581 10582 10583 10584 10585 10586 10587 10588 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10581 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 |