google_api_cloud_resource_manager v0.4.0 GoogleApi.CloudResourceManager.V1.Model.Project View Source

A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.

Attributes

  • createTime (DateTime.t): Creation time. Read-only. Defaults to: null.
  • labels (%{optional(String.t) => String.t}): 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])?)?. A label value can be empty. 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: <code>"environment" : "dev"</code> Read-write. Defaults to: null.
  • lifecycleState (String.t): The Project lifecycle state. Read-only. Defaults to: null.

    • Enum - one of [LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS]
  • name (String.t): The optional 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: <code>My Project</code> Read-write. Defaults to: null.
  • parent (ResourceId): An optional reference to a parent Resource. Supported parent types include "organization" and "folder". Once set, the parent cannot be cleared. The `parent` can be set on creation or using the `UpdateProject` method; the end user must have the `resourcemanager.projects.create` permission on the parent. Read-write. Defaults to: null.
  • projectId (String.t): The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: <code>tokyo-rain-123</code> Read-only after creation. Defaults to: null.
  • projectNumber (String.t): The number uniquely identifying the project. Example: <code>415104041262</code> Read-only. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudResourceManager.V1.Model.Project{
  createTime: DateTime.t(),
  labels: map(),
  lifecycleState: any(),
  name: any(),
  parent: GoogleApi.CloudResourceManager.V1.Model.ResourceId.t(),
  projectId: any(),
  projectNumber: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.