class Google::Apis::CloudresourcemanagerV2beta1::FolderOperation

Metadata describing a long running folder operation

Attributes

destination_parent[RW]

The resource name of the folder or organization we are either creating the folder under or moving the folder to. Corresponds to the JSON property `destinationParent` @return [String]

display_name[RW]

The display name of the folder. Corresponds to the JSON property `displayName` @return [String]

operation_type[RW]

The type of this operation. Corresponds to the JSON property `operationType` @return [String]

source_parent[RW]

The resource name of the folder's parent. Only applicable when the operation_type is MOVE. Corresponds to the JSON property `sourceParent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudresourcemanager_v2beta1/classes.rb, line 559
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudresourcemanager_v2beta1/classes.rb, line 564
def update!(**args)
  @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
  @display_name = args[:display_name] if args.key?(:display_name)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @source_parent = args[:source_parent] if args.key?(:source_parent)
end