Class: Google::Apis::CloudsearchV1::Collaboration

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

Information about a collaboration session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Collaboration

Returns a new instance of Collaboration.



6118
6119
6120
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6118

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

Instance Attribute Details

#attachment_idString

The attachment being collaborated on. Corresponds to the JSON property attachmentId

Returns:

  • (String)


6106
6107
6108
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6106

def attachment_id
  @attachment_id
end

#initiatorGoogle::Apis::CloudsearchV1::UserDisplayInfo

Resource for displaying user info Corresponds to the JSON property initiator



6111
6112
6113
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6111

def initiator
  @initiator
end

#uriString

The uri of the artifact being collaborated on. Corresponds to the JSON property uri

Returns:

  • (String)


6116
6117
6118
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6116

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6123
6124
6125
6126
6127
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6123

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