Class: Google::Apis::StorageV1::Folder::PendingRenameInfo

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

Overview

Only present if the folder is part of an ongoing rename folder operation. Contains information which can be used to query the operation status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PendingRenameInfo

Returns a new instance of PendingRenameInfo.



1744
1745
1746
# File 'lib/google/apis/storage_v1/classes.rb', line 1744

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

Instance Attribute Details

#operation_idString

The ID of the rename folder operation. Corresponds to the JSON property operationId

Returns:

  • (String)


1742
1743
1744
# File 'lib/google/apis/storage_v1/classes.rb', line 1742

def operation_id
  @operation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1749
1750
1751
# File 'lib/google/apis/storage_v1/classes.rb', line 1749

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