@googleapis/networkservices 33.0.0 → 34.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +4194 -1963
- package/build/v1.js +979 -285
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +548 -8
- package/build/v1beta1.js +175 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +7344 -3582
- package/v1beta1.ts +1076 -207
package/v1beta1.ts
CHANGED
|
@@ -124,10 +124,55 @@ export namespace networkservices_v1beta1 {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
/**
|
|
128
|
+
* AgentConnectivityTemplate represents a reusable network configuration.
|
|
129
|
+
*/
|
|
130
|
+
export interface Schema$AgentConnectivityTemplate {
|
|
131
|
+
/**
|
|
132
|
+
* Required. Immutable. The path of the access. Maps roughly to ingress/egress, though we keep CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent Gateway's original resource model. The path is immutable once set. Exactly one path can be set.
|
|
133
|
+
*/
|
|
134
|
+
accessPath?: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be configured.
|
|
137
|
+
*/
|
|
138
|
+
accessTypes?: string[] | null;
|
|
139
|
+
/**
|
|
140
|
+
* Output only. The timestamp when the resource was created.
|
|
141
|
+
*/
|
|
142
|
+
createTime?: string | null;
|
|
143
|
+
/**
|
|
144
|
+
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
145
|
+
*/
|
|
146
|
+
description?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Optional. Configuration for egress network traffic.
|
|
149
|
+
*/
|
|
150
|
+
egressNetworkConfig?: Schema$EgressNetworkConfig;
|
|
151
|
+
/**
|
|
152
|
+
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
153
|
+
*/
|
|
154
|
+
etag?: string | null;
|
|
155
|
+
/**
|
|
156
|
+
* Optional. Set of label tags associated with the AgentConnectivityTemplate resource.
|
|
157
|
+
*/
|
|
158
|
+
labels?: {[key: string]: string} | null;
|
|
159
|
+
/**
|
|
160
|
+
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern `projects/x/locations/x/agentConnectivityTemplates/`.
|
|
161
|
+
*/
|
|
162
|
+
name?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* Output only. The timestamp when the resource was updated.
|
|
165
|
+
*/
|
|
166
|
+
updateTime?: string | null;
|
|
167
|
+
}
|
|
127
168
|
/**
|
|
128
169
|
* AgentGateway represents the agent gateway resource.
|
|
129
170
|
*/
|
|
130
171
|
export interface Schema$AgentGateway {
|
|
172
|
+
/**
|
|
173
|
+
* Optional. The resource name of the AgentConnectivityTemplate. Format: projects/{project\}/locations/{location\}/agentConnectivityTemplates/{template\}
|
|
174
|
+
*/
|
|
175
|
+
agentConnectivityTemplate?: string | null;
|
|
131
176
|
/**
|
|
132
177
|
* Output only. Field for populated AgentGateway card.
|
|
133
178
|
*/
|
|
@@ -161,11 +206,11 @@ export namespace networkservices_v1beta1 {
|
|
|
161
206
|
*/
|
|
162
207
|
networkConfig?: Schema$AgentGatewayNetworkConfig;
|
|
163
208
|
/**
|
|
164
|
-
*
|
|
209
|
+
* Optional. Deprecated.
|
|
165
210
|
*/
|
|
166
211
|
protocols?: string[] | null;
|
|
167
212
|
/**
|
|
168
|
-
* Optional. A list of Agent registries containing the agents, MCP servers and tools governed by the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format `//agentregistry.googleapis.com/projects/{project\}/locations/{location\}
|
|
213
|
+
* Optional. A list of Agent registries containing the agents, MCP servers and tools governed by the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format `//agentregistry.googleapis.com/projects/{project\}/locations/{location\}/`
|
|
169
214
|
*/
|
|
170
215
|
registries?: string[] | null;
|
|
171
216
|
/**
|
|
@@ -250,13 +295,17 @@ export namespace networkservices_v1beta1 {
|
|
|
250
295
|
* Optional. A supported Google Cloud networking proxy in the Project and Location
|
|
251
296
|
*/
|
|
252
297
|
resourceUri?: string | null;
|
|
298
|
+
/**
|
|
299
|
+
* Optional. List of supported Google Cloud networking proxies in the Project and Location. resource_uris is mutually exclusive with resource_uri.
|
|
300
|
+
*/
|
|
301
|
+
resourceUris?: string[] | null;
|
|
253
302
|
}
|
|
254
303
|
/**
|
|
255
304
|
* `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.
|
|
256
305
|
*/
|
|
257
306
|
export interface Schema$AuthzExtension {
|
|
258
307
|
/**
|
|
259
|
-
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service
|
|
308
|
+
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service.
|
|
260
309
|
*/
|
|
261
310
|
authority?: string | null;
|
|
262
311
|
/**
|
|
@@ -284,7 +333,7 @@ export namespace networkservices_v1beta1 {
|
|
|
284
333
|
*/
|
|
285
334
|
labels?: {[key: string]: string} | null;
|
|
286
335
|
/**
|
|
287
|
-
* Optional. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.
|
|
336
|
+
* Optional. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. The supported values are `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. You can omit this field for `AuthzExtensions` resources that don't reference a backend service. For more information, see [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
288
337
|
*/
|
|
289
338
|
loadBalancingScheme?: string | null;
|
|
290
339
|
/**
|
|
@@ -296,7 +345,7 @@ export namespace networkservices_v1beta1 {
|
|
|
296
345
|
*/
|
|
297
346
|
name?: string | null;
|
|
298
347
|
/**
|
|
299
|
-
* Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project\}/
|
|
348
|
+
* Required. The reference to the service that runs the extension. To configure a callout extension: For global AuthzExtension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project\}/global/backendServices/{backendService\}`. For regional AuthzExtension, `service` must be a fully-qualified reference to one of the following: * a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/backendServices/{backendService\}`. * a fully qualified domain name that can be resolved by the Google Cloud DNS. * `iap.googleapis.com` and it can only be referenced by an AuthzPolicy with the policyProfile set to REQUEST_AUTHZ. * `modelarmor..rep.googleapis.com` and it can only be referenced by an AuthzPolicy with the policyProfile set to CONTENT_AUTHZ.
|
|
300
349
|
*/
|
|
301
350
|
service?: string | null;
|
|
302
351
|
/**
|
|
@@ -316,6 +365,37 @@ export namespace networkservices_v1beta1 {
|
|
|
316
365
|
* The request message for Operations.CancelOperation.
|
|
317
366
|
*/
|
|
318
367
|
export interface Schema$CancelOperationRequest {}
|
|
368
|
+
/**
|
|
369
|
+
* DNS Peering configuration.
|
|
370
|
+
*/
|
|
371
|
+
export interface Schema$DnsPeeringConfig {
|
|
372
|
+
/**
|
|
373
|
+
* Optional. The domain to peer.
|
|
374
|
+
*/
|
|
375
|
+
domain?: string | null;
|
|
376
|
+
/**
|
|
377
|
+
* Optional. The target network resource name for DNS peering. Format: projects/{project\}/global/networks/{network_id\}
|
|
378
|
+
*/
|
|
379
|
+
targetNetwork?: string | null;
|
|
380
|
+
}
|
|
381
|
+
export interface Schema$EgressNetworkConfig {
|
|
382
|
+
/**
|
|
383
|
+
* Optional. DNS Peering configuration.
|
|
384
|
+
*/
|
|
385
|
+
dnsPeeringConfig?: Schema$DnsPeeringConfig;
|
|
386
|
+
/**
|
|
387
|
+
* Optional. The network attachment resource name. Format: projects/{project\}/regions/{region\}/networkAttachments/{network_attachment_id\}
|
|
388
|
+
*/
|
|
389
|
+
networkAttachment?: string | null;
|
|
390
|
+
/**
|
|
391
|
+
* Optional. Deprecated: Use tls_config instead. The trust config resource name. Format: projects/{project\}/locations/{location\}/trustConfigs/{trust_config\}
|
|
392
|
+
*/
|
|
393
|
+
trustConfig?: string | null;
|
|
394
|
+
/**
|
|
395
|
+
* Optional. The VPC egress setting.
|
|
396
|
+
*/
|
|
397
|
+
vpcEgress?: string | null;
|
|
398
|
+
}
|
|
319
399
|
/**
|
|
320
400
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
321
401
|
*/
|
|
@@ -338,7 +418,7 @@ export namespace networkservices_v1beta1 {
|
|
|
338
418
|
*/
|
|
339
419
|
authorizationPolicy?: string | null;
|
|
340
420
|
/**
|
|
341
|
-
* Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
|
|
421
|
+
* Optional. Deprecated: This field is not used and is a no-op. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
|
|
342
422
|
*/
|
|
343
423
|
clientTlsPolicy?: string | null;
|
|
344
424
|
/**
|
|
@@ -1374,6 +1454,23 @@ export namespace networkservices_v1beta1 {
|
|
|
1374
1454
|
*/
|
|
1375
1455
|
updateTime?: string | null;
|
|
1376
1456
|
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Response returned by the ListAgentConnectivityTemplates method.
|
|
1459
|
+
*/
|
|
1460
|
+
export interface Schema$ListAgentConnectivityTemplatesResponse {
|
|
1461
|
+
/**
|
|
1462
|
+
* List of AgentConnectivityTemplate resources.
|
|
1463
|
+
*/
|
|
1464
|
+
agentConnectivityTemplates?: Schema$AgentConnectivityTemplate[];
|
|
1465
|
+
/**
|
|
1466
|
+
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
|
|
1467
|
+
*/
|
|
1468
|
+
nextPageToken?: string | null;
|
|
1469
|
+
/**
|
|
1470
|
+
* Unordered list. Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
|
|
1471
|
+
*/
|
|
1472
|
+
unreachable?: string[] | null;
|
|
1473
|
+
}
|
|
1377
1474
|
/**
|
|
1378
1475
|
* Response returned by the ListAgentGateways method.
|
|
1379
1476
|
*/
|
|
@@ -2296,11 +2393,11 @@ export namespace networkservices_v1beta1 {
|
|
|
2296
2393
|
*/
|
|
2297
2394
|
enable?: boolean | null;
|
|
2298
2395
|
/**
|
|
2299
|
-
* Non-empty default. Specifies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the plugin. If the field is not provided when logging is enabled, it is set to `INFO` by default.
|
|
2396
|
+
* Optional. Non-empty default. Specifies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the plugin. If the field is not provided when logging is enabled, it is set to `INFO` by default.
|
|
2300
2397
|
*/
|
|
2301
2398
|
minLogLevel?: string | null;
|
|
2302
2399
|
/**
|
|
2303
|
-
* Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can be specified only if logging is enabled for this plugin.
|
|
2400
|
+
* Optional. Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can be specified only if logging is enabled for this plugin.
|
|
2304
2401
|
*/
|
|
2305
2402
|
sampleRate?: number | null;
|
|
2306
2403
|
}
|
|
@@ -2411,6 +2508,7 @@ export namespace networkservices_v1beta1 {
|
|
|
2411
2508
|
|
|
2412
2509
|
export class Resource$Projects$Locations {
|
|
2413
2510
|
context: APIRequestContext;
|
|
2511
|
+
agentConnectivityTemplates: Resource$Projects$Locations$Agentconnectivitytemplates;
|
|
2414
2512
|
agentGateways: Resource$Projects$Locations$Agentgateways;
|
|
2415
2513
|
authzExtensions: Resource$Projects$Locations$Authzextensions;
|
|
2416
2514
|
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
@@ -2430,6 +2528,10 @@ export namespace networkservices_v1beta1 {
|
|
|
2430
2528
|
wasmPlugins: Resource$Projects$Locations$Wasmplugins;
|
|
2431
2529
|
constructor(context: APIRequestContext) {
|
|
2432
2530
|
this.context = context;
|
|
2531
|
+
this.agentConnectivityTemplates =
|
|
2532
|
+
new Resource$Projects$Locations$Agentconnectivitytemplates(
|
|
2533
|
+
this.context
|
|
2534
|
+
);
|
|
2433
2535
|
this.agentGateways = new Resource$Projects$Locations$Agentgateways(
|
|
2434
2536
|
this.context
|
|
2435
2537
|
);
|
|
@@ -2564,8 +2666,7 @@ export namespace networkservices_v1beta1 {
|
|
|
2564
2666
|
| BodyResponseCallback<Schema$Location>
|
|
2565
2667
|
| BodyResponseCallback<Readable>,
|
|
2566
2668
|
callback?:
|
|
2567
|
-
|
|
2568
|
-
| BodyResponseCallback<Readable>
|
|
2669
|
+
BodyResponseCallback<Schema$Location> | BodyResponseCallback<Readable>
|
|
2569
2670
|
):
|
|
2570
2671
|
| void
|
|
2571
2672
|
| Promise<GaxiosResponseWithHTTP2<Schema$Location>>
|
|
@@ -2612,7 +2713,796 @@ export namespace networkservices_v1beta1 {
|
|
|
2612
2713
|
}
|
|
2613
2714
|
|
|
2614
2715
|
/**
|
|
2615
|
-
* Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
|
|
2716
|
+
* Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
|
|
2717
|
+
* @example
|
|
2718
|
+
* ```js
|
|
2719
|
+
* // Before running the sample:
|
|
2720
|
+
* // - Enable the API at:
|
|
2721
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2722
|
+
* // - Login into gcloud by running:
|
|
2723
|
+
* // ```sh
|
|
2724
|
+
* // $ gcloud auth application-default login
|
|
2725
|
+
* // ```
|
|
2726
|
+
* // - Install the npm module by running:
|
|
2727
|
+
* // ```sh
|
|
2728
|
+
* // $ npm install googleapis
|
|
2729
|
+
* // ```
|
|
2730
|
+
*
|
|
2731
|
+
* const {google} = require('googleapis');
|
|
2732
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2733
|
+
*
|
|
2734
|
+
* async function main() {
|
|
2735
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2736
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2737
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2738
|
+
* });
|
|
2739
|
+
*
|
|
2740
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2741
|
+
* const authClient = await auth.getClient();
|
|
2742
|
+
* google.options({auth: authClient});
|
|
2743
|
+
*
|
|
2744
|
+
* // Do the magic
|
|
2745
|
+
* const res = await networkservices.projects.locations.list({
|
|
2746
|
+
* // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
|
|
2747
|
+
* extraLocationTypes: 'placeholder-value',
|
|
2748
|
+
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2749
|
+
* filter: 'placeholder-value',
|
|
2750
|
+
* // The resource that owns the locations collection, if applicable.
|
|
2751
|
+
* name: 'projects/my-project',
|
|
2752
|
+
* // The maximum number of results to return. If not set, the service selects a default.
|
|
2753
|
+
* pageSize: 'placeholder-value',
|
|
2754
|
+
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
|
|
2755
|
+
* pageToken: 'placeholder-value',
|
|
2756
|
+
* });
|
|
2757
|
+
* console.log(res.data);
|
|
2758
|
+
*
|
|
2759
|
+
* // Example response
|
|
2760
|
+
* // {
|
|
2761
|
+
* // "locations": [],
|
|
2762
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
2763
|
+
* // }
|
|
2764
|
+
* }
|
|
2765
|
+
*
|
|
2766
|
+
* main().catch(e => {
|
|
2767
|
+
* console.error(e);
|
|
2768
|
+
* throw e;
|
|
2769
|
+
* });
|
|
2770
|
+
*
|
|
2771
|
+
* ```
|
|
2772
|
+
*
|
|
2773
|
+
* @param params - Parameters for request
|
|
2774
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2775
|
+
* @param callback - Optional callback that handles the response.
|
|
2776
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2777
|
+
*/
|
|
2778
|
+
list(
|
|
2779
|
+
params: Params$Resource$Projects$Locations$List,
|
|
2780
|
+
options: StreamMethodOptions
|
|
2781
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2782
|
+
list(
|
|
2783
|
+
params?: Params$Resource$Projects$Locations$List,
|
|
2784
|
+
options?: MethodOptions
|
|
2785
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
|
|
2786
|
+
list(
|
|
2787
|
+
params: Params$Resource$Projects$Locations$List,
|
|
2788
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2789
|
+
callback: BodyResponseCallback<Readable>
|
|
2790
|
+
): void;
|
|
2791
|
+
list(
|
|
2792
|
+
params: Params$Resource$Projects$Locations$List,
|
|
2793
|
+
options:
|
|
2794
|
+
MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>,
|
|
2795
|
+
callback: BodyResponseCallback<Schema$ListLocationsResponse>
|
|
2796
|
+
): void;
|
|
2797
|
+
list(
|
|
2798
|
+
params: Params$Resource$Projects$Locations$List,
|
|
2799
|
+
callback: BodyResponseCallback<Schema$ListLocationsResponse>
|
|
2800
|
+
): void;
|
|
2801
|
+
list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
2802
|
+
list(
|
|
2803
|
+
paramsOrCallback?:
|
|
2804
|
+
| Params$Resource$Projects$Locations$List
|
|
2805
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>
|
|
2806
|
+
| BodyResponseCallback<Readable>,
|
|
2807
|
+
optionsOrCallback?:
|
|
2808
|
+
| MethodOptions
|
|
2809
|
+
| StreamMethodOptions
|
|
2810
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>
|
|
2811
|
+
| BodyResponseCallback<Readable>,
|
|
2812
|
+
callback?:
|
|
2813
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>
|
|
2814
|
+
| BodyResponseCallback<Readable>
|
|
2815
|
+
):
|
|
2816
|
+
| void
|
|
2817
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>
|
|
2818
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2819
|
+
let params = (paramsOrCallback ||
|
|
2820
|
+
{}) as Params$Resource$Projects$Locations$List;
|
|
2821
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2822
|
+
|
|
2823
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2824
|
+
callback = paramsOrCallback;
|
|
2825
|
+
params = {} as Params$Resource$Projects$Locations$List;
|
|
2826
|
+
options = {};
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2830
|
+
callback = optionsOrCallback;
|
|
2831
|
+
options = {};
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
const rootUrl =
|
|
2835
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
2836
|
+
const parameters = {
|
|
2837
|
+
options: Object.assign(
|
|
2838
|
+
{
|
|
2839
|
+
url: (rootUrl + '/v1beta1/{+name}/locations').replace(
|
|
2840
|
+
/([^:]\/)\/+/g,
|
|
2841
|
+
'$1'
|
|
2842
|
+
),
|
|
2843
|
+
method: 'GET',
|
|
2844
|
+
apiVersion: '',
|
|
2845
|
+
},
|
|
2846
|
+
options
|
|
2847
|
+
),
|
|
2848
|
+
params,
|
|
2849
|
+
requiredParams: ['name'],
|
|
2850
|
+
pathParams: ['name'],
|
|
2851
|
+
context: this.context,
|
|
2852
|
+
};
|
|
2853
|
+
if (callback) {
|
|
2854
|
+
createAPIRequest<Schema$ListLocationsResponse>(
|
|
2855
|
+
parameters,
|
|
2856
|
+
callback as BodyResponseCallback<unknown>
|
|
2857
|
+
);
|
|
2858
|
+
} else {
|
|
2859
|
+
return createAPIRequest<Schema$ListLocationsResponse>(parameters);
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
|
|
2865
|
+
/**
|
|
2866
|
+
* Resource name for the location.
|
|
2867
|
+
*/
|
|
2868
|
+
name?: string;
|
|
2869
|
+
}
|
|
2870
|
+
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2871
|
+
/**
|
|
2872
|
+
* Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
|
|
2873
|
+
*/
|
|
2874
|
+
extraLocationTypes?: string[];
|
|
2875
|
+
/**
|
|
2876
|
+
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2877
|
+
*/
|
|
2878
|
+
filter?: string;
|
|
2879
|
+
/**
|
|
2880
|
+
* The resource that owns the locations collection, if applicable.
|
|
2881
|
+
*/
|
|
2882
|
+
name?: string;
|
|
2883
|
+
/**
|
|
2884
|
+
* The maximum number of results to return. If not set, the service selects a default.
|
|
2885
|
+
*/
|
|
2886
|
+
pageSize?: number;
|
|
2887
|
+
/**
|
|
2888
|
+
* A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
|
|
2889
|
+
*/
|
|
2890
|
+
pageToken?: string;
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
export class Resource$Projects$Locations$Agentconnectivitytemplates {
|
|
2894
|
+
context: APIRequestContext;
|
|
2895
|
+
constructor(context: APIRequestContext) {
|
|
2896
|
+
this.context = context;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
* Creates a new AgentConnectivityTemplate in a given project and location.
|
|
2901
|
+
* @example
|
|
2902
|
+
* ```js
|
|
2903
|
+
* // Before running the sample:
|
|
2904
|
+
* // - Enable the API at:
|
|
2905
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2906
|
+
* // - Login into gcloud by running:
|
|
2907
|
+
* // ```sh
|
|
2908
|
+
* // $ gcloud auth application-default login
|
|
2909
|
+
* // ```
|
|
2910
|
+
* // - Install the npm module by running:
|
|
2911
|
+
* // ```sh
|
|
2912
|
+
* // $ npm install googleapis
|
|
2913
|
+
* // ```
|
|
2914
|
+
*
|
|
2915
|
+
* const {google} = require('googleapis');
|
|
2916
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2917
|
+
*
|
|
2918
|
+
* async function main() {
|
|
2919
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2920
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2921
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2922
|
+
* });
|
|
2923
|
+
*
|
|
2924
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2925
|
+
* const authClient = await auth.getClient();
|
|
2926
|
+
* google.options({auth: authClient});
|
|
2927
|
+
*
|
|
2928
|
+
* // Do the magic
|
|
2929
|
+
* const res =
|
|
2930
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.create({
|
|
2931
|
+
* // Required. Short name of the AgentConnectivityTemplate resource to be created.
|
|
2932
|
+
* agentConnectivityTemplateId: 'placeholder-value',
|
|
2933
|
+
* // Required. The parent resource of the AgentConnectivityTemplate. Must be in the format `projects/x/locations/x`.
|
|
2934
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
2935
|
+
*
|
|
2936
|
+
* // Request body metadata
|
|
2937
|
+
* requestBody: {
|
|
2938
|
+
* // request body parameters
|
|
2939
|
+
* // {
|
|
2940
|
+
* // "accessPath": "my_accessPath",
|
|
2941
|
+
* // "accessTypes": [],
|
|
2942
|
+
* // "createTime": "my_createTime",
|
|
2943
|
+
* // "description": "my_description",
|
|
2944
|
+
* // "egressNetworkConfig": {},
|
|
2945
|
+
* // "etag": "my_etag",
|
|
2946
|
+
* // "labels": {},
|
|
2947
|
+
* // "name": "my_name",
|
|
2948
|
+
* // "updateTime": "my_updateTime"
|
|
2949
|
+
* // }
|
|
2950
|
+
* },
|
|
2951
|
+
* });
|
|
2952
|
+
* console.log(res.data);
|
|
2953
|
+
*
|
|
2954
|
+
* // Example response
|
|
2955
|
+
* // {
|
|
2956
|
+
* // "done": false,
|
|
2957
|
+
* // "error": {},
|
|
2958
|
+
* // "metadata": {},
|
|
2959
|
+
* // "name": "my_name",
|
|
2960
|
+
* // "response": {}
|
|
2961
|
+
* // }
|
|
2962
|
+
* }
|
|
2963
|
+
*
|
|
2964
|
+
* main().catch(e => {
|
|
2965
|
+
* console.error(e);
|
|
2966
|
+
* throw e;
|
|
2967
|
+
* });
|
|
2968
|
+
*
|
|
2969
|
+
* ```
|
|
2970
|
+
*
|
|
2971
|
+
* @param params - Parameters for request
|
|
2972
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2973
|
+
* @param callback - Optional callback that handles the response.
|
|
2974
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2975
|
+
*/
|
|
2976
|
+
create(
|
|
2977
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create,
|
|
2978
|
+
options: StreamMethodOptions
|
|
2979
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2980
|
+
create(
|
|
2981
|
+
params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create,
|
|
2982
|
+
options?: MethodOptions
|
|
2983
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2984
|
+
create(
|
|
2985
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create,
|
|
2986
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2987
|
+
callback: BodyResponseCallback<Readable>
|
|
2988
|
+
): void;
|
|
2989
|
+
create(
|
|
2990
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create,
|
|
2991
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
2992
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
2993
|
+
): void;
|
|
2994
|
+
create(
|
|
2995
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create,
|
|
2996
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
2997
|
+
): void;
|
|
2998
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2999
|
+
create(
|
|
3000
|
+
paramsOrCallback?:
|
|
3001
|
+
| Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create
|
|
3002
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3003
|
+
| BodyResponseCallback<Readable>,
|
|
3004
|
+
optionsOrCallback?:
|
|
3005
|
+
| MethodOptions
|
|
3006
|
+
| StreamMethodOptions
|
|
3007
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3008
|
+
| BodyResponseCallback<Readable>,
|
|
3009
|
+
callback?:
|
|
3010
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3011
|
+
):
|
|
3012
|
+
| void
|
|
3013
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3014
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3015
|
+
let params = (paramsOrCallback ||
|
|
3016
|
+
{}) as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create;
|
|
3017
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3018
|
+
|
|
3019
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3020
|
+
callback = paramsOrCallback;
|
|
3021
|
+
params =
|
|
3022
|
+
{} as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create;
|
|
3023
|
+
options = {};
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3027
|
+
callback = optionsOrCallback;
|
|
3028
|
+
options = {};
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
const rootUrl =
|
|
3032
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
3033
|
+
const parameters = {
|
|
3034
|
+
options: Object.assign(
|
|
3035
|
+
{
|
|
3036
|
+
url: (
|
|
3037
|
+
rootUrl + '/v1beta1/{+parent}/agentConnectivityTemplates'
|
|
3038
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3039
|
+
method: 'POST',
|
|
3040
|
+
apiVersion: '',
|
|
3041
|
+
},
|
|
3042
|
+
options
|
|
3043
|
+
),
|
|
3044
|
+
params,
|
|
3045
|
+
requiredParams: ['parent'],
|
|
3046
|
+
pathParams: ['parent'],
|
|
3047
|
+
context: this.context,
|
|
3048
|
+
};
|
|
3049
|
+
if (callback) {
|
|
3050
|
+
createAPIRequest<Schema$Operation>(
|
|
3051
|
+
parameters,
|
|
3052
|
+
callback as BodyResponseCallback<unknown>
|
|
3053
|
+
);
|
|
3054
|
+
} else {
|
|
3055
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
/**
|
|
3060
|
+
* Deletes a single AgentConnectivityTemplate.
|
|
3061
|
+
* @example
|
|
3062
|
+
* ```js
|
|
3063
|
+
* // Before running the sample:
|
|
3064
|
+
* // - Enable the API at:
|
|
3065
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
3066
|
+
* // - Login into gcloud by running:
|
|
3067
|
+
* // ```sh
|
|
3068
|
+
* // $ gcloud auth application-default login
|
|
3069
|
+
* // ```
|
|
3070
|
+
* // - Install the npm module by running:
|
|
3071
|
+
* // ```sh
|
|
3072
|
+
* // $ npm install googleapis
|
|
3073
|
+
* // ```
|
|
3074
|
+
*
|
|
3075
|
+
* const {google} = require('googleapis');
|
|
3076
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
3077
|
+
*
|
|
3078
|
+
* async function main() {
|
|
3079
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3080
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3081
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
3082
|
+
* });
|
|
3083
|
+
*
|
|
3084
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3085
|
+
* const authClient = await auth.getClient();
|
|
3086
|
+
* google.options({auth: authClient});
|
|
3087
|
+
*
|
|
3088
|
+
* // Do the magic
|
|
3089
|
+
* const res =
|
|
3090
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.delete({
|
|
3091
|
+
* // Optional. The etag of the AgentConnectivityTemplate to delete.
|
|
3092
|
+
* etag: 'placeholder-value',
|
|
3093
|
+
* // Required. A name of the AgentConnectivityTemplate to delete. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
3094
|
+
* name: 'projects/my-project/locations/my-location/agentConnectivityTemplates/my-agentConnectivityTemplate',
|
|
3095
|
+
* });
|
|
3096
|
+
* console.log(res.data);
|
|
3097
|
+
*
|
|
3098
|
+
* // Example response
|
|
3099
|
+
* // {
|
|
3100
|
+
* // "done": false,
|
|
3101
|
+
* // "error": {},
|
|
3102
|
+
* // "metadata": {},
|
|
3103
|
+
* // "name": "my_name",
|
|
3104
|
+
* // "response": {}
|
|
3105
|
+
* // }
|
|
3106
|
+
* }
|
|
3107
|
+
*
|
|
3108
|
+
* main().catch(e => {
|
|
3109
|
+
* console.error(e);
|
|
3110
|
+
* throw e;
|
|
3111
|
+
* });
|
|
3112
|
+
*
|
|
3113
|
+
* ```
|
|
3114
|
+
*
|
|
3115
|
+
* @param params - Parameters for request
|
|
3116
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3117
|
+
* @param callback - Optional callback that handles the response.
|
|
3118
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3119
|
+
*/
|
|
3120
|
+
delete(
|
|
3121
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete,
|
|
3122
|
+
options: StreamMethodOptions
|
|
3123
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3124
|
+
delete(
|
|
3125
|
+
params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete,
|
|
3126
|
+
options?: MethodOptions
|
|
3127
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3128
|
+
delete(
|
|
3129
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete,
|
|
3130
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3131
|
+
callback: BodyResponseCallback<Readable>
|
|
3132
|
+
): void;
|
|
3133
|
+
delete(
|
|
3134
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete,
|
|
3135
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
3136
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3137
|
+
): void;
|
|
3138
|
+
delete(
|
|
3139
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete,
|
|
3140
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3141
|
+
): void;
|
|
3142
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3143
|
+
delete(
|
|
3144
|
+
paramsOrCallback?:
|
|
3145
|
+
| Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete
|
|
3146
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3147
|
+
| BodyResponseCallback<Readable>,
|
|
3148
|
+
optionsOrCallback?:
|
|
3149
|
+
| MethodOptions
|
|
3150
|
+
| StreamMethodOptions
|
|
3151
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3152
|
+
| BodyResponseCallback<Readable>,
|
|
3153
|
+
callback?:
|
|
3154
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3155
|
+
):
|
|
3156
|
+
| void
|
|
3157
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3158
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3159
|
+
let params = (paramsOrCallback ||
|
|
3160
|
+
{}) as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete;
|
|
3161
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3162
|
+
|
|
3163
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3164
|
+
callback = paramsOrCallback;
|
|
3165
|
+
params =
|
|
3166
|
+
{} as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete;
|
|
3167
|
+
options = {};
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3171
|
+
callback = optionsOrCallback;
|
|
3172
|
+
options = {};
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
const rootUrl =
|
|
3176
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
3177
|
+
const parameters = {
|
|
3178
|
+
options: Object.assign(
|
|
3179
|
+
{
|
|
3180
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3181
|
+
method: 'DELETE',
|
|
3182
|
+
apiVersion: '',
|
|
3183
|
+
},
|
|
3184
|
+
options
|
|
3185
|
+
),
|
|
3186
|
+
params,
|
|
3187
|
+
requiredParams: ['name'],
|
|
3188
|
+
pathParams: ['name'],
|
|
3189
|
+
context: this.context,
|
|
3190
|
+
};
|
|
3191
|
+
if (callback) {
|
|
3192
|
+
createAPIRequest<Schema$Operation>(
|
|
3193
|
+
parameters,
|
|
3194
|
+
callback as BodyResponseCallback<unknown>
|
|
3195
|
+
);
|
|
3196
|
+
} else {
|
|
3197
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* Gets details of a single AgentConnectivityTemplate.
|
|
3203
|
+
* @example
|
|
3204
|
+
* ```js
|
|
3205
|
+
* // Before running the sample:
|
|
3206
|
+
* // - Enable the API at:
|
|
3207
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
3208
|
+
* // - Login into gcloud by running:
|
|
3209
|
+
* // ```sh
|
|
3210
|
+
* // $ gcloud auth application-default login
|
|
3211
|
+
* // ```
|
|
3212
|
+
* // - Install the npm module by running:
|
|
3213
|
+
* // ```sh
|
|
3214
|
+
* // $ npm install googleapis
|
|
3215
|
+
* // ```
|
|
3216
|
+
*
|
|
3217
|
+
* const {google} = require('googleapis');
|
|
3218
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
3219
|
+
*
|
|
3220
|
+
* async function main() {
|
|
3221
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3222
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3223
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
3224
|
+
* });
|
|
3225
|
+
*
|
|
3226
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3227
|
+
* const authClient = await auth.getClient();
|
|
3228
|
+
* google.options({auth: authClient});
|
|
3229
|
+
*
|
|
3230
|
+
* // Do the magic
|
|
3231
|
+
* const res =
|
|
3232
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.get({
|
|
3233
|
+
* // Required. A name of the AgentConnectivityTemplate to get. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
3234
|
+
* name: 'projects/my-project/locations/my-location/agentConnectivityTemplates/my-agentConnectivityTemplate',
|
|
3235
|
+
* });
|
|
3236
|
+
* console.log(res.data);
|
|
3237
|
+
*
|
|
3238
|
+
* // Example response
|
|
3239
|
+
* // {
|
|
3240
|
+
* // "accessPath": "my_accessPath",
|
|
3241
|
+
* // "accessTypes": [],
|
|
3242
|
+
* // "createTime": "my_createTime",
|
|
3243
|
+
* // "description": "my_description",
|
|
3244
|
+
* // "egressNetworkConfig": {},
|
|
3245
|
+
* // "etag": "my_etag",
|
|
3246
|
+
* // "labels": {},
|
|
3247
|
+
* // "name": "my_name",
|
|
3248
|
+
* // "updateTime": "my_updateTime"
|
|
3249
|
+
* // }
|
|
3250
|
+
* }
|
|
3251
|
+
*
|
|
3252
|
+
* main().catch(e => {
|
|
3253
|
+
* console.error(e);
|
|
3254
|
+
* throw e;
|
|
3255
|
+
* });
|
|
3256
|
+
*
|
|
3257
|
+
* ```
|
|
3258
|
+
*
|
|
3259
|
+
* @param params - Parameters for request
|
|
3260
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3261
|
+
* @param callback - Optional callback that handles the response.
|
|
3262
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3263
|
+
*/
|
|
3264
|
+
get(
|
|
3265
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get,
|
|
3266
|
+
options: StreamMethodOptions
|
|
3267
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3268
|
+
get(
|
|
3269
|
+
params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get,
|
|
3270
|
+
options?: MethodOptions
|
|
3271
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AgentConnectivityTemplate>>;
|
|
3272
|
+
get(
|
|
3273
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get,
|
|
3274
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3275
|
+
callback: BodyResponseCallback<Readable>
|
|
3276
|
+
): void;
|
|
3277
|
+
get(
|
|
3278
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get,
|
|
3279
|
+
options:
|
|
3280
|
+
MethodOptions | BodyResponseCallback<Schema$AgentConnectivityTemplate>,
|
|
3281
|
+
callback: BodyResponseCallback<Schema$AgentConnectivityTemplate>
|
|
3282
|
+
): void;
|
|
3283
|
+
get(
|
|
3284
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get,
|
|
3285
|
+
callback: BodyResponseCallback<Schema$AgentConnectivityTemplate>
|
|
3286
|
+
): void;
|
|
3287
|
+
get(callback: BodyResponseCallback<Schema$AgentConnectivityTemplate>): void;
|
|
3288
|
+
get(
|
|
3289
|
+
paramsOrCallback?:
|
|
3290
|
+
| Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get
|
|
3291
|
+
| BodyResponseCallback<Schema$AgentConnectivityTemplate>
|
|
3292
|
+
| BodyResponseCallback<Readable>,
|
|
3293
|
+
optionsOrCallback?:
|
|
3294
|
+
| MethodOptions
|
|
3295
|
+
| StreamMethodOptions
|
|
3296
|
+
| BodyResponseCallback<Schema$AgentConnectivityTemplate>
|
|
3297
|
+
| BodyResponseCallback<Readable>,
|
|
3298
|
+
callback?:
|
|
3299
|
+
| BodyResponseCallback<Schema$AgentConnectivityTemplate>
|
|
3300
|
+
| BodyResponseCallback<Readable>
|
|
3301
|
+
):
|
|
3302
|
+
| void
|
|
3303
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AgentConnectivityTemplate>>
|
|
3304
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3305
|
+
let params = (paramsOrCallback ||
|
|
3306
|
+
{}) as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get;
|
|
3307
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3308
|
+
|
|
3309
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3310
|
+
callback = paramsOrCallback;
|
|
3311
|
+
params =
|
|
3312
|
+
{} as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get;
|
|
3313
|
+
options = {};
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3317
|
+
callback = optionsOrCallback;
|
|
3318
|
+
options = {};
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
const rootUrl =
|
|
3322
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
3323
|
+
const parameters = {
|
|
3324
|
+
options: Object.assign(
|
|
3325
|
+
{
|
|
3326
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3327
|
+
method: 'GET',
|
|
3328
|
+
apiVersion: '',
|
|
3329
|
+
},
|
|
3330
|
+
options
|
|
3331
|
+
),
|
|
3332
|
+
params,
|
|
3333
|
+
requiredParams: ['name'],
|
|
3334
|
+
pathParams: ['name'],
|
|
3335
|
+
context: this.context,
|
|
3336
|
+
};
|
|
3337
|
+
if (callback) {
|
|
3338
|
+
createAPIRequest<Schema$AgentConnectivityTemplate>(
|
|
3339
|
+
parameters,
|
|
3340
|
+
callback as BodyResponseCallback<unknown>
|
|
3341
|
+
);
|
|
3342
|
+
} else {
|
|
3343
|
+
return createAPIRequest<Schema$AgentConnectivityTemplate>(parameters);
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* Lists AgentConnectivityTemplates in a given project and location.
|
|
3349
|
+
* @example
|
|
3350
|
+
* ```js
|
|
3351
|
+
* // Before running the sample:
|
|
3352
|
+
* // - Enable the API at:
|
|
3353
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
3354
|
+
* // - Login into gcloud by running:
|
|
3355
|
+
* // ```sh
|
|
3356
|
+
* // $ gcloud auth application-default login
|
|
3357
|
+
* // ```
|
|
3358
|
+
* // - Install the npm module by running:
|
|
3359
|
+
* // ```sh
|
|
3360
|
+
* // $ npm install googleapis
|
|
3361
|
+
* // ```
|
|
3362
|
+
*
|
|
3363
|
+
* const {google} = require('googleapis');
|
|
3364
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
3365
|
+
*
|
|
3366
|
+
* async function main() {
|
|
3367
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3368
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3369
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
3370
|
+
* });
|
|
3371
|
+
*
|
|
3372
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3373
|
+
* const authClient = await auth.getClient();
|
|
3374
|
+
* google.options({auth: authClient});
|
|
3375
|
+
*
|
|
3376
|
+
* // Do the magic
|
|
3377
|
+
* const res =
|
|
3378
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.list({
|
|
3379
|
+
* // Optional. Maximum number of AgentConnectivityTemplates to return per call.
|
|
3380
|
+
* pageSize: 'placeholder-value',
|
|
3381
|
+
* // Optional. The value returned by the last `ListAgentConnectivityTemplatesResponse` Indicates that this is a continuation of a prior `ListAgentConnectivityTemplates` call, and that the system should return the next page of data.
|
|
3382
|
+
* pageToken: 'placeholder-value',
|
|
3383
|
+
* // Required. The project and location from which the AgentConnectivityTemplates should be listed, specified in the format `projects/x/locations/x`.
|
|
3384
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
3385
|
+
* // Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3386
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
3387
|
+
* });
|
|
3388
|
+
* console.log(res.data);
|
|
3389
|
+
*
|
|
3390
|
+
* // Example response
|
|
3391
|
+
* // {
|
|
3392
|
+
* // "agentConnectivityTemplates": [],
|
|
3393
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
3394
|
+
* // "unreachable": []
|
|
3395
|
+
* // }
|
|
3396
|
+
* }
|
|
3397
|
+
*
|
|
3398
|
+
* main().catch(e => {
|
|
3399
|
+
* console.error(e);
|
|
3400
|
+
* throw e;
|
|
3401
|
+
* });
|
|
3402
|
+
*
|
|
3403
|
+
* ```
|
|
3404
|
+
*
|
|
3405
|
+
* @param params - Parameters for request
|
|
3406
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3407
|
+
* @param callback - Optional callback that handles the response.
|
|
3408
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3409
|
+
*/
|
|
3410
|
+
list(
|
|
3411
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List,
|
|
3412
|
+
options: StreamMethodOptions
|
|
3413
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3414
|
+
list(
|
|
3415
|
+
params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List,
|
|
3416
|
+
options?: MethodOptions
|
|
3417
|
+
): Promise<
|
|
3418
|
+
GaxiosResponseWithHTTP2<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3419
|
+
>;
|
|
3420
|
+
list(
|
|
3421
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List,
|
|
3422
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3423
|
+
callback: BodyResponseCallback<Readable>
|
|
3424
|
+
): void;
|
|
3425
|
+
list(
|
|
3426
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List,
|
|
3427
|
+
options:
|
|
3428
|
+
| MethodOptions
|
|
3429
|
+
| BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>,
|
|
3430
|
+
callback: BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3431
|
+
): void;
|
|
3432
|
+
list(
|
|
3433
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List,
|
|
3434
|
+
callback: BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3435
|
+
): void;
|
|
3436
|
+
list(
|
|
3437
|
+
callback: BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3438
|
+
): void;
|
|
3439
|
+
list(
|
|
3440
|
+
paramsOrCallback?:
|
|
3441
|
+
| Params$Resource$Projects$Locations$Agentconnectivitytemplates$List
|
|
3442
|
+
| BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3443
|
+
| BodyResponseCallback<Readable>,
|
|
3444
|
+
optionsOrCallback?:
|
|
3445
|
+
| MethodOptions
|
|
3446
|
+
| StreamMethodOptions
|
|
3447
|
+
| BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3448
|
+
| BodyResponseCallback<Readable>,
|
|
3449
|
+
callback?:
|
|
3450
|
+
| BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3451
|
+
| BodyResponseCallback<Readable>
|
|
3452
|
+
):
|
|
3453
|
+
| void
|
|
3454
|
+
| Promise<
|
|
3455
|
+
GaxiosResponseWithHTTP2<Schema$ListAgentConnectivityTemplatesResponse>
|
|
3456
|
+
>
|
|
3457
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3458
|
+
let params = (paramsOrCallback ||
|
|
3459
|
+
{}) as Params$Resource$Projects$Locations$Agentconnectivitytemplates$List;
|
|
3460
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3461
|
+
|
|
3462
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3463
|
+
callback = paramsOrCallback;
|
|
3464
|
+
params =
|
|
3465
|
+
{} as Params$Resource$Projects$Locations$Agentconnectivitytemplates$List;
|
|
3466
|
+
options = {};
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3470
|
+
callback = optionsOrCallback;
|
|
3471
|
+
options = {};
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
const rootUrl =
|
|
3475
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
3476
|
+
const parameters = {
|
|
3477
|
+
options: Object.assign(
|
|
3478
|
+
{
|
|
3479
|
+
url: (
|
|
3480
|
+
rootUrl + '/v1beta1/{+parent}/agentConnectivityTemplates'
|
|
3481
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3482
|
+
method: 'GET',
|
|
3483
|
+
apiVersion: '',
|
|
3484
|
+
},
|
|
3485
|
+
options
|
|
3486
|
+
),
|
|
3487
|
+
params,
|
|
3488
|
+
requiredParams: ['parent'],
|
|
3489
|
+
pathParams: ['parent'],
|
|
3490
|
+
context: this.context,
|
|
3491
|
+
};
|
|
3492
|
+
if (callback) {
|
|
3493
|
+
createAPIRequest<Schema$ListAgentConnectivityTemplatesResponse>(
|
|
3494
|
+
parameters,
|
|
3495
|
+
callback as BodyResponseCallback<unknown>
|
|
3496
|
+
);
|
|
3497
|
+
} else {
|
|
3498
|
+
return createAPIRequest<Schema$ListAgentConnectivityTemplatesResponse>(
|
|
3499
|
+
parameters
|
|
3500
|
+
);
|
|
3501
|
+
}
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
/**
|
|
3505
|
+
* Updates the parameters of a single AgentConnectivityTemplate.
|
|
2616
3506
|
* @example
|
|
2617
3507
|
* ```js
|
|
2618
3508
|
* // Before running the sample:
|
|
@@ -2641,24 +3531,38 @@ export namespace networkservices_v1beta1 {
|
|
|
2641
3531
|
* google.options({auth: authClient});
|
|
2642
3532
|
*
|
|
2643
3533
|
* // Do the magic
|
|
2644
|
-
* const res =
|
|
2645
|
-
*
|
|
2646
|
-
*
|
|
2647
|
-
*
|
|
2648
|
-
*
|
|
2649
|
-
*
|
|
2650
|
-
*
|
|
2651
|
-
*
|
|
2652
|
-
*
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2655
|
-
*
|
|
3534
|
+
* const res =
|
|
3535
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.patch({
|
|
3536
|
+
* // Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern `projects/x/locations/x/agentConnectivityTemplates/`.
|
|
3537
|
+
* name: 'projects/my-project/locations/my-location/agentConnectivityTemplates/my-agentConnectivityTemplate',
|
|
3538
|
+
* // Optional. Field mask is used to specify the fields to be overwritten in the AgentConnectivityTemplate resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
3539
|
+
* updateMask: 'placeholder-value',
|
|
3540
|
+
*
|
|
3541
|
+
* // Request body metadata
|
|
3542
|
+
* requestBody: {
|
|
3543
|
+
* // request body parameters
|
|
3544
|
+
* // {
|
|
3545
|
+
* // "accessPath": "my_accessPath",
|
|
3546
|
+
* // "accessTypes": [],
|
|
3547
|
+
* // "createTime": "my_createTime",
|
|
3548
|
+
* // "description": "my_description",
|
|
3549
|
+
* // "egressNetworkConfig": {},
|
|
3550
|
+
* // "etag": "my_etag",
|
|
3551
|
+
* // "labels": {},
|
|
3552
|
+
* // "name": "my_name",
|
|
3553
|
+
* // "updateTime": "my_updateTime"
|
|
3554
|
+
* // }
|
|
3555
|
+
* },
|
|
3556
|
+
* });
|
|
2656
3557
|
* console.log(res.data);
|
|
2657
3558
|
*
|
|
2658
3559
|
* // Example response
|
|
2659
3560
|
* // {
|
|
2660
|
-
* // "
|
|
2661
|
-
* // "
|
|
3561
|
+
* // "done": false,
|
|
3562
|
+
* // "error": {},
|
|
3563
|
+
* // "metadata": {},
|
|
3564
|
+
* // "name": "my_name",
|
|
3565
|
+
* // "response": {}
|
|
2662
3566
|
* // }
|
|
2663
3567
|
* }
|
|
2664
3568
|
*
|
|
@@ -2674,55 +3578,53 @@ export namespace networkservices_v1beta1 {
|
|
|
2674
3578
|
* @param callback - Optional callback that handles the response.
|
|
2675
3579
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2676
3580
|
*/
|
|
2677
|
-
|
|
2678
|
-
params: Params$Resource$Projects$Locations$
|
|
3581
|
+
patch(
|
|
3582
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch,
|
|
2679
3583
|
options: StreamMethodOptions
|
|
2680
3584
|
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2681
|
-
|
|
2682
|
-
params?: Params$Resource$Projects$Locations$
|
|
3585
|
+
patch(
|
|
3586
|
+
params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch,
|
|
2683
3587
|
options?: MethodOptions
|
|
2684
|
-
): Promise<GaxiosResponseWithHTTP2<Schema$
|
|
2685
|
-
|
|
2686
|
-
params: Params$Resource$Projects$Locations$
|
|
3588
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3589
|
+
patch(
|
|
3590
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch,
|
|
2687
3591
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2688
3592
|
callback: BodyResponseCallback<Readable>
|
|
2689
3593
|
): void;
|
|
2690
|
-
|
|
2691
|
-
params: Params$Resource$Projects$Locations$
|
|
2692
|
-
options:
|
|
2693
|
-
|
|
2694
|
-
| BodyResponseCallback<Schema$ListLocationsResponse>,
|
|
2695
|
-
callback: BodyResponseCallback<Schema$ListLocationsResponse>
|
|
3594
|
+
patch(
|
|
3595
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch,
|
|
3596
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
3597
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
2696
3598
|
): void;
|
|
2697
|
-
|
|
2698
|
-
params: Params$Resource$Projects$Locations$
|
|
2699
|
-
callback: BodyResponseCallback<Schema$
|
|
3599
|
+
patch(
|
|
3600
|
+
params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch,
|
|
3601
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
2700
3602
|
): void;
|
|
2701
|
-
|
|
2702
|
-
|
|
3603
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3604
|
+
patch(
|
|
2703
3605
|
paramsOrCallback?:
|
|
2704
|
-
| Params$Resource$Projects$Locations$
|
|
2705
|
-
| BodyResponseCallback<Schema$
|
|
3606
|
+
| Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch
|
|
3607
|
+
| BodyResponseCallback<Schema$Operation>
|
|
2706
3608
|
| BodyResponseCallback<Readable>,
|
|
2707
3609
|
optionsOrCallback?:
|
|
2708
3610
|
| MethodOptions
|
|
2709
3611
|
| StreamMethodOptions
|
|
2710
|
-
| BodyResponseCallback<Schema$
|
|
3612
|
+
| BodyResponseCallback<Schema$Operation>
|
|
2711
3613
|
| BodyResponseCallback<Readable>,
|
|
2712
3614
|
callback?:
|
|
2713
|
-
|
|
2714
|
-
| BodyResponseCallback<Readable>
|
|
3615
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
2715
3616
|
):
|
|
2716
3617
|
| void
|
|
2717
|
-
| Promise<GaxiosResponseWithHTTP2<Schema$
|
|
3618
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
2718
3619
|
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2719
3620
|
let params = (paramsOrCallback ||
|
|
2720
|
-
{}) as Params$Resource$Projects$Locations$
|
|
3621
|
+
{}) as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch;
|
|
2721
3622
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2722
3623
|
|
|
2723
3624
|
if (typeof paramsOrCallback === 'function') {
|
|
2724
3625
|
callback = paramsOrCallback;
|
|
2725
|
-
params =
|
|
3626
|
+
params =
|
|
3627
|
+
{} as Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch;
|
|
2726
3628
|
options = {};
|
|
2727
3629
|
}
|
|
2728
3630
|
|
|
@@ -2736,11 +3638,8 @@ export namespace networkservices_v1beta1 {
|
|
|
2736
3638
|
const parameters = {
|
|
2737
3639
|
options: Object.assign(
|
|
2738
3640
|
{
|
|
2739
|
-
url: (rootUrl + '/v1beta1/{+name}
|
|
2740
|
-
|
|
2741
|
-
'$1'
|
|
2742
|
-
),
|
|
2743
|
-
method: 'GET',
|
|
3641
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3642
|
+
method: 'PATCH',
|
|
2744
3643
|
apiVersion: '',
|
|
2745
3644
|
},
|
|
2746
3645
|
options
|
|
@@ -2751,43 +3650,79 @@ export namespace networkservices_v1beta1 {
|
|
|
2751
3650
|
context: this.context,
|
|
2752
3651
|
};
|
|
2753
3652
|
if (callback) {
|
|
2754
|
-
createAPIRequest<Schema$
|
|
3653
|
+
createAPIRequest<Schema$Operation>(
|
|
2755
3654
|
parameters,
|
|
2756
3655
|
callback as BodyResponseCallback<unknown>
|
|
2757
3656
|
);
|
|
2758
3657
|
} else {
|
|
2759
|
-
return createAPIRequest<Schema$
|
|
3658
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
2760
3659
|
}
|
|
2761
3660
|
}
|
|
2762
3661
|
}
|
|
2763
3662
|
|
|
2764
|
-
export interface Params$Resource$Projects$Locations$
|
|
3663
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create extends StandardParameters {
|
|
2765
3664
|
/**
|
|
2766
|
-
*
|
|
3665
|
+
* Required. Short name of the AgentConnectivityTemplate resource to be created.
|
|
2767
3666
|
*/
|
|
2768
|
-
|
|
3667
|
+
agentConnectivityTemplateId?: string;
|
|
3668
|
+
/**
|
|
3669
|
+
* Required. The parent resource of the AgentConnectivityTemplate. Must be in the format `projects/x/locations/x`.
|
|
3670
|
+
*/
|
|
3671
|
+
parent?: string;
|
|
3672
|
+
|
|
3673
|
+
/**
|
|
3674
|
+
* Request body metadata
|
|
3675
|
+
*/
|
|
3676
|
+
requestBody?: Schema$AgentConnectivityTemplate;
|
|
2769
3677
|
}
|
|
2770
|
-
export interface Params$Resource$Projects$Locations$
|
|
3678
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete extends StandardParameters {
|
|
2771
3679
|
/**
|
|
2772
|
-
* Optional.
|
|
3680
|
+
* Optional. The etag of the AgentConnectivityTemplate to delete.
|
|
2773
3681
|
*/
|
|
2774
|
-
|
|
3682
|
+
etag?: string;
|
|
2775
3683
|
/**
|
|
2776
|
-
* A
|
|
3684
|
+
* Required. A name of the AgentConnectivityTemplate to delete. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
2777
3685
|
*/
|
|
2778
|
-
|
|
3686
|
+
name?: string;
|
|
3687
|
+
}
|
|
3688
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get extends StandardParameters {
|
|
2779
3689
|
/**
|
|
2780
|
-
*
|
|
3690
|
+
* Required. A name of the AgentConnectivityTemplate to get. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
2781
3691
|
*/
|
|
2782
3692
|
name?: string;
|
|
3693
|
+
}
|
|
3694
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$List extends StandardParameters {
|
|
2783
3695
|
/**
|
|
2784
|
-
*
|
|
3696
|
+
* Optional. Maximum number of AgentConnectivityTemplates to return per call.
|
|
2785
3697
|
*/
|
|
2786
3698
|
pageSize?: number;
|
|
2787
3699
|
/**
|
|
2788
|
-
*
|
|
3700
|
+
* Optional. The value returned by the last `ListAgentConnectivityTemplatesResponse` Indicates that this is a continuation of a prior `ListAgentConnectivityTemplates` call, and that the system should return the next page of data.
|
|
2789
3701
|
*/
|
|
2790
3702
|
pageToken?: string;
|
|
3703
|
+
/**
|
|
3704
|
+
* Required. The project and location from which the AgentConnectivityTemplates should be listed, specified in the format `projects/x/locations/x`.
|
|
3705
|
+
*/
|
|
3706
|
+
parent?: string;
|
|
3707
|
+
/**
|
|
3708
|
+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3709
|
+
*/
|
|
3710
|
+
returnPartialSuccess?: boolean;
|
|
3711
|
+
}
|
|
3712
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch extends StandardParameters {
|
|
3713
|
+
/**
|
|
3714
|
+
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern `projects/x/locations/x/agentConnectivityTemplates/`.
|
|
3715
|
+
*/
|
|
3716
|
+
name?: string;
|
|
3717
|
+
/**
|
|
3718
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the AgentConnectivityTemplate resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
3719
|
+
*/
|
|
3720
|
+
updateMask?: string;
|
|
3721
|
+
|
|
3722
|
+
/**
|
|
3723
|
+
* Request body metadata
|
|
3724
|
+
*/
|
|
3725
|
+
requestBody?: Schema$AgentConnectivityTemplate;
|
|
2791
3726
|
}
|
|
2792
3727
|
|
|
2793
3728
|
export class Resource$Projects$Locations$Agentgateways {
|
|
@@ -2836,6 +3771,7 @@ export namespace networkservices_v1beta1 {
|
|
|
2836
3771
|
* requestBody: {
|
|
2837
3772
|
* // request body parameters
|
|
2838
3773
|
* // {
|
|
3774
|
+
* // "agentConnectivityTemplate": "my_agentConnectivityTemplate",
|
|
2839
3775
|
* // "agentGatewayCard": {},
|
|
2840
3776
|
* // "createTime": "my_createTime",
|
|
2841
3777
|
* // "description": "my_description",
|
|
@@ -2909,8 +3845,7 @@ export namespace networkservices_v1beta1 {
|
|
|
2909
3845
|
| BodyResponseCallback<Schema$Operation>
|
|
2910
3846
|
| BodyResponseCallback<Readable>,
|
|
2911
3847
|
callback?:
|
|
2912
|
-
|
|
2913
|
-
| BodyResponseCallback<Readable>
|
|
3848
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
2914
3849
|
):
|
|
2915
3850
|
| void
|
|
2916
3851
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -3053,8 +3988,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3053
3988
|
| BodyResponseCallback<Schema$Operation>
|
|
3054
3989
|
| BodyResponseCallback<Readable>,
|
|
3055
3990
|
callback?:
|
|
3056
|
-
|
|
3057
|
-
| BodyResponseCallback<Readable>
|
|
3991
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3058
3992
|
):
|
|
3059
3993
|
| void
|
|
3060
3994
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -3138,6 +4072,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3138
4072
|
*
|
|
3139
4073
|
* // Example response
|
|
3140
4074
|
* // {
|
|
4075
|
+
* // "agentConnectivityTemplate": "my_agentConnectivityTemplate",
|
|
3141
4076
|
* // "agentGatewayCard": {},
|
|
3142
4077
|
* // "createTime": "my_createTime",
|
|
3143
4078
|
* // "description": "my_description",
|
|
@@ -3324,8 +4259,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3324
4259
|
list(
|
|
3325
4260
|
params: Params$Resource$Projects$Locations$Agentgateways$List,
|
|
3326
4261
|
options:
|
|
3327
|
-
|
|
|
3328
|
-
| BodyResponseCallback<Schema$ListAgentGatewaysResponse>,
|
|
4262
|
+
MethodOptions | BodyResponseCallback<Schema$ListAgentGatewaysResponse>,
|
|
3329
4263
|
callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>
|
|
3330
4264
|
): void;
|
|
3331
4265
|
list(
|
|
@@ -3436,6 +4370,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3436
4370
|
* requestBody: {
|
|
3437
4371
|
* // request body parameters
|
|
3438
4372
|
* // {
|
|
4373
|
+
* // "agentConnectivityTemplate": "my_agentConnectivityTemplate",
|
|
3439
4374
|
* // "agentGatewayCard": {},
|
|
3440
4375
|
* // "createTime": "my_createTime",
|
|
3441
4376
|
* // "description": "my_description",
|
|
@@ -3509,8 +4444,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3509
4444
|
| BodyResponseCallback<Schema$Operation>
|
|
3510
4445
|
| BodyResponseCallback<Readable>,
|
|
3511
4446
|
callback?:
|
|
3512
|
-
|
|
3513
|
-
| BodyResponseCallback<Readable>
|
|
4447
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3514
4448
|
):
|
|
3515
4449
|
| void
|
|
3516
4450
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -3745,8 +4679,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3745
4679
|
| BodyResponseCallback<Schema$Operation>
|
|
3746
4680
|
| BodyResponseCallback<Readable>,
|
|
3747
4681
|
callback?:
|
|
3748
|
-
|
|
3749
|
-
| BodyResponseCallback<Readable>
|
|
4682
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3750
4683
|
):
|
|
3751
4684
|
| void
|
|
3752
4685
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -3890,8 +4823,7 @@ export namespace networkservices_v1beta1 {
|
|
|
3890
4823
|
| BodyResponseCallback<Schema$Operation>
|
|
3891
4824
|
| BodyResponseCallback<Readable>,
|
|
3892
4825
|
callback?:
|
|
3893
|
-
|
|
3894
|
-
| BodyResponseCallback<Readable>
|
|
4826
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3895
4827
|
):
|
|
3896
4828
|
| void
|
|
3897
4829
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -4355,8 +5287,7 @@ export namespace networkservices_v1beta1 {
|
|
|
4355
5287
|
| BodyResponseCallback<Schema$Operation>
|
|
4356
5288
|
| BodyResponseCallback<Readable>,
|
|
4357
5289
|
callback?:
|
|
4358
|
-
|
|
4359
|
-
| BodyResponseCallback<Readable>
|
|
5290
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
4360
5291
|
):
|
|
4361
5292
|
| void
|
|
4362
5293
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -4599,8 +5530,7 @@ export namespace networkservices_v1beta1 {
|
|
|
4599
5530
|
| BodyResponseCallback<Schema$Operation>
|
|
4600
5531
|
| BodyResponseCallback<Readable>,
|
|
4601
5532
|
callback?:
|
|
4602
|
-
|
|
4603
|
-
| BodyResponseCallback<Readable>
|
|
5533
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
4604
5534
|
):
|
|
4605
5535
|
| void
|
|
4606
5536
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -4742,8 +5672,7 @@ export namespace networkservices_v1beta1 {
|
|
|
4742
5672
|
| BodyResponseCallback<Schema$Operation>
|
|
4743
5673
|
| BodyResponseCallback<Readable>,
|
|
4744
5674
|
callback?:
|
|
4745
|
-
|
|
4746
|
-
| BodyResponseCallback<Readable>
|
|
5675
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
4747
5676
|
):
|
|
4748
5677
|
| void
|
|
4749
5678
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -5201,8 +6130,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5201
6130
|
| BodyResponseCallback<Schema$Operation>
|
|
5202
6131
|
| BodyResponseCallback<Readable>,
|
|
5203
6132
|
callback?:
|
|
5204
|
-
|
|
5205
|
-
| BodyResponseCallback<Readable>
|
|
6133
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
5206
6134
|
):
|
|
5207
6135
|
| void
|
|
5208
6136
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -5442,8 +6370,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5442
6370
|
| BodyResponseCallback<Schema$Operation>
|
|
5443
6371
|
| BodyResponseCallback<Readable>,
|
|
5444
6372
|
callback?:
|
|
5445
|
-
|
|
5446
|
-
| BodyResponseCallback<Readable>
|
|
6373
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
5447
6374
|
):
|
|
5448
6375
|
| void
|
|
5449
6376
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -5584,8 +6511,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5584
6511
|
| BodyResponseCallback<Schema$Operation>
|
|
5585
6512
|
| BodyResponseCallback<Readable>,
|
|
5586
6513
|
callback?:
|
|
5587
|
-
|
|
5588
|
-
| BodyResponseCallback<Readable>
|
|
6514
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
5589
6515
|
):
|
|
5590
6516
|
| void
|
|
5591
6517
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -5738,8 +6664,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5738
6664
|
| BodyResponseCallback<Schema$Gateway>
|
|
5739
6665
|
| BodyResponseCallback<Readable>,
|
|
5740
6666
|
callback?:
|
|
5741
|
-
|
|
5742
|
-
| BodyResponseCallback<Readable>
|
|
6667
|
+
BodyResponseCallback<Schema$Gateway> | BodyResponseCallback<Readable>
|
|
5743
6668
|
):
|
|
5744
6669
|
| void
|
|
5745
6670
|
| Promise<GaxiosResponseWithHTTP2<Schema$Gateway>>
|
|
@@ -5861,8 +6786,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5861
6786
|
list(
|
|
5862
6787
|
params: Params$Resource$Projects$Locations$Gateways$List,
|
|
5863
6788
|
options:
|
|
5864
|
-
|
|
|
5865
|
-
| BodyResponseCallback<Schema$ListGatewaysResponse>,
|
|
6789
|
+
MethodOptions | BodyResponseCallback<Schema$ListGatewaysResponse>,
|
|
5866
6790
|
callback: BodyResponseCallback<Schema$ListGatewaysResponse>
|
|
5867
6791
|
): void;
|
|
5868
6792
|
list(
|
|
@@ -6052,8 +6976,7 @@ export namespace networkservices_v1beta1 {
|
|
|
6052
6976
|
| BodyResponseCallback<Schema$Operation>
|
|
6053
6977
|
| BodyResponseCallback<Readable>,
|
|
6054
6978
|
callback?:
|
|
6055
|
-
|
|
6056
|
-
| BodyResponseCallback<Readable>
|
|
6979
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
6057
6980
|
):
|
|
6058
6981
|
| void
|
|
6059
6982
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -6595,8 +7518,7 @@ export namespace networkservices_v1beta1 {
|
|
|
6595
7518
|
| BodyResponseCallback<Schema$Operation>
|
|
6596
7519
|
| BodyResponseCallback<Readable>,
|
|
6597
7520
|
callback?:
|
|
6598
|
-
|
|
6599
|
-
| BodyResponseCallback<Readable>
|
|
7521
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
6600
7522
|
):
|
|
6601
7523
|
| void
|
|
6602
7524
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -6737,8 +7659,7 @@ export namespace networkservices_v1beta1 {
|
|
|
6737
7659
|
| BodyResponseCallback<Schema$Operation>
|
|
6738
7660
|
| BodyResponseCallback<Readable>,
|
|
6739
7661
|
callback?:
|
|
6740
|
-
|
|
6741
|
-
| BodyResponseCallback<Readable>
|
|
7662
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
6742
7663
|
):
|
|
6743
7664
|
| void
|
|
6744
7665
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -6881,8 +7802,7 @@ export namespace networkservices_v1beta1 {
|
|
|
6881
7802
|
| BodyResponseCallback<Schema$GrpcRoute>
|
|
6882
7803
|
| BodyResponseCallback<Readable>,
|
|
6883
7804
|
callback?:
|
|
6884
|
-
|
|
6885
|
-
| BodyResponseCallback<Readable>
|
|
7805
|
+
BodyResponseCallback<Schema$GrpcRoute> | BodyResponseCallback<Readable>
|
|
6886
7806
|
):
|
|
6887
7807
|
| void
|
|
6888
7808
|
| Promise<GaxiosResponseWithHTTP2<Schema$GrpcRoute>>
|
|
@@ -7006,8 +7926,7 @@ export namespace networkservices_v1beta1 {
|
|
|
7006
7926
|
list(
|
|
7007
7927
|
params: Params$Resource$Projects$Locations$Grpcroutes$List,
|
|
7008
7928
|
options:
|
|
7009
|
-
|
|
|
7010
|
-
| BodyResponseCallback<Schema$ListGrpcRoutesResponse>,
|
|
7929
|
+
MethodOptions | BodyResponseCallback<Schema$ListGrpcRoutesResponse>,
|
|
7011
7930
|
callback: BodyResponseCallback<Schema$ListGrpcRoutesResponse>
|
|
7012
7931
|
): void;
|
|
7013
7932
|
list(
|
|
@@ -7187,8 +8106,7 @@ export namespace networkservices_v1beta1 {
|
|
|
7187
8106
|
| BodyResponseCallback<Schema$Operation>
|
|
7188
8107
|
| BodyResponseCallback<Readable>,
|
|
7189
8108
|
callback?:
|
|
7190
|
-
|
|
7191
|
-
| BodyResponseCallback<Readable>
|
|
8109
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
7192
8110
|
):
|
|
7193
8111
|
| void
|
|
7194
8112
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -7415,8 +8333,7 @@ export namespace networkservices_v1beta1 {
|
|
|
7415
8333
|
| BodyResponseCallback<Schema$Operation>
|
|
7416
8334
|
| BodyResponseCallback<Readable>,
|
|
7417
8335
|
callback?:
|
|
7418
|
-
|
|
7419
|
-
| BodyResponseCallback<Readable>
|
|
8336
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
7420
8337
|
):
|
|
7421
8338
|
| void
|
|
7422
8339
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -7557,8 +8474,7 @@ export namespace networkservices_v1beta1 {
|
|
|
7557
8474
|
| BodyResponseCallback<Schema$Operation>
|
|
7558
8475
|
| BodyResponseCallback<Readable>,
|
|
7559
8476
|
callback?:
|
|
7560
|
-
|
|
7561
|
-
| BodyResponseCallback<Readable>
|
|
8477
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
7562
8478
|
):
|
|
7563
8479
|
| void
|
|
7564
8480
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -7701,8 +8617,7 @@ export namespace networkservices_v1beta1 {
|
|
|
7701
8617
|
| BodyResponseCallback<Schema$HttpRoute>
|
|
7702
8618
|
| BodyResponseCallback<Readable>,
|
|
7703
8619
|
callback?:
|
|
7704
|
-
|
|
7705
|
-
| BodyResponseCallback<Readable>
|
|
8620
|
+
BodyResponseCallback<Schema$HttpRoute> | BodyResponseCallback<Readable>
|
|
7706
8621
|
):
|
|
7707
8622
|
| void
|
|
7708
8623
|
| Promise<GaxiosResponseWithHTTP2<Schema$HttpRoute>>
|
|
@@ -7828,8 +8743,7 @@ export namespace networkservices_v1beta1 {
|
|
|
7828
8743
|
list(
|
|
7829
8744
|
params: Params$Resource$Projects$Locations$Httproutes$List,
|
|
7830
8745
|
options:
|
|
7831
|
-
|
|
|
7832
|
-
| BodyResponseCallback<Schema$ListHttpRoutesResponse>,
|
|
8746
|
+
MethodOptions | BodyResponseCallback<Schema$ListHttpRoutesResponse>,
|
|
7833
8747
|
callback: BodyResponseCallback<Schema$ListHttpRoutesResponse>
|
|
7834
8748
|
): void;
|
|
7835
8749
|
list(
|
|
@@ -8009,8 +8923,7 @@ export namespace networkservices_v1beta1 {
|
|
|
8009
8923
|
| BodyResponseCallback<Schema$Operation>
|
|
8010
8924
|
| BodyResponseCallback<Readable>,
|
|
8011
8925
|
callback?:
|
|
8012
|
-
|
|
8013
|
-
| BodyResponseCallback<Readable>
|
|
8926
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
8014
8927
|
):
|
|
8015
8928
|
| void
|
|
8016
8929
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -8243,8 +9156,7 @@ export namespace networkservices_v1beta1 {
|
|
|
8243
9156
|
| BodyResponseCallback<Schema$Operation>
|
|
8244
9157
|
| BodyResponseCallback<Readable>,
|
|
8245
9158
|
callback?:
|
|
8246
|
-
|
|
8247
|
-
| BodyResponseCallback<Readable>
|
|
9159
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
8248
9160
|
):
|
|
8249
9161
|
| void
|
|
8250
9162
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -8388,8 +9300,7 @@ export namespace networkservices_v1beta1 {
|
|
|
8388
9300
|
| BodyResponseCallback<Schema$Operation>
|
|
8389
9301
|
| BodyResponseCallback<Readable>,
|
|
8390
9302
|
callback?:
|
|
8391
|
-
|
|
8392
|
-
| BodyResponseCallback<Readable>
|
|
9303
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
8393
9304
|
):
|
|
8394
9305
|
| void
|
|
8395
9306
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -8843,8 +9754,7 @@ export namespace networkservices_v1beta1 {
|
|
|
8843
9754
|
| BodyResponseCallback<Schema$Operation>
|
|
8844
9755
|
| BodyResponseCallback<Readable>,
|
|
8845
9756
|
callback?:
|
|
8846
|
-
|
|
8847
|
-
| BodyResponseCallback<Readable>
|
|
9757
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
8848
9758
|
):
|
|
8849
9759
|
| void
|
|
8850
9760
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -9089,8 +9999,7 @@ export namespace networkservices_v1beta1 {
|
|
|
9089
9999
|
| BodyResponseCallback<Schema$Operation>
|
|
9090
10000
|
| BodyResponseCallback<Readable>,
|
|
9091
10001
|
callback?:
|
|
9092
|
-
|
|
9093
|
-
| BodyResponseCallback<Readable>
|
|
10002
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
9094
10003
|
):
|
|
9095
10004
|
| void
|
|
9096
10005
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -9236,8 +10145,7 @@ export namespace networkservices_v1beta1 {
|
|
|
9236
10145
|
| BodyResponseCallback<Schema$Operation>
|
|
9237
10146
|
| BodyResponseCallback<Readable>,
|
|
9238
10147
|
callback?:
|
|
9239
|
-
|
|
9240
|
-
| BodyResponseCallback<Readable>
|
|
10148
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
9241
10149
|
):
|
|
9242
10150
|
| void
|
|
9243
10151
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -9694,8 +10602,7 @@ export namespace networkservices_v1beta1 {
|
|
|
9694
10602
|
| BodyResponseCallback<Schema$Operation>
|
|
9695
10603
|
| BodyResponseCallback<Readable>,
|
|
9696
10604
|
callback?:
|
|
9697
|
-
|
|
9698
|
-
| BodyResponseCallback<Readable>
|
|
10605
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
9699
10606
|
):
|
|
9700
10607
|
| void
|
|
9701
10608
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -9937,8 +10844,7 @@ export namespace networkservices_v1beta1 {
|
|
|
9937
10844
|
| BodyResponseCallback<Schema$Operation>
|
|
9938
10845
|
| BodyResponseCallback<Readable>,
|
|
9939
10846
|
callback?:
|
|
9940
|
-
|
|
9941
|
-
| BodyResponseCallback<Readable>
|
|
10847
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
9942
10848
|
):
|
|
9943
10849
|
| void
|
|
9944
10850
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -10082,8 +10988,7 @@ export namespace networkservices_v1beta1 {
|
|
|
10082
10988
|
| BodyResponseCallback<Schema$Operation>
|
|
10083
10989
|
| BodyResponseCallback<Readable>,
|
|
10084
10990
|
callback?:
|
|
10085
|
-
|
|
10086
|
-
| BodyResponseCallback<Readable>
|
|
10991
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
10087
10992
|
):
|
|
10088
10993
|
| void
|
|
10089
10994
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -10535,8 +11440,7 @@ export namespace networkservices_v1beta1 {
|
|
|
10535
11440
|
| BodyResponseCallback<Schema$Operation>
|
|
10536
11441
|
| BodyResponseCallback<Readable>,
|
|
10537
11442
|
callback?:
|
|
10538
|
-
|
|
10539
|
-
| BodyResponseCallback<Readable>
|
|
11443
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
10540
11444
|
):
|
|
10541
11445
|
| void
|
|
10542
11446
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -10779,8 +11683,7 @@ export namespace networkservices_v1beta1 {
|
|
|
10779
11683
|
| BodyResponseCallback<Schema$Operation>
|
|
10780
11684
|
| BodyResponseCallback<Readable>,
|
|
10781
11685
|
callback?:
|
|
10782
|
-
|
|
10783
|
-
| BodyResponseCallback<Readable>
|
|
11686
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
10784
11687
|
):
|
|
10785
11688
|
| void
|
|
10786
11689
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -10925,8 +11828,7 @@ export namespace networkservices_v1beta1 {
|
|
|
10925
11828
|
| BodyResponseCallback<Schema$Operation>
|
|
10926
11829
|
| BodyResponseCallback<Readable>,
|
|
10927
11830
|
callback?:
|
|
10928
|
-
|
|
10929
|
-
| BodyResponseCallback<Readable>
|
|
11831
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
10930
11832
|
):
|
|
10931
11833
|
| void
|
|
10932
11834
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -11387,8 +12289,7 @@ export namespace networkservices_v1beta1 {
|
|
|
11387
12289
|
| BodyResponseCallback<Schema$Operation>
|
|
11388
12290
|
| BodyResponseCallback<Readable>,
|
|
11389
12291
|
callback?:
|
|
11390
|
-
|
|
11391
|
-
| BodyResponseCallback<Readable>
|
|
12292
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
11392
12293
|
):
|
|
11393
12294
|
| void
|
|
11394
12295
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -11632,8 +12533,7 @@ export namespace networkservices_v1beta1 {
|
|
|
11632
12533
|
| BodyResponseCallback<Schema$Operation>
|
|
11633
12534
|
| BodyResponseCallback<Readable>,
|
|
11634
12535
|
callback?:
|
|
11635
|
-
|
|
11636
|
-
| BodyResponseCallback<Readable>
|
|
12536
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
11637
12537
|
):
|
|
11638
12538
|
| void
|
|
11639
12539
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -11774,8 +12674,7 @@ export namespace networkservices_v1beta1 {
|
|
|
11774
12674
|
| BodyResponseCallback<Schema$Operation>
|
|
11775
12675
|
| BodyResponseCallback<Readable>,
|
|
11776
12676
|
callback?:
|
|
11777
|
-
|
|
11778
|
-
| BodyResponseCallback<Readable>
|
|
12677
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
11779
12678
|
):
|
|
11780
12679
|
| void
|
|
11781
12680
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -11916,8 +12815,7 @@ export namespace networkservices_v1beta1 {
|
|
|
11916
12815
|
| BodyResponseCallback<Schema$Mesh>
|
|
11917
12816
|
| BodyResponseCallback<Readable>,
|
|
11918
12817
|
callback?:
|
|
11919
|
-
|
|
11920
|
-
| BodyResponseCallback<Readable>
|
|
12818
|
+
BodyResponseCallback<Schema$Mesh> | BodyResponseCallback<Readable>
|
|
11921
12819
|
):
|
|
11922
12820
|
| void
|
|
11923
12821
|
| Promise<GaxiosResponseWithHTTP2<Schema$Mesh>>
|
|
@@ -12218,8 +13116,7 @@ export namespace networkservices_v1beta1 {
|
|
|
12218
13116
|
| BodyResponseCallback<Schema$Operation>
|
|
12219
13117
|
| BodyResponseCallback<Readable>,
|
|
12220
13118
|
callback?:
|
|
12221
|
-
|
|
12222
|
-
| BodyResponseCallback<Readable>
|
|
13119
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
12223
13120
|
):
|
|
12224
13121
|
| void
|
|
12225
13122
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -12548,8 +13445,7 @@ export namespace networkservices_v1beta1 {
|
|
|
12548
13445
|
list(
|
|
12549
13446
|
params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
|
|
12550
13447
|
options:
|
|
12551
|
-
|
|
|
12552
|
-
| BodyResponseCallback<Schema$ListMeshRouteViewsResponse>,
|
|
13448
|
+
MethodOptions | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>,
|
|
12553
13449
|
callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
|
|
12554
13450
|
): void;
|
|
12555
13451
|
list(
|
|
@@ -12741,8 +13637,7 @@ export namespace networkservices_v1beta1 {
|
|
|
12741
13637
|
| BodyResponseCallback<Schema$Empty>
|
|
12742
13638
|
| BodyResponseCallback<Readable>,
|
|
12743
13639
|
callback?:
|
|
12744
|
-
|
|
12745
|
-
| BodyResponseCallback<Readable>
|
|
13640
|
+
BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
|
|
12746
13641
|
):
|
|
12747
13642
|
| void
|
|
12748
13643
|
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
@@ -12877,8 +13772,7 @@ export namespace networkservices_v1beta1 {
|
|
|
12877
13772
|
| BodyResponseCallback<Schema$Empty>
|
|
12878
13773
|
| BodyResponseCallback<Readable>,
|
|
12879
13774
|
callback?:
|
|
12880
|
-
|
|
12881
|
-
| BodyResponseCallback<Readable>
|
|
13775
|
+
BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
|
|
12882
13776
|
):
|
|
12883
13777
|
| void
|
|
12884
13778
|
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
@@ -13016,8 +13910,7 @@ export namespace networkservices_v1beta1 {
|
|
|
13016
13910
|
| BodyResponseCallback<Schema$Operation>
|
|
13017
13911
|
| BodyResponseCallback<Readable>,
|
|
13018
13912
|
callback?:
|
|
13019
|
-
|
|
13020
|
-
| BodyResponseCallback<Readable>
|
|
13913
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
13021
13914
|
):
|
|
13022
13915
|
| void
|
|
13023
13916
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -13143,8 +14036,7 @@ export namespace networkservices_v1beta1 {
|
|
|
13143
14036
|
list(
|
|
13144
14037
|
params: Params$Resource$Projects$Locations$Operations$List,
|
|
13145
14038
|
options:
|
|
13146
|
-
|
|
|
13147
|
-
| BodyResponseCallback<Schema$ListOperationsResponse>,
|
|
14039
|
+
MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>,
|
|
13148
14040
|
callback: BodyResponseCallback<Schema$ListOperationsResponse>
|
|
13149
14041
|
): void;
|
|
13150
14042
|
list(
|
|
@@ -13374,8 +14266,7 @@ export namespace networkservices_v1beta1 {
|
|
|
13374
14266
|
| BodyResponseCallback<Schema$Operation>
|
|
13375
14267
|
| BodyResponseCallback<Readable>,
|
|
13376
14268
|
callback?:
|
|
13377
|
-
|
|
13378
|
-
| BodyResponseCallback<Readable>
|
|
14269
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
13379
14270
|
):
|
|
13380
14271
|
| void
|
|
13381
14272
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -13517,8 +14408,7 @@ export namespace networkservices_v1beta1 {
|
|
|
13517
14408
|
| BodyResponseCallback<Schema$Operation>
|
|
13518
14409
|
| BodyResponseCallback<Readable>,
|
|
13519
14410
|
callback?:
|
|
13520
|
-
|
|
13521
|
-
| BodyResponseCallback<Readable>
|
|
14411
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
13522
14412
|
):
|
|
13523
14413
|
| void
|
|
13524
14414
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -13962,8 +14852,7 @@ export namespace networkservices_v1beta1 {
|
|
|
13962
14852
|
| BodyResponseCallback<Schema$Operation>
|
|
13963
14853
|
| BodyResponseCallback<Readable>,
|
|
13964
14854
|
callback?:
|
|
13965
|
-
|
|
13966
|
-
| BodyResponseCallback<Readable>
|
|
14855
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
13967
14856
|
):
|
|
13968
14857
|
| void
|
|
13969
14858
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -14185,8 +15074,7 @@ export namespace networkservices_v1beta1 {
|
|
|
14185
15074
|
| BodyResponseCallback<Schema$Operation>
|
|
14186
15075
|
| BodyResponseCallback<Readable>,
|
|
14187
15076
|
callback?:
|
|
14188
|
-
|
|
14189
|
-
| BodyResponseCallback<Readable>
|
|
15077
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
14190
15078
|
):
|
|
14191
15079
|
| void
|
|
14192
15080
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -14330,8 +15218,7 @@ export namespace networkservices_v1beta1 {
|
|
|
14330
15218
|
| BodyResponseCallback<Schema$Operation>
|
|
14331
15219
|
| BodyResponseCallback<Readable>,
|
|
14332
15220
|
callback?:
|
|
14333
|
-
|
|
14334
|
-
| BodyResponseCallback<Readable>
|
|
15221
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
14335
15222
|
):
|
|
14336
15223
|
| void
|
|
14337
15224
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -14782,8 +15669,7 @@ export namespace networkservices_v1beta1 {
|
|
|
14782
15669
|
| BodyResponseCallback<Schema$Operation>
|
|
14783
15670
|
| BodyResponseCallback<Readable>,
|
|
14784
15671
|
callback?:
|
|
14785
|
-
|
|
14786
|
-
| BodyResponseCallback<Readable>
|
|
15672
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
14787
15673
|
):
|
|
14788
15674
|
| void
|
|
14789
15675
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -15004,8 +15890,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15004
15890
|
| BodyResponseCallback<Schema$Operation>
|
|
15005
15891
|
| BodyResponseCallback<Readable>,
|
|
15006
15892
|
callback?:
|
|
15007
|
-
|
|
15008
|
-
| BodyResponseCallback<Readable>
|
|
15893
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
15009
15894
|
):
|
|
15010
15895
|
| void
|
|
15011
15896
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -15146,8 +16031,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15146
16031
|
| BodyResponseCallback<Schema$Operation>
|
|
15147
16032
|
| BodyResponseCallback<Readable>,
|
|
15148
16033
|
callback?:
|
|
15149
|
-
|
|
15150
|
-
| BodyResponseCallback<Readable>
|
|
16034
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
15151
16035
|
):
|
|
15152
16036
|
| void
|
|
15153
16037
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -15289,8 +16173,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15289
16173
|
| BodyResponseCallback<Schema$TcpRoute>
|
|
15290
16174
|
| BodyResponseCallback<Readable>,
|
|
15291
16175
|
callback?:
|
|
15292
|
-
|
|
15293
|
-
| BodyResponseCallback<Readable>
|
|
16176
|
+
BodyResponseCallback<Schema$TcpRoute> | BodyResponseCallback<Readable>
|
|
15294
16177
|
):
|
|
15295
16178
|
| void
|
|
15296
16179
|
| Promise<GaxiosResponseWithHTTP2<Schema$TcpRoute>>
|
|
@@ -15414,8 +16297,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15414
16297
|
list(
|
|
15415
16298
|
params: Params$Resource$Projects$Locations$Tcproutes$List,
|
|
15416
16299
|
options:
|
|
15417
|
-
|
|
|
15418
|
-
| BodyResponseCallback<Schema$ListTcpRoutesResponse>,
|
|
16300
|
+
MethodOptions | BodyResponseCallback<Schema$ListTcpRoutesResponse>,
|
|
15419
16301
|
callback: BodyResponseCallback<Schema$ListTcpRoutesResponse>
|
|
15420
16302
|
): void;
|
|
15421
16303
|
list(
|
|
@@ -15594,8 +16476,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15594
16476
|
| BodyResponseCallback<Schema$Operation>
|
|
15595
16477
|
| BodyResponseCallback<Readable>,
|
|
15596
16478
|
callback?:
|
|
15597
|
-
|
|
15598
|
-
| BodyResponseCallback<Readable>
|
|
16479
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
15599
16480
|
):
|
|
15600
16481
|
| void
|
|
15601
16482
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -15820,8 +16701,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15820
16701
|
| BodyResponseCallback<Schema$Operation>
|
|
15821
16702
|
| BodyResponseCallback<Readable>,
|
|
15822
16703
|
callback?:
|
|
15823
|
-
|
|
15824
|
-
| BodyResponseCallback<Readable>
|
|
16704
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
15825
16705
|
):
|
|
15826
16706
|
| void
|
|
15827
16707
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -15962,8 +16842,7 @@ export namespace networkservices_v1beta1 {
|
|
|
15962
16842
|
| BodyResponseCallback<Schema$Operation>
|
|
15963
16843
|
| BodyResponseCallback<Readable>,
|
|
15964
16844
|
callback?:
|
|
15965
|
-
|
|
15966
|
-
| BodyResponseCallback<Readable>
|
|
16845
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
15967
16846
|
):
|
|
15968
16847
|
| void
|
|
15969
16848
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -16106,8 +16985,7 @@ export namespace networkservices_v1beta1 {
|
|
|
16106
16985
|
| BodyResponseCallback<Schema$TlsRoute>
|
|
16107
16986
|
| BodyResponseCallback<Readable>,
|
|
16108
16987
|
callback?:
|
|
16109
|
-
|
|
16110
|
-
| BodyResponseCallback<Readable>
|
|
16988
|
+
BodyResponseCallback<Schema$TlsRoute> | BodyResponseCallback<Readable>
|
|
16111
16989
|
):
|
|
16112
16990
|
| void
|
|
16113
16991
|
| Promise<GaxiosResponseWithHTTP2<Schema$TlsRoute>>
|
|
@@ -16231,8 +17109,7 @@ export namespace networkservices_v1beta1 {
|
|
|
16231
17109
|
list(
|
|
16232
17110
|
params: Params$Resource$Projects$Locations$Tlsroutes$List,
|
|
16233
17111
|
options:
|
|
16234
|
-
|
|
|
16235
|
-
| BodyResponseCallback<Schema$ListTlsRoutesResponse>,
|
|
17112
|
+
MethodOptions | BodyResponseCallback<Schema$ListTlsRoutesResponse>,
|
|
16236
17113
|
callback: BodyResponseCallback<Schema$ListTlsRoutesResponse>
|
|
16237
17114
|
): void;
|
|
16238
17115
|
list(
|
|
@@ -16412,8 +17289,7 @@ export namespace networkservices_v1beta1 {
|
|
|
16412
17289
|
| BodyResponseCallback<Schema$Operation>
|
|
16413
17290
|
| BodyResponseCallback<Readable>,
|
|
16414
17291
|
callback?:
|
|
16415
|
-
|
|
16416
|
-
| BodyResponseCallback<Readable>
|
|
17292
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
16417
17293
|
):
|
|
16418
17294
|
| void
|
|
16419
17295
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -16643,8 +17519,7 @@ export namespace networkservices_v1beta1 {
|
|
|
16643
17519
|
| BodyResponseCallback<Schema$Operation>
|
|
16644
17520
|
| BodyResponseCallback<Readable>,
|
|
16645
17521
|
callback?:
|
|
16646
|
-
|
|
16647
|
-
| BodyResponseCallback<Readable>
|
|
17522
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
16648
17523
|
):
|
|
16649
17524
|
| void
|
|
16650
17525
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -16785,8 +17660,7 @@ export namespace networkservices_v1beta1 {
|
|
|
16785
17660
|
| BodyResponseCallback<Schema$Operation>
|
|
16786
17661
|
| BodyResponseCallback<Readable>,
|
|
16787
17662
|
callback?:
|
|
16788
|
-
|
|
16789
|
-
| BodyResponseCallback<Readable>
|
|
17663
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
16790
17664
|
):
|
|
16791
17665
|
| void
|
|
16792
17666
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -16932,8 +17806,7 @@ export namespace networkservices_v1beta1 {
|
|
|
16932
17806
|
| BodyResponseCallback<Schema$WasmPlugin>
|
|
16933
17807
|
| BodyResponseCallback<Readable>,
|
|
16934
17808
|
callback?:
|
|
16935
|
-
|
|
16936
|
-
| BodyResponseCallback<Readable>
|
|
17809
|
+
BodyResponseCallback<Schema$WasmPlugin> | BodyResponseCallback<Readable>
|
|
16937
17810
|
):
|
|
16938
17811
|
| void
|
|
16939
17812
|
| Promise<GaxiosResponseWithHTTP2<Schema$WasmPlugin>>
|
|
@@ -17055,8 +17928,7 @@ export namespace networkservices_v1beta1 {
|
|
|
17055
17928
|
list(
|
|
17056
17929
|
params: Params$Resource$Projects$Locations$Wasmplugins$List,
|
|
17057
17930
|
options:
|
|
17058
|
-
|
|
|
17059
|
-
| BodyResponseCallback<Schema$ListWasmPluginsResponse>,
|
|
17931
|
+
MethodOptions | BodyResponseCallback<Schema$ListWasmPluginsResponse>,
|
|
17060
17932
|
callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>
|
|
17061
17933
|
): void;
|
|
17062
17934
|
list(
|
|
@@ -17237,8 +18109,7 @@ export namespace networkservices_v1beta1 {
|
|
|
17237
18109
|
| BodyResponseCallback<Schema$Operation>
|
|
17238
18110
|
| BodyResponseCallback<Readable>,
|
|
17239
18111
|
callback?:
|
|
17240
|
-
|
|
17241
|
-
| BodyResponseCallback<Readable>
|
|
18112
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
17242
18113
|
):
|
|
17243
18114
|
| void
|
|
17244
18115
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -17465,8 +18336,7 @@ export namespace networkservices_v1beta1 {
|
|
|
17465
18336
|
| BodyResponseCallback<Schema$Operation>
|
|
17466
18337
|
| BodyResponseCallback<Readable>,
|
|
17467
18338
|
callback?:
|
|
17468
|
-
|
|
17469
|
-
| BodyResponseCallback<Readable>
|
|
18339
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
17470
18340
|
):
|
|
17471
18341
|
| void
|
|
17472
18342
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -17609,8 +18479,7 @@ export namespace networkservices_v1beta1 {
|
|
|
17609
18479
|
| BodyResponseCallback<Schema$Operation>
|
|
17610
18480
|
| BodyResponseCallback<Readable>,
|
|
17611
18481
|
callback?:
|
|
17612
|
-
|
|
17613
|
-
| BodyResponseCallback<Readable>
|
|
18482
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
17614
18483
|
):
|
|
17615
18484
|
| void
|
|
17616
18485
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|