| <html><body> | |
| <style> | |
| body, h1, h2, h3, div, span, p, pre, a { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-weight: inherit; | |
| font-style: inherit; | |
| font-size: 100%; | |
| font-family: inherit; | |
| vertical-align: baseline; | |
| } | |
| body { | |
| font-size: 13px; | |
| padding: 1em; | |
| } | |
| h1 { | |
| font-size: 26px; | |
| margin-bottom: 1em; | |
| } | |
| h2 { | |
| font-size: 24px; | |
| margin-bottom: 1em; | |
| } | |
| h3 { | |
| font-size: 20px; | |
| margin-bottom: 1em; | |
| margin-top: 1em; | |
| } | |
| pre, code { | |
| line-height: 1.5; | |
| font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | |
| } | |
| pre { | |
| margin-top: 0.5em; | |
| } | |
| h1, h2, h3, p { | |
| font-family: Arial, sans serif; | |
| } | |
| h1, h2, h3 { | |
| border-bottom: solid #CCC 1px; | |
| } | |
| .toc_element { | |
| margin-top: 0.5em; | |
| } | |
| .firstline { | |
| margin-left: 2 em; | |
| } | |
| .method { | |
| margin-top: 1em; | |
| border: solid 1px #CCC; | |
| padding: 1em; | |
| background: #EEE; | |
| } | |
| .details { | |
| font-weight: bold; | |
| font-size: 14px; | |
| } | |
| </style> | |
| <h1><a href="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.projectViews.html">projectViews</a></h1> | |
| <h2>Instance Methods</h2> | |
| <p class="toc_element"> | |
| <code><a href="#close">close()</a></code></p> | |
| <p class="firstline">Close httplib2 connections.</p> | |
| <p class="toc_element"> | |
| <code><a href="#get">get(project, region, x__xgafv=None)</a></code></p> | |
| <p class="firstline">Returns the specified global ProjectViews resource, with a regional</p> | |
| <h3>Method Details</h3> | |
| <div class="method"> | |
| <code class="details" id="close">close()</code> | |
| <pre>Close httplib2 connections.</pre> | |
| </div> | |
| <div class="method"> | |
| <code class="details" id="get">get(project, region, x__xgafv=None)</code> | |
| <pre>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](https://cloud.google.com/compute/docs/reference/rest/v1/projects/get) | |
| endpoint. | |
| 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. | |
| # 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. | |
| # | |
| # 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. | |
| }, | |
| }</pre> | |
| </div> | |
| </body></html> |