Resource Manager V3 API - Class Google::Cloud::ResourceManager::V3::Folder (v0.5.0)

Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::Folder.

A folder in an organization's resource hierarchy, used to organize that organization's resources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::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}[\p{L}\p{N}])?.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::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}[\p{L}\p{N}])?.
Returns
  • (::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}[\p{L}\p{N}])?.

#etag

def etag() -> ::String
Returns
  • (::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.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the folder. Its format is folders/{folder_id}, for example: "folders/1234".

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder.
Returns
  • (::String) — Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder.

#state

def state() -> ::Google::Cloud::ResourceManager::V3::Folder::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns