Google Cloud Compute Engine Project Views API

The ProjectViews API from Google Cloud Compute Engine — 1 operation(s) for projectviews.

GitHub OpenAPI

Operations 1

GET /compute/v1/projects/{project}/regions/{region}/projectViews Get projectViews #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-cloud-compute-engine:google-cloud-compute-engine-projectviews-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-cloud-compute-engine-projectviews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compute Engine Project Views API
  version: v1
  description: Generated from Google's published Discovery document for Compute Engine API (compute v1, revision 20261106). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://compute.googleapis.com
tags:
- name: ProjectViews
paths:
  /compute/v1/projects/{project}/regions/{region}/projectViews:
    get:
      operationId: compute.projectViews.get
      summary: Get projectViews
      description: 'Returns the specified global ProjectViews resource, with a regional

        context.

        This regional API endpoint reads resource metadata from regional

        read-only replicas. Because changes are copied to these regional replicas

        asynchronously, for real-time resource reads or any write operations

        (creating, updating, or deleting resources), use the global

        projects.get

        endpoint.'
      parameters:
      - name: project
        in: path
        required: true
        description: Required. Project ID for this request. This is part of the URL path.
        schema:
          pattern: (?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))
          type: string
      - name: region
        in: path
        required: true
        description: Required. Name of the region for this request. This is part of the URL path.
        schema:
          type: string
          pattern: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectView'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/compute
        - https://www.googleapis.com/auth/compute.readonly
      - apiKey: []
      tags:
      - ProjectViews
