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.



17734
17735
17736
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17734

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

Instance Attribute Details

#group_details_metadataGoogle::Apis::CloudsearchV1::GroupDetailsUpdatedMetadata

Corresponds to the JSON property groupDetailsMetadata



17701
17702
17703
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17701

def 
  @group_details_metadata
end

Corresponds to the JSON property groupLinkSharingEnabled

Returns:

  • (Boolean)


17706
17707
17708
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17706

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



17712
17713
17714
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17712

def initiator
  @initiator
end

#initiator_typeString

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

Returns:

  • (String)


17717
17718
17719
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17717

def initiator_type
  @initiator_type
end

#nameString

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

Returns:

  • (String)


17722
17723
17724
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17722

def name
  @name
end

#rename_metadataGoogle::Apis::CloudsearchV1::RoomRenameMetadata

Corresponds to the JSON property renameMetadata



17727
17728
17729
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17727

def 
  @rename_metadata
end

#visibilityGoogle::Apis::CloudsearchV1::AppsDynamiteSharedGroupVisibility

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



17732
17733
17734
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17732

def visibility
  @visibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17739
17740
17741
17742
17743
17744
17745
17746
17747
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17739

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