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.
10550 10551 10552 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10550 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
10523 10524 10525 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10523 def calendar_action @calendar_action end |
#chat_action ⇒ Google::Apis::CloudsearchV1::ChatClientActionMarkup
Actions handled by Chat Clients.
Corresponds to the JSON property chatAction
10528 10529 10530 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10528 def chat_action @chat_action end |
#drive_action ⇒ Google::Apis::CloudsearchV1::DriveClientActionMarkup
Actions handled by Drive.
Corresponds to the JSON property driveAction
10533 10534 10535 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10533 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
10538 10539 10540 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10538 def editor_action @editor_action end |
#gmail_action ⇒ Google::Apis::CloudsearchV1::GmailClientActionMarkup
Actions handled by Gmail.
Corresponds to the JSON property gmailAction
10543 10544 10545 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10543 def gmail_action @gmail_action end |
#sheets_action ⇒ Google::Apis::CloudsearchV1::SheetsClientActionMarkup
Actions handled by Sheets.
Corresponds to the JSON property sheetsAction
10548 10549 10550 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10548 def sheets_action @sheets_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10555 10556 10557 10558 10559 10560 10561 10562 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10555 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 |