components:
  schemas:
    Quota:
      type: object
      properties:
        limit:
          type: number
          format: double
          description: '[Output Only] Quota limit for this metric.'
        owner:
          description: '[Output Only] Owning resource. This is the resource on which this quota

            is applied.'
          type: string
        metric:
          type: string
          enum:
          - A2_CPUS
          - AFFINITY_GROUPS
          - AUTOSCALERS
          - BACKEND_BUCKETS
          - BACKEND_SERVICES
          - C2D_CPUS
          - C2_CPUS
          - C3_CPUS
          - COMMITMENTS
          - COMMITTED_A2_CPUS
          - COMMITTED_C2D_CPUS
          - COMMITTED_C2_CPUS
          - COMMITTED_C3_CPUS
          - COMMITTED_CPUS
          - COMMITTED_E2_CPUS
          - COMMITTED_LICENSES
          - COMMITTED_LOCAL_SSD_TOTAL_GB
          - COMMITTED_M3_CPUS
          - COMMITTED_MEMORY_OPTIMIZED_CPUS
          - COMMITTED_N2A_CPUS
          - COMMITTED_N2D_CPUS
          - COMMITTED_N2_CPUS
          - COMMITTED_NVIDIA_A100_80GB_GPUS
          - COMMITTED_NVIDIA_A100_GPUS
          - COMMITTED_NVIDIA_H100_GPUS
          - COMMITTED_NVIDIA_K80_GPUS
          - COMMITTED_NVIDIA_L4_GPUS
          - COMMITTED_NVIDIA_P100_GPUS
          - COMMITTED_NVIDIA_P4_GPUS
          - COMMITTED_NVIDIA_T4_GPUS
          - COMMITTED_NVIDIA_V100_GPUS
          - COMMITTED_T2A_CPUS
          - COMMITTED_T2D_CPUS
          - COMMITTED_Z3_CPUS
          - CPUS
          - CPUS_ALL_REGIONS
          - DISKS_TOTAL_GB
          - E2_CPUS
          - EXTERNAL_MANAGED_FORWARDING_RULES
          - EXTERNAL_NETWORK_LB_FORWARDING_RULES
          - EXTERNAL_PROTOCOL_FORWARDING_RULES
          - EXTERNAL_VPN_GATEWAYS
          - FIREWALLS
          - FORWARDING_RULES
          - GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES
          - GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES
          - GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES
          - GLOBAL_INTERNAL_ADDRESSES
          - GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES
          - GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES
          - GPUS_ALL_REGIONS
          - HDB_TOTAL_GB
          - HDB_TOTAL_IOPS
          - HDB_TOTAL_THROUGHPUT
          - HEALTH_CHECKS
          - IMAGES
          - INSTANCES
          - INSTANCE_GROUPS
          - INSTANCE_GROUP_MANAGERS
          - INSTANCE_TEMPLATES
          - INTERCONNECTS
          - INTERCONNECT_ATTACHMENTS_PER_REGION
          - INTERCONNECT_ATTACHMENTS_TOTAL_MBPS
          - INTERCONNECT_TOTAL_GBPS
          - INTERNAL_ADDRESSES
          - INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES
          - IN_PLACE_SNAPSHOTS
          - IN_USE_ADDRESSES
          - IN_USE_BACKUP_SCHEDULES
          - IN_USE_SNAPSHOT_SCHEDULES
          - LOCAL_SSD_TOTAL_GB
          - M1_CPUS
          - M2_CPUS
          - M3_CPUS
          - MACHINE_IMAGES
          - N2A_CPUS
          - N2D_CPUS
          - N2_CPUS
          - NETWORKS
          - NETWORK_ATTACHMENTS
          - NETWORK_ENDPOINT_GROUPS
          - NETWORK_FIREWALL_POLICIES
          - NET_LB_SECURITY_POLICIES_PER_REGION
          - NET_LB_SECURITY_POLICY_RULES_PER_REGION
          - NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION
          - NODE_GROUPS
          - NODE_TEMPLATES
          - NVIDIA_A100_80GB_GPUS
          - NVIDIA_A100_GPUS
          - NVIDIA_K80_GPUS
          - NVIDIA_L4_GPUS
          - NVIDIA_P100_GPUS
          - NVIDIA_P100_VWS_GPUS
          - NVIDIA_P4_GPUS
          - NVIDIA_P4_VWS_GPUS
          - NVIDIA_T4_GPUS
          - NVIDIA_T4_VWS_GPUS
          - NVIDIA_V100_GPUS
          - PACKET_MIRRORINGS
          - PD_EXTREME_TOTAL_PROVISIONED_IOPS
          - PREEMPTIBLE_CPUS
          - PREEMPTIBLE_LOCAL_SSD_GB
          - PREEMPTIBLE_NVIDIA_A100_80GB_GPUS
          - PREEMPTIBLE_NVIDIA_A100_GPUS
          - PREEMPTIBLE_NVIDIA_H100_GPUS
          - PREEMPTIBLE_NVIDIA_K80_GPUS
          - PREEMPTIBLE_NVIDIA_L4_GPUS
          - PREEMPTIBLE_NVIDIA_P100_GPUS
          - PREEMPTIBLE_NVIDIA_P100_VWS_GPUS
          - PREEMPTIBLE_NVIDIA_P4_GPUS
          - PREEMPTIBLE_NVIDIA_P4_VWS_GPUS
          - PREEMPTIBLE_NVIDIA_T4_GPUS
          - PREEMPTIBLE_NVIDIA_T4_VWS_GPUS
          - PREEMPTIBLE_NVIDIA_V100_GPUS
          - PREEMPTIBLE_TPU_LITE_DEVICE_V5
          - PREEMPTIBLE_TPU_LITE_PODSLICE_V5
          - PREEMPTIBLE_TPU_PODSLICE_V4
          - PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK
          - PSC_INTERNAL_LB_FORWARDING_RULES
          - PUBLIC_ADVERTISED_PREFIXES
          - PUBLIC_DELEGATED_PREFIXES
          - REGIONAL_AUTOSCALERS
          - REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES
          - REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES
          - REGIONAL_INSTANCE_GROUP_MANAGERS
          - REGIONAL_INTERNAL_LB_BACKEND_SERVICES
          - REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES
          - REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES
          - RESERVATIONS
          - RESOURCE_POLICIES
          - ROUTERS
          - ROUTES
          - SECURITY_POLICIES
          - SECURITY_POLICIES_PER_REGION
          - SECURITY_POLICY_ADVANCED_RULES_PER_REGION
          - SECURITY_POLICY_CEVAL_RULES
          - SECURITY_POLICY_RULES
          - SECURITY_POLICY_RULES_PER_REGION
          - SERVICE_ATTACHMENTS
          - SNAPSHOTS
          - SSD_TOTAL_GB
          - SSL_CERTIFICATES
          - SSL_POLICIES
          - STATIC_ADDRESSES
          - STATIC_BYOIP_ADDRESSES
          - STATIC_EXTERNAL_IPV6_ADDRESS_RANGES
          - SUBNETWORKS
          - T2A_CPUS
          - T2D_CPUS
          - TARGET_HTTPS_PROXIES
          - TARGET_HTTP_PROXIES
          - TARGET_INSTANCES
          - TARGET_POOLS
          - TARGET_SSL_PROXIES
          - TARGET_TCP_PROXIES
          - TARGET_VPN_GATEWAYS
          - TPU_LITE_DEVICE_V5
          - TPU_LITE_PODSLICE_V5
          - TPU_PODSLICE_V4
          - URL_MAPS
          - VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES
          - VPN_GATEWAYS
          - VPN_TUNNELS
          - XPN_SERVICE_PROJECTS
          description: '[Output Only] Name of the quota metric.'
        usage:
          format: double
          type: number
          description: '[Output Only] Current usage of this metric.'
      description: A quotas entry.
    UsageExportLocation:
      type: object
      description: 'The location in Cloud Storage and naming method of the daily usage

        report. Contains bucket_name and report_name prefix.'
      properties:
        reportNamePrefix:
          type: string
          description: 'An optional prefix for the name of the usage report object stored inbucketName. If not supplied, defaults tousage_gce. The report is stored as a CSV file namedreport_name_prefix_gce_YYYYMMDD.csv whereYYYYMMDD is the day of the usage according to Pacific Time.

            If you supply a prefix, it should conform to Cloud Storageobject naming

            conventions.'
        bucketName:
          type: string
          description: 'The name of an existing bucket in Cloud Storage where the usage report

            object is stored. The Google Service Account is granted write access to

            this bucket. This can either be the bucket name by itself, such asexample-bucket, or the bucket name with gs://

            or https://storage.googleapis.com/ in front of it, such

            as gs://example-bucket.'
    Project:
      type: object
      description: "Represents a Project resource.\n\nA project is used to organize resources in a Google Cloud Platform\nenvironment. For more information, read about the \nResource Hierarchy."
      properties:
        cloudArmorTier:
          type: string
          description: '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.'
          enum:
          - CA_ENTERPRISE_ANNUAL
          - CA_ENTERPRISE_PAYGO
          - CA_STANDARD
          readOnly: true
        name:
          description: 'The project ID. For example: my-example-project. Use the

            project ID to make requests to Compute Engine.'
          type: string
        selfLink:
          description: '[Output Only] Server-defined URL for the resource.'
          type: string
        description:
          description: An optional textual description of the resource.
          type: string
        usageExportLocation:
          $ref: '#/components/schemas/UsageExportLocation'
          description: 'An optional naming prefix for daily usage reports and the Google Cloud

            Storage bucket where they are stored.'
        xpnProjectStatus:
          description: '[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.'
          enum:
          - HOST
          - UNSPECIFIED_XPN_PROJECT_STATUS
          type: string
        enabledFeatures:
          type: array
          items:
            type: string
          description: An optional list of restricted features enabled for use on this project.
        defaultServiceAccount:
          description: '[Output Only] Default service account used by VMs running in this project.'
          type: string
        quotas:
          items:
            $ref: '#/components/schemas/Quota'
          type: array
          description: '[Output Only] Quotas assigned to this project.'
        creationTimestamp:
          type: string
          description: '[Output Only] Creation timestamp inRFC3339

            text format.'
        vmDnsSetting:
          enum:
          - GLOBAL_DEFAULT
          - UNSPECIFIED_VM_DNS_SETTING
          - ZONAL_DEFAULT
          - ZONAL_ONLY
          readOnly: true
          description: 'Output only. [Output Only] Default internal DNS setting used by VMs running in

            this project.'
          type: string
        id:
          type: string
          description: '[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.'
          format: uint64
        defaultNetworkTier:
          type: string
          description: '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.'
          enum:
          - FIXED_STANDARD
          - PREMIUM
          - STANDARD
          - STANDARD_OVERRIDES_FIXED_STANDARD
        kind:
          description: 'Output only. [Output Only] Type of the resource. Always compute#project for

            projects.'
          default: compute#project
          type: string
          readOnly: true
        commonInstanceMetadata:
          $ref: '#/components/schemas/Metadata'
          description: 'Metadata key/value pairs available to all instances contained in this

            project. See Custom

            metadata for more information.'
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    Metadata:
      description: A metadata key/value entry.
      type: object
      properties:
        items:
          type: array
          description: 'Array of key/value pairs. The total size of all keys and values must be

            less than 512 KB.'
          items:
            type: object
            properties:
              key:
                type: string
                pattern: '[a-zA-Z0-9-_]{1,128}'
                description: 'Key for the metadata entry. Keys must conform to the following

                  regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.

                  This is reflected as part of a URL in the metadata server. Additionally, to

                  avoid ambiguity, keys must not conflict with any other metadata keys

                  for the project.'
              value:
                type: string
                description: 'Value for the metadata entry. These are free-form strings, and only

                  have meaning as interpreted by the image running in the instance. The

                  only restriction placed on values is that their size must be less than

                  or equal to 262144 bytes (256 KiB).'
            description: Metadata
        kind:
          description: 'Output only. [Output Only] Type of the resource. Always compute#metadata

            for metadata.'
          type: string
          readOnly: true
          default: compute#metadata
        fingerprint:
          description: 'Specifies a fingerprint for this request, which is essentially a hash of

            the metadata''s contents and used for optimistic locking. The

            fingerprint is initially generated by Compute Engine and changes after

            every request to modify or update metadata. You must always provide an

            up-to-date fingerprint hash in order to update or change metadata,

            otherwise the request will fail with error412 conditionNotMet.


            To see the latest fingerprint, make a get() request to

            retrieve the resource.'
          type: string
          format: byte
    ProjectView:
      description: 'Represents a ProjectView resource.


        A ProjectView resource contains read-only project data which is available

        globally.'
      type: object
      properties:
        project:
          $ref: '#/components/schemas/Project'
          description: 'The project data.

            The returned Project data does not contain regional or zonal quota

            usage data. Global quota limits are present. For accurate, real-time quota

            usage numbers, query the global

            [projects.get](https://cloud.google.com/compute/docs/reference/rest/v1/projects/get)

            endpoint.'
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/devstorage.read_only: View your data in Google Cloud Storage
            https://www.googleapis.com/auth/compute: View and manage your Google Compute Engine resources
            https://www.googleapis.com/auth/devstorage.read_write: Manage your data in Cloud Storage and see the email address of your Google Account
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
            https://www.googleapis.com/auth/compute.readonly: View your Google Compute Engine resources
            https://www.googleapis.com/auth/devstorage.full_control: Manage your data and permissions in Cloud Storage and see the email address for your Google Account
externalDocs:
  url: https://cloud.google.com/compute/
x-provenance:
  method: harvested
  publisher: Google
  source: https://www.googleapis.com/discovery/v1/apis/compute/v1/rest
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)