Resource Manager V3 API - Class Google::Cloud::ResourceManager::V3::Project (v0.3.0)

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

A project is a high-level Google Cloud entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform 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) — Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.

    Example: My Project

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.

    Example: My Project

Returns
  • (::String) — Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.

    Example: My Project

#etag

def etag() -> ::String
Returns
  • (::String) — Output only. A checksum computed by the server based on the current value of the Project resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels associated with this project.

    Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.

    Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.

    No more than 256 labels can be associated with a given resource.

    Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed.

    Example: "myBusinessDimension" : "businessValue"

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels associated with this project.

    Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.

    Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.

    No more than 256 labels can be associated with a given resource.

    Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed.

    Example: "myBusinessDimension" : "businessValue"

Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels associated with this project.

    Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.

    Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.

    No more than 256 labels can be associated with a given resource.

    Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed.

    Example: "myBusinessDimension" : "businessValue"

#name

def name() -> ::String
Returns
  • (::String) — Output only. The unique resource name of the project. It is an int64 generated number prefixed by "projects/".

    Example: projects/415104041262

#parent

def parent() -> ::String
Returns
  • (::String) — Optional. A reference to a parent Resource. eg., organizations/123 or folders/876.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Optional. A reference to a parent Resource. eg., organizations/123 or folders/876.
Returns
  • (::String) — Optional. A reference to a parent Resource. eg., organizations/123 or folders/876.

#project_id

def project_id() -> ::String
Returns
  • (::String) — Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.

    Example: tokyo-rain-123

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.

    Example: tokyo-rain-123

Returns
  • (::String) — Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.

    Example: tokyo-rain-123

#state

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

#update_time

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