Class Project (1.13.0)

Project(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
name str
Output only. The unique resource name of the project. It is an int64 generated number prefixed by "projects/". Example: projects/415104041262
parent str
Optional. A reference to a parent Resource. eg., organizations/123 or folders/876.
project_id str
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 google.cloud.resourcemanager_v3.types.Project.State
Output only. The project lifecycle state.
display_name str
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
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The most recent time this resource was modified.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this resource was requested for deletion.
etag str
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 MutableMapping[str, str]
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 64 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"

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Project lifecycle states.