@googleapis/networkservices 34.1.0 → 34.2.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 +7 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +2351 -1299
- package/build/v1.js +316 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +1230 -178
- package/build/v1beta1.js +316 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +3983 -2220
- package/v1beta1.ts +3508 -1745
package/build/v1beta1.d.ts
CHANGED
|
@@ -82,10 +82,18 @@ export declare namespace networkservices_v1beta1 {
|
|
|
82
82
|
* Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be configured.
|
|
83
83
|
*/
|
|
84
84
|
accessTypes?: string[] | null;
|
|
85
|
+
/**
|
|
86
|
+
* Optional. The compute environment where the agent is hosted. Exactly one type of compute must be chosen.
|
|
87
|
+
*/
|
|
88
|
+
agentCompute?: string | null;
|
|
85
89
|
/**
|
|
86
90
|
* Output only. The timestamp when the resource was created.
|
|
87
91
|
*/
|
|
88
92
|
createTime?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* Required. The deployment model for the gateway.
|
|
95
|
+
*/
|
|
96
|
+
deploymentModel?: string | null;
|
|
89
97
|
/**
|
|
90
98
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
91
99
|
*/
|
|
@@ -420,6 +428,179 @@ export declare namespace networkservices_v1beta1 {
|
|
|
420
428
|
*/
|
|
421
429
|
updateTime?: string | null;
|
|
422
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* `ExtensionBinding` is a resource representing the attachment of an extension to a service.
|
|
433
|
+
*/
|
|
434
|
+
export interface Schema$ExtensionBinding {
|
|
435
|
+
/**
|
|
436
|
+
* Output only. The timestamp when the resource was created.
|
|
437
|
+
*/
|
|
438
|
+
createTime?: string | null;
|
|
439
|
+
/**
|
|
440
|
+
* Optional. A human-readable description of the resource.
|
|
441
|
+
*/
|
|
442
|
+
description?: string | null;
|
|
443
|
+
/**
|
|
444
|
+
* Optional. Etag of the resource. If 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.
|
|
445
|
+
*/
|
|
446
|
+
etag?: string | null;
|
|
447
|
+
/**
|
|
448
|
+
* Optional. Determines the behavior of the extension binding when the call to the extension fails or times out. Default value is `FALSE`. When set to `TRUE`, failures of the extension are silently ignored.
|
|
449
|
+
*/
|
|
450
|
+
failOpen?: boolean | null;
|
|
451
|
+
/**
|
|
452
|
+
* Optional. Set of labels associated with the `ExtensionBinding` resource. The format must comply with [the following requirements](https://cloud.google.com/compute/docs/labeling-resources#requirements).
|
|
453
|
+
*/
|
|
454
|
+
labels?: {
|
|
455
|
+
[key: string]: string;
|
|
456
|
+
} | null;
|
|
457
|
+
/**
|
|
458
|
+
* Optional. A list of match conditions to match against the incoming request. The extension will be invoked if at least one condition matches the request, or if no match conditions are specified. Limited to 5 conditions.
|
|
459
|
+
*/
|
|
460
|
+
matchConditions?: Schema$ExtensionBindingMatchCondition[];
|
|
461
|
+
/**
|
|
462
|
+
* Identifier. Name of the `ExtensionBinding` resource in the following format: `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
463
|
+
*/
|
|
464
|
+
name?: string | null;
|
|
465
|
+
/**
|
|
466
|
+
* Optional. Priority of the extension binding. Lower numbers indicate higher priority. Priority of extension bindings are used to determine the order in which extension bindings are applied to a request.
|
|
467
|
+
*/
|
|
468
|
+
priority?: number | null;
|
|
469
|
+
/**
|
|
470
|
+
* Required. The name of the extension that this binding should attach to target resources. Format: For Google-provided extensions, specify the service endpoint (see [Model Armor integration](https://docs.cloud.google.com/model-armor/integrations))
|
|
471
|
+
*/
|
|
472
|
+
producerExtension?: string | null;
|
|
473
|
+
/**
|
|
474
|
+
* Optional. Additional metadata that should be passed to the attached extension with each request.
|
|
475
|
+
*/
|
|
476
|
+
producerMetadata?: {
|
|
477
|
+
[key: string]: string;
|
|
478
|
+
} | null;
|
|
479
|
+
/**
|
|
480
|
+
* Required. Specifies a target to which this `ExtensionBinding` should be attached. The target can be either a single resource or a scope of resources.
|
|
481
|
+
*/
|
|
482
|
+
target?: Schema$ExtensionBindingTarget;
|
|
483
|
+
/**
|
|
484
|
+
* Output only. The timestamp when the resource was updated.
|
|
485
|
+
*/
|
|
486
|
+
updateTime?: string | null;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Conditions to match against the incoming request.
|
|
490
|
+
*/
|
|
491
|
+
export interface Schema$ExtensionBindingMatchCondition {
|
|
492
|
+
/**
|
|
493
|
+
* Optional. Describes properties of a destination of a request. If specified, the extension will only be invoked on requests to destinations that match the specified criteria.
|
|
494
|
+
*/
|
|
495
|
+
to?: Schema$ExtensionBindingMatchConditionTo;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Determines how an HTTP header should be matched.
|
|
499
|
+
*/
|
|
500
|
+
export interface Schema$ExtensionBindingMatchConditionHeaderMatch {
|
|
501
|
+
/**
|
|
502
|
+
* Required. Specifies the name of the header in the request.
|
|
503
|
+
*/
|
|
504
|
+
name?: string | null;
|
|
505
|
+
/**
|
|
506
|
+
* Optional. Specifies how the header match will be performed.
|
|
507
|
+
*/
|
|
508
|
+
value?: Schema$ExtensionBindingMatchConditionStringMatch;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Specifies matching logic for string values.
|
|
512
|
+
*/
|
|
513
|
+
export interface Schema$ExtensionBindingMatchConditionStringMatch {
|
|
514
|
+
/**
|
|
515
|
+
* Optional. The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc.def``
|
|
516
|
+
*/
|
|
517
|
+
contains?: string | null;
|
|
518
|
+
/**
|
|
519
|
+
* Optional. The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
|
|
520
|
+
*/
|
|
521
|
+
exact?: string | null;
|
|
522
|
+
/**
|
|
523
|
+
* Optional. If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. For example, the matcher ``data`` will match both input string ``Data`` and ``data`` if set to true.
|
|
524
|
+
*/
|
|
525
|
+
ignoreCase?: boolean | null;
|
|
526
|
+
/**
|
|
527
|
+
* Optional. The input string must have the prefix specified here. Note: empty prefix is not allowed. Examples: * ``abc`` matches the value ``abc.xyz``
|
|
528
|
+
*/
|
|
529
|
+
prefix?: string | null;
|
|
530
|
+
/**
|
|
531
|
+
* Optional. The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc``
|
|
532
|
+
*/
|
|
533
|
+
suffix?: string | null;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* Describes properties of one or more destinations of a request.
|
|
537
|
+
*/
|
|
538
|
+
export interface Schema$ExtensionBindingMatchConditionTo {
|
|
539
|
+
/**
|
|
540
|
+
* Optional. Describes properties of destination of a request. Within a destination, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. At least one of destination or not_destination must be specified.
|
|
541
|
+
*/
|
|
542
|
+
destination?: Schema$ExtensionBindingMatchConditionToDestination;
|
|
543
|
+
/**
|
|
544
|
+
* Optional. Describes the negated properties of the request destination. Extension will not be invoked on requests that match the criteria specified in this field. At least one of destination or not_destination must be specified.
|
|
545
|
+
*/
|
|
546
|
+
notDestination?: Schema$ExtensionBindingMatchConditionToDestination;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Describes properties of a single destination.
|
|
550
|
+
*/
|
|
551
|
+
export interface Schema$ExtensionBindingMatchConditionToDestination {
|
|
552
|
+
/**
|
|
553
|
+
* Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.
|
|
554
|
+
*/
|
|
555
|
+
headerSet?: Schema$ExtensionBindingMatchConditionToDestinationHeaderSet;
|
|
556
|
+
/**
|
|
557
|
+
* Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.
|
|
558
|
+
*/
|
|
559
|
+
hosts?: Schema$ExtensionBindingMatchConditionStringMatch[];
|
|
560
|
+
/**
|
|
561
|
+
* Optional. A list of paths to match against. Limited to 10 paths. If not specified, any path is allowed. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
|
|
562
|
+
*/
|
|
563
|
+
paths?: Schema$ExtensionBindingMatchConditionStringMatch[];
|
|
564
|
+
/**
|
|
565
|
+
* Optional. A list of non-empty strings whose value is matched against the resource value. If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources.
|
|
566
|
+
*/
|
|
567
|
+
resources?: Schema$ExtensionBindingMatchConditionStringMatch[];
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Describes a set of HTTP headers to match against.
|
|
571
|
+
*/
|
|
572
|
+
export interface Schema$ExtensionBindingMatchConditionToDestinationHeaderSet {
|
|
573
|
+
/**
|
|
574
|
+
* Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.
|
|
575
|
+
*/
|
|
576
|
+
headers?: Schema$ExtensionBindingMatchConditionHeaderMatch[];
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* Specifies a list of targets to which this `ExtensionBinding` should attach.
|
|
580
|
+
*/
|
|
581
|
+
export interface Schema$ExtensionBindingTarget {
|
|
582
|
+
/**
|
|
583
|
+
* Optional. The reference to the target resource, to which this binding should attach. Exactly one of `resources` or `scope` must be set. For Agent Gateway, this would be the full resource name, in the format: `projects/{project\}/locations/{location\}/agentGateways/{agent_gateway\}`. For AI App, this would be the full resource name, in the format: `projects/{project\}/locations/{location\}/applications/{application\}`.
|
|
584
|
+
*/
|
|
585
|
+
resources?: string[] | null;
|
|
586
|
+
/**
|
|
587
|
+
* Optional. Specifies the scope of resources to which this binding should attach. Exactly one of `resources` or `scope` must be set.
|
|
588
|
+
*/
|
|
589
|
+
scope?: Schema$ExtensionBindingTargetScope;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* Specifies the scope of resources to which this binding should attach.
|
|
593
|
+
*/
|
|
594
|
+
export interface Schema$ExtensionBindingTargetScope {
|
|
595
|
+
/**
|
|
596
|
+
* Required. Parent resource name specification, in the format: `projects/{project_number\}`.
|
|
597
|
+
*/
|
|
598
|
+
parent?: string | null;
|
|
599
|
+
/**
|
|
600
|
+
* Required. Type of the resource to which the binding should attach. Limited to 1 resource type.
|
|
601
|
+
*/
|
|
602
|
+
resourceTypes?: string[] | null;
|
|
603
|
+
}
|
|
423
604
|
/**
|
|
424
605
|
* A single extension chain wrapper that contains the match conditions and extensions to execute.
|
|
425
606
|
*/
|
|
@@ -1504,6 +1685,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1504
1685
|
*/
|
|
1505
1686
|
unreachable?: string[] | null;
|
|
1506
1687
|
}
|
|
1688
|
+
/**
|
|
1689
|
+
* Response returned by the `ListExtensionBindings` method.
|
|
1690
|
+
*/
|
|
1691
|
+
export interface Schema$ListExtensionBindingsResponse {
|
|
1692
|
+
/**
|
|
1693
|
+
* List of `ExtensionBinding` resources.
|
|
1694
|
+
*/
|
|
1695
|
+
extensionBindings?: Schema$ExtensionBinding[];
|
|
1696
|
+
/**
|
|
1697
|
+
* 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`.
|
|
1698
|
+
*/
|
|
1699
|
+
nextPageToken?: string | null;
|
|
1700
|
+
/**
|
|
1701
|
+
* Unordered list. Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable. The resource names are in the format `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
1702
|
+
*/
|
|
1703
|
+
unreachable?: string[] | null;
|
|
1704
|
+
}
|
|
1507
1705
|
/**
|
|
1508
1706
|
* Response returned by the ListGatewayRouteViews method.
|
|
1509
1707
|
*/
|
|
@@ -1704,6 +1902,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1704
1902
|
*/
|
|
1705
1903
|
unreachable?: string[] | null;
|
|
1706
1904
|
}
|
|
1905
|
+
/**
|
|
1906
|
+
* Response returned by the `ListProducerExtensions` method.
|
|
1907
|
+
*/
|
|
1908
|
+
export interface Schema$ListProducerExtensionsResponse {
|
|
1909
|
+
/**
|
|
1910
|
+
* 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`.
|
|
1911
|
+
*/
|
|
1912
|
+
nextPageToken?: string | null;
|
|
1913
|
+
/**
|
|
1914
|
+
* List of `ProducerExtension` resources.
|
|
1915
|
+
*/
|
|
1916
|
+
producerExtensions?: Schema$ProducerExtension[];
|
|
1917
|
+
/**
|
|
1918
|
+
* Unordered list. Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable. The resource names are in the format: `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
1919
|
+
*/
|
|
1920
|
+
unreachable?: string[] | null;
|
|
1921
|
+
}
|
|
1707
1922
|
/**
|
|
1708
1923
|
* Response returned by the ListServiceBindings method.
|
|
1709
1924
|
*/
|
|
@@ -1996,6 +2211,66 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1996
2211
|
*/
|
|
1997
2212
|
verb?: string | null;
|
|
1998
2213
|
}
|
|
2214
|
+
/**
|
|
2215
|
+
* `ProducerExtension` is a resource representing producer defined configuration for their service extension.
|
|
2216
|
+
*/
|
|
2217
|
+
export interface Schema$ProducerExtension {
|
|
2218
|
+
/**
|
|
2219
|
+
* Output only. The timestamp when the resource was created.
|
|
2220
|
+
*/
|
|
2221
|
+
createTime?: string | null;
|
|
2222
|
+
/**
|
|
2223
|
+
* Optional. A human-readable description of the resource.
|
|
2224
|
+
*/
|
|
2225
|
+
description?: string | null;
|
|
2226
|
+
/**
|
|
2227
|
+
* 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.
|
|
2228
|
+
*/
|
|
2229
|
+
etag?: string | null;
|
|
2230
|
+
/**
|
|
2231
|
+
* Required. The configuration for the service that this `ProducerExtension` offers.
|
|
2232
|
+
*/
|
|
2233
|
+
extensionSettings?: Schema$ProducerExtensionExtensionSettings;
|
|
2234
|
+
/**
|
|
2235
|
+
* Optional. Set of labels associated with the `ProducerExtension` resource. The format must comply with [the following requirements]((https://cloud.google.com/compute/docs/labeling-resources#requirements).
|
|
2236
|
+
*/
|
|
2237
|
+
labels?: {
|
|
2238
|
+
[key: string]: string;
|
|
2239
|
+
} | null;
|
|
2240
|
+
/**
|
|
2241
|
+
* Identifier. Name of the `ProducerExtension` resource in the following format: `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
2242
|
+
*/
|
|
2243
|
+
name?: string | null;
|
|
2244
|
+
/**
|
|
2245
|
+
* Required. The phase in which this `ProducerExtension` should execute.
|
|
2246
|
+
*/
|
|
2247
|
+
phase?: string | null;
|
|
2248
|
+
/**
|
|
2249
|
+
* Output only. The timestamp when the resource was updated.
|
|
2250
|
+
*/
|
|
2251
|
+
updateTime?: string | null;
|
|
2252
|
+
}
|
|
2253
|
+
/**
|
|
2254
|
+
* The configuration for the service that this `ProducerExtension` offers.
|
|
2255
|
+
*/
|
|
2256
|
+
export interface Schema$ProducerExtensionExtensionSettings {
|
|
2257
|
+
/**
|
|
2258
|
+
* Optional. The `:authority` header in the request sent to the extension service.
|
|
2259
|
+
*/
|
|
2260
|
+
authority?: string | null;
|
|
2261
|
+
/**
|
|
2262
|
+
* Optional. Whether the extension should function in observability mode.
|
|
2263
|
+
*/
|
|
2264
|
+
observabilityMode?: boolean | null;
|
|
2265
|
+
/**
|
|
2266
|
+
* Required. URI of the PSC attachment.
|
|
2267
|
+
*/
|
|
2268
|
+
service?: string | null;
|
|
2269
|
+
/**
|
|
2270
|
+
* Required. The event types supported by the extension.
|
|
2271
|
+
*/
|
|
2272
|
+
supportedEvents?: string[] | null;
|
|
2273
|
+
}
|
|
1999
2274
|
export interface Schema$RetryFilterPerRouteConfig {
|
|
2000
2275
|
/**
|
|
2001
2276
|
* The name of the crypto key to use for encrypting event data.
|
|
@@ -2517,6 +2792,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2517
2792
|
agentGateways: Resource$Projects$Locations$Agentgateways;
|
|
2518
2793
|
authzExtensions: Resource$Projects$Locations$Authzextensions;
|
|
2519
2794
|
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
2795
|
+
extensionBindings: Resource$Projects$Locations$Extensionbindings;
|
|
2520
2796
|
gateways: Resource$Projects$Locations$Gateways;
|
|
2521
2797
|
grpcRoutes: Resource$Projects$Locations$Grpcroutes;
|
|
2522
2798
|
httpRoutes: Resource$Projects$Locations$Httproutes;
|
|
@@ -2526,6 +2802,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2526
2802
|
lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
|
|
2527
2803
|
meshes: Resource$Projects$Locations$Meshes;
|
|
2528
2804
|
operations: Resource$Projects$Locations$Operations;
|
|
2805
|
+
producerExtensions: Resource$Projects$Locations$Producerextensions;
|
|
2529
2806
|
serviceBindings: Resource$Projects$Locations$Servicebindings;
|
|
2530
2807
|
serviceLbPolicies: Resource$Projects$Locations$Servicelbpolicies;
|
|
2531
2808
|
tcpRoutes: Resource$Projects$Locations$Tcproutes;
|
|
@@ -2740,7 +3017,9 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2740
3017
|
* // {
|
|
2741
3018
|
* // "accessPath": "my_accessPath",
|
|
2742
3019
|
* // "accessTypes": [],
|
|
3020
|
+
* // "agentCompute": "my_agentCompute",
|
|
2743
3021
|
* // "createTime": "my_createTime",
|
|
3022
|
+
* // "deploymentModel": "my_deploymentModel",
|
|
2744
3023
|
* // "description": "my_description",
|
|
2745
3024
|
* // "egressNetworkConfig": {},
|
|
2746
3025
|
* // "etag": "my_etag",
|
|
@@ -2888,7 +3167,9 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2888
3167
|
* // {
|
|
2889
3168
|
* // "accessPath": "my_accessPath",
|
|
2890
3169
|
* // "accessTypes": [],
|
|
3170
|
+
* // "agentCompute": "my_agentCompute",
|
|
2891
3171
|
* // "createTime": "my_createTime",
|
|
3172
|
+
* // "deploymentModel": "my_deploymentModel",
|
|
2892
3173
|
* // "description": "my_description",
|
|
2893
3174
|
* // "egressNetworkConfig": {},
|
|
2894
3175
|
* // "etag": "my_etag",
|
|
@@ -3028,7 +3309,9 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3028
3309
|
* // {
|
|
3029
3310
|
* // "accessPath": "my_accessPath",
|
|
3030
3311
|
* // "accessTypes": [],
|
|
3312
|
+
* // "agentCompute": "my_agentCompute",
|
|
3031
3313
|
* // "createTime": "my_createTime",
|
|
3314
|
+
* // "deploymentModel": "my_deploymentModel",
|
|
3032
3315
|
* // "description": "my_description",
|
|
3033
3316
|
* // "egressNetworkConfig": {},
|
|
3034
3317
|
* // "etag": "my_etag",
|
|
@@ -4475,12 +4758,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4475
4758
|
*/
|
|
4476
4759
|
requestBody?: Schema$EndpointPolicy;
|
|
4477
4760
|
}
|
|
4478
|
-
export class Resource$Projects$Locations$
|
|
4761
|
+
export class Resource$Projects$Locations$Extensionbindings {
|
|
4479
4762
|
context: APIRequestContext;
|
|
4480
|
-
routeViews: Resource$Projects$Locations$Gateways$Routeviews;
|
|
4481
4763
|
constructor(context: APIRequestContext);
|
|
4482
4764
|
/**
|
|
4483
|
-
* Creates a new
|
|
4765
|
+
* Creates a new `ExtensionBinding` resource in a given project and location.
|
|
4484
4766
|
* @example
|
|
4485
4767
|
* ```js
|
|
4486
4768
|
* // Before running the sample:
|
|
@@ -4509,39 +4791,33 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4509
4791
|
* google.options({auth: authClient});
|
|
4510
4792
|
*
|
|
4511
4793
|
* // Do the magic
|
|
4512
|
-
* const res = await networkservices.projects.locations.
|
|
4513
|
-
*
|
|
4514
|
-
*
|
|
4515
|
-
*
|
|
4516
|
-
*
|
|
4794
|
+
* const res = await networkservices.projects.locations.extensionBindings.create(
|
|
4795
|
+
* {
|
|
4796
|
+
* // Required. Short name of the `ExtensionBinding` resource to be created.
|
|
4797
|
+
* extensionBindingId: 'placeholder-value',
|
|
4798
|
+
* // Required. The parent resource of the `ExtensionBinding` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
4799
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
4517
4800
|
*
|
|
4518
|
-
*
|
|
4519
|
-
*
|
|
4520
|
-
*
|
|
4521
|
-
*
|
|
4522
|
-
*
|
|
4523
|
-
*
|
|
4524
|
-
*
|
|
4525
|
-
*
|
|
4526
|
-
*
|
|
4527
|
-
*
|
|
4528
|
-
*
|
|
4529
|
-
*
|
|
4530
|
-
*
|
|
4531
|
-
*
|
|
4532
|
-
*
|
|
4533
|
-
*
|
|
4534
|
-
*
|
|
4535
|
-
*
|
|
4536
|
-
* // "scope": "my_scope",
|
|
4537
|
-
* // "selfLink": "my_selfLink",
|
|
4538
|
-
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
4539
|
-
* // "subnetwork": "my_subnetwork",
|
|
4540
|
-
* // "type": "my_type",
|
|
4541
|
-
* // "updateTime": "my_updateTime"
|
|
4542
|
-
* // }
|
|
4801
|
+
* // Request body metadata
|
|
4802
|
+
* requestBody: {
|
|
4803
|
+
* // request body parameters
|
|
4804
|
+
* // {
|
|
4805
|
+
* // "createTime": "my_createTime",
|
|
4806
|
+
* // "description": "my_description",
|
|
4807
|
+
* // "etag": "my_etag",
|
|
4808
|
+
* // "failOpen": false,
|
|
4809
|
+
* // "labels": {},
|
|
4810
|
+
* // "matchConditions": [],
|
|
4811
|
+
* // "name": "my_name",
|
|
4812
|
+
* // "priority": 0,
|
|
4813
|
+
* // "producerExtension": "my_producerExtension",
|
|
4814
|
+
* // "producerMetadata": {},
|
|
4815
|
+
* // "target": {},
|
|
4816
|
+
* // "updateTime": "my_updateTime"
|
|
4817
|
+
* // }
|
|
4818
|
+
* },
|
|
4543
4819
|
* },
|
|
4544
|
-
*
|
|
4820
|
+
* );
|
|
4545
4821
|
* console.log(res.data);
|
|
4546
4822
|
*
|
|
4547
4823
|
* // Example response
|
|
@@ -4566,14 +4842,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4566
4842
|
* @param callback - Optional callback that handles the response.
|
|
4567
4843
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4568
4844
|
*/
|
|
4569
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4570
|
-
create(params?: Params$Resource$Projects$Locations$
|
|
4571
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4572
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4573
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4845
|
+
create(params: Params$Resource$Projects$Locations$Extensionbindings$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4846
|
+
create(params?: Params$Resource$Projects$Locations$Extensionbindings$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4847
|
+
create(params: Params$Resource$Projects$Locations$Extensionbindings$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4848
|
+
create(params: Params$Resource$Projects$Locations$Extensionbindings$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4849
|
+
create(params: Params$Resource$Projects$Locations$Extensionbindings$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4574
4850
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4575
4851
|
/**
|
|
4576
|
-
* Deletes
|
|
4852
|
+
* Deletes the specified `ExtensionBinding` resource.
|
|
4577
4853
|
* @example
|
|
4578
4854
|
* ```js
|
|
4579
4855
|
* // Before running the sample:
|
|
@@ -4602,10 +4878,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4602
4878
|
* google.options({auth: authClient});
|
|
4603
4879
|
*
|
|
4604
4880
|
* // Do the magic
|
|
4605
|
-
* const res = await networkservices.projects.locations.
|
|
4606
|
-
*
|
|
4607
|
-
*
|
|
4608
|
-
*
|
|
4881
|
+
* const res = await networkservices.projects.locations.extensionBindings.delete(
|
|
4882
|
+
* {
|
|
4883
|
+
* // Optional. The etag of the ExtensionBinding to delete.
|
|
4884
|
+
* etag: 'placeholder-value',
|
|
4885
|
+
* // Required. A name of the `ExtensionBinding` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
4886
|
+
* name: 'projects/my-project/locations/my-location/extensionBindings/my-extensionBinding',
|
|
4887
|
+
* },
|
|
4888
|
+
* );
|
|
4609
4889
|
* console.log(res.data);
|
|
4610
4890
|
*
|
|
4611
4891
|
* // Example response
|
|
@@ -4630,14 +4910,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4630
4910
|
* @param callback - Optional callback that handles the response.
|
|
4631
4911
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4632
4912
|
*/
|
|
4633
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4634
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
4635
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4636
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4637
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4913
|
+
delete(params: Params$Resource$Projects$Locations$Extensionbindings$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4914
|
+
delete(params?: Params$Resource$Projects$Locations$Extensionbindings$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4915
|
+
delete(params: Params$Resource$Projects$Locations$Extensionbindings$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4916
|
+
delete(params: Params$Resource$Projects$Locations$Extensionbindings$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4917
|
+
delete(params: Params$Resource$Projects$Locations$Extensionbindings$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4638
4918
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4639
4919
|
/**
|
|
4640
|
-
* Gets details of
|
|
4920
|
+
* Gets details of the specified `ExtensionBinding` resource.
|
|
4641
4921
|
* @example
|
|
4642
4922
|
* ```js
|
|
4643
4923
|
* // Before running the sample:
|
|
@@ -4666,21 +4946,463 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4666
4946
|
* google.options({auth: authClient});
|
|
4667
4947
|
*
|
|
4668
4948
|
* // Do the magic
|
|
4669
|
-
* const res = await networkservices.projects.locations.
|
|
4670
|
-
* // Required. A name of the
|
|
4671
|
-
* name: 'projects/my-project/locations/my-location/
|
|
4949
|
+
* const res = await networkservices.projects.locations.extensionBindings.get({
|
|
4950
|
+
* // Required. A name of the `ExtensionBinding` resource to get. Must be in the format `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
4951
|
+
* name: 'projects/my-project/locations/my-location/extensionBindings/my-extensionBinding',
|
|
4672
4952
|
* });
|
|
4673
4953
|
* console.log(res.data);
|
|
4674
4954
|
*
|
|
4675
4955
|
* // Example response
|
|
4676
4956
|
* // {
|
|
4677
|
-
* // "addresses": [],
|
|
4678
|
-
* // "allPorts": false,
|
|
4679
|
-
* // "allowGlobalAccess": false,
|
|
4680
|
-
* // "certificateUrls": [],
|
|
4681
4957
|
* // "createTime": "my_createTime",
|
|
4682
4958
|
* // "description": "my_description",
|
|
4683
|
-
* // "
|
|
4959
|
+
* // "etag": "my_etag",
|
|
4960
|
+
* // "failOpen": false,
|
|
4961
|
+
* // "labels": {},
|
|
4962
|
+
* // "matchConditions": [],
|
|
4963
|
+
* // "name": "my_name",
|
|
4964
|
+
* // "priority": 0,
|
|
4965
|
+
* // "producerExtension": "my_producerExtension",
|
|
4966
|
+
* // "producerMetadata": {},
|
|
4967
|
+
* // "target": {},
|
|
4968
|
+
* // "updateTime": "my_updateTime"
|
|
4969
|
+
* // }
|
|
4970
|
+
* }
|
|
4971
|
+
*
|
|
4972
|
+
* main().catch(e => {
|
|
4973
|
+
* console.error(e);
|
|
4974
|
+
* throw e;
|
|
4975
|
+
* });
|
|
4976
|
+
*
|
|
4977
|
+
* ```
|
|
4978
|
+
*
|
|
4979
|
+
* @param params - Parameters for request
|
|
4980
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4981
|
+
* @param callback - Optional callback that handles the response.
|
|
4982
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4983
|
+
*/
|
|
4984
|
+
get(params: Params$Resource$Projects$Locations$Extensionbindings$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4985
|
+
get(params?: Params$Resource$Projects$Locations$Extensionbindings$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ExtensionBinding>>;
|
|
4986
|
+
get(params: Params$Resource$Projects$Locations$Extensionbindings$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4987
|
+
get(params: Params$Resource$Projects$Locations$Extensionbindings$Get, options: MethodOptions | BodyResponseCallback<Schema$ExtensionBinding>, callback: BodyResponseCallback<Schema$ExtensionBinding>): void;
|
|
4988
|
+
get(params: Params$Resource$Projects$Locations$Extensionbindings$Get, callback: BodyResponseCallback<Schema$ExtensionBinding>): void;
|
|
4989
|
+
get(callback: BodyResponseCallback<Schema$ExtensionBinding>): void;
|
|
4990
|
+
/**
|
|
4991
|
+
* Lists `ExtensionBinding` resources in a given project and location.
|
|
4992
|
+
* @example
|
|
4993
|
+
* ```js
|
|
4994
|
+
* // Before running the sample:
|
|
4995
|
+
* // - Enable the API at:
|
|
4996
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
4997
|
+
* // - Login into gcloud by running:
|
|
4998
|
+
* // ```sh
|
|
4999
|
+
* // $ gcloud auth application-default login
|
|
5000
|
+
* // ```
|
|
5001
|
+
* // - Install the npm module by running:
|
|
5002
|
+
* // ```sh
|
|
5003
|
+
* // $ npm install googleapis
|
|
5004
|
+
* // ```
|
|
5005
|
+
*
|
|
5006
|
+
* const {google} = require('googleapis');
|
|
5007
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5008
|
+
*
|
|
5009
|
+
* async function main() {
|
|
5010
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5011
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5012
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5013
|
+
* });
|
|
5014
|
+
*
|
|
5015
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5016
|
+
* const authClient = await auth.getClient();
|
|
5017
|
+
* google.options({auth: authClient});
|
|
5018
|
+
*
|
|
5019
|
+
* // Do the magic
|
|
5020
|
+
* const res = await networkservices.projects.locations.extensionBindings.list({
|
|
5021
|
+
* // Optional. Maximum number of `ExtensionBinding` resources to return per call.
|
|
5022
|
+
* pageSize: 'placeholder-value',
|
|
5023
|
+
* // Optional. The value returned by the last `ListExtensionBindingsResponse` Indicates that this is a continuation of a prior `ListExtensionBindings` call, and that the system should return the next page of data.
|
|
5024
|
+
* pageToken: 'placeholder-value',
|
|
5025
|
+
* // Required. The project and location from which the `ExtensionBinding` resources should be listed, specified in the format `projects/{project\}/locations/{location\}`.
|
|
5026
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
5027
|
+
* });
|
|
5028
|
+
* console.log(res.data);
|
|
5029
|
+
*
|
|
5030
|
+
* // Example response
|
|
5031
|
+
* // {
|
|
5032
|
+
* // "extensionBindings": [],
|
|
5033
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5034
|
+
* // "unreachable": []
|
|
5035
|
+
* // }
|
|
5036
|
+
* }
|
|
5037
|
+
*
|
|
5038
|
+
* main().catch(e => {
|
|
5039
|
+
* console.error(e);
|
|
5040
|
+
* throw e;
|
|
5041
|
+
* });
|
|
5042
|
+
*
|
|
5043
|
+
* ```
|
|
5044
|
+
*
|
|
5045
|
+
* @param params - Parameters for request
|
|
5046
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5047
|
+
* @param callback - Optional callback that handles the response.
|
|
5048
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5049
|
+
*/
|
|
5050
|
+
list(params: Params$Resource$Projects$Locations$Extensionbindings$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5051
|
+
list(params?: Params$Resource$Projects$Locations$Extensionbindings$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListExtensionBindingsResponse>>;
|
|
5052
|
+
list(params: Params$Resource$Projects$Locations$Extensionbindings$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5053
|
+
list(params: Params$Resource$Projects$Locations$Extensionbindings$List, options: MethodOptions | BodyResponseCallback<Schema$ListExtensionBindingsResponse>, callback: BodyResponseCallback<Schema$ListExtensionBindingsResponse>): void;
|
|
5054
|
+
list(params: Params$Resource$Projects$Locations$Extensionbindings$List, callback: BodyResponseCallback<Schema$ListExtensionBindingsResponse>): void;
|
|
5055
|
+
list(callback: BodyResponseCallback<Schema$ListExtensionBindingsResponse>): void;
|
|
5056
|
+
/**
|
|
5057
|
+
* Updates the parameters of the specified `ExtensionBinding` resource.
|
|
5058
|
+
* @example
|
|
5059
|
+
* ```js
|
|
5060
|
+
* // Before running the sample:
|
|
5061
|
+
* // - Enable the API at:
|
|
5062
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
5063
|
+
* // - Login into gcloud by running:
|
|
5064
|
+
* // ```sh
|
|
5065
|
+
* // $ gcloud auth application-default login
|
|
5066
|
+
* // ```
|
|
5067
|
+
* // - Install the npm module by running:
|
|
5068
|
+
* // ```sh
|
|
5069
|
+
* // $ npm install googleapis
|
|
5070
|
+
* // ```
|
|
5071
|
+
*
|
|
5072
|
+
* const {google} = require('googleapis');
|
|
5073
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5074
|
+
*
|
|
5075
|
+
* async function main() {
|
|
5076
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5077
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5078
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5079
|
+
* });
|
|
5080
|
+
*
|
|
5081
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5082
|
+
* const authClient = await auth.getClient();
|
|
5083
|
+
* google.options({auth: authClient});
|
|
5084
|
+
*
|
|
5085
|
+
* // Do the magic
|
|
5086
|
+
* const res = await networkservices.projects.locations.extensionBindings.patch({
|
|
5087
|
+
* // Identifier. Name of the `ExtensionBinding` resource in the following format: `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
5088
|
+
* name: 'projects/my-project/locations/my-location/extensionBindings/my-extensionBinding',
|
|
5089
|
+
* // Optional. Field mask is used to specify the fields to be overwritten in the `ExtensionBinding` 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.
|
|
5090
|
+
* updateMask: 'placeholder-value',
|
|
5091
|
+
*
|
|
5092
|
+
* // Request body metadata
|
|
5093
|
+
* requestBody: {
|
|
5094
|
+
* // request body parameters
|
|
5095
|
+
* // {
|
|
5096
|
+
* // "createTime": "my_createTime",
|
|
5097
|
+
* // "description": "my_description",
|
|
5098
|
+
* // "etag": "my_etag",
|
|
5099
|
+
* // "failOpen": false,
|
|
5100
|
+
* // "labels": {},
|
|
5101
|
+
* // "matchConditions": [],
|
|
5102
|
+
* // "name": "my_name",
|
|
5103
|
+
* // "priority": 0,
|
|
5104
|
+
* // "producerExtension": "my_producerExtension",
|
|
5105
|
+
* // "producerMetadata": {},
|
|
5106
|
+
* // "target": {},
|
|
5107
|
+
* // "updateTime": "my_updateTime"
|
|
5108
|
+
* // }
|
|
5109
|
+
* },
|
|
5110
|
+
* });
|
|
5111
|
+
* console.log(res.data);
|
|
5112
|
+
*
|
|
5113
|
+
* // Example response
|
|
5114
|
+
* // {
|
|
5115
|
+
* // "done": false,
|
|
5116
|
+
* // "error": {},
|
|
5117
|
+
* // "metadata": {},
|
|
5118
|
+
* // "name": "my_name",
|
|
5119
|
+
* // "response": {}
|
|
5120
|
+
* // }
|
|
5121
|
+
* }
|
|
5122
|
+
*
|
|
5123
|
+
* main().catch(e => {
|
|
5124
|
+
* console.error(e);
|
|
5125
|
+
* throw e;
|
|
5126
|
+
* });
|
|
5127
|
+
*
|
|
5128
|
+
* ```
|
|
5129
|
+
*
|
|
5130
|
+
* @param params - Parameters for request
|
|
5131
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5132
|
+
* @param callback - Optional callback that handles the response.
|
|
5133
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5134
|
+
*/
|
|
5135
|
+
patch(params: Params$Resource$Projects$Locations$Extensionbindings$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5136
|
+
patch(params?: Params$Resource$Projects$Locations$Extensionbindings$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5137
|
+
patch(params: Params$Resource$Projects$Locations$Extensionbindings$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5138
|
+
patch(params: Params$Resource$Projects$Locations$Extensionbindings$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5139
|
+
patch(params: Params$Resource$Projects$Locations$Extensionbindings$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5140
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5141
|
+
}
|
|
5142
|
+
export interface Params$Resource$Projects$Locations$Extensionbindings$Create extends StandardParameters {
|
|
5143
|
+
/**
|
|
5144
|
+
* Required. Short name of the `ExtensionBinding` resource to be created.
|
|
5145
|
+
*/
|
|
5146
|
+
extensionBindingId?: string;
|
|
5147
|
+
/**
|
|
5148
|
+
* Required. The parent resource of the `ExtensionBinding` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
5149
|
+
*/
|
|
5150
|
+
parent?: string;
|
|
5151
|
+
/**
|
|
5152
|
+
* Request body metadata
|
|
5153
|
+
*/
|
|
5154
|
+
requestBody?: Schema$ExtensionBinding;
|
|
5155
|
+
}
|
|
5156
|
+
export interface Params$Resource$Projects$Locations$Extensionbindings$Delete extends StandardParameters {
|
|
5157
|
+
/**
|
|
5158
|
+
* Optional. The etag of the ExtensionBinding to delete.
|
|
5159
|
+
*/
|
|
5160
|
+
etag?: string;
|
|
5161
|
+
/**
|
|
5162
|
+
* Required. A name of the `ExtensionBinding` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
5163
|
+
*/
|
|
5164
|
+
name?: string;
|
|
5165
|
+
}
|
|
5166
|
+
export interface Params$Resource$Projects$Locations$Extensionbindings$Get extends StandardParameters {
|
|
5167
|
+
/**
|
|
5168
|
+
* Required. A name of the `ExtensionBinding` resource to get. Must be in the format `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
5169
|
+
*/
|
|
5170
|
+
name?: string;
|
|
5171
|
+
}
|
|
5172
|
+
export interface Params$Resource$Projects$Locations$Extensionbindings$List extends StandardParameters {
|
|
5173
|
+
/**
|
|
5174
|
+
* Optional. Maximum number of `ExtensionBinding` resources to return per call.
|
|
5175
|
+
*/
|
|
5176
|
+
pageSize?: number;
|
|
5177
|
+
/**
|
|
5178
|
+
* Optional. The value returned by the last `ListExtensionBindingsResponse` Indicates that this is a continuation of a prior `ListExtensionBindings` call, and that the system should return the next page of data.
|
|
5179
|
+
*/
|
|
5180
|
+
pageToken?: string;
|
|
5181
|
+
/**
|
|
5182
|
+
* Required. The project and location from which the `ExtensionBinding` resources should be listed, specified in the format `projects/{project\}/locations/{location\}`.
|
|
5183
|
+
*/
|
|
5184
|
+
parent?: string;
|
|
5185
|
+
}
|
|
5186
|
+
export interface Params$Resource$Projects$Locations$Extensionbindings$Patch extends StandardParameters {
|
|
5187
|
+
/**
|
|
5188
|
+
* Identifier. Name of the `ExtensionBinding` resource in the following format: `projects/{project\}/locations/{location\}/extensionBindings/{extension_binding\}`.
|
|
5189
|
+
*/
|
|
5190
|
+
name?: string;
|
|
5191
|
+
/**
|
|
5192
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the `ExtensionBinding` 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.
|
|
5193
|
+
*/
|
|
5194
|
+
updateMask?: string;
|
|
5195
|
+
/**
|
|
5196
|
+
* Request body metadata
|
|
5197
|
+
*/
|
|
5198
|
+
requestBody?: Schema$ExtensionBinding;
|
|
5199
|
+
}
|
|
5200
|
+
export class Resource$Projects$Locations$Gateways {
|
|
5201
|
+
context: APIRequestContext;
|
|
5202
|
+
routeViews: Resource$Projects$Locations$Gateways$Routeviews;
|
|
5203
|
+
constructor(context: APIRequestContext);
|
|
5204
|
+
/**
|
|
5205
|
+
* Creates a new Gateway in a given project and location.
|
|
5206
|
+
* @example
|
|
5207
|
+
* ```js
|
|
5208
|
+
* // Before running the sample:
|
|
5209
|
+
* // - Enable the API at:
|
|
5210
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
5211
|
+
* // - Login into gcloud by running:
|
|
5212
|
+
* // ```sh
|
|
5213
|
+
* // $ gcloud auth application-default login
|
|
5214
|
+
* // ```
|
|
5215
|
+
* // - Install the npm module by running:
|
|
5216
|
+
* // ```sh
|
|
5217
|
+
* // $ npm install googleapis
|
|
5218
|
+
* // ```
|
|
5219
|
+
*
|
|
5220
|
+
* const {google} = require('googleapis');
|
|
5221
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5222
|
+
*
|
|
5223
|
+
* async function main() {
|
|
5224
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5225
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5226
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5227
|
+
* });
|
|
5228
|
+
*
|
|
5229
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5230
|
+
* const authClient = await auth.getClient();
|
|
5231
|
+
* google.options({auth: authClient});
|
|
5232
|
+
*
|
|
5233
|
+
* // Do the magic
|
|
5234
|
+
* const res = await networkservices.projects.locations.gateways.create({
|
|
5235
|
+
* // Required. Short name of the Gateway resource to be created.
|
|
5236
|
+
* gatewayId: 'placeholder-value',
|
|
5237
|
+
* // Required. The parent resource of the Gateway. Must be in the format `projects/x/locations/x`.
|
|
5238
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
5239
|
+
*
|
|
5240
|
+
* // Request body metadata
|
|
5241
|
+
* requestBody: {
|
|
5242
|
+
* // request body parameters
|
|
5243
|
+
* // {
|
|
5244
|
+
* // "addresses": [],
|
|
5245
|
+
* // "allPorts": false,
|
|
5246
|
+
* // "allowGlobalAccess": false,
|
|
5247
|
+
* // "certificateUrls": [],
|
|
5248
|
+
* // "createTime": "my_createTime",
|
|
5249
|
+
* // "description": "my_description",
|
|
5250
|
+
* // "envoyHeaders": "my_envoyHeaders",
|
|
5251
|
+
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
5252
|
+
* // "ipVersion": "my_ipVersion",
|
|
5253
|
+
* // "labels": {},
|
|
5254
|
+
* // "name": "my_name",
|
|
5255
|
+
* // "network": "my_network",
|
|
5256
|
+
* // "ports": [],
|
|
5257
|
+
* // "routingMode": "my_routingMode",
|
|
5258
|
+
* // "scope": "my_scope",
|
|
5259
|
+
* // "selfLink": "my_selfLink",
|
|
5260
|
+
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
5261
|
+
* // "subnetwork": "my_subnetwork",
|
|
5262
|
+
* // "type": "my_type",
|
|
5263
|
+
* // "updateTime": "my_updateTime"
|
|
5264
|
+
* // }
|
|
5265
|
+
* },
|
|
5266
|
+
* });
|
|
5267
|
+
* console.log(res.data);
|
|
5268
|
+
*
|
|
5269
|
+
* // Example response
|
|
5270
|
+
* // {
|
|
5271
|
+
* // "done": false,
|
|
5272
|
+
* // "error": {},
|
|
5273
|
+
* // "metadata": {},
|
|
5274
|
+
* // "name": "my_name",
|
|
5275
|
+
* // "response": {}
|
|
5276
|
+
* // }
|
|
5277
|
+
* }
|
|
5278
|
+
*
|
|
5279
|
+
* main().catch(e => {
|
|
5280
|
+
* console.error(e);
|
|
5281
|
+
* throw e;
|
|
5282
|
+
* });
|
|
5283
|
+
*
|
|
5284
|
+
* ```
|
|
5285
|
+
*
|
|
5286
|
+
* @param params - Parameters for request
|
|
5287
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5288
|
+
* @param callback - Optional callback that handles the response.
|
|
5289
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5290
|
+
*/
|
|
5291
|
+
create(params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5292
|
+
create(params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5293
|
+
create(params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5294
|
+
create(params: Params$Resource$Projects$Locations$Gateways$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5295
|
+
create(params: Params$Resource$Projects$Locations$Gateways$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5296
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5297
|
+
/**
|
|
5298
|
+
* Deletes a single Gateway.
|
|
5299
|
+
* @example
|
|
5300
|
+
* ```js
|
|
5301
|
+
* // Before running the sample:
|
|
5302
|
+
* // - Enable the API at:
|
|
5303
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
5304
|
+
* // - Login into gcloud by running:
|
|
5305
|
+
* // ```sh
|
|
5306
|
+
* // $ gcloud auth application-default login
|
|
5307
|
+
* // ```
|
|
5308
|
+
* // - Install the npm module by running:
|
|
5309
|
+
* // ```sh
|
|
5310
|
+
* // $ npm install googleapis
|
|
5311
|
+
* // ```
|
|
5312
|
+
*
|
|
5313
|
+
* const {google} = require('googleapis');
|
|
5314
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5315
|
+
*
|
|
5316
|
+
* async function main() {
|
|
5317
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5318
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5319
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5320
|
+
* });
|
|
5321
|
+
*
|
|
5322
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5323
|
+
* const authClient = await auth.getClient();
|
|
5324
|
+
* google.options({auth: authClient});
|
|
5325
|
+
*
|
|
5326
|
+
* // Do the magic
|
|
5327
|
+
* const res = await networkservices.projects.locations.gateways.delete({
|
|
5328
|
+
* // Required. A name of the Gateway to delete. Must be in the format `projects/x/locations/x/gateways/x`.
|
|
5329
|
+
* name: 'projects/my-project/locations/my-location/gateways/my-gateway',
|
|
5330
|
+
* });
|
|
5331
|
+
* console.log(res.data);
|
|
5332
|
+
*
|
|
5333
|
+
* // Example response
|
|
5334
|
+
* // {
|
|
5335
|
+
* // "done": false,
|
|
5336
|
+
* // "error": {},
|
|
5337
|
+
* // "metadata": {},
|
|
5338
|
+
* // "name": "my_name",
|
|
5339
|
+
* // "response": {}
|
|
5340
|
+
* // }
|
|
5341
|
+
* }
|
|
5342
|
+
*
|
|
5343
|
+
* main().catch(e => {
|
|
5344
|
+
* console.error(e);
|
|
5345
|
+
* throw e;
|
|
5346
|
+
* });
|
|
5347
|
+
*
|
|
5348
|
+
* ```
|
|
5349
|
+
*
|
|
5350
|
+
* @param params - Parameters for request
|
|
5351
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5352
|
+
* @param callback - Optional callback that handles the response.
|
|
5353
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5354
|
+
*/
|
|
5355
|
+
delete(params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5356
|
+
delete(params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5357
|
+
delete(params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5358
|
+
delete(params: Params$Resource$Projects$Locations$Gateways$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5359
|
+
delete(params: Params$Resource$Projects$Locations$Gateways$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5360
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5361
|
+
/**
|
|
5362
|
+
* Gets details of a single Gateway.
|
|
5363
|
+
* @example
|
|
5364
|
+
* ```js
|
|
5365
|
+
* // Before running the sample:
|
|
5366
|
+
* // - Enable the API at:
|
|
5367
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
5368
|
+
* // - Login into gcloud by running:
|
|
5369
|
+
* // ```sh
|
|
5370
|
+
* // $ gcloud auth application-default login
|
|
5371
|
+
* // ```
|
|
5372
|
+
* // - Install the npm module by running:
|
|
5373
|
+
* // ```sh
|
|
5374
|
+
* // $ npm install googleapis
|
|
5375
|
+
* // ```
|
|
5376
|
+
*
|
|
5377
|
+
* const {google} = require('googleapis');
|
|
5378
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5379
|
+
*
|
|
5380
|
+
* async function main() {
|
|
5381
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5382
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5383
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5384
|
+
* });
|
|
5385
|
+
*
|
|
5386
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5387
|
+
* const authClient = await auth.getClient();
|
|
5388
|
+
* google.options({auth: authClient});
|
|
5389
|
+
*
|
|
5390
|
+
* // Do the magic
|
|
5391
|
+
* const res = await networkservices.projects.locations.gateways.get({
|
|
5392
|
+
* // Required. A name of the Gateway to get. Must be in the format `projects/x/locations/x/gateways/x`.
|
|
5393
|
+
* name: 'projects/my-project/locations/my-location/gateways/my-gateway',
|
|
5394
|
+
* });
|
|
5395
|
+
* console.log(res.data);
|
|
5396
|
+
*
|
|
5397
|
+
* // Example response
|
|
5398
|
+
* // {
|
|
5399
|
+
* // "addresses": [],
|
|
5400
|
+
* // "allPorts": false,
|
|
5401
|
+
* // "allowGlobalAccess": false,
|
|
5402
|
+
* // "certificateUrls": [],
|
|
5403
|
+
* // "createTime": "my_createTime",
|
|
5404
|
+
* // "description": "my_description",
|
|
5405
|
+
* // "envoyHeaders": "my_envoyHeaders",
|
|
4684
5406
|
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
4685
5407
|
* // "ipVersion": "my_ipVersion",
|
|
4686
5408
|
* // "labels": {},
|
|
@@ -8180,13 +8902,289 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8180
8902
|
/**
|
|
8181
8903
|
* Request body metadata
|
|
8182
8904
|
*/
|
|
8183
|
-
requestBody?: Schema$Mesh;
|
|
8184
|
-
}
|
|
8185
|
-
export class Resource$Projects$Locations$Meshes$Routeviews {
|
|
8186
|
-
context: APIRequestContext;
|
|
8187
|
-
constructor(context: APIRequestContext);
|
|
8905
|
+
requestBody?: Schema$Mesh;
|
|
8906
|
+
}
|
|
8907
|
+
export class Resource$Projects$Locations$Meshes$Routeviews {
|
|
8908
|
+
context: APIRequestContext;
|
|
8909
|
+
constructor(context: APIRequestContext);
|
|
8910
|
+
/**
|
|
8911
|
+
* Get a single RouteView of a Mesh.
|
|
8912
|
+
* @example
|
|
8913
|
+
* ```js
|
|
8914
|
+
* // Before running the sample:
|
|
8915
|
+
* // - Enable the API at:
|
|
8916
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
8917
|
+
* // - Login into gcloud by running:
|
|
8918
|
+
* // ```sh
|
|
8919
|
+
* // $ gcloud auth application-default login
|
|
8920
|
+
* // ```
|
|
8921
|
+
* // - Install the npm module by running:
|
|
8922
|
+
* // ```sh
|
|
8923
|
+
* // $ npm install googleapis
|
|
8924
|
+
* // ```
|
|
8925
|
+
*
|
|
8926
|
+
* const {google} = require('googleapis');
|
|
8927
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
8928
|
+
*
|
|
8929
|
+
* async function main() {
|
|
8930
|
+
* const auth = new google.auth.GoogleAuth({
|
|
8931
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
8932
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
8933
|
+
* });
|
|
8934
|
+
*
|
|
8935
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
8936
|
+
* const authClient = await auth.getClient();
|
|
8937
|
+
* google.options({auth: authClient});
|
|
8938
|
+
*
|
|
8939
|
+
* // Do the magic
|
|
8940
|
+
* const res = await networkservices.projects.locations.meshes.routeViews.get({
|
|
8941
|
+
* // Required. Name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh\}/routeViews/{route_view\}
|
|
8942
|
+
* name: 'projects/my-project/locations/my-location/meshes/my-meshe/routeViews/my-routeView',
|
|
8943
|
+
* });
|
|
8944
|
+
* console.log(res.data);
|
|
8945
|
+
*
|
|
8946
|
+
* // Example response
|
|
8947
|
+
* // {
|
|
8948
|
+
* // "name": "my_name",
|
|
8949
|
+
* // "routeId": "my_routeId",
|
|
8950
|
+
* // "routeLocation": "my_routeLocation",
|
|
8951
|
+
* // "routeProjectNumber": "my_routeProjectNumber",
|
|
8952
|
+
* // "routeType": "my_routeType"
|
|
8953
|
+
* // }
|
|
8954
|
+
* }
|
|
8955
|
+
*
|
|
8956
|
+
* main().catch(e => {
|
|
8957
|
+
* console.error(e);
|
|
8958
|
+
* throw e;
|
|
8959
|
+
* });
|
|
8960
|
+
*
|
|
8961
|
+
* ```
|
|
8962
|
+
*
|
|
8963
|
+
* @param params - Parameters for request
|
|
8964
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
8965
|
+
* @param callback - Optional callback that handles the response.
|
|
8966
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8967
|
+
*/
|
|
8968
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8969
|
+
get(params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$MeshRouteView>>;
|
|
8970
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
8971
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: MethodOptions | BodyResponseCallback<Schema$MeshRouteView>, callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
8972
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
8973
|
+
get(callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
8974
|
+
/**
|
|
8975
|
+
* Lists RouteViews
|
|
8976
|
+
* @example
|
|
8977
|
+
* ```js
|
|
8978
|
+
* // Before running the sample:
|
|
8979
|
+
* // - Enable the API at:
|
|
8980
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
8981
|
+
* // - Login into gcloud by running:
|
|
8982
|
+
* // ```sh
|
|
8983
|
+
* // $ gcloud auth application-default login
|
|
8984
|
+
* // ```
|
|
8985
|
+
* // - Install the npm module by running:
|
|
8986
|
+
* // ```sh
|
|
8987
|
+
* // $ npm install googleapis
|
|
8988
|
+
* // ```
|
|
8989
|
+
*
|
|
8990
|
+
* const {google} = require('googleapis');
|
|
8991
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
8992
|
+
*
|
|
8993
|
+
* async function main() {
|
|
8994
|
+
* const auth = new google.auth.GoogleAuth({
|
|
8995
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
8996
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
8997
|
+
* });
|
|
8998
|
+
*
|
|
8999
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
9000
|
+
* const authClient = await auth.getClient();
|
|
9001
|
+
* google.options({auth: authClient});
|
|
9002
|
+
*
|
|
9003
|
+
* // Do the magic
|
|
9004
|
+
* const res = await networkservices.projects.locations.meshes.routeViews.list({
|
|
9005
|
+
* // Maximum number of MeshRouteViews to return per call.
|
|
9006
|
+
* pageSize: 'placeholder-value',
|
|
9007
|
+
* // The value returned by the last `ListMeshRouteViewsResponse` Indicates that this is a continuation of a prior `ListMeshRouteViews` call, and that the system should return the next page of data.
|
|
9008
|
+
* pageToken: 'placeholder-value',
|
|
9009
|
+
* // Required. The Mesh to which a Route is associated. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh\}
|
|
9010
|
+
* parent: 'projects/my-project/locations/my-location/meshes/my-meshe',
|
|
9011
|
+
* });
|
|
9012
|
+
* console.log(res.data);
|
|
9013
|
+
*
|
|
9014
|
+
* // Example response
|
|
9015
|
+
* // {
|
|
9016
|
+
* // "meshRouteViews": [],
|
|
9017
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
9018
|
+
* // "unreachable": []
|
|
9019
|
+
* // }
|
|
9020
|
+
* }
|
|
9021
|
+
*
|
|
9022
|
+
* main().catch(e => {
|
|
9023
|
+
* console.error(e);
|
|
9024
|
+
* throw e;
|
|
9025
|
+
* });
|
|
9026
|
+
*
|
|
9027
|
+
* ```
|
|
9028
|
+
*
|
|
9029
|
+
* @param params - Parameters for request
|
|
9030
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
9031
|
+
* @param callback - Optional callback that handles the response.
|
|
9032
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
9033
|
+
*/
|
|
9034
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9035
|
+
list(params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListMeshRouteViewsResponse>>;
|
|
9036
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9037
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: MethodOptions | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>, callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
9038
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
9039
|
+
list(callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
9040
|
+
}
|
|
9041
|
+
export interface Params$Resource$Projects$Locations$Meshes$Routeviews$Get extends StandardParameters {
|
|
9042
|
+
/**
|
|
9043
|
+
* Required. Name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh\}/routeViews/{route_view\}
|
|
9044
|
+
*/
|
|
9045
|
+
name?: string;
|
|
9046
|
+
}
|
|
9047
|
+
export interface Params$Resource$Projects$Locations$Meshes$Routeviews$List extends StandardParameters {
|
|
9048
|
+
/**
|
|
9049
|
+
* Maximum number of MeshRouteViews to return per call.
|
|
9050
|
+
*/
|
|
9051
|
+
pageSize?: number;
|
|
9052
|
+
/**
|
|
9053
|
+
* The value returned by the last `ListMeshRouteViewsResponse` Indicates that this is a continuation of a prior `ListMeshRouteViews` call, and that the system should return the next page of data.
|
|
9054
|
+
*/
|
|
9055
|
+
pageToken?: string;
|
|
9056
|
+
/**
|
|
9057
|
+
* Required. The Mesh to which a Route is associated. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh\}
|
|
9058
|
+
*/
|
|
9059
|
+
parent?: string;
|
|
9060
|
+
}
|
|
9061
|
+
export class Resource$Projects$Locations$Operations {
|
|
9062
|
+
context: APIRequestContext;
|
|
9063
|
+
constructor(context: APIRequestContext);
|
|
9064
|
+
/**
|
|
9065
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
9066
|
+
* @example
|
|
9067
|
+
* ```js
|
|
9068
|
+
* // Before running the sample:
|
|
9069
|
+
* // - Enable the API at:
|
|
9070
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
9071
|
+
* // - Login into gcloud by running:
|
|
9072
|
+
* // ```sh
|
|
9073
|
+
* // $ gcloud auth application-default login
|
|
9074
|
+
* // ```
|
|
9075
|
+
* // - Install the npm module by running:
|
|
9076
|
+
* // ```sh
|
|
9077
|
+
* // $ npm install googleapis
|
|
9078
|
+
* // ```
|
|
9079
|
+
*
|
|
9080
|
+
* const {google} = require('googleapis');
|
|
9081
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
9082
|
+
*
|
|
9083
|
+
* async function main() {
|
|
9084
|
+
* const auth = new google.auth.GoogleAuth({
|
|
9085
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
9086
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
9087
|
+
* });
|
|
9088
|
+
*
|
|
9089
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
9090
|
+
* const authClient = await auth.getClient();
|
|
9091
|
+
* google.options({auth: authClient});
|
|
9092
|
+
*
|
|
9093
|
+
* // Do the magic
|
|
9094
|
+
* const res = await networkservices.projects.locations.operations.cancel({
|
|
9095
|
+
* // The name of the operation resource to be cancelled.
|
|
9096
|
+
* name: 'projects/my-project/locations/my-location/operations/my-operation',
|
|
9097
|
+
*
|
|
9098
|
+
* // Request body metadata
|
|
9099
|
+
* requestBody: {
|
|
9100
|
+
* // request body parameters
|
|
9101
|
+
* // {}
|
|
9102
|
+
* },
|
|
9103
|
+
* });
|
|
9104
|
+
* console.log(res.data);
|
|
9105
|
+
*
|
|
9106
|
+
* // Example response
|
|
9107
|
+
* // {}
|
|
9108
|
+
* }
|
|
9109
|
+
*
|
|
9110
|
+
* main().catch(e => {
|
|
9111
|
+
* console.error(e);
|
|
9112
|
+
* throw e;
|
|
9113
|
+
* });
|
|
9114
|
+
*
|
|
9115
|
+
* ```
|
|
9116
|
+
*
|
|
9117
|
+
* @param params - Parameters for request
|
|
9118
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
9119
|
+
* @param callback - Optional callback that handles the response.
|
|
9120
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
9121
|
+
*/
|
|
9122
|
+
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9123
|
+
cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
9124
|
+
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9125
|
+
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
9126
|
+
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
9127
|
+
cancel(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
9128
|
+
/**
|
|
9129
|
+
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
9130
|
+
* @example
|
|
9131
|
+
* ```js
|
|
9132
|
+
* // Before running the sample:
|
|
9133
|
+
* // - Enable the API at:
|
|
9134
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
9135
|
+
* // - Login into gcloud by running:
|
|
9136
|
+
* // ```sh
|
|
9137
|
+
* // $ gcloud auth application-default login
|
|
9138
|
+
* // ```
|
|
9139
|
+
* // - Install the npm module by running:
|
|
9140
|
+
* // ```sh
|
|
9141
|
+
* // $ npm install googleapis
|
|
9142
|
+
* // ```
|
|
9143
|
+
*
|
|
9144
|
+
* const {google} = require('googleapis');
|
|
9145
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
9146
|
+
*
|
|
9147
|
+
* async function main() {
|
|
9148
|
+
* const auth = new google.auth.GoogleAuth({
|
|
9149
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
9150
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
9151
|
+
* });
|
|
9152
|
+
*
|
|
9153
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
9154
|
+
* const authClient = await auth.getClient();
|
|
9155
|
+
* google.options({auth: authClient});
|
|
9156
|
+
*
|
|
9157
|
+
* // Do the magic
|
|
9158
|
+
* const res = await networkservices.projects.locations.operations.delete({
|
|
9159
|
+
* // The name of the operation resource to be deleted.
|
|
9160
|
+
* name: 'projects/my-project/locations/my-location/operations/my-operation',
|
|
9161
|
+
* });
|
|
9162
|
+
* console.log(res.data);
|
|
9163
|
+
*
|
|
9164
|
+
* // Example response
|
|
9165
|
+
* // {}
|
|
9166
|
+
* }
|
|
9167
|
+
*
|
|
9168
|
+
* main().catch(e => {
|
|
9169
|
+
* console.error(e);
|
|
9170
|
+
* throw e;
|
|
9171
|
+
* });
|
|
9172
|
+
*
|
|
9173
|
+
* ```
|
|
9174
|
+
*
|
|
9175
|
+
* @param params - Parameters for request
|
|
9176
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
9177
|
+
* @param callback - Optional callback that handles the response.
|
|
9178
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
9179
|
+
*/
|
|
9180
|
+
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9181
|
+
delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
9182
|
+
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9183
|
+
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
9184
|
+
delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
9185
|
+
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
8188
9186
|
/**
|
|
8189
|
-
*
|
|
9187
|
+
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
|
|
8190
9188
|
* @example
|
|
8191
9189
|
* ```js
|
|
8192
9190
|
* // Before running the sample:
|
|
@@ -8215,19 +9213,19 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8215
9213
|
* google.options({auth: authClient});
|
|
8216
9214
|
*
|
|
8217
9215
|
* // Do the magic
|
|
8218
|
-
* const res = await networkservices.projects.locations.
|
|
8219
|
-
* //
|
|
8220
|
-
* name: 'projects/my-project/locations/my-location/
|
|
9216
|
+
* const res = await networkservices.projects.locations.operations.get({
|
|
9217
|
+
* // The name of the operation resource.
|
|
9218
|
+
* name: 'projects/my-project/locations/my-location/operations/my-operation',
|
|
8221
9219
|
* });
|
|
8222
9220
|
* console.log(res.data);
|
|
8223
9221
|
*
|
|
8224
9222
|
* // Example response
|
|
8225
9223
|
* // {
|
|
9224
|
+
* // "done": false,
|
|
9225
|
+
* // "error": {},
|
|
9226
|
+
* // "metadata": {},
|
|
8226
9227
|
* // "name": "my_name",
|
|
8227
|
-
* // "
|
|
8228
|
-
* // "routeLocation": "my_routeLocation",
|
|
8229
|
-
* // "routeProjectNumber": "my_routeProjectNumber",
|
|
8230
|
-
* // "routeType": "my_routeType"
|
|
9228
|
+
* // "response": {}
|
|
8231
9229
|
* // }
|
|
8232
9230
|
* }
|
|
8233
9231
|
*
|
|
@@ -8243,14 +9241,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8243
9241
|
* @param callback - Optional callback that handles the response.
|
|
8244
9242
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8245
9243
|
*/
|
|
8246
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8247
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
8248
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8249
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8250
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8251
|
-
get(callback: BodyResponseCallback<Schema$
|
|
9244
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9245
|
+
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
9246
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9247
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
9248
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
9249
|
+
get(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
8252
9250
|
/**
|
|
8253
|
-
* Lists
|
|
9251
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
8254
9252
|
* @example
|
|
8255
9253
|
* ```js
|
|
8256
9254
|
* // Before running the sample:
|
|
@@ -8279,20 +9277,24 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8279
9277
|
* google.options({auth: authClient});
|
|
8280
9278
|
*
|
|
8281
9279
|
* // Do the magic
|
|
8282
|
-
* const res = await networkservices.projects.locations.
|
|
8283
|
-
* //
|
|
9280
|
+
* const res = await networkservices.projects.locations.operations.list({
|
|
9281
|
+
* // The standard list filter.
|
|
9282
|
+
* filter: 'placeholder-value',
|
|
9283
|
+
* // The name of the operation's parent resource.
|
|
9284
|
+
* name: 'projects/my-project/locations/my-location',
|
|
9285
|
+
* // The standard list page size.
|
|
8284
9286
|
* pageSize: 'placeholder-value',
|
|
8285
|
-
* // The
|
|
9287
|
+
* // The standard list page token.
|
|
8286
9288
|
* pageToken: 'placeholder-value',
|
|
8287
|
-
* //
|
|
8288
|
-
*
|
|
9289
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
9290
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
8289
9291
|
* });
|
|
8290
9292
|
* console.log(res.data);
|
|
8291
9293
|
*
|
|
8292
9294
|
* // Example response
|
|
8293
9295
|
* // {
|
|
8294
|
-
* // "meshRouteViews": [],
|
|
8295
9296
|
* // "nextPageToken": "my_nextPageToken",
|
|
9297
|
+
* // "operations": [],
|
|
8296
9298
|
* // "unreachable": []
|
|
8297
9299
|
* // }
|
|
8298
9300
|
* }
|
|
@@ -8309,38 +9311,62 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8309
9311
|
* @param callback - Optional callback that handles the response.
|
|
8310
9312
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8311
9313
|
*/
|
|
8312
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8313
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
8314
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8315
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8316
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8317
|
-
list(callback: BodyResponseCallback<Schema$
|
|
9314
|
+
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9315
|
+
list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
9316
|
+
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9317
|
+
list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
9318
|
+
list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
9319
|
+
list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
8318
9320
|
}
|
|
8319
|
-
export interface Params$Resource$Projects$Locations$
|
|
9321
|
+
export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
|
|
8320
9322
|
/**
|
|
8321
|
-
*
|
|
9323
|
+
* The name of the operation resource to be cancelled.
|
|
9324
|
+
*/
|
|
9325
|
+
name?: string;
|
|
9326
|
+
/**
|
|
9327
|
+
* Request body metadata
|
|
9328
|
+
*/
|
|
9329
|
+
requestBody?: Schema$CancelOperationRequest;
|
|
9330
|
+
}
|
|
9331
|
+
export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
|
|
9332
|
+
/**
|
|
9333
|
+
* The name of the operation resource to be deleted.
|
|
8322
9334
|
*/
|
|
8323
9335
|
name?: string;
|
|
8324
9336
|
}
|
|
8325
|
-
export interface Params$Resource$Projects$Locations$
|
|
9337
|
+
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
|
|
8326
9338
|
/**
|
|
8327
|
-
*
|
|
9339
|
+
* The name of the operation resource.
|
|
9340
|
+
*/
|
|
9341
|
+
name?: string;
|
|
9342
|
+
}
|
|
9343
|
+
export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
|
|
9344
|
+
/**
|
|
9345
|
+
* The standard list filter.
|
|
9346
|
+
*/
|
|
9347
|
+
filter?: string;
|
|
9348
|
+
/**
|
|
9349
|
+
* The name of the operation's parent resource.
|
|
9350
|
+
*/
|
|
9351
|
+
name?: string;
|
|
9352
|
+
/**
|
|
9353
|
+
* The standard list page size.
|
|
8328
9354
|
*/
|
|
8329
9355
|
pageSize?: number;
|
|
8330
9356
|
/**
|
|
8331
|
-
* The
|
|
9357
|
+
* The standard list page token.
|
|
8332
9358
|
*/
|
|
8333
9359
|
pageToken?: string;
|
|
8334
9360
|
/**
|
|
8335
|
-
*
|
|
9361
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
8336
9362
|
*/
|
|
8337
|
-
|
|
9363
|
+
returnPartialSuccess?: boolean;
|
|
8338
9364
|
}
|
|
8339
|
-
export class Resource$Projects$Locations$
|
|
9365
|
+
export class Resource$Projects$Locations$Producerextensions {
|
|
8340
9366
|
context: APIRequestContext;
|
|
8341
9367
|
constructor(context: APIRequestContext);
|
|
8342
9368
|
/**
|
|
8343
|
-
*
|
|
9369
|
+
* Creates a new `ProducerExtension` resource in a given project and location.
|
|
8344
9370
|
* @example
|
|
8345
9371
|
* ```js
|
|
8346
9372
|
* // Before running the sample:
|
|
@@ -8369,20 +9395,38 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8369
9395
|
* google.options({auth: authClient});
|
|
8370
9396
|
*
|
|
8371
9397
|
* // Do the magic
|
|
8372
|
-
* const res =
|
|
8373
|
-
*
|
|
8374
|
-
*
|
|
9398
|
+
* const res =
|
|
9399
|
+
* await networkservices.projects.locations.producerExtensions.create({
|
|
9400
|
+
* // Required. The parent resource of the `ProducerExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
9401
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
9402
|
+
* // Required. Short name of the `ProducerExtension` resource to be created.
|
|
9403
|
+
* producerExtensionId: 'placeholder-value',
|
|
8375
9404
|
*
|
|
8376
|
-
*
|
|
8377
|
-
*
|
|
8378
|
-
*
|
|
8379
|
-
*
|
|
8380
|
-
*
|
|
8381
|
-
*
|
|
9405
|
+
* // Request body metadata
|
|
9406
|
+
* requestBody: {
|
|
9407
|
+
* // request body parameters
|
|
9408
|
+
* // {
|
|
9409
|
+
* // "createTime": "my_createTime",
|
|
9410
|
+
* // "description": "my_description",
|
|
9411
|
+
* // "etag": "my_etag",
|
|
9412
|
+
* // "extensionSettings": {},
|
|
9413
|
+
* // "labels": {},
|
|
9414
|
+
* // "name": "my_name",
|
|
9415
|
+
* // "phase": "my_phase",
|
|
9416
|
+
* // "updateTime": "my_updateTime"
|
|
9417
|
+
* // }
|
|
9418
|
+
* },
|
|
9419
|
+
* });
|
|
8382
9420
|
* console.log(res.data);
|
|
8383
9421
|
*
|
|
8384
9422
|
* // Example response
|
|
8385
|
-
* // {
|
|
9423
|
+
* // {
|
|
9424
|
+
* // "done": false,
|
|
9425
|
+
* // "error": {},
|
|
9426
|
+
* // "metadata": {},
|
|
9427
|
+
* // "name": "my_name",
|
|
9428
|
+
* // "response": {}
|
|
9429
|
+
* // }
|
|
8386
9430
|
* }
|
|
8387
9431
|
*
|
|
8388
9432
|
* main().catch(e => {
|
|
@@ -8397,14 +9441,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8397
9441
|
* @param callback - Optional callback that handles the response.
|
|
8398
9442
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8399
9443
|
*/
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
9444
|
+
create(params: Params$Resource$Projects$Locations$Producerextensions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9445
|
+
create(params?: Params$Resource$Projects$Locations$Producerextensions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
9446
|
+
create(params: Params$Resource$Projects$Locations$Producerextensions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9447
|
+
create(params: Params$Resource$Projects$Locations$Producerextensions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
9448
|
+
create(params: Params$Resource$Projects$Locations$Producerextensions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
9449
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
8406
9450
|
/**
|
|
8407
|
-
* Deletes
|
|
9451
|
+
* Deletes the specified `ProducerExtension` resource.
|
|
8408
9452
|
* @example
|
|
8409
9453
|
* ```js
|
|
8410
9454
|
* // Before running the sample:
|
|
@@ -8433,14 +9477,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8433
9477
|
* google.options({auth: authClient});
|
|
8434
9478
|
*
|
|
8435
9479
|
* // Do the magic
|
|
8436
|
-
* const res =
|
|
8437
|
-
*
|
|
8438
|
-
*
|
|
8439
|
-
*
|
|
9480
|
+
* const res =
|
|
9481
|
+
* await networkservices.projects.locations.producerExtensions.delete({
|
|
9482
|
+
* // Optional. The etag of the ProducerExtension to delete.
|
|
9483
|
+
* etag: 'placeholder-value',
|
|
9484
|
+
* // Required. A name of the `ProducerExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
9485
|
+
* name: 'projects/my-project/locations/my-location/producerExtensions/my-producerExtension',
|
|
9486
|
+
* });
|
|
8440
9487
|
* console.log(res.data);
|
|
8441
9488
|
*
|
|
8442
9489
|
* // Example response
|
|
8443
|
-
* // {
|
|
9490
|
+
* // {
|
|
9491
|
+
* // "done": false,
|
|
9492
|
+
* // "error": {},
|
|
9493
|
+
* // "metadata": {},
|
|
9494
|
+
* // "name": "my_name",
|
|
9495
|
+
* // "response": {}
|
|
9496
|
+
* // }
|
|
8444
9497
|
* }
|
|
8445
9498
|
*
|
|
8446
9499
|
* main().catch(e => {
|
|
@@ -8455,14 +9508,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8455
9508
|
* @param callback - Optional callback that handles the response.
|
|
8456
9509
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8457
9510
|
*/
|
|
8458
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
8459
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
8460
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
8461
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
8462
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
8463
|
-
delete(callback: BodyResponseCallback<Schema$
|
|
9511
|
+
delete(params: Params$Resource$Projects$Locations$Producerextensions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9512
|
+
delete(params?: Params$Resource$Projects$Locations$Producerextensions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
9513
|
+
delete(params: Params$Resource$Projects$Locations$Producerextensions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9514
|
+
delete(params: Params$Resource$Projects$Locations$Producerextensions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
9515
|
+
delete(params: Params$Resource$Projects$Locations$Producerextensions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
9516
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
8464
9517
|
/**
|
|
8465
|
-
* Gets
|
|
9518
|
+
* Gets details of the specified `ProducerExtension` resource.
|
|
8466
9519
|
* @example
|
|
8467
9520
|
* ```js
|
|
8468
9521
|
* // Before running the sample:
|
|
@@ -8491,19 +9544,22 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8491
9544
|
* google.options({auth: authClient});
|
|
8492
9545
|
*
|
|
8493
9546
|
* // Do the magic
|
|
8494
|
-
* const res = await networkservices.projects.locations.
|
|
8495
|
-
* //
|
|
8496
|
-
* name: 'projects/my-project/locations/my-location/
|
|
9547
|
+
* const res = await networkservices.projects.locations.producerExtensions.get({
|
|
9548
|
+
* // Required. A name of the `ProducerExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
9549
|
+
* name: 'projects/my-project/locations/my-location/producerExtensions/my-producerExtension',
|
|
8497
9550
|
* });
|
|
8498
9551
|
* console.log(res.data);
|
|
8499
9552
|
*
|
|
8500
9553
|
* // Example response
|
|
8501
9554
|
* // {
|
|
8502
|
-
* // "
|
|
8503
|
-
* // "
|
|
8504
|
-
* // "
|
|
9555
|
+
* // "createTime": "my_createTime",
|
|
9556
|
+
* // "description": "my_description",
|
|
9557
|
+
* // "etag": "my_etag",
|
|
9558
|
+
* // "extensionSettings": {},
|
|
9559
|
+
* // "labels": {},
|
|
8505
9560
|
* // "name": "my_name",
|
|
8506
|
-
* // "
|
|
9561
|
+
* // "phase": "my_phase",
|
|
9562
|
+
* // "updateTime": "my_updateTime"
|
|
8507
9563
|
* // }
|
|
8508
9564
|
* }
|
|
8509
9565
|
*
|
|
@@ -8519,14 +9575,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8519
9575
|
* @param callback - Optional callback that handles the response.
|
|
8520
9576
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8521
9577
|
*/
|
|
8522
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8523
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
8524
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8525
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8526
|
-
get(params: Params$Resource$Projects$Locations$
|
|
8527
|
-
get(callback: BodyResponseCallback<Schema$
|
|
9578
|
+
get(params: Params$Resource$Projects$Locations$Producerextensions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9579
|
+
get(params?: Params$Resource$Projects$Locations$Producerextensions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ProducerExtension>>;
|
|
9580
|
+
get(params: Params$Resource$Projects$Locations$Producerextensions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9581
|
+
get(params: Params$Resource$Projects$Locations$Producerextensions$Get, options: MethodOptions | BodyResponseCallback<Schema$ProducerExtension>, callback: BodyResponseCallback<Schema$ProducerExtension>): void;
|
|
9582
|
+
get(params: Params$Resource$Projects$Locations$Producerextensions$Get, callback: BodyResponseCallback<Schema$ProducerExtension>): void;
|
|
9583
|
+
get(callback: BodyResponseCallback<Schema$ProducerExtension>): void;
|
|
8528
9584
|
/**
|
|
8529
|
-
* Lists
|
|
9585
|
+
* Lists `ProducerExtension` resources in a given project and location.
|
|
8530
9586
|
* @example
|
|
8531
9587
|
* ```js
|
|
8532
9588
|
* // Before running the sample:
|
|
@@ -8555,24 +9611,20 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8555
9611
|
* google.options({auth: authClient});
|
|
8556
9612
|
*
|
|
8557
9613
|
* // Do the magic
|
|
8558
|
-
* const res = await networkservices.projects.locations.
|
|
8559
|
-
* //
|
|
8560
|
-
* filter: 'placeholder-value',
|
|
8561
|
-
* // The name of the operation's parent resource.
|
|
8562
|
-
* name: 'projects/my-project/locations/my-location',
|
|
8563
|
-
* // The standard list page size.
|
|
9614
|
+
* const res = await networkservices.projects.locations.producerExtensions.list({
|
|
9615
|
+
* // Optional. Maximum number of `ProducerExtension` resources to return per call.
|
|
8564
9616
|
* pageSize: 'placeholder-value',
|
|
8565
|
-
* // The
|
|
9617
|
+
* // Optional. The value returned by the last `ListProducerExtensionsResponse` Indicates that this is a continuation of a prior `ListProducerExtensions` call, and that the system should return the next page of data.
|
|
8566
9618
|
* pageToken: 'placeholder-value',
|
|
8567
|
-
* //
|
|
8568
|
-
*
|
|
9619
|
+
* // Required. The project and location from which the `ProducerExtension` resources should be listed, specified in the format `projects/{project\}/locations/{location\}`.
|
|
9620
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
8569
9621
|
* });
|
|
8570
9622
|
* console.log(res.data);
|
|
8571
9623
|
*
|
|
8572
9624
|
* // Example response
|
|
8573
9625
|
* // {
|
|
8574
9626
|
* // "nextPageToken": "my_nextPageToken",
|
|
8575
|
-
* // "
|
|
9627
|
+
* // "producerExtensions": [],
|
|
8576
9628
|
* // "unreachable": []
|
|
8577
9629
|
* // }
|
|
8578
9630
|
* }
|
|
@@ -8589,56 +9641,56 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8589
9641
|
* @param callback - Optional callback that handles the response.
|
|
8590
9642
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8591
9643
|
*/
|
|
8592
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8593
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
8594
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8595
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8596
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8597
|
-
list(callback: BodyResponseCallback<Schema$
|
|
9644
|
+
list(params: Params$Resource$Projects$Locations$Producerextensions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9645
|
+
list(params?: Params$Resource$Projects$Locations$Producerextensions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListProducerExtensionsResponse>>;
|
|
9646
|
+
list(params: Params$Resource$Projects$Locations$Producerextensions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
9647
|
+
list(params: Params$Resource$Projects$Locations$Producerextensions$List, options: MethodOptions | BodyResponseCallback<Schema$ListProducerExtensionsResponse>, callback: BodyResponseCallback<Schema$ListProducerExtensionsResponse>): void;
|
|
9648
|
+
list(params: Params$Resource$Projects$Locations$Producerextensions$List, callback: BodyResponseCallback<Schema$ListProducerExtensionsResponse>): void;
|
|
9649
|
+
list(callback: BodyResponseCallback<Schema$ListProducerExtensionsResponse>): void;
|
|
8598
9650
|
}
|
|
8599
|
-
export interface Params$Resource$Projects$Locations$
|
|
9651
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$Create extends StandardParameters {
|
|
8600
9652
|
/**
|
|
8601
|
-
* The
|
|
9653
|
+
* Required. The parent resource of the `ProducerExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
8602
9654
|
*/
|
|
8603
|
-
|
|
9655
|
+
parent?: string;
|
|
9656
|
+
/**
|
|
9657
|
+
* Required. Short name of the `ProducerExtension` resource to be created.
|
|
9658
|
+
*/
|
|
9659
|
+
producerExtensionId?: string;
|
|
8604
9660
|
/**
|
|
8605
9661
|
* Request body metadata
|
|
8606
9662
|
*/
|
|
8607
|
-
requestBody?: Schema$
|
|
9663
|
+
requestBody?: Schema$ProducerExtension;
|
|
8608
9664
|
}
|
|
8609
|
-
export interface Params$Resource$Projects$Locations$
|
|
9665
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$Delete extends StandardParameters {
|
|
8610
9666
|
/**
|
|
8611
|
-
* The
|
|
9667
|
+
* Optional. The etag of the ProducerExtension to delete.
|
|
8612
9668
|
*/
|
|
8613
|
-
|
|
8614
|
-
}
|
|
8615
|
-
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
|
|
9669
|
+
etag?: string;
|
|
8616
9670
|
/**
|
|
8617
|
-
*
|
|
9671
|
+
* Required. A name of the `ProducerExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
8618
9672
|
*/
|
|
8619
9673
|
name?: string;
|
|
8620
9674
|
}
|
|
8621
|
-
export interface Params$Resource$Projects$Locations$
|
|
8622
|
-
/**
|
|
8623
|
-
* The standard list filter.
|
|
8624
|
-
*/
|
|
8625
|
-
filter?: string;
|
|
9675
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$Get extends StandardParameters {
|
|
8626
9676
|
/**
|
|
8627
|
-
*
|
|
9677
|
+
* Required. A name of the `ProducerExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
8628
9678
|
*/
|
|
8629
9679
|
name?: string;
|
|
9680
|
+
}
|
|
9681
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$List extends StandardParameters {
|
|
8630
9682
|
/**
|
|
8631
|
-
*
|
|
9683
|
+
* Optional. Maximum number of `ProducerExtension` resources to return per call.
|
|
8632
9684
|
*/
|
|
8633
9685
|
pageSize?: number;
|
|
8634
9686
|
/**
|
|
8635
|
-
* The
|
|
9687
|
+
* Optional. The value returned by the last `ListProducerExtensionsResponse` Indicates that this is a continuation of a prior `ListProducerExtensions` call, and that the system should return the next page of data.
|
|
8636
9688
|
*/
|
|
8637
9689
|
pageToken?: string;
|
|
8638
9690
|
/**
|
|
8639
|
-
*
|
|
9691
|
+
* Required. The project and location from which the `ProducerExtension` resources should be listed, specified in the format `projects/{project\}/locations/{location\}`.
|
|
8640
9692
|
*/
|
|
8641
|
-
|
|
9693
|
+
parent?: string;
|
|
8642
9694
|
}
|
|
8643
9695
|
export class Resource$Projects$Locations$Servicebindings {
|
|
8644
9696
|
context: APIRequestContext;
|