Class Organization (1.12.2)

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

The root node in the resource hierarchy to which a particular entity's (a company, for example) resources belong.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
name str
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
display_name str
Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the Google Workspace customer that owns the organization.
directory_customer_id str
Immutable. The G Suite / Workspace customer id used in the Directory API. This field is a member of oneof_ owner.
state google.cloud.resourcemanager_v3.types.Organization.State
Output only. The organization's current lifecycle state.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the Organization was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the Organization was last modified.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the Organization was requested for deletion.
etag str
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Classes

State

State(value)

Organization lifecycle states.

Values: STATE_UNSPECIFIED (0): Unspecified state. This is only useful for distinguishing unset values. ACTIVE (1): The normal and active state. DELETE_REQUESTED (2): The organization has been marked for deletion by the user.