Class Project (1.9.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.

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

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. 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 MutableSequence[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-project. Use the project ID to make requests to Compute Engine. This field is a member of oneof_ _name.
quotas MutableSequence[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.
vm_dns_setting str
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values. This field is a member of oneof_ _vm_dns_setting.
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.

VmDnsSetting

VmDnsSetting(value)

[Output Only] Default internal DNS setting used by VMs running in this project.

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.