Project(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.
Attributes
Name | Description |
common_instance_metadata |
google.cloud.compute_v1.types.Metadata
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information. This field is a member of oneof _ _common_instance_metadata .
|
creation_timestamp |
str
[Output Only] Creation timestamp in RFC3339 text format. This field is a member of oneof _ _creation_timestamp .
|
default_network_tier |
str
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values. This field is a member of oneof _ _default_network_tier .
|
default_service_account |
str
[Output Only] Default service account used by VMs running in this project. This field is a member of oneof _ _default_service_account .
|
description |
str
An optional textual description of the resource. This field is a member of oneof _ _description .
|
enabled_features |
Sequence[str]
Restricted features enabled for use on this project. |
id |
int
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources. This field is a member of oneof _ _id .
|
kind |
str
[Output Only] Type of the resource. Always compute#project for projects. This field is a member of oneof _ _kind .
|
name |
str
The project ID. For example: my-example- roject. Use the project ID to make requests to Compute Engine. This field is a member of oneof _ _name .
|
quotas |
Sequence[google.cloud.compute_v1.types.Quota]
[Output Only] Quotas assigned to this project. |
self_link |
str
[Output Only] Server-defined URL for the resource. This field is a member of oneof _ _self_link .
|
usage_export_location |
google.cloud.compute_v1.types.UsageExportLocation
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. This field is a member of oneof _ _usage_export_location .
|
xpn_project_status |
str
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values. This field is a member of oneof _ _xpn_project_status .
|
Classes
DefaultNetworkTier
DefaultNetworkTier(value)
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
XpnProjectStatus
XpnProjectStatus(value)
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.