blob: 02e531673d735e37206e5798e25fdc8645e8b065 [file] [edit]
<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_beta.html">Compute Engine API</a> . <a href="compute_beta.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.
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.
&quot;project&quot;: { # 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.
&quot;cloudArmorTier&quot;: &quot;A String&quot;, # 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.
&quot;commonInstanceMetadata&quot;: { # A metadata key/value entry. # Metadata key/value pairs available to all instances contained in this
# project. See Custom
# metadata for more information.
&quot;fingerprint&quot;: &quot;A String&quot;, # Specifies a fingerprint for this request, which is essentially a hash of
# the metadata&#x27;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.
&quot;items&quot;: [ # Array of key/value pairs. The total size of all keys and values must be
# less than 512 KB.
{ # Metadata
&quot;key&quot;: &quot;A String&quot;, # 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.
&quot;value&quot;: &quot;A String&quot;, # 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).
},
],
&quot;kind&quot;: &quot;compute#metadata&quot;, # Output only. [Output Only] Type of the resource. Always compute#metadata
# for metadata.
},
&quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
# text format.
&quot;defaultNetworkTier&quot;: &quot;A String&quot;, # 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.
&quot;defaultServiceAccount&quot;: &quot;A String&quot;, # [Output Only] Default service account used by VMs running in this project.
&quot;description&quot;: &quot;A String&quot;, # An optional textual description of the resource.
&quot;enabledFeatures&quot;: [ # An optional list of restricted features enabled for use on this project.
&quot;A String&quot;,
],
&quot;id&quot;: &quot;A String&quot;, # [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.
&quot;kind&quot;: &quot;compute#project&quot;, # Output only. [Output Only] Type of the resource. Always compute#project for
# projects.
&quot;managedProtectionTier&quot;: &quot;A String&quot;, # 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.
&quot;name&quot;: &quot;A String&quot;, # The project ID. For example: my-example-project. Use the
# project ID to make requests to Compute Engine.
&quot;quotas&quot;: [ # [Output Only] Quotas assigned to this project.
{ # A quotas entry.
&quot;limit&quot;: 3.14, # [Output Only] Quota limit for this metric.
&quot;metric&quot;: &quot;A String&quot;, # [Output Only] Name of the quota metric.
&quot;owner&quot;: &quot;A String&quot;, # [Output Only] Owning resource. This is the resource on which this quota
# is applied.
&quot;usage&quot;: 3.14, # [Output Only] Current usage of this metric.
},
],
&quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
&quot;usageExportLocation&quot;: { # 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.
&quot;bucketName&quot;: &quot;A String&quot;, # 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.
&quot;reportNamePrefix&quot;: &quot;A String&quot;, # 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.
},
&quot;vmDnsSetting&quot;: &quot;A String&quot;, # Output only. [Output Only] Default internal DNS setting used by VMs running in
# this project.
&quot;xpnProjectStatus&quot;: &quot;A String&quot;, # [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>