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

Values: UNDEFINED_DEFAULT_NETWORK_TIER (0): A value indicating that the enum field is not set. FIXED_STANDARD (310464328): Public internet quality with fixed bandwidth. PREMIUM (399530551): High quality, Google-grade network tier, support for all networking products. STANDARD (484642493): Public internet quality, only limited support for other networking products. STANDARD_OVERRIDES_FIXED_STANDARD (465847234): (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.

VmDnsSetting

VmDnsSetting(value)

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

Values: UNDEFINED_VM_DNS_SETTING (0): A value indicating that the enum field is not set. GLOBAL_DEFAULT (345419141): No description available. UNSPECIFIED_VM_DNS_SETTING (35691930): No description available. ZONAL_DEFAULT (368475782): No description available. ZONAL_ONLY (521198951): No description available.

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.

Values: UNDEFINED_XPN_PROJECT_STATUS (0): A value indicating that the enum field is not set. HOST (2223528): No description available. UNSPECIFIED_XPN_PROJECT_STATUS (340393257): No description available.