Class: Google::Apis::CloudresourcemanagerV1::CreateFolderMetadata

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

Overview

Metadata pertaining to the Folder creation process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateFolderMetadata

Returns a new instance of CreateFolderMetadata.



443
444
445
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 443

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

Instance Attribute Details

#display_nameString

The display name of the folder. Corresponds to the JSON property displayName

Returns:

  • (String)


435
436
437
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 435

def display_name
  @display_name
end

#parentString

The resource name of the folder or organization we are creating the folder under. Corresponds to the JSON property parent

Returns:

  • (String)


441
442
443
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 441

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



448
449
450
451
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 448

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