Class: Google::Apis::CloudsearchV1::GroupId

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

Id representing a group that could be a space, a chat, or a direct message space. Which ID is set here will determine which group

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GroupId

Returns a new instance of GroupId.



10773
10774
10775
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10773

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

Instance Attribute Details

#dm_idGoogle::Apis::CloudsearchV1::DmId

Unique, immutable ID of the Direct Message Space Corresponds to the JSON property dmId



10766
10767
10768
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10766

def dm_id
  @dm_id
end

#space_idGoogle::Apis::CloudsearchV1::SpaceId

Primary key for Space resource. Corresponds to the JSON property spaceId



10771
10772
10773
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10771

def space_id
  @space_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10778
10779
10780
10781
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10778

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