Class: Google::Apis::ChatV1::ChatClientDataSourceMarkup

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Chat apps only. For a SelectionInput widget that uses a multi-select menu, a data source from Google Chat. For example, a list of Google Chat spaces of which the user is a member. Developer Preview.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChatClientDataSourceMarkup

Returns a new instance of ChatClientDataSourceMarkup.



509
510
511
# File 'lib/google/apis/chat_v1/classes.rb', line 509

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

Instance Attribute Details

#space_data_sourceGoogle::Apis::ChatV1::SpaceDataSource

A data source representing a Google Chat space. Format: spaces/space Developer Preview. Corresponds to the JSON property spaceDataSource



507
508
509
# File 'lib/google/apis/chat_v1/classes.rb', line 507

def space_data_source
  @space_data_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



514
515
516
# File 'lib/google/apis/chat_v1/classes.rb', line 514

def update!(**args)
  @space_data_source = args[:space_data_source] if args.key?(:space_data_source)
end