Class: Google::Apis::CloudsearchV1::RoomUpdatedMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoomUpdatedMetadata

Returns a new instance of RoomUpdatedMetadata.



17028
17029
17030
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17028

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

Instance Attribute Details

#group_details_metadataGoogle::Apis::CloudsearchV1::GroupDetailsUpdatedMetadata

Corresponds to the JSON property groupDetailsMetadata



16995
16996
16997
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16995

def 
  @group_details_metadata
end

Corresponds to the JSON property groupLinkSharingEnabled

Returns:

  • (Boolean)


17000
17001
17002
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17000

def group_link_sharing_enabled
  @group_link_sharing_enabled
end

#initiatorGoogle::Apis::CloudsearchV1::User

User profile information. This user is not necessarily member of a space. Corresponds to the JSON property initiator



17006
17007
17008
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17006

def initiator
  @initiator
end

#initiator_typeString

The type of the user who initiated this room update. Corresponds to the JSON property initiatorType

Returns:

  • (String)


17011
17012
17013
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17011

def initiator_type
  @initiator_type
end

#nameString

What was updated in the room. Corresponds to the JSON property name

Returns:

  • (String)


17016
17017
17018
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17016

def name
  @name
end

#rename_metadataGoogle::Apis::CloudsearchV1::RoomRenameMetadata

Corresponds to the JSON property renameMetadata



17021
17022
17023
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17021

def 
  @rename_metadata
end

#visibilityGoogle::Apis::CloudsearchV1::AppsDynamiteSharedGroupVisibility

DEPRECATED: See GroupVisibility proto definition. Corresponds to the JSON property visibility



17026
17027
17028
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17026

def visibility
  @visibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17033
17034
17035
17036
17037
17038
17039
17040
17041
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17033

def update!(**args)
  @group_details_metadata = args[:group_details_metadata] if args.key?(:group_details_metadata)
  @group_link_sharing_enabled = args[:group_link_sharing_enabled] if args.key?(:group_link_sharing_enabled)
  @initiator = args[:initiator] if args.key?(:initiator)
  @initiator_type = args[:initiator_type] if args.key?(:initiator_type)
  @name = args[:name] if args.key?(:name)
  @rename_metadata = args[:rename_metadata] if args.key?(:rename_metadata)
  @visibility = args[:visibility] if args.key?(:visibility)
end