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.



11113
11114
11115
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11113

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

Instance Attribute Details

#calendar_actionGoogle::Apis::CloudsearchV1::CalendarClientActionMarkup

Actions handled by Calendar. Corresponds to the JSON property calendarAction



11086
11087
11088
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11086

def calendar_action
  @calendar_action
end

#chat_actionGoogle::Apis::CloudsearchV1::ChatClientActionMarkup

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



11091
11092
11093
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11091

def chat_action
  @chat_action
end

#drive_actionGoogle::Apis::CloudsearchV1::DriveClientActionMarkup

Actions handled by Drive. Corresponds to the JSON property driveAction



11096
11097
11098
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11096

def drive_action
  @drive_action
end

#editor_actionGoogle::Apis::CloudsearchV1::EditorClientActionMarkup

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



11101
11102
11103
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11101

def editor_action
  @editor_action
end

#gmail_actionGoogle::Apis::CloudsearchV1::GmailClientActionMarkup

Actions handled by Gmail. Corresponds to the JSON property gmailAction



11106
11107
11108
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11106

def gmail_action
  @gmail_action
end

#sheets_actionGoogle::Apis::CloudsearchV1::SheetsClientActionMarkup

Actions handled by Sheets. Corresponds to the JSON property sheetsAction



11111
11112
11113
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11111

def sheets_action
  @sheets_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11118
11119
11120
11121
11122
11123
11124
11125
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11118

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