Class Project (0.3.0)

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. (== resource_for {$api_version}.projects ==)

Attributes

NameDescription
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.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format.
default_network_tier google.cloud.compute_v1.types.Project.DefaultNetworkTier
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.
default_service_account str
[Output Only] Default service account used by VMs running in this project.
description str
An optional textual description of the resource.
enabled_features Sequence[str]
Restricted features enabled for use on this project.
id str
[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.
kind str
[Output Only] Type of the resource. Always compute#project for projects.
name str
The project ID. For example: my-example- roject. Use the project ID to make requests to Compute Engine.
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.
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.
xpn_project_status google.cloud.compute_v1.types.Project.XpnProjectStatus
[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.

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.