blob: 31512950740bd2e7d4163fb168a119b13f7c6cea [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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_v1.html">Compute Engine API</a> . <a href="compute_v1.vpnGateways.html">vpnGateways</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None)</a></code></p>
79<p class="firstline">Retrieves an aggregated list of VPN gateways.</p>
80<p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
84 <code><a href="#delete">delete(project, region, vpnGateway, requestId=None)</a></code></p>
85<p class="firstline">Deletes the specified VPN gateway.</p>
86<p class="toc_element">
87 <code><a href="#get">get(project, region, vpnGateway)</a></code></p>
88<p class="firstline">Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request.</p>
89<p class="toc_element">
90 <code><a href="#getStatus">getStatus(project, region, vpnGateway)</a></code></p>
91<p class="firstline">Returns the status for the specified VPN gateway.</p>
92<p class="toc_element">
93 <code><a href="#insert">insert(project, region, body=None, requestId=None)</a></code></p>
94<p class="firstline">Creates a VPN gateway in the specified project and region using the data included in the request.</p>
95<p class="toc_element">
96 <code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None)</a></code></p>
97<p class="firstline">Retrieves a list of VPN gateways available to the specified project and region.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
102 <code><a href="#setLabels">setLabels(project, region, resource, body=None, requestId=None)</a></code></p>
103<p class="firstline">Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation.</p>
104<p class="toc_element">
105 <code><a href="#testIamPermissions">testIamPermissions(project, region, resource, body=None)</a></code></p>
106<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
107<h3>Method Details</h3>
108<div class="method">
109 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None)</code>
110 <pre>Retrieves an aggregated list of VPN gateways.
111
112Args:
113 project: string, Project ID for this request. (required)
114 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
115
116For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
117
118You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
119
120To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
121 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
122 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
123 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
124
125You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
126
127Currently, only sorting by `name` or `creationTimestamp desc` is supported.
128 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
129
130Returns:
131 An object of the form:
132
133 {
134 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
135 &quot;items&quot;: { # A list of VpnGateway resources.
136 &quot;a_key&quot;: { # [Output Only] Name of the scope containing this set of VPN gateways.
137 &quot;vpnGateways&quot;: [ # [Output Only] A list of VPN gateways contained in this scope.
138 { # Represents a HA VPN gateway.
139 #
140 # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)
141 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
142 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
143 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
144 &quot;kind&quot;: &quot;compute#vpnGateway&quot;, # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
145 &quot;labelFingerprint&quot;: &quot;A String&quot;, # A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet.
146 #
147 # To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
148 &quot;labels&quot;: { # Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
149 &quot;a_key&quot;: &quot;A String&quot;,
150 },
151 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
152 &quot;network&quot;: &quot;A String&quot;, # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
153 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the VPN gateway resides.
154 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
155 &quot;vpnInterfaces&quot;: [ # A list of interfaces on this VPN gateway.
156 { # A VPN gateway interface.
157 &quot;id&quot;: 42, # The numeric ID of this VPN gateway interface.
158 &quot;ipAddress&quot;: &quot;A String&quot;, # [Output Only] The external IP address for this VPN gateway interface.
159 },
160 ],
161 },
162 ],
163 &quot;warning&quot;: { # [Output Only] Informational warning which replaces the list of addresses when the list is empty.
164 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
165 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
166 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
167 {
168 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
169 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
170 },
171 ],
172 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
173 },
174 },
175 },
176 &quot;kind&quot;: &quot;compute#vpnGatewayAggregatedList&quot;, # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
177 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
178 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
179 &quot;warning&quot;: { # [Output Only] Informational warning message.
180 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
181 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
182 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
183 {
184 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
185 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
186 },
187 ],
188 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
189 },
190 }</pre>
191</div>
192
193<div class="method">
194 <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
195 <pre>Retrieves the next page of results.
196
197Args:
198 previous_request: The request for the previous page. (required)
199 previous_response: The response from the request for the previous page. (required)
200
201Returns:
202 A request object that you can call &#x27;execute()&#x27; on to request the next
203 page. Returns None if there are no more items in the collection.
204 </pre>
205</div>
206
207<div class="method">
208 <code class="details" id="delete">delete(project, region, vpnGateway, requestId=None)</code>
209 <pre>Deletes the specified VPN gateway.
210
211Args:
212 project: string, Project ID for this request. (required)
213 region: string, Name of the region for this request. (required)
214 vpnGateway: string, Name of the VPN gateway to delete. (required)
215 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
216
217For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
218
219The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
220
221Returns:
222 An object of the form:
223
224 { # Represents an Operation resource.
225 #
226 # Google Compute Engine has three Operation resources:
227 #
228 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
229 #
230 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
231 #
232 # Operations can be global, regional or zonal.
233 # - For global operations, use the `globalOperations` resource.
234 # - For regional operations, use the `regionOperations` resource.
235 # - For zonal operations, use the `zonalOperations` resource.
236 #
237 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
238 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
239 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
240 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
241 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
242 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
243 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
244 {
245 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
246 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
247 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
248 },
249 ],
250 },
251 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
252 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
253 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
254 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
255 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
256 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
257 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
258 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
259 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
260 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
261 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
262 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
263 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
264 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
265 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
266 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
267 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
268 {
269 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
270 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
271 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
272 {
273 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
274 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
275 },
276 ],
277 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
278 },
279 ],
280 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
281 }</pre>
282</div>
283
284<div class="method">
285 <code class="details" id="get">get(project, region, vpnGateway)</code>
286 <pre>Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request.
287
288Args:
289 project: string, Project ID for this request. (required)
290 region: string, Name of the region for this request. (required)
291 vpnGateway: string, Name of the VPN gateway to return. (required)
292
293Returns:
294 An object of the form:
295
296 { # Represents a HA VPN gateway.
297 #
298 # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)
299 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
300 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
301 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
302 &quot;kind&quot;: &quot;compute#vpnGateway&quot;, # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
303 &quot;labelFingerprint&quot;: &quot;A String&quot;, # A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet.
304 #
305 # To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
306 &quot;labels&quot;: { # Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
307 &quot;a_key&quot;: &quot;A String&quot;,
308 },
309 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
310 &quot;network&quot;: &quot;A String&quot;, # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
311 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the VPN gateway resides.
312 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
313 &quot;vpnInterfaces&quot;: [ # A list of interfaces on this VPN gateway.
314 { # A VPN gateway interface.
315 &quot;id&quot;: 42, # The numeric ID of this VPN gateway interface.
316 &quot;ipAddress&quot;: &quot;A String&quot;, # [Output Only] The external IP address for this VPN gateway interface.
317 },
318 ],
319 }</pre>
320</div>
321
322<div class="method">
323 <code class="details" id="getStatus">getStatus(project, region, vpnGateway)</code>
324 <pre>Returns the status for the specified VPN gateway.
325
326Args:
327 project: string, Project ID for this request. (required)
328 region: string, Name of the region for this request. (required)
329 vpnGateway: string, Name of the VPN gateway to return. (required)
330
331Returns:
332 An object of the form:
333
334 {
335 &quot;result&quot;: {
336 &quot;vpnConnections&quot;: [ # List of VPN connection for this VpnGateway.
337 { # A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway.
338 &quot;peerExternalGateway&quot;: &quot;A String&quot;, # URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
339 &quot;peerGcpGateway&quot;: &quot;A String&quot;, # URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
340 &quot;state&quot;: { # Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway. # HighAvailabilityRequirementState for the VPN connection.
341 &quot;state&quot;: &quot;A String&quot;, # Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET.
342 &quot;unsatisfiedReason&quot;: &quot;A String&quot;, # Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE.
343 },
344 &quot;tunnels&quot;: [ # List of VPN tunnels that are in this VPN connection.
345 { # Contains some information about a VPN tunnel.
346 &quot;localGatewayInterface&quot;: 42, # The VPN gateway interface this VPN tunnel is associated with.
347 &quot;peerGatewayInterface&quot;: 42, # The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
348 &quot;tunnelUrl&quot;: &quot;A String&quot;, # URL reference to the VPN tunnel.
349 },
350 ],
351 },
352 ],
353 },
354 }</pre>
355</div>
356
357<div class="method">
358 <code class="details" id="insert">insert(project, region, body=None, requestId=None)</code>
359 <pre>Creates a VPN gateway in the specified project and region using the data included in the request.
360
361Args:
362 project: string, Project ID for this request. (required)
363 region: string, Name of the region for this request. (required)
364 body: object, The request body.
365 The object takes the form of:
366
367{ # Represents a HA VPN gateway.
368 #
369 # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)
370 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
371 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
372 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
373 &quot;kind&quot;: &quot;compute#vpnGateway&quot;, # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
374 &quot;labelFingerprint&quot;: &quot;A String&quot;, # A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet.
375 #
376 # To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
377 &quot;labels&quot;: { # Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
378 &quot;a_key&quot;: &quot;A String&quot;,
379 },
380 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
381 &quot;network&quot;: &quot;A String&quot;, # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
382 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the VPN gateway resides.
383 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
384 &quot;vpnInterfaces&quot;: [ # A list of interfaces on this VPN gateway.
385 { # A VPN gateway interface.
386 &quot;id&quot;: 42, # The numeric ID of this VPN gateway interface.
387 &quot;ipAddress&quot;: &quot;A String&quot;, # [Output Only] The external IP address for this VPN gateway interface.
388 },
389 ],
390}
391
392 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
393
394For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
395
396The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
397
398Returns:
399 An object of the form:
400
401 { # Represents an Operation resource.
402 #
403 # Google Compute Engine has three Operation resources:
404 #
405 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
406 #
407 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
408 #
409 # Operations can be global, regional or zonal.
410 # - For global operations, use the `globalOperations` resource.
411 # - For regional operations, use the `regionOperations` resource.
412 # - For zonal operations, use the `zonalOperations` resource.
413 #
414 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
415 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
416 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
417 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
418 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
419 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
420 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
421 {
422 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
423 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
424 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
425 },
426 ],
427 },
428 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
429 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
430 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
431 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
432 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
433 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
434 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
435 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
436 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
437 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
438 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
439 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
440 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
441 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
442 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
443 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
444 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
445 {
446 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
447 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
448 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
449 {
450 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
451 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
452 },
453 ],
454 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
455 },
456 ],
457 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
458 }</pre>
459</div>
460
461<div class="method">
462 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None)</code>
463 <pre>Retrieves a list of VPN gateways available to the specified project and region.
464
465Args:
466 project: string, Project ID for this request. (required)
467 region: string, Name of the region for this request. (required)
468 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
469
470For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
471
472You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
473
474To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
475 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
476 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
477
478You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
479
480Currently, only sorting by `name` or `creationTimestamp desc` is supported.
481 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
482
483Returns:
484 An object of the form:
485
486 { # Contains a list of VpnGateway resources.
487 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
488 &quot;items&quot;: [ # A list of VpnGateway resources.
489 { # Represents a HA VPN gateway.
490 #
491 # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . (== resource_for {$api_version}.vpnGateways ==)
492 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
493 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
494 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
495 &quot;kind&quot;: &quot;compute#vpnGateway&quot;, # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
496 &quot;labelFingerprint&quot;: &quot;A String&quot;, # A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet.
497 #
498 # To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
499 &quot;labels&quot;: { # Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
500 &quot;a_key&quot;: &quot;A String&quot;,
501 },
502 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
503 &quot;network&quot;: &quot;A String&quot;, # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
504 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the VPN gateway resides.
505 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
506 &quot;vpnInterfaces&quot;: [ # A list of interfaces on this VPN gateway.
507 { # A VPN gateway interface.
508 &quot;id&quot;: 42, # The numeric ID of this VPN gateway interface.
509 &quot;ipAddress&quot;: &quot;A String&quot;, # [Output Only] The external IP address for this VPN gateway interface.
510 },
511 ],
512 },
513 ],
514 &quot;kind&quot;: &quot;compute#vpnGatewayList&quot;, # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
515 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
516 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
517 &quot;warning&quot;: { # [Output Only] Informational warning message.
518 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
519 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
520 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
521 {
522 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
523 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
524 },
525 ],
526 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
527 },
528 }</pre>
529</div>
530
531<div class="method">
532 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
533 <pre>Retrieves the next page of results.
534
535Args:
536 previous_request: The request for the previous page. (required)
537 previous_response: The response from the request for the previous page. (required)
538
539Returns:
540 A request object that you can call &#x27;execute()&#x27; on to request the next
541 page. Returns None if there are no more items in the collection.
542 </pre>
543</div>
544
545<div class="method">
546 <code class="details" id="setLabels">setLabels(project, region, resource, body=None, requestId=None)</code>
547 <pre>Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation.
548
549Args:
550 project: string, Project ID for this request. (required)
551 region: string, The region for this request. (required)
552 resource: string, Name or id of the resource for this request. (required)
553 body: object, The request body.
554 The object takes the form of:
555
556{
557 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
558 &quot;labels&quot;: { # The labels to set for this resource.
559 &quot;a_key&quot;: &quot;A String&quot;,
560 },
561 }
562
563 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
564
565For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
566
567The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
568
569Returns:
570 An object of the form:
571
572 { # Represents an Operation resource.
573 #
574 # Google Compute Engine has three Operation resources:
575 #
576 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
577 #
578 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
579 #
580 # Operations can be global, regional or zonal.
581 # - For global operations, use the `globalOperations` resource.
582 # - For regional operations, use the `regionOperations` resource.
583 # - For zonal operations, use the `zonalOperations` resource.
584 #
585 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
586 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
587 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
588 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
589 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
590 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
591 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
592 {
593 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
594 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
595 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
596 },
597 ],
598 },
599 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
600 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
601 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
602 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
603 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
604 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
605 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
606 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
607 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
608 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
609 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
610 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
611 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
612 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
613 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
614 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
615 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
616 {
617 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
618 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
619 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
620 {
621 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
622 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
623 },
624 ],
625 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
626 },
627 ],
628 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
629 }</pre>
630</div>
631
632<div class="method">
633 <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body=None)</code>
634 <pre>Returns permissions that a caller has on the specified resource.
635
636Args:
637 project: string, Project ID for this request. (required)
638 region: string, The name of the region for this request. (required)
639 resource: string, Name or id of the resource for this request. (required)
640 body: object, The request body.
641 The object takes the form of:
642
643{
644 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
645 &quot;A String&quot;,
646 ],
647 }
648
649
650Returns:
651 An object of the form:
652
653 {
654 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
655 &quot;A String&quot;,
656 ],
657 }</pre>
658</div>
659
660</body></html>