Debian Codegraph @

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

raw
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="vpcaccess_v1beta1.html">Serverless VPC Access API</a> . <a href="vpcaccess_v1beta1.projects.html">projects</a> . <a href="vpcaccess_v1beta1.projects.locations.html">locations</a> . <a href="vpcaccess_v1beta1.projects.locations.connectors.html">connectors</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="#create">create(parent, body=None, connectorId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a Serverless VPC Access connector, returns an operation.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists Serverless VPC Access connectors.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <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>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, connectorId=None, x__xgafv=None)</code>
106 <pre>Creates a Serverless VPC Access connector, returns an operation.
107
108 Args:
109 parent: string, Required. The project ID and location in which the configuration should be created, specified in the format `projects/*/locations/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Definition of a Serverless VPC Access connector.
114 &quot;connectedProjects&quot;: [ # Output only. List of projects using the connector.
115 &quot;A String&quot;,
116 ],
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the connector.
118 &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
119 &quot;lastRestartTime&quot;: &quot;A String&quot;, # Output only. The last restart time of the connector.
120 &quot;machineType&quot;: &quot;A String&quot;, # Machine type of VM Instance underlying connector. Default is e2-micro
121 &quot;maxInstances&quot;: 42, # Maximum value of instances in autoscaling group underlying the connector.
122 &quot;maxThroughput&quot;: 42, # Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.
123 &quot;minInstances&quot;: 42, # Minimum value of instances in autoscaling group underlying the connector.
124 &quot;minThroughput&quot;: 42, # Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.
125 &quot;name&quot;: &quot;A String&quot;, # The resource name in the format `projects/*/locations/*/connectors/*`.
126 &quot;network&quot;: &quot;A String&quot;, # Optional. Name of a VPC network.
127 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the VPC access connector.
128 &quot;subnet&quot;: { # The subnet in which to house the connector # Optional. The subnet in which to house the VPC Access Connector.
129 &quot;name&quot;: &quot;A String&quot;, # Optional. 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}
130 &quot;projectId&quot;: &quot;A String&quot;, # Optional. 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.
131 },
132 }
133
134 connectorId: string, Required. The ID to use for this connector.
135 x__xgafv: string, V1 error format.
136 Allowed values
137 1 - v1 error format
138 2 - v2 error format
139
140 Returns:
141 An object of the form:
142
143 { # This resource represents a long-running operation that is the result of a network API call.
144 &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.
145 &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.
146 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
147 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
148 {
149 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
150 },
151 ],
152 &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.
153 },
154 &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.
155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156 },
157 &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}`.
158 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160 },
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
166 <pre>Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.
167
168 Args:
169 name: string, Required. Name of a Serverless VPC Access connector to delete. (required)
170 x__xgafv: string, V1 error format.
171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
174
175 Returns:
176 An object of the form:
177
178 { # This resource represents a long-running operation that is the result of a network API call.
179 &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.
180 &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.
181 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
182 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
183 {
184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185 },
186 ],
187 &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.
188 },
189 &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.
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 &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}`.
193 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 }</pre>
197 </div>
198
199 <div class="method">
200 <code class="details" id="get">get(name, x__xgafv=None)</code>
201 <pre>Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.
202
203 Args:
204 name: string, Required. Name of a Serverless VPC Access connector to get. (required)
205 x__xgafv: string, V1 error format.
206 Allowed values
207 1 - v1 error format
208 2 - v2 error format
209
210 Returns:
211 An object of the form:
212
213 { # Definition of a Serverless VPC Access connector.
214 &quot;connectedProjects&quot;: [ # Output only. List of projects using the connector.
215 &quot;A String&quot;,
216 ],
217 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the connector.
218 &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
219 &quot;lastRestartTime&quot;: &quot;A String&quot;, # Output only. The last restart time of the connector.
220 &quot;machineType&quot;: &quot;A String&quot;, # Machine type of VM Instance underlying connector. Default is e2-micro
221 &quot;maxInstances&quot;: 42, # Maximum value of instances in autoscaling group underlying the connector.
222 &quot;maxThroughput&quot;: 42, # Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.
223 &quot;minInstances&quot;: 42, # Minimum value of instances in autoscaling group underlying the connector.
224 &quot;minThroughput&quot;: 42, # Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.
225 &quot;name&quot;: &quot;A String&quot;, # The resource name in the format `projects/*/locations/*/connectors/*`.
226 &quot;network&quot;: &quot;A String&quot;, # Optional. Name of a VPC network.
227 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the VPC access connector.
228 &quot;subnet&quot;: { # The subnet in which to house the connector # Optional. The subnet in which to house the VPC Access Connector.
229 &quot;name&quot;: &quot;A String&quot;, # Optional. 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}
230 &quot;projectId&quot;: &quot;A String&quot;, # Optional. 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.
231 },
232 }</pre>
233 </div>
234
235 <div class="method">
236 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
237 <pre>Lists Serverless VPC Access connectors.
238
239 Args:
240 parent: string, Required. The project and location from which the routes should be listed. (required)
241 pageSize: integer, Maximum number of functions to return per call.
242 pageToken: string, Continuation token.
243 x__xgafv: string, V1 error format.
244 Allowed values
245 1 - v1 error format
246 2 - v2 error format
247
248 Returns:
249 An object of the form:
250
251 { # Response for listing Serverless VPC Access connectors.
252 &quot;connectors&quot;: [ # List of Serverless VPC Access connectors.
253 { # Definition of a Serverless VPC Access connector.
254 &quot;connectedProjects&quot;: [ # Output only. List of projects using the connector.
255 &quot;A String&quot;,
256 ],
257 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the connector.
258 &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
259 &quot;lastRestartTime&quot;: &quot;A String&quot;, # Output only. The last restart time of the connector.
260 &quot;machineType&quot;: &quot;A String&quot;, # Machine type of VM Instance underlying connector. Default is e2-micro
261 &quot;maxInstances&quot;: 42, # Maximum value of instances in autoscaling group underlying the connector.
262 &quot;maxThroughput&quot;: 42, # Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.
263 &quot;minInstances&quot;: 42, # Minimum value of instances in autoscaling group underlying the connector.
264 &quot;minThroughput&quot;: 42, # Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.
265 &quot;name&quot;: &quot;A String&quot;, # The resource name in the format `projects/*/locations/*/connectors/*`.
266 &quot;network&quot;: &quot;A String&quot;, # Optional. Name of a VPC network.
267 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the VPC access connector.
268 &quot;subnet&quot;: { # The subnet in which to house the connector # Optional. The subnet in which to house the VPC Access Connector.
269 &quot;name&quot;: &quot;A String&quot;, # Optional. 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}
270 &quot;projectId&quot;: &quot;A String&quot;, # Optional. 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.
271 },
272 },
273 ],
274 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token.
275 }</pre>
276 </div>
277
278 <div class="method">
279 <code class="details" id="list_next">list_next()</code>
280 <pre>Retrieves the next page of results.
281
282 Args:
283 previous_request: The request for the previous page. (required)
284 previous_response: The response from the request for the previous page. (required)
285
286 Returns:
287 A request object that you can call &#x27;execute()&#x27; on to request the next
288 page. Returns None if there are no more items in the collection.
289 </pre>
290 </div>
291
292 <div class="method">
293 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
294 <pre>Updates a Serverless VPC Access connector, returns an operation.
295
296 Args:
297 name: string, The resource name in the format `projects/*/locations/*/connectors/*`. (required)
298 body: object, The request body.
299 The object takes the form of:
300
301 { # Definition of a Serverless VPC Access connector.
302 &quot;connectedProjects&quot;: [ # Output only. List of projects using the connector.
303 &quot;A String&quot;,
304 ],
305 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the connector.
306 &quot;ipCidrRange&quot;: &quot;A String&quot;, # Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
307 &quot;lastRestartTime&quot;: &quot;A String&quot;, # Output only. The last restart time of the connector.
308 &quot;machineType&quot;: &quot;A String&quot;, # Machine type of VM Instance underlying connector. Default is e2-micro
309 &quot;maxInstances&quot;: 42, # Maximum value of instances in autoscaling group underlying the connector.
310 &quot;maxThroughput&quot;: 42, # Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.
311 &quot;minInstances&quot;: 42, # Minimum value of instances in autoscaling group underlying the connector.
312 &quot;minThroughput&quot;: 42, # Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.
313 &quot;name&quot;: &quot;A String&quot;, # The resource name in the format `projects/*/locations/*/connectors/*`.
314 &quot;network&quot;: &quot;A String&quot;, # Optional. Name of a VPC network.
315 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the VPC access connector.
316 &quot;subnet&quot;: { # The subnet in which to house the connector # Optional. The subnet in which to house the VPC Access Connector.
317 &quot;name&quot;: &quot;A String&quot;, # Optional. 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}
318 &quot;projectId&quot;: &quot;A String&quot;, # Optional. 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.
319 },
320 }
321
322 updateMask: string, The fields to update on the entry group. If absent or empty, all modifiable fields are updated.
323 x__xgafv: string, V1 error format.
324 Allowed values
325 1 - v1 error format
326 2 - v2 error format
327
328 Returns:
329 An object of the form:
330
331 { # This resource represents a long-running operation that is the result of a network API call.
332 &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.
333 &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.
334 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
335 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
336 {
337 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
338 },
339 ],
340 &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.
341 },
342 &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.
343 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
344 },
345 &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}`.
346 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
347 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
348 },
349 }</pre>
350 </div>
351
352 </body></html>