class Google::Apis::CloudresourcemanagerV3::Folder
A folder in an organization's resource hierarchy, used to organize that organization's resources.
Attributes
Output only. Timestamp when the folder was created. Corresponds to the JSON property `createTime` @return [String]
Output only. Timestamp when the folder was requested to be deleted. Corresponds to the JSON property `deleteTime` @return [String]
The folder's display name. A folder's display name must be unique amongst its siblings. For example, no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: `[p`L`p`N`]([ p`L`p`N`_- ]`0,28`)?`. Corresponds to the JSON property `displayName` @return [String]
Output only. A checksum computed by the server based on the current value of the folder resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Corresponds to the JSON property `etag` @return [String]
Output only. The resource name of the folder. Its format is `folders/` folder_id“, for example: “folders/1234”. Corresponds to the JSON property `name` @return [String]
Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder. Corresponds to the JSON property `parent` @return [String]
Output only. The lifecycle state of the folder. Updates to the state must be performed using DeleteFolder and UndeleteFolder. Corresponds to the JSON property `state` @return [String]
Output only. Timestamp when the folder was last modified. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 553 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 558 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end