| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.projectViews.html">projectViews</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(project, region, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Returns the specified global ProjectViews resource, with a regional</p> |
| 83 |
<h3>Method Details</h3> |
| 84 |
<div class="method"> |
| 85 |
<code class="details" id="close">close()</code> |
| 86 |
<pre>Close httplib2 connections.</pre> |
| 87 |
</div> |
| 88 |
|
| 89 |
<div class="method"> |
| 90 |
<code class="details" id="get">get(project, region, x__xgafv=None)</code> |
| 91 |
<pre>Returns the specified global ProjectViews resource, with a regional |
| 92 |
context. |
| 93 |
|
| 94 |
Args: |
| 95 |
project: string, Required. Project ID for this request. This is part of the URL path. (required) |
| 96 |
region: string, Required. Name of the region for this request. This is part of the URL path. (required) |
| 97 |
x__xgafv: string, V1 error format. |
| 98 |
Allowed values |
| 99 |
1 - v1 error format |
| 100 |
2 - v2 error format |
| 101 |
|
| 102 |
Returns: |
| 103 |
An object of the form: |
| 104 |
|
| 105 |
{ # Represents a ProjectView resource. |
| 106 |
# |
| 107 |
# A ProjectView resource contains read-only project data which is available |
| 108 |
# globally. |
| 109 |
"project": { # Represents a Project resource. # The project data. |
| 110 |
# |
| 111 |
# A project is used to organize resources in a Google Cloud Platform |
| 112 |
# environment. For more information, read about the |
| 113 |
# Resource Hierarchy. |
| 114 |
"cloudArmorTier": "A String", # Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the |
| 115 |
# following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. |
| 116 |
# |
| 117 |
# If this field is not specified, it is assumed to beCA_STANDARD. |
| 118 |
"commonInstanceMetadata": { # A metadata key/value entry. # Metadata key/value pairs available to all instances contained in this |
| 119 |
# project. See Custom |
| 120 |
# metadata for more information. |
| 121 |
"fingerprint": "A String", # Specifies a fingerprint for this request, which is essentially a hash of |
| 122 |
# the metadata's contents and used for optimistic locking. The |
| 123 |
# fingerprint is initially generated by Compute Engine and changes after |
| 124 |
# every request to modify or update metadata. You must always provide an |
| 125 |
# up-to-date fingerprint hash in order to update or change metadata, |
| 126 |
# otherwise the request will fail with error412 conditionNotMet. |
| 127 |
# |
| 128 |
# To see the latest fingerprint, make a get() request to |
| 129 |
# retrieve the resource. |
| 130 |
"items": [ # Array of key/value pairs. The total size of all keys and values must be |
| 131 |
# less than 512 KB. |
| 132 |
{ # Metadata |
| 133 |
"key": "A String", # Key for the metadata entry. Keys must conform to the following |
| 134 |
# regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. |
| 135 |
# This is reflected as part of a URL in the metadata server. Additionally, to |
| 136 |
# avoid ambiguity, keys must not conflict with any other metadata keys |
| 137 |
# for the project. |
| 138 |
"value": "A String", # Value for the metadata entry. These are free-form strings, and only |
| 139 |
# have meaning as interpreted by the image running in the instance. The |
| 140 |
# only restriction placed on values is that their size must be less than |
| 141 |
# or equal to 262144 bytes (256 KiB). |
| 142 |
}, |
| 143 |
], |
| 144 |
"kind": "compute#metadata", # Output only. [Output Only] Type of the resource. Always compute#metadata |
| 145 |
# for metadata. |
| 146 |
}, |
| 147 |
"creationTimestamp": "A String", # [Output Only] Creation timestamp inRFC3339 |
| 148 |
# text format. |
| 149 |
"defaultNetworkTier": "A String", # This signifies the default network tier used for configuring resources of |
| 150 |
# the project and can only take the following values:PREMIUM, STANDARD. Initially the default network |
| 151 |
# tier is PREMIUM. |
| 152 |
"defaultServiceAccount": "A String", # [Output Only] Default service account used by VMs running in this project. |
| 153 |
"description": "A String", # An optional textual description of the resource. |
| 154 |
"enabledFeatures": [ # An optional list of restricted features enabled for use on this project. |
| 155 |
"A String", |
| 156 |
], |
| 157 |
"id": "A String", # [Output Only] The unique identifier for the resource. This identifier is |
| 158 |
# defined by the server. This is *not* the project ID, and is |
| 159 |
# just a unique ID used by Compute Engine to identify resources. |
| 160 |
"kind": "compute#project", # Output only. [Output Only] Type of the resource. Always compute#project for |
| 161 |
# projects. |
| 162 |
"managedProtectionTier": "A String", # Output only. [Output Only] The Cloud Armor Managed Protection (CAMP) tier for |
| 163 |
# this project. It can be one of the following values:CA_STANDARD, CAMP_PLUS_PAYGO. |
| 164 |
# |
| 165 |
# If this field is not specified, it is assumed to beCA_STANDARD. |
| 166 |
"name": "A String", # The project ID. For example: my-example-project. Use the |
| 167 |
# project ID to make requests to Compute Engine. |
| 168 |
"quotas": [ # [Output Only] Quotas assigned to this project. |
| 169 |
{ # A quotas entry. |
| 170 |
"limit": 3.14, # [Output Only] Quota limit for this metric. |
| 171 |
"metric": "A String", # [Output Only] Name of the quota metric. |
| 172 |
"owner": "A String", # [Output Only] Owning resource. This is the resource on which this quota |
| 173 |
# is applied. |
| 174 |
"usage": 3.14, # [Output Only] Current usage of this metric. |
| 175 |
}, |
| 176 |
], |
| 177 |
"selfLink": "A String", # [Output Only] Server-defined URL for the resource. |
| 178 |
"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 |
| 179 |
# Storage bucket where they are stored. |
| 180 |
# report. Contains bucket_name and report_name prefix. |
| 181 |
"bucketName": "A String", # The name of an existing bucket in Cloud Storage where the usage report |
| 182 |
# object is stored. The Google Service Account is granted write access to |
| 183 |
# this bucket. This can either be the bucket name by itself, such asexample-bucket, or the bucket name with gs:// |
| 184 |
# or https://storage.googleapis.com/ in front of it, such |
| 185 |
# as gs://example-bucket. |
| 186 |
"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. |
| 187 |
# If you supply a prefix, it should conform to Cloud Storageobject naming |
| 188 |
# conventions. |
| 189 |
}, |
| 190 |
"vmDnsSetting": "A String", # Output only. [Output Only] Default internal DNS setting used by VMs running in |
| 191 |
# this project. |
| 192 |
"xpnProjectStatus": "A String", # [Output Only] The role this project has in a shared VPC configuration. |
| 193 |
# Currently, only projects with the host role, which is specified by the |
| 194 |
# value HOST, are differentiated. |
| 195 |
}, |
| 196 |
}</pre> |
| 197 |
</div> |
| 198 |
|
| 199 |
</body></html> |