Skip to content

Commit 0a68b0f

Browse files
feat(vpcaccess): update the api
#### vpcaccess:v1 The following keys were added: - resources.projects.resources.locations.resources.connectors.methods.patch (Total Keys: 15)
1 parent d9e70f2 commit 0a68b0f

File tree

5 files changed

+103
-8
lines changed

5 files changed

+103
-8
lines changed

docs/dyn/vpcaccess_v1.projects.locations.connectors.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ <h2>Instance Methods</h2>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Updates a Serverless VPC Access connector, returns an operation.</p>
9598
<h3>Method Details</h3>
9699
<div class="method">
97100
<code class="details" id="close">close()</code>
@@ -280,4 +283,62 @@ <h3>Method Details</h3>
280283
</pre>
281284
</div>
282285

286+
<div class="method">
287+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
288+
<pre>Updates a Serverless VPC Access connector, returns an operation.
289+
290+
Args:
291+
name: string, The resource name in the format `projects/*/locations/*/connectors/*`. (required)
292+
body: object, The request body.
293+
The object takes the form of:
294+
295+
{ # Definition of a Serverless VPC Access connector.
296+
&quot;connectedProjects&quot;: [ # Output only. List of projects using the connector.
297+
&quot;A String&quot;,
298+
],
299+
&quot;ipCidrRange&quot;: &quot;A String&quot;, # The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
300+
&quot;machineType&quot;: &quot;A String&quot;, # Machine type of VM Instance underlying connector. Default is e2-micro
301+
&quot;maxInstances&quot;: 42, # Maximum value of instances in autoscaling group underlying the connector.
302+
&quot;maxThroughput&quot;: 42, # Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
303+
&quot;minInstances&quot;: 42, # Minimum value of instances in autoscaling group underlying the connector.
304+
&quot;minThroughput&quot;: 42, # Minimum throughput of the connector in Mbps. Default and min is 200.
305+
&quot;name&quot;: &quot;A String&quot;, # The resource name in the format `projects/*/locations/*/connectors/*`.
306+
&quot;network&quot;: &quot;A String&quot;, # Name of a VPC network.
307+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the VPC access connector.
308+
&quot;subnet&quot;: { # The subnet in which to house the connector # The subnet in which to house the VPC Access Connector.
309+
&quot;name&quot;: &quot;A String&quot;, # Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
310+
&quot;projectId&quot;: &quot;A String&quot;, # Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
311+
},
312+
}
313+
314+
updateMask: string, The fields to update on the entry group. If absent or empty, all modifiable fields are updated.
315+
x__xgafv: string, V1 error format.
316+
Allowed values
317+
1 - v1 error format
318+
2 - v2 error format
319+
320+
Returns:
321+
An object of the form:
322+
323+
{ # This resource represents a long-running operation that is the result of a network API call.
324+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
325+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
326+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
327+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
328+
{
329+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
330+
},
331+
],
332+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
333+
},
334+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
335+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336+
},
337+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
338+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
339+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
340+
},
341+
}</pre>
342+
</div>
343+
283344
</body></html>

docs/dyn/vpcaccess_v1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
85+
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
8686
<p class="toc_element">
8787
<code><a href="#list_next">list_next()</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
@@ -129,7 +129,7 @@ <h3>Method Details</h3>
129129

130130
<div class="method">
131131
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
132-
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `&quot;/v1/{name=users/*}/operations&quot;` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
132+
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
133133

134134
Args:
135135
name: string, The name of the operation&#x27;s parent resource. (required)

docs/dyn/vpcaccess_v1beta1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
85+
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
8686
<p class="toc_element">
8787
<code><a href="#list_next">list_next()</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
@@ -129,7 +129,7 @@ <h3>Method Details</h3>
129129

130130
<div class="method">
131131
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
132-
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `&quot;/v1/{name=users/*}/operations&quot;` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
132+
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
133133

134134
Args:
135135
name: string, The name of the operation&#x27;s parent resource. (required)

googleapiclient/discovery_cache/documents/vpcaccess.v1.json

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,40 @@
272272
"scopes": [
273273
"https://www.googleapis.com/auth/cloud-platform"
274274
]
275+
},
276+
"patch": {
277+
"description": "Updates a Serverless VPC Access connector, returns an operation.",
278+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectors/{connectorsId}",
279+
"httpMethod": "PATCH",
280+
"id": "vpcaccess.projects.locations.connectors.patch",
281+
"parameterOrder": [
282+
"name"
283+
],
284+
"parameters": {
285+
"name": {
286+
"description": "The resource name in the format `projects/*/locations/*/connectors/*`.",
287+
"location": "path",
288+
"pattern": "^projects/[^/]+/locations/[^/]+/connectors/[^/]+$",
289+
"required": true,
290+
"type": "string"
291+
},
292+
"updateMask": {
293+
"description": "The fields to update on the entry group. If absent or empty, all modifiable fields are updated.",
294+
"format": "google-fieldmask",
295+
"location": "query",
296+
"type": "string"
297+
}
298+
},
299+
"path": "v1/{+name}",
300+
"request": {
301+
"$ref": "Connector"
302+
},
303+
"response": {
304+
"$ref": "Operation"
305+
},
306+
"scopes": [
307+
"https://www.googleapis.com/auth/cloud-platform"
308+
]
275309
}
276310
}
277311
},
@@ -303,7 +337,7 @@
303337
]
304338
},
305339
"list": {
306-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
340+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
307341
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
308342
"httpMethod": "GET",
309343
"id": "vpcaccess.projects.locations.operations.list",
@@ -350,7 +384,7 @@
350384
}
351385
}
352386
},
353-
"revision": "20230222",
387+
"revision": "20230309",
354388
"rootUrl": "https://vpcaccess.googleapis.com/",
355389
"schemas": {
356390
"Connector": {

googleapiclient/discovery_cache/documents/vpcaccess.v1beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
]
338338
},
339339
"list": {
340-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
340+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
341341
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations",
342342
"httpMethod": "GET",
343343
"id": "vpcaccess.projects.locations.operations.list",
@@ -384,7 +384,7 @@
384384
}
385385
}
386386
},
387-
"revision": "20230222",
387+
"revision": "20230309",
388388
"rootUrl": "https://vpcaccess.googleapis.com/",
389389
"schemas": {
390390
"Connector": {

0 commit comments

Comments
 (0)