Project

Represents a Project resource.

A project is used to organize resources in a Cloud de Confiance Platform environment. For more information, read about the Resource Hierarchy.

JSON representation
{
  "kind": string,
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "commonInstanceMetadata": {
    object (Metadata)
  },
  "quotas": [
    {
      object (Quota)
    }
  ],
  "usageExportLocation": {
    object (UsageExportLocation)
  },
  "enabledFeatures": [
    string
  ],
  "selfLink": string,
  "defaultServiceAccount": string,
  "xpnProjectStatus": enum (XpnProjectStatus),
  "defaultNetworkTier": enum (NetworkTier),
  "vmDnsSetting": enum (VmDnsSetting),
  "managedProtectionTier": enum (ManagedProtectionTier),
  "cloudArmorTier": enum (CloudArmorTier)
}
Fields
kind

string

Output only. Type of the resource. Always

compute#project

for projects.

id

string (uint64 format)

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.

creationTimestamp

string

Output only. Creation timestamp in RFC3339 text format.

name

string

The project ID. For example:

my-example-project

. Use the project ID to make requests to Compute Engine.

description

string

An optional textual description of the resource.

commonInstanceMetadata

object (Metadata)

Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.

quotas[]

object (Quota)

Output only. Quotas assigned to this project.

usageExportLocation

object (UsageExportLocation)

An optional naming prefix for daily usage reports and the Cloud de Confiance Storage bucket where they are stored.

enabledFeatures[]

string

An optional list of restricted features enabled for use on this project.

defaultServiceAccount

string

Output only. Default service account used by VMs running in this project.

xpnProjectStatus

enum (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.

defaultNetworkTier

enum (NetworkTier)

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

enum (VmDnsSetting)

Output only. Default internal DNS setting used by VMs running in this project.

managedProtectionTier

enum (ManagedProtectionTier)

Output only. The Cloud Armor Managed Protection (CAMP) tier for this project. It can be one of the following values:

CA_STANDARD

,

CAMP_PLUS_PAYGO

.

If this field is not specified, it is assumed to be

CA_STANDARD

.

cloudArmorTier

enum (CloudArmorTier)

Output only. The Cloud Armor tier for this project. It can be one of the following values:

CA_STANDARD

,

CA_ENTERPRISE_PAYGO

.

If this field is not specified, it is assumed to be

CA_STANDARD

.

UsageExportLocation

The location in Cloud Storage and naming method of the daily usage report. Contains bucketName and report_name prefix.

JSON representation
{
  "bucketName": string,
  "reportNamePrefix": string
}
Fields
bucketName

string

The name of an existing bucket in Cloud Storage where the usage report object is stored. The Cloud de Confiance service Account is granted write access to this bucket. This can either be the bucket name by itself, such as

example-bucket

, or the bucket name with

gs://

or

https://storage.googleapis.com/

in front of it, such as

gs://example-bucket

.

reportNamePrefix

string

An optional prefix for the name of the usage report object stored in

bucketName

. If not supplied, defaults to

usage_gce

. The report is stored as a CSV file named

report_name_prefix_gce_YYYYMMDD.csv

where

YYYYMMDD

is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.

XpnProjectStatus

Enums
UNSPECIFIED_XPN_PROJECT_STATUS
HOST

VmDnsSetting

Enums
UNSPECIFIED_VM_DNS_SETTING
GLOBAL_DEFAULT
ZONAL_DEFAULT
ZONAL_ONLY

ManagedProtectionTier

Cloud Armor Managed Protection tier.

Enums
CA_STANDARD Standard protection.
CAMP_PLUS_ANNUAL Plus tier protection annual.
CAMP_PLUS_PAYGO Plus tier protection monthly.

CloudArmorTier

Cloud Armor tier.

Enums
CA_STANDARD Standard protection.
CA_ENTERPRISE_ANNUAL Enterprise tier protection billed annually.
CA_ENTERPRISE_PAYGO Enterprise tier protection billed monthly.