Compute Engine API . projectViews

Instance Methods

close()

Close httplib2 connections.

get(project, region, x__xgafv=None)

Returns the specified global ProjectViews resource, with a regional

Method Details

close()
Close httplib2 connections.
get(project, region, x__xgafv=None)
Returns the specified global ProjectViews resource, with a regional
context.

Args:
  project: string, Required. Project ID for this request. This is part of the URL path. (required)
  region: string, Required. Name of the region for this request. This is part of the URL path. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a ProjectView resource.
    #
    # A ProjectView resource contains read-only project data which is available
    # globally.
  "project": { # Represents a Project resource. # The project data.
      #
      # A project is used to organize resources in a Google Cloud Platform
      # environment. For more information, read about the
      # Resource Hierarchy.
    "cloudArmorTier": "A String", # 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.
    "commonInstanceMetadata": { # A metadata key/value entry. # Metadata key/value pairs available to all instances contained in this
        # project. See Custom
        # metadata for more information.
      "fingerprint": "A String", # 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.
      "items": [ # Array of key/value pairs. The total size of all keys and values must be
          # less than 512 KB.
        { # Metadata
          "key": "A String", # 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": "A String", # 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).
        },
      ],
      "kind": "compute#metadata", # Output only. [Output Only] Type of the resource. Always compute#metadata
          # for metadata.
    },
    "creationTimestamp": "A String", # [Output Only] Creation timestamp inRFC3339
        # text format.
    "defaultNetworkTier": "A String", # 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.
    "defaultServiceAccount": "A String", # [Output Only] Default service account used by VMs running in this project.
    "description": "A String", # An optional textual description of the resource.
    "enabledFeatures": [ # An optional list of restricted features enabled for use on this project.
      "A String",
    ],
    "id": "A String", # [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.
    "kind": "compute#project", # Output only. [Output Only] Type of the resource. Always compute#project for
        # projects.
    "managedProtectionTier": "A String", # Output only. [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 beCA_STANDARD.
    "name": "A String", # The project ID. For example: my-example-project. Use the
        # project ID to make requests to Compute Engine.
    "quotas": [ # [Output Only] Quotas assigned to this project.
      { # A quotas entry.
        "limit": 3.14, # [Output Only] Quota limit for this metric.
        "metric": "A String", # [Output Only] Name of the quota metric.
        "owner": "A String", # [Output Only] Owning resource. This is the resource on which this quota
            # is applied.
        "usage": 3.14, # [Output Only] Current usage of this metric.
      },
    ],
    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    "usageExportLocation": { # The location in Cloud Storage and naming method of the daily usage # An optional naming prefix for daily usage reports and the Google Cloud
        # Storage bucket where they are stored.
        # report. Contains bucket_name and report_name prefix.
      "bucketName": "A String", # 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.
      "reportNamePrefix": "A String", # 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.
    },
    "vmDnsSetting": "A String", # Output only. [Output Only] Default internal DNS setting used by VMs running in
        # this project.
    "xpnProjectStatus": "A String", # [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.
  },
}