Class: Google::Apis::CloudsearchV1::Collaboration
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Collaboration
- 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
-
#attachment_id ⇒ String
The attachment being collaborated on.
-
#initiator ⇒ Google::Apis::CloudsearchV1::UserDisplayInfo
Resource for displaying user info Corresponds to the JSON property
initiator
. -
#uri ⇒ String
The uri of the artifact being collaborated on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Collaboration
constructor
A new instance of Collaboration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Collaboration
Returns a new instance of Collaboration.
6506 6507 6508 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachment_id ⇒ String
The attachment being collaborated on.
Corresponds to the JSON property attachmentId
6494 6495 6496 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6494 def @attachment_id end |
#initiator ⇒ Google::Apis::CloudsearchV1::UserDisplayInfo
Resource for displaying user info
Corresponds to the JSON property initiator
6499 6500 6501 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6499 def initiator @initiator end |
#uri ⇒ String
The uri of the artifact being collaborated on.
Corresponds to the JSON property uri
6504 6505 6506 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6504 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6511 6512 6513 6514 6515 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6511 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 |