Class: Google::Apis::ChatV1::SpaceDataSource

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

A data source representing a Google Chat space. Format: spaces/space Developer Preview.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpaceDataSource

Returns a new instance of SpaceDataSource.



3855
3856
3857
# File 'lib/google/apis/chat_v1/classes.rb', line 3855

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

Instance Attribute Details

#default_to_current_spaceBoolean Also known as: default_to_current_space?

When true, uses the card's Google Chat space as the default selection. The default value is false. Developer Preview. Corresponds to the JSON property defaultToCurrentSpace

Returns:

  • (Boolean)


3852
3853
3854
# File 'lib/google/apis/chat_v1/classes.rb', line 3852

def default_to_current_space
  @default_to_current_space
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3860
3861
3862
# File 'lib/google/apis/chat_v1/classes.rb', line 3860

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