Class: Google::Apis::CloudsearchV1::HostAppActionMarkup

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

Actions handled by individual host apps.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HostAppActionMarkup

Returns a new instance of HostAppActionMarkup.



10676
10677
10678
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10676

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

Instance Attribute Details

#calendar_actionGoogle::Apis::CloudsearchV1::CalendarClientActionMarkup

Actions handled by Calendar. Corresponds to the JSON property calendarAction



10649
10650
10651
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10649

def calendar_action
  @calendar_action
end

#chat_actionGoogle::Apis::CloudsearchV1::ChatClientActionMarkup

Actions handled by Chat Clients. Corresponds to the JSON property chatAction



10654
10655
10656
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10654

def chat_action
  @chat_action
end

#drive_actionGoogle::Apis::CloudsearchV1::DriveClientActionMarkup

Actions handled by Drive. Corresponds to the JSON property driveAction



10659
10660
10661
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10659

def drive_action
  @drive_action
end

#editor_actionGoogle::Apis::CloudsearchV1::EditorClientActionMarkup

Actions handled by Docs, Sheets, or Slides. Corresponds to the JSON property editorAction



10664
10665
10666
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10664

def editor_action
  @editor_action
end

#gmail_actionGoogle::Apis::CloudsearchV1::GmailClientActionMarkup

Actions handled by Gmail. Corresponds to the JSON property gmailAction



10669
10670
10671
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10669

def gmail_action
  @gmail_action
end

#sheets_actionGoogle::Apis::CloudsearchV1::SheetsClientActionMarkup

Actions handled by Sheets. Corresponds to the JSON property sheetsAction



10674
10675
10676
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10674

def sheets_action
  @sheets_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10681
10682
10683
10684
10685
10686
10687
10688
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10681

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