projects

GET /projects/{project}/getXpnHost

Changed on

Gets the shared VPC host project that this project links to. May be empty if no link exists.

Request

  • Base URL
    https://compute.googleapis.com/compute/v1
  • URL
    https://compute.googleapis.com/compute/v1/projects/{project}/getXpnHost
  • Auth
    • OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/cloud-platform
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/compute
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/compute

Path parameters

projectstring required

Project ID for this request.

Response

Successful response

cloudArmorTier'CA_ENTERPRISE_ANNUAL' | 'CA_ENTERPRISE_PAYGO' | 'CA_STANDARD'

Output only. [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 beCA_STANDARD.

creationTimestampstring

[Output Only] Creation timestamp inRFC3339 text format.

defaultNetworkTier'FIXED_STANDARD' | 'PREMIUM' | 'STANDARD' | 'STANDARD_OVERRIDES_FIXED_STANDARD'

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.

defaultServiceAccountstring

[Output Only] Default service account used by VMs running in this project.

descriptionstring

An optional textual description of the resource.

enabledFeaturesstring[]

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

idstring uint64

[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.

kindstring

Output only. [Output Only] Type of the resource. Always compute#project for projects.

namestring

The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.

selfLinkstring

[Output Only] Server-defined URL for the resource.

vmDnsSetting'GLOBAL_DEFAULT' | 'UNSPECIFIED_VM_DNS_SETTING' | 'ZONAL_DEFAULT' | 'ZONAL_ONLY'

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

xpnProjectStatus'HOST' | 'UNSPECIFIED_XPN_PROJECT_STATUS'

[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.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/compute was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/compute was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/compute was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/compute was removed from the endpoint's security scheme Oauth2c