Class: Google::Apis::CloudresourcemanagerV2::CreateFolderMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudresourcemanager_v2/classes.rb,
generated/google/apis/cloudresourcemanager_v2/representations.rb,
generated/google/apis/cloudresourcemanager_v2/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.



260
261
262
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 260

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)


252
253
254
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 252

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)


258
259
260
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 258

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



265
266
267
268
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 265

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