Class: Google::Apis::CloudresourcemanagerV1::CreateFolderMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1::CreateFolderMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudresourcemanager_v1/classes.rb,
generated/google/apis/cloudresourcemanager_v1/representations.rb,
generated/google/apis/cloudresourcemanager_v1/representations.rb
Overview
Metadata pertaining to the Folder creation process.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the folder.
-
#parent ⇒ String
The resource name of the folder or organization we are creating the folder under.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateFolderMetadata
constructor
A new instance of CreateFolderMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateFolderMetadata
Returns a new instance of CreateFolderMetadata.
438 439 440 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the folder.
Corresponds to the JSON property displayName
430 431 432 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 430 def display_name @display_name end |
#parent ⇒ String
The resource name of the folder or organization we are creating the folder
under.
Corresponds to the JSON property parent
436 437 438 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 436 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
443 444 445 446 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 443 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @parent = args[:parent] if args.key?(:parent) end |