Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1LockDocumentRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb

Overview

Request message for DocumentService.LockDocument.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContentwarehouseV1LockDocumentRequest

Returns a new instance of GoogleCloudContentwarehouseV1LockDocumentRequest.



2406
2407
2408
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2406

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

Instance Attribute Details

#collection_idString

The collection the document connects to. Corresponds to the JSON property collectionId

Returns:

  • (String)


2399
2400
2401
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2399

def collection_id
  @collection_id
end

#locking_userGoogle::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo

The user information. Corresponds to the JSON property lockingUser



2404
2405
2406
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2404

def locking_user
  @locking_user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2411
2412
2413
2414
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2411

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