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.



10638
10639
10640
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10638

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

Instance Attribute Details

#calendar_actionGoogle::Apis::CloudsearchV1::CalendarClientActionMarkup

Actions handled by Calendar. Corresponds to the JSON property calendarAction



10611
10612
10613
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10611

def calendar_action
  @calendar_action
end

#chat_actionGoogle::Apis::CloudsearchV1::ChatClientActionMarkup

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



10616
10617
10618
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10616

def chat_action
  @chat_action
end

#drive_actionGoogle::Apis::CloudsearchV1::DriveClientActionMarkup

Actions handled by Drive. Corresponds to the JSON property driveAction



10621
10622
10623
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10621

def drive_action
  @drive_action
end

#editor_actionGoogle::Apis::CloudsearchV1::EditorClientActionMarkup

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



10626
10627
10628
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10626

def editor_action
  @editor_action
end

#gmail_actionGoogle::Apis::CloudsearchV1::GmailClientActionMarkup

Actions handled by Gmail. Corresponds to the JSON property gmailAction



10631
10632
10633
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10631

def gmail_action
  @gmail_action
end

#sheets_actionGoogle::Apis::CloudsearchV1::SheetsClientActionMarkup

Actions handled by Sheets. Corresponds to the JSON property sheetsAction



10636
10637
10638
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10636

def sheets_action
  @sheets_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10643
10644
10645
10646
10647
10648
10649
10650
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10643

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