@googleapis/networkservices 34.0.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 +14 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +3582 -1994
- package/build/v1.js +491 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +2153 -565
- package/build/v1beta1.js +491 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +5971 -3270
- package/v1beta1.ts +5092 -2393
package/build/v1beta1.d.ts
CHANGED
|
@@ -70,10 +70,65 @@ export declare namespace networkservices_v1beta1 {
|
|
|
70
70
|
projects: Resource$Projects;
|
|
71
71
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* AgentConnectivityTemplate represents a reusable network configuration.
|
|
75
|
+
*/
|
|
76
|
+
export interface Schema$AgentConnectivityTemplate {
|
|
77
|
+
/**
|
|
78
|
+
* Required. Immutable. The path of the access. Maps roughly to ingress/egress, though we keep CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent Gateway's original resource model. The path is immutable once set. Exactly one path can be set.
|
|
79
|
+
*/
|
|
80
|
+
accessPath?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be configured.
|
|
83
|
+
*/
|
|
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;
|
|
89
|
+
/**
|
|
90
|
+
* Output only. The timestamp when the resource was created.
|
|
91
|
+
*/
|
|
92
|
+
createTime?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* Required. The deployment model for the gateway.
|
|
95
|
+
*/
|
|
96
|
+
deploymentModel?: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
99
|
+
*/
|
|
100
|
+
description?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* Optional. Configuration for egress network traffic.
|
|
103
|
+
*/
|
|
104
|
+
egressNetworkConfig?: Schema$EgressNetworkConfig;
|
|
105
|
+
/**
|
|
106
|
+
* 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.
|
|
107
|
+
*/
|
|
108
|
+
etag?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* Optional. Set of label tags associated with the AgentConnectivityTemplate resource.
|
|
111
|
+
*/
|
|
112
|
+
labels?: {
|
|
113
|
+
[key: string]: string;
|
|
114
|
+
} | null;
|
|
115
|
+
/**
|
|
116
|
+
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern `projects/x/locations/x/agentConnectivityTemplates/`.
|
|
117
|
+
*/
|
|
118
|
+
name?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* Output only. The timestamp when the resource was updated.
|
|
121
|
+
*/
|
|
122
|
+
updateTime?: string | null;
|
|
123
|
+
}
|
|
73
124
|
/**
|
|
74
125
|
* AgentGateway represents the agent gateway resource.
|
|
75
126
|
*/
|
|
76
127
|
export interface Schema$AgentGateway {
|
|
128
|
+
/**
|
|
129
|
+
* Optional. The resource name of the AgentConnectivityTemplate. Format: projects/{project\}/locations/{location\}/agentConnectivityTemplates/{template\}
|
|
130
|
+
*/
|
|
131
|
+
agentConnectivityTemplate?: string | null;
|
|
77
132
|
/**
|
|
78
133
|
* Output only. Field for populated AgentGateway card.
|
|
79
134
|
*/
|
|
@@ -273,6 +328,37 @@ export declare namespace networkservices_v1beta1 {
|
|
|
273
328
|
*/
|
|
274
329
|
export interface Schema$CancelOperationRequest {
|
|
275
330
|
}
|
|
331
|
+
/**
|
|
332
|
+
* DNS Peering configuration.
|
|
333
|
+
*/
|
|
334
|
+
export interface Schema$DnsPeeringConfig {
|
|
335
|
+
/**
|
|
336
|
+
* Optional. The domain to peer.
|
|
337
|
+
*/
|
|
338
|
+
domain?: string | null;
|
|
339
|
+
/**
|
|
340
|
+
* Optional. The target network resource name for DNS peering. Format: projects/{project\}/global/networks/{network_id\}
|
|
341
|
+
*/
|
|
342
|
+
targetNetwork?: string | null;
|
|
343
|
+
}
|
|
344
|
+
export interface Schema$EgressNetworkConfig {
|
|
345
|
+
/**
|
|
346
|
+
* Optional. DNS Peering configuration.
|
|
347
|
+
*/
|
|
348
|
+
dnsPeeringConfig?: Schema$DnsPeeringConfig;
|
|
349
|
+
/**
|
|
350
|
+
* Optional. The network attachment resource name. Format: projects/{project\}/regions/{region\}/networkAttachments/{network_attachment_id\}
|
|
351
|
+
*/
|
|
352
|
+
networkAttachment?: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* Optional. Deprecated: Use tls_config instead. The trust config resource name. Format: projects/{project\}/locations/{location\}/trustConfigs/{trust_config\}
|
|
355
|
+
*/
|
|
356
|
+
trustConfig?: string | null;
|
|
357
|
+
/**
|
|
358
|
+
* Optional. The VPC egress setting.
|
|
359
|
+
*/
|
|
360
|
+
vpcEgress?: string | null;
|
|
361
|
+
}
|
|
276
362
|
/**
|
|
277
363
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
278
364
|
*/
|
|
@@ -342,6 +428,179 @@ export declare namespace networkservices_v1beta1 {
|
|
|
342
428
|
*/
|
|
343
429
|
updateTime?: string | null;
|
|
344
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
|
+
}
|
|
345
604
|
/**
|
|
346
605
|
* A single extension chain wrapper that contains the match conditions and extensions to execute.
|
|
347
606
|
*/
|
|
@@ -1358,6 +1617,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1358
1617
|
*/
|
|
1359
1618
|
updateTime?: string | null;
|
|
1360
1619
|
}
|
|
1620
|
+
/**
|
|
1621
|
+
* Response returned by the ListAgentConnectivityTemplates method.
|
|
1622
|
+
*/
|
|
1623
|
+
export interface Schema$ListAgentConnectivityTemplatesResponse {
|
|
1624
|
+
/**
|
|
1625
|
+
* List of AgentConnectivityTemplate resources.
|
|
1626
|
+
*/
|
|
1627
|
+
agentConnectivityTemplates?: Schema$AgentConnectivityTemplate[];
|
|
1628
|
+
/**
|
|
1629
|
+
* 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`.
|
|
1630
|
+
*/
|
|
1631
|
+
nextPageToken?: string | null;
|
|
1632
|
+
/**
|
|
1633
|
+
* Unordered list. Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
|
|
1634
|
+
*/
|
|
1635
|
+
unreachable?: string[] | null;
|
|
1636
|
+
}
|
|
1361
1637
|
/**
|
|
1362
1638
|
* Response returned by the ListAgentGateways method.
|
|
1363
1639
|
*/
|
|
@@ -1409,6 +1685,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1409
1685
|
*/
|
|
1410
1686
|
unreachable?: string[] | null;
|
|
1411
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
|
+
}
|
|
1412
1705
|
/**
|
|
1413
1706
|
* Response returned by the ListGatewayRouteViews method.
|
|
1414
1707
|
*/
|
|
@@ -1609,6 +1902,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1609
1902
|
*/
|
|
1610
1903
|
unreachable?: string[] | null;
|
|
1611
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
|
+
}
|
|
1612
1922
|
/**
|
|
1613
1923
|
* Response returned by the ListServiceBindings method.
|
|
1614
1924
|
*/
|
|
@@ -1901,6 +2211,66 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1901
2211
|
*/
|
|
1902
2212
|
verb?: string | null;
|
|
1903
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
|
+
}
|
|
1904
2274
|
export interface Schema$RetryFilterPerRouteConfig {
|
|
1905
2275
|
/**
|
|
1906
2276
|
* The name of the crypto key to use for encrypting event data.
|
|
@@ -2304,11 +2674,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2304
2674
|
*/
|
|
2305
2675
|
enable?: boolean | null;
|
|
2306
2676
|
/**
|
|
2307
|
-
* Non-empty default. Specifies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the plugin. If the field is not provided when logging is enabled, it is set to `INFO` by default.
|
|
2677
|
+
* Optional. Non-empty default. Specifies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the plugin. If the field is not provided when logging is enabled, it is set to `INFO` by default.
|
|
2308
2678
|
*/
|
|
2309
2679
|
minLogLevel?: string | null;
|
|
2310
2680
|
/**
|
|
2311
|
-
* Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can be specified only if logging is enabled for this plugin.
|
|
2681
|
+
* Optional. Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can be specified only if logging is enabled for this plugin.
|
|
2312
2682
|
*/
|
|
2313
2683
|
sampleRate?: number | null;
|
|
2314
2684
|
}
|
|
@@ -2418,9 +2788,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2418
2788
|
}
|
|
2419
2789
|
export class Resource$Projects$Locations {
|
|
2420
2790
|
context: APIRequestContext;
|
|
2791
|
+
agentConnectivityTemplates: Resource$Projects$Locations$Agentconnectivitytemplates;
|
|
2421
2792
|
agentGateways: Resource$Projects$Locations$Agentgateways;
|
|
2422
2793
|
authzExtensions: Resource$Projects$Locations$Authzextensions;
|
|
2423
2794
|
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
2795
|
+
extensionBindings: Resource$Projects$Locations$Extensionbindings;
|
|
2424
2796
|
gateways: Resource$Projects$Locations$Gateways;
|
|
2425
2797
|
grpcRoutes: Resource$Projects$Locations$Grpcroutes;
|
|
2426
2798
|
httpRoutes: Resource$Projects$Locations$Httproutes;
|
|
@@ -2430,6 +2802,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2430
2802
|
lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
|
|
2431
2803
|
meshes: Resource$Projects$Locations$Meshes;
|
|
2432
2804
|
operations: Resource$Projects$Locations$Operations;
|
|
2805
|
+
producerExtensions: Resource$Projects$Locations$Producerextensions;
|
|
2433
2806
|
serviceBindings: Resource$Projects$Locations$Servicebindings;
|
|
2434
2807
|
serviceLbPolicies: Resource$Projects$Locations$Servicelbpolicies;
|
|
2435
2808
|
tcpRoutes: Resource$Projects$Locations$Tcproutes;
|
|
@@ -2598,11 +2971,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2598
2971
|
*/
|
|
2599
2972
|
pageToken?: string;
|
|
2600
2973
|
}
|
|
2601
|
-
export class Resource$Projects$Locations$
|
|
2974
|
+
export class Resource$Projects$Locations$Agentconnectivitytemplates {
|
|
2602
2975
|
context: APIRequestContext;
|
|
2603
2976
|
constructor(context: APIRequestContext);
|
|
2604
2977
|
/**
|
|
2605
|
-
* Creates a new
|
|
2978
|
+
* Creates a new AgentConnectivityTemplate in a given project and location.
|
|
2606
2979
|
* @example
|
|
2607
2980
|
* ```js
|
|
2608
2981
|
* // Before running the sample:
|
|
@@ -2631,31 +3004,31 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2631
3004
|
* google.options({auth: authClient});
|
|
2632
3005
|
*
|
|
2633
3006
|
* // Do the magic
|
|
2634
|
-
* const res =
|
|
2635
|
-
*
|
|
2636
|
-
*
|
|
2637
|
-
*
|
|
2638
|
-
*
|
|
3007
|
+
* const res =
|
|
3008
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.create({
|
|
3009
|
+
* // Required. Short name of the AgentConnectivityTemplate resource to be created.
|
|
3010
|
+
* agentConnectivityTemplateId: 'placeholder-value',
|
|
3011
|
+
* // Required. The parent resource of the AgentConnectivityTemplate. Must be in the format `projects/x/locations/x`.
|
|
3012
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
2639
3013
|
*
|
|
2640
|
-
*
|
|
2641
|
-
*
|
|
2642
|
-
*
|
|
2643
|
-
*
|
|
2644
|
-
*
|
|
2645
|
-
*
|
|
2646
|
-
*
|
|
2647
|
-
*
|
|
2648
|
-
*
|
|
2649
|
-
*
|
|
2650
|
-
*
|
|
2651
|
-
*
|
|
2652
|
-
*
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2655
|
-
*
|
|
2656
|
-
*
|
|
2657
|
-
* }
|
|
2658
|
-
* });
|
|
3014
|
+
* // Request body metadata
|
|
3015
|
+
* requestBody: {
|
|
3016
|
+
* // request body parameters
|
|
3017
|
+
* // {
|
|
3018
|
+
* // "accessPath": "my_accessPath",
|
|
3019
|
+
* // "accessTypes": [],
|
|
3020
|
+
* // "agentCompute": "my_agentCompute",
|
|
3021
|
+
* // "createTime": "my_createTime",
|
|
3022
|
+
* // "deploymentModel": "my_deploymentModel",
|
|
3023
|
+
* // "description": "my_description",
|
|
3024
|
+
* // "egressNetworkConfig": {},
|
|
3025
|
+
* // "etag": "my_etag",
|
|
3026
|
+
* // "labels": {},
|
|
3027
|
+
* // "name": "my_name",
|
|
3028
|
+
* // "updateTime": "my_updateTime"
|
|
3029
|
+
* // }
|
|
3030
|
+
* },
|
|
3031
|
+
* });
|
|
2659
3032
|
* console.log(res.data);
|
|
2660
3033
|
*
|
|
2661
3034
|
* // Example response
|
|
@@ -2680,14 +3053,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2680
3053
|
* @param callback - Optional callback that handles the response.
|
|
2681
3054
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2682
3055
|
*/
|
|
2683
|
-
create(params: Params$Resource$Projects$Locations$
|
|
2684
|
-
create(params?: Params$Resource$Projects$Locations$
|
|
2685
|
-
create(params: Params$Resource$Projects$Locations$
|
|
2686
|
-
create(params: Params$Resource$Projects$Locations$
|
|
2687
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3056
|
+
create(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3057
|
+
create(params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3058
|
+
create(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3059
|
+
create(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3060
|
+
create(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2688
3061
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2689
3062
|
/**
|
|
2690
|
-
* Deletes a single
|
|
3063
|
+
* Deletes a single AgentConnectivityTemplate.
|
|
2691
3064
|
* @example
|
|
2692
3065
|
* ```js
|
|
2693
3066
|
* // Before running the sample:
|
|
@@ -2716,12 +3089,13 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2716
3089
|
* google.options({auth: authClient});
|
|
2717
3090
|
*
|
|
2718
3091
|
* // Do the magic
|
|
2719
|
-
* const res =
|
|
2720
|
-
*
|
|
2721
|
-
*
|
|
2722
|
-
*
|
|
2723
|
-
*
|
|
2724
|
-
*
|
|
3092
|
+
* const res =
|
|
3093
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.delete({
|
|
3094
|
+
* // Optional. The etag of the AgentConnectivityTemplate to delete.
|
|
3095
|
+
* etag: 'placeholder-value',
|
|
3096
|
+
* // Required. A name of the AgentConnectivityTemplate to delete. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
3097
|
+
* name: 'projects/my-project/locations/my-location/agentConnectivityTemplates/my-agentConnectivityTemplate',
|
|
3098
|
+
* });
|
|
2725
3099
|
* console.log(res.data);
|
|
2726
3100
|
*
|
|
2727
3101
|
* // Example response
|
|
@@ -2746,14 +3120,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2746
3120
|
* @param callback - Optional callback that handles the response.
|
|
2747
3121
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2748
3122
|
*/
|
|
2749
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
2750
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
2751
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
2752
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
2753
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3123
|
+
delete(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3124
|
+
delete(params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3125
|
+
delete(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3126
|
+
delete(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3127
|
+
delete(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2754
3128
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2755
3129
|
/**
|
|
2756
|
-
* Gets details of a single
|
|
3130
|
+
* Gets details of a single AgentConnectivityTemplate.
|
|
2757
3131
|
* @example
|
|
2758
3132
|
* ```js
|
|
2759
3133
|
* // Before running the sample:
|
|
@@ -2782,25 +3156,25 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2782
3156
|
* google.options({auth: authClient});
|
|
2783
3157
|
*
|
|
2784
3158
|
* // Do the magic
|
|
2785
|
-
* const res =
|
|
2786
|
-
*
|
|
2787
|
-
*
|
|
2788
|
-
*
|
|
3159
|
+
* const res =
|
|
3160
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.get({
|
|
3161
|
+
* // Required. A name of the AgentConnectivityTemplate to get. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
3162
|
+
* name: 'projects/my-project/locations/my-location/agentConnectivityTemplates/my-agentConnectivityTemplate',
|
|
3163
|
+
* });
|
|
2789
3164
|
* console.log(res.data);
|
|
2790
3165
|
*
|
|
2791
3166
|
* // Example response
|
|
2792
3167
|
* // {
|
|
2793
|
-
* // "
|
|
3168
|
+
* // "accessPath": "my_accessPath",
|
|
3169
|
+
* // "accessTypes": [],
|
|
3170
|
+
* // "agentCompute": "my_agentCompute",
|
|
2794
3171
|
* // "createTime": "my_createTime",
|
|
3172
|
+
* // "deploymentModel": "my_deploymentModel",
|
|
2795
3173
|
* // "description": "my_description",
|
|
3174
|
+
* // "egressNetworkConfig": {},
|
|
2796
3175
|
* // "etag": "my_etag",
|
|
2797
|
-
* // "googleManaged": {},
|
|
2798
3176
|
* // "labels": {},
|
|
2799
3177
|
* // "name": "my_name",
|
|
2800
|
-
* // "networkConfig": {},
|
|
2801
|
-
* // "protocols": [],
|
|
2802
|
-
* // "registries": [],
|
|
2803
|
-
* // "selfManaged": {},
|
|
2804
3178
|
* // "updateTime": "my_updateTime"
|
|
2805
3179
|
* // }
|
|
2806
3180
|
* }
|
|
@@ -2817,14 +3191,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2817
3191
|
* @param callback - Optional callback that handles the response.
|
|
2818
3192
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2819
3193
|
*/
|
|
2820
|
-
get(params: Params$Resource$Projects$Locations$
|
|
2821
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
2822
|
-
get(params: Params$Resource$Projects$Locations$
|
|
2823
|
-
get(params: Params$Resource$Projects$Locations$
|
|
2824
|
-
get(params: Params$Resource$Projects$Locations$
|
|
2825
|
-
get(callback: BodyResponseCallback<Schema$
|
|
3194
|
+
get(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3195
|
+
get(params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AgentConnectivityTemplate>>;
|
|
3196
|
+
get(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3197
|
+
get(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get, options: MethodOptions | BodyResponseCallback<Schema$AgentConnectivityTemplate>, callback: BodyResponseCallback<Schema$AgentConnectivityTemplate>): void;
|
|
3198
|
+
get(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get, callback: BodyResponseCallback<Schema$AgentConnectivityTemplate>): void;
|
|
3199
|
+
get(callback: BodyResponseCallback<Schema$AgentConnectivityTemplate>): void;
|
|
2826
3200
|
/**
|
|
2827
|
-
* Lists
|
|
3201
|
+
* Lists AgentConnectivityTemplates in a given project and location.
|
|
2828
3202
|
* @example
|
|
2829
3203
|
* ```js
|
|
2830
3204
|
* // Before running the sample:
|
|
@@ -2853,21 +3227,22 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2853
3227
|
* google.options({auth: authClient});
|
|
2854
3228
|
*
|
|
2855
3229
|
* // Do the magic
|
|
2856
|
-
* const res =
|
|
2857
|
-
*
|
|
2858
|
-
*
|
|
2859
|
-
*
|
|
2860
|
-
*
|
|
2861
|
-
*
|
|
2862
|
-
*
|
|
2863
|
-
*
|
|
2864
|
-
*
|
|
2865
|
-
*
|
|
3230
|
+
* const res =
|
|
3231
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.list({
|
|
3232
|
+
* // Optional. Maximum number of AgentConnectivityTemplates to return per call.
|
|
3233
|
+
* pageSize: 'placeholder-value',
|
|
3234
|
+
* // Optional. The value returned by the last `ListAgentConnectivityTemplatesResponse` Indicates that this is a continuation of a prior `ListAgentConnectivityTemplates` call, and that the system should return the next page of data.
|
|
3235
|
+
* pageToken: 'placeholder-value',
|
|
3236
|
+
* // Required. The project and location from which the AgentConnectivityTemplates should be listed, specified in the format `projects/x/locations/x`.
|
|
3237
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
3238
|
+
* // Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3239
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
3240
|
+
* });
|
|
2866
3241
|
* console.log(res.data);
|
|
2867
3242
|
*
|
|
2868
3243
|
* // Example response
|
|
2869
3244
|
* // {
|
|
2870
|
-
* // "
|
|
3245
|
+
* // "agentConnectivityTemplates": [],
|
|
2871
3246
|
* // "nextPageToken": "my_nextPageToken",
|
|
2872
3247
|
* // "unreachable": []
|
|
2873
3248
|
* // }
|
|
@@ -2885,14 +3260,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2885
3260
|
* @param callback - Optional callback that handles the response.
|
|
2886
3261
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2887
3262
|
*/
|
|
2888
|
-
list(params: Params$Resource$Projects$Locations$
|
|
2889
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
2890
|
-
list(params: Params$Resource$Projects$Locations$
|
|
2891
|
-
list(params: Params$Resource$Projects$Locations$
|
|
2892
|
-
list(params: Params$Resource$Projects$Locations$
|
|
2893
|
-
list(callback: BodyResponseCallback<Schema$
|
|
3263
|
+
list(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3264
|
+
list(params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAgentConnectivityTemplatesResponse>>;
|
|
3265
|
+
list(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3266
|
+
list(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List, options: MethodOptions | BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>, callback: BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>): void;
|
|
3267
|
+
list(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$List, callback: BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>): void;
|
|
3268
|
+
list(callback: BodyResponseCallback<Schema$ListAgentConnectivityTemplatesResponse>): void;
|
|
2894
3269
|
/**
|
|
2895
|
-
* Updates the parameters of a single
|
|
3270
|
+
* Updates the parameters of a single AgentConnectivityTemplate.
|
|
2896
3271
|
* @example
|
|
2897
3272
|
* ```js
|
|
2898
3273
|
* // Before running the sample:
|
|
@@ -2921,31 +3296,31 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2921
3296
|
* google.options({auth: authClient});
|
|
2922
3297
|
*
|
|
2923
3298
|
* // Do the magic
|
|
2924
|
-
* const res =
|
|
2925
|
-
*
|
|
2926
|
-
*
|
|
2927
|
-
*
|
|
2928
|
-
*
|
|
3299
|
+
* const res =
|
|
3300
|
+
* await networkservices.projects.locations.agentConnectivityTemplates.patch({
|
|
3301
|
+
* // Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern `projects/x/locations/x/agentConnectivityTemplates/`.
|
|
3302
|
+
* name: 'projects/my-project/locations/my-location/agentConnectivityTemplates/my-agentConnectivityTemplate',
|
|
3303
|
+
* // Optional. Field mask is used to specify the fields to be overwritten in the AgentConnectivityTemplate resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
3304
|
+
* updateMask: 'placeholder-value',
|
|
2929
3305
|
*
|
|
2930
|
-
*
|
|
2931
|
-
*
|
|
2932
|
-
*
|
|
2933
|
-
*
|
|
2934
|
-
*
|
|
2935
|
-
*
|
|
2936
|
-
*
|
|
2937
|
-
*
|
|
2938
|
-
*
|
|
2939
|
-
*
|
|
2940
|
-
*
|
|
2941
|
-
*
|
|
2942
|
-
*
|
|
2943
|
-
*
|
|
2944
|
-
*
|
|
2945
|
-
*
|
|
2946
|
-
*
|
|
2947
|
-
* }
|
|
2948
|
-
* });
|
|
3306
|
+
* // Request body metadata
|
|
3307
|
+
* requestBody: {
|
|
3308
|
+
* // request body parameters
|
|
3309
|
+
* // {
|
|
3310
|
+
* // "accessPath": "my_accessPath",
|
|
3311
|
+
* // "accessTypes": [],
|
|
3312
|
+
* // "agentCompute": "my_agentCompute",
|
|
3313
|
+
* // "createTime": "my_createTime",
|
|
3314
|
+
* // "deploymentModel": "my_deploymentModel",
|
|
3315
|
+
* // "description": "my_description",
|
|
3316
|
+
* // "egressNetworkConfig": {},
|
|
3317
|
+
* // "etag": "my_etag",
|
|
3318
|
+
* // "labels": {},
|
|
3319
|
+
* // "name": "my_name",
|
|
3320
|
+
* // "updateTime": "my_updateTime"
|
|
3321
|
+
* // }
|
|
3322
|
+
* },
|
|
3323
|
+
* });
|
|
2949
3324
|
* console.log(res.data);
|
|
2950
3325
|
*
|
|
2951
3326
|
* // Example response
|
|
@@ -2970,54 +3345,54 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2970
3345
|
* @param callback - Optional callback that handles the response.
|
|
2971
3346
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2972
3347
|
*/
|
|
2973
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
2974
|
-
patch(params?: Params$Resource$Projects$Locations$
|
|
2975
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
2976
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
2977
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3348
|
+
patch(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3349
|
+
patch(params?: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3350
|
+
patch(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3351
|
+
patch(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3352
|
+
patch(params: Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2978
3353
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2979
3354
|
}
|
|
2980
|
-
export interface Params$Resource$Projects$Locations$
|
|
3355
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Create extends StandardParameters {
|
|
2981
3356
|
/**
|
|
2982
|
-
* Required. Short name of the
|
|
3357
|
+
* Required. Short name of the AgentConnectivityTemplate resource to be created.
|
|
2983
3358
|
*/
|
|
2984
|
-
|
|
3359
|
+
agentConnectivityTemplateId?: string;
|
|
2985
3360
|
/**
|
|
2986
|
-
* Required. The parent resource of the
|
|
3361
|
+
* Required. The parent resource of the AgentConnectivityTemplate. Must be in the format `projects/x/locations/x`.
|
|
2987
3362
|
*/
|
|
2988
3363
|
parent?: string;
|
|
2989
3364
|
/**
|
|
2990
3365
|
* Request body metadata
|
|
2991
3366
|
*/
|
|
2992
|
-
requestBody?: Schema$
|
|
3367
|
+
requestBody?: Schema$AgentConnectivityTemplate;
|
|
2993
3368
|
}
|
|
2994
|
-
export interface Params$Resource$Projects$Locations$
|
|
3369
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Delete extends StandardParameters {
|
|
2995
3370
|
/**
|
|
2996
|
-
* Optional. The etag of the
|
|
3371
|
+
* Optional. The etag of the AgentConnectivityTemplate to delete.
|
|
2997
3372
|
*/
|
|
2998
3373
|
etag?: string;
|
|
2999
3374
|
/**
|
|
3000
|
-
* Required. A name of the
|
|
3375
|
+
* Required. A name of the AgentConnectivityTemplate to delete. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
3001
3376
|
*/
|
|
3002
3377
|
name?: string;
|
|
3003
3378
|
}
|
|
3004
|
-
export interface Params$Resource$Projects$Locations$
|
|
3379
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Get extends StandardParameters {
|
|
3005
3380
|
/**
|
|
3006
|
-
* Required. A name of the
|
|
3381
|
+
* Required. A name of the AgentConnectivityTemplate to get. Must be in the format `projects/x/locations/x/agentConnectivityTemplates/x`.
|
|
3007
3382
|
*/
|
|
3008
3383
|
name?: string;
|
|
3009
3384
|
}
|
|
3010
|
-
export interface Params$Resource$Projects$Locations$
|
|
3385
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$List extends StandardParameters {
|
|
3011
3386
|
/**
|
|
3012
|
-
* Optional. Maximum number of
|
|
3387
|
+
* Optional. Maximum number of AgentConnectivityTemplates to return per call.
|
|
3013
3388
|
*/
|
|
3014
3389
|
pageSize?: number;
|
|
3015
3390
|
/**
|
|
3016
|
-
* Optional. The value returned by the last `
|
|
3391
|
+
* Optional. The value returned by the last `ListAgentConnectivityTemplatesResponse` Indicates that this is a continuation of a prior `ListAgentConnectivityTemplates` call, and that the system should return the next page of data.
|
|
3017
3392
|
*/
|
|
3018
3393
|
pageToken?: string;
|
|
3019
3394
|
/**
|
|
3020
|
-
* Required. The project and location from which the
|
|
3395
|
+
* Required. The project and location from which the AgentConnectivityTemplates should be listed, specified in the format `projects/x/locations/x`.
|
|
3021
3396
|
*/
|
|
3022
3397
|
parent?: string;
|
|
3023
3398
|
/**
|
|
@@ -3025,25 +3400,25 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3025
3400
|
*/
|
|
3026
3401
|
returnPartialSuccess?: boolean;
|
|
3027
3402
|
}
|
|
3028
|
-
export interface Params$Resource$Projects$Locations$
|
|
3403
|
+
export interface Params$Resource$Projects$Locations$Agentconnectivitytemplates$Patch extends StandardParameters {
|
|
3029
3404
|
/**
|
|
3030
|
-
* Identifier. Name of the
|
|
3405
|
+
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern `projects/x/locations/x/agentConnectivityTemplates/`.
|
|
3031
3406
|
*/
|
|
3032
3407
|
name?: string;
|
|
3033
3408
|
/**
|
|
3034
|
-
* Optional. Field mask is used to specify the fields to be overwritten in the
|
|
3409
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the AgentConnectivityTemplate resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
3035
3410
|
*/
|
|
3036
3411
|
updateMask?: string;
|
|
3037
3412
|
/**
|
|
3038
3413
|
* Request body metadata
|
|
3039
3414
|
*/
|
|
3040
|
-
requestBody?: Schema$
|
|
3415
|
+
requestBody?: Schema$AgentConnectivityTemplate;
|
|
3041
3416
|
}
|
|
3042
|
-
export class Resource$Projects$Locations$
|
|
3417
|
+
export class Resource$Projects$Locations$Agentgateways {
|
|
3043
3418
|
context: APIRequestContext;
|
|
3044
3419
|
constructor(context: APIRequestContext);
|
|
3045
3420
|
/**
|
|
3046
|
-
* Creates a new
|
|
3421
|
+
* Creates a new AgentGateway in a given project and location.
|
|
3047
3422
|
* @example
|
|
3048
3423
|
* ```js
|
|
3049
3424
|
* // Before running the sample:
|
|
@@ -3072,32 +3447,29 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3072
3447
|
* google.options({auth: authClient});
|
|
3073
3448
|
*
|
|
3074
3449
|
* // Do the magic
|
|
3075
|
-
* const res = await networkservices.projects.locations.
|
|
3076
|
-
* // Required.
|
|
3077
|
-
*
|
|
3078
|
-
* // Required. The parent resource of the
|
|
3450
|
+
* const res = await networkservices.projects.locations.agentGateways.create({
|
|
3451
|
+
* // Required. Short name of the AgentGateway resource to be created.
|
|
3452
|
+
* agentGatewayId: 'placeholder-value',
|
|
3453
|
+
* // Required. The parent resource of the AgentGateway. Must be in the format `projects/x/locations/x`.
|
|
3079
3454
|
* parent: 'projects/my-project/locations/my-location',
|
|
3080
|
-
* // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3081
|
-
* requestId: 'placeholder-value',
|
|
3082
3455
|
*
|
|
3083
3456
|
* // Request body metadata
|
|
3084
3457
|
* requestBody: {
|
|
3085
3458
|
* // request body parameters
|
|
3086
3459
|
* // {
|
|
3087
|
-
* // "
|
|
3460
|
+
* // "agentConnectivityTemplate": "my_agentConnectivityTemplate",
|
|
3461
|
+
* // "agentGatewayCard": {},
|
|
3088
3462
|
* // "createTime": "my_createTime",
|
|
3089
3463
|
* // "description": "my_description",
|
|
3090
|
-
* // "
|
|
3091
|
-
* // "
|
|
3092
|
-
* // "forwardHeaders": [],
|
|
3464
|
+
* // "etag": "my_etag",
|
|
3465
|
+
* // "googleManaged": {},
|
|
3093
3466
|
* // "labels": {},
|
|
3094
|
-
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
3095
|
-
* // "metadata": {},
|
|
3096
3467
|
* // "name": "my_name",
|
|
3097
|
-
* // "
|
|
3098
|
-
* // "
|
|
3099
|
-
* // "
|
|
3100
|
-
* // "
|
|
3468
|
+
* // "networkConfig": {},
|
|
3469
|
+
* // "protocols": [],
|
|
3470
|
+
* // "registries": [],
|
|
3471
|
+
* // "selfManaged": {},
|
|
3472
|
+
* // "updateTime": "my_updateTime"
|
|
3101
3473
|
* // }
|
|
3102
3474
|
* },
|
|
3103
3475
|
* });
|
|
@@ -3125,14 +3497,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3125
3497
|
* @param callback - Optional callback that handles the response.
|
|
3126
3498
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3127
3499
|
*/
|
|
3128
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3129
|
-
create(params?: Params$Resource$Projects$Locations$
|
|
3130
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3131
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3132
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3500
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3501
|
+
create(params?: Params$Resource$Projects$Locations$Agentgateways$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3502
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3503
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3504
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3133
3505
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3134
3506
|
/**
|
|
3135
|
-
* Deletes
|
|
3507
|
+
* Deletes a single AgentGateway.
|
|
3136
3508
|
* @example
|
|
3137
3509
|
* ```js
|
|
3138
3510
|
* // Before running the sample:
|
|
@@ -3161,11 +3533,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3161
3533
|
* google.options({auth: authClient});
|
|
3162
3534
|
*
|
|
3163
3535
|
* // Do the magic
|
|
3164
|
-
* const res = await networkservices.projects.locations.
|
|
3165
|
-
* //
|
|
3166
|
-
*
|
|
3167
|
-
* //
|
|
3168
|
-
*
|
|
3536
|
+
* const res = await networkservices.projects.locations.agentGateways.delete({
|
|
3537
|
+
* // Optional. The etag of the AgentGateway to delete.
|
|
3538
|
+
* etag: 'placeholder-value',
|
|
3539
|
+
* // Required. A name of the AgentGateway to delete. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
3540
|
+
* name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
|
|
3169
3541
|
* });
|
|
3170
3542
|
* console.log(res.data);
|
|
3171
3543
|
*
|
|
@@ -3191,14 +3563,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3191
3563
|
* @param callback - Optional callback that handles the response.
|
|
3192
3564
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3193
3565
|
*/
|
|
3194
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3195
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
3196
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3197
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3198
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3566
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3567
|
+
delete(params?: Params$Resource$Projects$Locations$Agentgateways$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3568
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3569
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3570
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3199
3571
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3200
3572
|
/**
|
|
3201
|
-
* Gets details of
|
|
3573
|
+
* Gets details of a single AgentGateway.
|
|
3202
3574
|
* @example
|
|
3203
3575
|
* ```js
|
|
3204
3576
|
* // Before running the sample:
|
|
@@ -3227,28 +3599,27 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3227
3599
|
* google.options({auth: authClient});
|
|
3228
3600
|
*
|
|
3229
3601
|
* // Do the magic
|
|
3230
|
-
* const res = await networkservices.projects.locations.
|
|
3231
|
-
* // Required. A name of the
|
|
3232
|
-
* name: 'projects/my-project/locations/my-location/
|
|
3602
|
+
* const res = await networkservices.projects.locations.agentGateways.get({
|
|
3603
|
+
* // Required. A name of the AgentGateway to get. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
3604
|
+
* name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
|
|
3233
3605
|
* });
|
|
3234
3606
|
* console.log(res.data);
|
|
3235
3607
|
*
|
|
3236
3608
|
* // Example response
|
|
3237
3609
|
* // {
|
|
3238
|
-
* // "
|
|
3610
|
+
* // "agentConnectivityTemplate": "my_agentConnectivityTemplate",
|
|
3611
|
+
* // "agentGatewayCard": {},
|
|
3239
3612
|
* // "createTime": "my_createTime",
|
|
3240
3613
|
* // "description": "my_description",
|
|
3241
|
-
* // "
|
|
3242
|
-
* // "
|
|
3243
|
-
* // "forwardHeaders": [],
|
|
3614
|
+
* // "etag": "my_etag",
|
|
3615
|
+
* // "googleManaged": {},
|
|
3244
3616
|
* // "labels": {},
|
|
3245
|
-
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
3246
|
-
* // "metadata": {},
|
|
3247
3617
|
* // "name": "my_name",
|
|
3248
|
-
* // "
|
|
3249
|
-
* // "
|
|
3250
|
-
* // "
|
|
3251
|
-
* // "
|
|
3618
|
+
* // "networkConfig": {},
|
|
3619
|
+
* // "protocols": [],
|
|
3620
|
+
* // "registries": [],
|
|
3621
|
+
* // "selfManaged": {},
|
|
3622
|
+
* // "updateTime": "my_updateTime"
|
|
3252
3623
|
* // }
|
|
3253
3624
|
* }
|
|
3254
3625
|
*
|
|
@@ -3264,14 +3635,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3264
3635
|
* @param callback - Optional callback that handles the response.
|
|
3265
3636
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3266
3637
|
*/
|
|
3267
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3268
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
3269
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3270
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3271
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3272
|
-
get(callback: BodyResponseCallback<Schema$
|
|
3638
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3639
|
+
get(params?: Params$Resource$Projects$Locations$Agentgateways$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AgentGateway>>;
|
|
3640
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3641
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, options: MethodOptions | BodyResponseCallback<Schema$AgentGateway>, callback: BodyResponseCallback<Schema$AgentGateway>): void;
|
|
3642
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, callback: BodyResponseCallback<Schema$AgentGateway>): void;
|
|
3643
|
+
get(callback: BodyResponseCallback<Schema$AgentGateway>): void;
|
|
3273
3644
|
/**
|
|
3274
|
-
* Lists
|
|
3645
|
+
* Lists AgentGateways in a given project and location.
|
|
3275
3646
|
* @example
|
|
3276
3647
|
* ```js
|
|
3277
3648
|
* // Before running the sample:
|
|
@@ -3300,23 +3671,21 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3300
3671
|
* google.options({auth: authClient});
|
|
3301
3672
|
*
|
|
3302
3673
|
* // Do the magic
|
|
3303
|
-
* const res = await networkservices.projects.locations.
|
|
3304
|
-
* // Optional.
|
|
3305
|
-
* filter: 'placeholder-value',
|
|
3306
|
-
* // Optional. Hint about how to order the results.
|
|
3307
|
-
* orderBy: 'placeholder-value',
|
|
3308
|
-
* // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
|
|
3674
|
+
* const res = await networkservices.projects.locations.agentGateways.list({
|
|
3675
|
+
* // Optional. Maximum number of AgentGateways to return per call.
|
|
3309
3676
|
* pageSize: 'placeholder-value',
|
|
3310
|
-
* // Optional.
|
|
3677
|
+
* // Optional. The value returned by the last `ListAgentGatewaysResponse` Indicates that this is a continuation of a prior `ListAgentGateways` call, and that the system should return the next page of data.
|
|
3311
3678
|
* pageToken: 'placeholder-value',
|
|
3312
|
-
* // Required. The project and location from which the
|
|
3679
|
+
* // Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/x/locations/x`.
|
|
3313
3680
|
* parent: 'projects/my-project/locations/my-location',
|
|
3681
|
+
* // Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3682
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
3314
3683
|
* });
|
|
3315
3684
|
* console.log(res.data);
|
|
3316
3685
|
*
|
|
3317
3686
|
* // Example response
|
|
3318
3687
|
* // {
|
|
3319
|
-
* // "
|
|
3688
|
+
* // "agentGateways": [],
|
|
3320
3689
|
* // "nextPageToken": "my_nextPageToken",
|
|
3321
3690
|
* // "unreachable": []
|
|
3322
3691
|
* // }
|
|
@@ -3334,14 +3703,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3334
3703
|
* @param callback - Optional callback that handles the response.
|
|
3335
3704
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3336
3705
|
*/
|
|
3337
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3338
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
3339
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3340
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3341
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3342
|
-
list(callback: BodyResponseCallback<Schema$
|
|
3706
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3707
|
+
list(params?: Params$Resource$Projects$Locations$Agentgateways$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAgentGatewaysResponse>>;
|
|
3708
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3709
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, options: MethodOptions | BodyResponseCallback<Schema$ListAgentGatewaysResponse>, callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>): void;
|
|
3710
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>): void;
|
|
3711
|
+
list(callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>): void;
|
|
3343
3712
|
/**
|
|
3344
|
-
* Updates the parameters of
|
|
3713
|
+
* Updates the parameters of a single AgentGateway.
|
|
3345
3714
|
* @example
|
|
3346
3715
|
* ```js
|
|
3347
3716
|
* // Before running the sample:
|
|
@@ -3370,32 +3739,29 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3370
3739
|
* google.options({auth: authClient});
|
|
3371
3740
|
*
|
|
3372
3741
|
* // Do the magic
|
|
3373
|
-
* const res = await networkservices.projects.locations.
|
|
3374
|
-
* //
|
|
3375
|
-
* name: 'projects/my-project/locations/my-location/
|
|
3376
|
-
* // Optional.
|
|
3377
|
-
* requestId: 'placeholder-value',
|
|
3378
|
-
* // Required. Used to specify the fields to be overwritten in the `AuthzExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
|
|
3742
|
+
* const res = await networkservices.projects.locations.agentGateways.patch({
|
|
3743
|
+
* // Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
|
|
3744
|
+
* name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
|
|
3745
|
+
* // Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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.
|
|
3379
3746
|
* updateMask: 'placeholder-value',
|
|
3380
3747
|
*
|
|
3381
3748
|
* // Request body metadata
|
|
3382
3749
|
* requestBody: {
|
|
3383
3750
|
* // request body parameters
|
|
3384
3751
|
* // {
|
|
3385
|
-
* // "
|
|
3752
|
+
* // "agentConnectivityTemplate": "my_agentConnectivityTemplate",
|
|
3753
|
+
* // "agentGatewayCard": {},
|
|
3386
3754
|
* // "createTime": "my_createTime",
|
|
3387
3755
|
* // "description": "my_description",
|
|
3388
|
-
* // "
|
|
3389
|
-
* // "
|
|
3390
|
-
* // "forwardHeaders": [],
|
|
3756
|
+
* // "etag": "my_etag",
|
|
3757
|
+
* // "googleManaged": {},
|
|
3391
3758
|
* // "labels": {},
|
|
3392
|
-
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
3393
|
-
* // "metadata": {},
|
|
3394
3759
|
* // "name": "my_name",
|
|
3395
|
-
* // "
|
|
3396
|
-
* // "
|
|
3397
|
-
* // "
|
|
3398
|
-
* // "
|
|
3760
|
+
* // "networkConfig": {},
|
|
3761
|
+
* // "protocols": [],
|
|
3762
|
+
* // "registries": [],
|
|
3763
|
+
* // "selfManaged": {},
|
|
3764
|
+
* // "updateTime": "my_updateTime"
|
|
3399
3765
|
* // }
|
|
3400
3766
|
* },
|
|
3401
3767
|
* });
|
|
@@ -3423,92 +3789,80 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3423
3789
|
* @param callback - Optional callback that handles the response.
|
|
3424
3790
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3425
3791
|
*/
|
|
3426
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3427
|
-
patch(params?: Params$Resource$Projects$Locations$
|
|
3428
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3429
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3430
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3792
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3793
|
+
patch(params?: Params$Resource$Projects$Locations$Agentgateways$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3794
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3795
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3796
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3431
3797
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3432
3798
|
}
|
|
3433
|
-
export interface Params$Resource$Projects$Locations$
|
|
3799
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Create extends StandardParameters {
|
|
3434
3800
|
/**
|
|
3435
|
-
* Required.
|
|
3801
|
+
* Required. Short name of the AgentGateway resource to be created.
|
|
3436
3802
|
*/
|
|
3437
|
-
|
|
3803
|
+
agentGatewayId?: string;
|
|
3438
3804
|
/**
|
|
3439
|
-
* Required. The parent resource of the
|
|
3805
|
+
* Required. The parent resource of the AgentGateway. Must be in the format `projects/x/locations/x`.
|
|
3440
3806
|
*/
|
|
3441
3807
|
parent?: string;
|
|
3442
|
-
/**
|
|
3443
|
-
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3444
|
-
*/
|
|
3445
|
-
requestId?: string;
|
|
3446
3808
|
/**
|
|
3447
3809
|
* Request body metadata
|
|
3448
3810
|
*/
|
|
3449
|
-
requestBody?: Schema$
|
|
3811
|
+
requestBody?: Schema$AgentGateway;
|
|
3450
3812
|
}
|
|
3451
|
-
export interface Params$Resource$Projects$Locations$
|
|
3813
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Delete extends StandardParameters {
|
|
3452
3814
|
/**
|
|
3453
|
-
*
|
|
3815
|
+
* Optional. The etag of the AgentGateway to delete.
|
|
3454
3816
|
*/
|
|
3455
|
-
|
|
3817
|
+
etag?: string;
|
|
3456
3818
|
/**
|
|
3457
|
-
*
|
|
3819
|
+
* Required. A name of the AgentGateway to delete. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
3458
3820
|
*/
|
|
3459
|
-
|
|
3821
|
+
name?: string;
|
|
3460
3822
|
}
|
|
3461
|
-
export interface Params$Resource$Projects$Locations$
|
|
3823
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Get extends StandardParameters {
|
|
3462
3824
|
/**
|
|
3463
|
-
* Required. A name of the
|
|
3825
|
+
* Required. A name of the AgentGateway to get. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
3464
3826
|
*/
|
|
3465
3827
|
name?: string;
|
|
3466
3828
|
}
|
|
3467
|
-
export interface Params$Resource$Projects$Locations$
|
|
3468
|
-
/**
|
|
3469
|
-
* Optional. Filtering results.
|
|
3470
|
-
*/
|
|
3471
|
-
filter?: string;
|
|
3472
|
-
/**
|
|
3473
|
-
* Optional. Hint about how to order the results.
|
|
3474
|
-
*/
|
|
3475
|
-
orderBy?: string;
|
|
3829
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$List extends StandardParameters {
|
|
3476
3830
|
/**
|
|
3477
|
-
* Optional.
|
|
3831
|
+
* Optional. Maximum number of AgentGateways to return per call.
|
|
3478
3832
|
*/
|
|
3479
3833
|
pageSize?: number;
|
|
3480
3834
|
/**
|
|
3481
|
-
* Optional.
|
|
3835
|
+
* Optional. The value returned by the last `ListAgentGatewaysResponse` Indicates that this is a continuation of a prior `ListAgentGateways` call, and that the system should return the next page of data.
|
|
3482
3836
|
*/
|
|
3483
3837
|
pageToken?: string;
|
|
3484
3838
|
/**
|
|
3485
|
-
* Required. The project and location from which the
|
|
3839
|
+
* Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/x/locations/x`.
|
|
3486
3840
|
*/
|
|
3487
3841
|
parent?: string;
|
|
3488
|
-
}
|
|
3489
|
-
export interface Params$Resource$Projects$Locations$Authzextensions$Patch extends StandardParameters {
|
|
3490
3842
|
/**
|
|
3491
|
-
*
|
|
3843
|
+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3492
3844
|
*/
|
|
3493
|
-
|
|
3845
|
+
returnPartialSuccess?: boolean;
|
|
3846
|
+
}
|
|
3847
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Patch extends StandardParameters {
|
|
3494
3848
|
/**
|
|
3495
|
-
*
|
|
3849
|
+
* Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
|
|
3496
3850
|
*/
|
|
3497
|
-
|
|
3851
|
+
name?: string;
|
|
3498
3852
|
/**
|
|
3499
|
-
*
|
|
3853
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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.
|
|
3500
3854
|
*/
|
|
3501
3855
|
updateMask?: string;
|
|
3502
3856
|
/**
|
|
3503
3857
|
* Request body metadata
|
|
3504
3858
|
*/
|
|
3505
|
-
requestBody?: Schema$
|
|
3859
|
+
requestBody?: Schema$AgentGateway;
|
|
3506
3860
|
}
|
|
3507
|
-
export class Resource$Projects$Locations$
|
|
3861
|
+
export class Resource$Projects$Locations$Authzextensions {
|
|
3508
3862
|
context: APIRequestContext;
|
|
3509
3863
|
constructor(context: APIRequestContext);
|
|
3510
3864
|
/**
|
|
3511
|
-
* Creates a new
|
|
3865
|
+
* Creates a new `AuthzExtension` resource in a given project and location.
|
|
3512
3866
|
* @example
|
|
3513
3867
|
* ```js
|
|
3514
3868
|
* // Before running the sample:
|
|
@@ -3537,28 +3891,32 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3537
3891
|
* google.options({auth: authClient});
|
|
3538
3892
|
*
|
|
3539
3893
|
* // Do the magic
|
|
3540
|
-
* const res = await networkservices.projects.locations.
|
|
3541
|
-
* // Required.
|
|
3542
|
-
*
|
|
3543
|
-
* // Required. The parent resource of the
|
|
3894
|
+
* const res = await networkservices.projects.locations.authzExtensions.create({
|
|
3895
|
+
* // Required. User-provided ID of the `AuthzExtension` resource to be created.
|
|
3896
|
+
* authzExtensionId: 'placeholder-value',
|
|
3897
|
+
* // Required. The parent resource of the `AuthzExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
3544
3898
|
* parent: 'projects/my-project/locations/my-location',
|
|
3899
|
+
* // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3900
|
+
* requestId: 'placeholder-value',
|
|
3545
3901
|
*
|
|
3546
3902
|
* // Request body metadata
|
|
3547
3903
|
* requestBody: {
|
|
3548
3904
|
* // request body parameters
|
|
3549
3905
|
* // {
|
|
3550
|
-
* // "
|
|
3551
|
-
* // "clientTlsPolicy": "my_clientTlsPolicy",
|
|
3906
|
+
* // "authority": "my_authority",
|
|
3552
3907
|
* // "createTime": "my_createTime",
|
|
3553
3908
|
* // "description": "my_description",
|
|
3554
|
-
* // "
|
|
3909
|
+
* // "failOpen": false,
|
|
3910
|
+
* // "forwardAttributes": [],
|
|
3911
|
+
* // "forwardHeaders": [],
|
|
3555
3912
|
* // "labels": {},
|
|
3913
|
+
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
3914
|
+
* // "metadata": {},
|
|
3556
3915
|
* // "name": "my_name",
|
|
3557
|
-
* // "
|
|
3558
|
-
* // "
|
|
3559
|
-
* // "
|
|
3560
|
-
* // "
|
|
3561
|
-
* // "updateTime": "my_updateTime"
|
|
3916
|
+
* // "service": "my_service",
|
|
3917
|
+
* // "timeout": "my_timeout",
|
|
3918
|
+
* // "updateTime": "my_updateTime",
|
|
3919
|
+
* // "wireFormat": "my_wireFormat"
|
|
3562
3920
|
* // }
|
|
3563
3921
|
* },
|
|
3564
3922
|
* });
|
|
@@ -3586,14 +3944,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3586
3944
|
* @param callback - Optional callback that handles the response.
|
|
3587
3945
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3588
3946
|
*/
|
|
3589
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3590
|
-
create(params?: Params$Resource$Projects$Locations$
|
|
3591
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3592
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3593
|
-
create(params: Params$Resource$Projects$Locations$
|
|
3947
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3948
|
+
create(params?: Params$Resource$Projects$Locations$Authzextensions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3949
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3950
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3951
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3594
3952
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3595
3953
|
/**
|
|
3596
|
-
* Deletes
|
|
3954
|
+
* Deletes the specified `AuthzExtension` resource.
|
|
3597
3955
|
* @example
|
|
3598
3956
|
* ```js
|
|
3599
3957
|
* // Before running the sample:
|
|
@@ -3622,9 +3980,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3622
3980
|
* google.options({auth: authClient});
|
|
3623
3981
|
*
|
|
3624
3982
|
* // Do the magic
|
|
3625
|
-
* const res = await networkservices.projects.locations.
|
|
3626
|
-
* // Required.
|
|
3627
|
-
* name: 'projects/my-project/locations/my-location/
|
|
3983
|
+
* const res = await networkservices.projects.locations.authzExtensions.delete({
|
|
3984
|
+
* // Required. The name of the `AuthzExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
3985
|
+
* name: 'projects/my-project/locations/my-location/authzExtensions/my-authzExtension',
|
|
3986
|
+
* // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3987
|
+
* requestId: 'placeholder-value',
|
|
3628
3988
|
* });
|
|
3629
3989
|
* console.log(res.data);
|
|
3630
3990
|
*
|
|
@@ -3650,14 +4010,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3650
4010
|
* @param callback - Optional callback that handles the response.
|
|
3651
4011
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3652
4012
|
*/
|
|
3653
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3654
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
3655
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3656
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3657
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4013
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4014
|
+
delete(params?: Params$Resource$Projects$Locations$Authzextensions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4015
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4016
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4017
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3658
4018
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3659
4019
|
/**
|
|
3660
|
-
* Gets details of
|
|
4020
|
+
* Gets details of the specified `AuthzExtension` resource.
|
|
3661
4021
|
* @example
|
|
3662
4022
|
* ```js
|
|
3663
4023
|
* // Before running the sample:
|
|
@@ -3686,26 +4046,28 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3686
4046
|
* google.options({auth: authClient});
|
|
3687
4047
|
*
|
|
3688
4048
|
* // Do the magic
|
|
3689
|
-
* const res = await networkservices.projects.locations.
|
|
3690
|
-
* // Required. A name of the
|
|
3691
|
-
* name: 'projects/my-project/locations/my-location/
|
|
4049
|
+
* const res = await networkservices.projects.locations.authzExtensions.get({
|
|
4050
|
+
* // Required. A name of the `AuthzExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
4051
|
+
* name: 'projects/my-project/locations/my-location/authzExtensions/my-authzExtension',
|
|
3692
4052
|
* });
|
|
3693
4053
|
* console.log(res.data);
|
|
3694
4054
|
*
|
|
3695
4055
|
* // Example response
|
|
3696
4056
|
* // {
|
|
3697
|
-
* // "
|
|
3698
|
-
* // "clientTlsPolicy": "my_clientTlsPolicy",
|
|
4057
|
+
* // "authority": "my_authority",
|
|
3699
4058
|
* // "createTime": "my_createTime",
|
|
3700
4059
|
* // "description": "my_description",
|
|
3701
|
-
* // "
|
|
4060
|
+
* // "failOpen": false,
|
|
4061
|
+
* // "forwardAttributes": [],
|
|
4062
|
+
* // "forwardHeaders": [],
|
|
3702
4063
|
* // "labels": {},
|
|
4064
|
+
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
4065
|
+
* // "metadata": {},
|
|
3703
4066
|
* // "name": "my_name",
|
|
3704
|
-
* // "
|
|
3705
|
-
* // "
|
|
3706
|
-
* // "
|
|
3707
|
-
* // "
|
|
3708
|
-
* // "updateTime": "my_updateTime"
|
|
4067
|
+
* // "service": "my_service",
|
|
4068
|
+
* // "timeout": "my_timeout",
|
|
4069
|
+
* // "updateTime": "my_updateTime",
|
|
4070
|
+
* // "wireFormat": "my_wireFormat"
|
|
3709
4071
|
* // }
|
|
3710
4072
|
* }
|
|
3711
4073
|
*
|
|
@@ -3721,14 +4083,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3721
4083
|
* @param callback - Optional callback that handles the response.
|
|
3722
4084
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3723
4085
|
*/
|
|
3724
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3725
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
3726
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3727
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3728
|
-
get(params: Params$Resource$Projects$Locations$
|
|
3729
|
-
get(callback: BodyResponseCallback<Schema$
|
|
4086
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4087
|
+
get(params?: Params$Resource$Projects$Locations$Authzextensions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AuthzExtension>>;
|
|
4088
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4089
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: MethodOptions | BodyResponseCallback<Schema$AuthzExtension>, callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
4090
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
4091
|
+
get(callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
3730
4092
|
/**
|
|
3731
|
-
* Lists
|
|
4093
|
+
* Lists `AuthzExtension` resources in a given project and location.
|
|
3732
4094
|
* @example
|
|
3733
4095
|
* ```js
|
|
3734
4096
|
* // Before running the sample:
|
|
@@ -3757,21 +4119,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3757
4119
|
* google.options({auth: authClient});
|
|
3758
4120
|
*
|
|
3759
4121
|
* // Do the magic
|
|
3760
|
-
* const res = await networkservices.projects.locations.
|
|
3761
|
-
* //
|
|
4122
|
+
* const res = await networkservices.projects.locations.authzExtensions.list({
|
|
4123
|
+
* // Optional. Filtering results.
|
|
4124
|
+
* filter: 'placeholder-value',
|
|
4125
|
+
* // Optional. Hint about how to order the results.
|
|
4126
|
+
* orderBy: 'placeholder-value',
|
|
4127
|
+
* // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
|
|
3762
4128
|
* pageSize: 'placeholder-value',
|
|
3763
|
-
* //
|
|
4129
|
+
* // Optional. A token identifying a page of results that the server returns.
|
|
3764
4130
|
* pageToken: 'placeholder-value',
|
|
3765
|
-
* // Required. The project and location from which the
|
|
4131
|
+
* // Required. The project and location from which the `AuthzExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
|
|
3766
4132
|
* parent: 'projects/my-project/locations/my-location',
|
|
3767
|
-
* // Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3768
|
-
* returnPartialSuccess: 'placeholder-value',
|
|
3769
4133
|
* });
|
|
3770
4134
|
* console.log(res.data);
|
|
3771
4135
|
*
|
|
3772
4136
|
* // Example response
|
|
3773
4137
|
* // {
|
|
3774
|
-
* // "
|
|
4138
|
+
* // "authzExtensions": [],
|
|
3775
4139
|
* // "nextPageToken": "my_nextPageToken",
|
|
3776
4140
|
* // "unreachable": []
|
|
3777
4141
|
* // }
|
|
@@ -3789,17 +4153,17 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3789
4153
|
* @param callback - Optional callback that handles the response.
|
|
3790
4154
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3791
4155
|
*/
|
|
3792
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3793
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
3794
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3795
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3796
|
-
list(params: Params$Resource$Projects$Locations$
|
|
3797
|
-
list(callback: BodyResponseCallback<Schema$
|
|
3798
|
-
/**
|
|
3799
|
-
* Updates the parameters of
|
|
3800
|
-
* @example
|
|
3801
|
-
* ```js
|
|
3802
|
-
* // Before running the sample:
|
|
4156
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4157
|
+
list(params?: Params$Resource$Projects$Locations$Authzextensions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAuthzExtensionsResponse>>;
|
|
4158
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4159
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: MethodOptions | BodyResponseCallback<Schema$ListAuthzExtensionsResponse>, callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
4160
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
4161
|
+
list(callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
4162
|
+
/**
|
|
4163
|
+
* Updates the parameters of the specified `AuthzExtension` resource.
|
|
4164
|
+
* @example
|
|
4165
|
+
* ```js
|
|
4166
|
+
* // Before running the sample:
|
|
3803
4167
|
* // - Enable the API at:
|
|
3804
4168
|
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
3805
4169
|
* // - Login into gcloud by running:
|
|
@@ -3825,28 +4189,32 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3825
4189
|
* google.options({auth: authClient});
|
|
3826
4190
|
*
|
|
3827
4191
|
* // Do the magic
|
|
3828
|
-
* const res = await networkservices.projects.locations.
|
|
3829
|
-
* // Identifier. Name of the
|
|
3830
|
-
* name: 'projects/my-project/locations/my-location/
|
|
3831
|
-
* // Optional.
|
|
4192
|
+
* const res = await networkservices.projects.locations.authzExtensions.patch({
|
|
4193
|
+
* // Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
4194
|
+
* name: 'projects/my-project/locations/my-location/authzExtensions/my-authzExtension',
|
|
4195
|
+
* // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4196
|
+
* requestId: 'placeholder-value',
|
|
4197
|
+
* // Required. Used to specify the fields to be overwritten in the `AuthzExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
|
|
3832
4198
|
* updateMask: 'placeholder-value',
|
|
3833
4199
|
*
|
|
3834
4200
|
* // Request body metadata
|
|
3835
4201
|
* requestBody: {
|
|
3836
4202
|
* // request body parameters
|
|
3837
4203
|
* // {
|
|
3838
|
-
* // "
|
|
3839
|
-
* // "clientTlsPolicy": "my_clientTlsPolicy",
|
|
4204
|
+
* // "authority": "my_authority",
|
|
3840
4205
|
* // "createTime": "my_createTime",
|
|
3841
4206
|
* // "description": "my_description",
|
|
3842
|
-
* // "
|
|
4207
|
+
* // "failOpen": false,
|
|
4208
|
+
* // "forwardAttributes": [],
|
|
4209
|
+
* // "forwardHeaders": [],
|
|
3843
4210
|
* // "labels": {},
|
|
4211
|
+
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
4212
|
+
* // "metadata": {},
|
|
3844
4213
|
* // "name": "my_name",
|
|
3845
|
-
* // "
|
|
3846
|
-
* // "
|
|
3847
|
-
* // "
|
|
3848
|
-
* // "
|
|
3849
|
-
* // "updateTime": "my_updateTime"
|
|
4214
|
+
* // "service": "my_service",
|
|
4215
|
+
* // "timeout": "my_timeout",
|
|
4216
|
+
* // "updateTime": "my_updateTime",
|
|
4217
|
+
* // "wireFormat": "my_wireFormat"
|
|
3850
4218
|
* // }
|
|
3851
4219
|
* },
|
|
3852
4220
|
* });
|
|
@@ -3874,77 +4242,92 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3874
4242
|
* @param callback - Optional callback that handles the response.
|
|
3875
4243
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3876
4244
|
*/
|
|
3877
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3878
|
-
patch(params?: Params$Resource$Projects$Locations$
|
|
3879
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3880
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
3881
|
-
patch(params: Params$Resource$Projects$Locations$
|
|
4245
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4246
|
+
patch(params?: Params$Resource$Projects$Locations$Authzextensions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4247
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4248
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4249
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3882
4250
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3883
4251
|
}
|
|
3884
|
-
export interface Params$Resource$Projects$Locations$
|
|
4252
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Create extends StandardParameters {
|
|
3885
4253
|
/**
|
|
3886
|
-
* Required.
|
|
4254
|
+
* Required. User-provided ID of the `AuthzExtension` resource to be created.
|
|
3887
4255
|
*/
|
|
3888
|
-
|
|
4256
|
+
authzExtensionId?: string;
|
|
3889
4257
|
/**
|
|
3890
|
-
* Required. The parent resource of the
|
|
4258
|
+
* Required. The parent resource of the `AuthzExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
3891
4259
|
*/
|
|
3892
4260
|
parent?: string;
|
|
4261
|
+
/**
|
|
4262
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4263
|
+
*/
|
|
4264
|
+
requestId?: string;
|
|
3893
4265
|
/**
|
|
3894
4266
|
* Request body metadata
|
|
3895
4267
|
*/
|
|
3896
|
-
requestBody?: Schema$
|
|
4268
|
+
requestBody?: Schema$AuthzExtension;
|
|
3897
4269
|
}
|
|
3898
|
-
export interface Params$Resource$Projects$Locations$
|
|
4270
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Delete extends StandardParameters {
|
|
3899
4271
|
/**
|
|
3900
|
-
* Required.
|
|
4272
|
+
* Required. The name of the `AuthzExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
3901
4273
|
*/
|
|
3902
4274
|
name?: string;
|
|
4275
|
+
/**
|
|
4276
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4277
|
+
*/
|
|
4278
|
+
requestId?: string;
|
|
3903
4279
|
}
|
|
3904
|
-
export interface Params$Resource$Projects$Locations$
|
|
4280
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Get extends StandardParameters {
|
|
3905
4281
|
/**
|
|
3906
|
-
* Required. A name of the
|
|
4282
|
+
* Required. A name of the `AuthzExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
3907
4283
|
*/
|
|
3908
4284
|
name?: string;
|
|
3909
4285
|
}
|
|
3910
|
-
export interface Params$Resource$Projects$Locations$
|
|
4286
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$List extends StandardParameters {
|
|
3911
4287
|
/**
|
|
3912
|
-
*
|
|
4288
|
+
* Optional. Filtering results.
|
|
4289
|
+
*/
|
|
4290
|
+
filter?: string;
|
|
4291
|
+
/**
|
|
4292
|
+
* Optional. Hint about how to order the results.
|
|
4293
|
+
*/
|
|
4294
|
+
orderBy?: string;
|
|
4295
|
+
/**
|
|
4296
|
+
* Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
|
|
3913
4297
|
*/
|
|
3914
4298
|
pageSize?: number;
|
|
3915
4299
|
/**
|
|
3916
|
-
*
|
|
4300
|
+
* Optional. A token identifying a page of results that the server returns.
|
|
3917
4301
|
*/
|
|
3918
4302
|
pageToken?: string;
|
|
3919
4303
|
/**
|
|
3920
|
-
* Required. The project and location from which the
|
|
4304
|
+
* Required. The project and location from which the `AuthzExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
|
|
3921
4305
|
*/
|
|
3922
4306
|
parent?: string;
|
|
3923
|
-
/**
|
|
3924
|
-
* Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
3925
|
-
*/
|
|
3926
|
-
returnPartialSuccess?: boolean;
|
|
3927
4307
|
}
|
|
3928
|
-
export interface Params$Resource$Projects$Locations$
|
|
4308
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Patch extends StandardParameters {
|
|
3929
4309
|
/**
|
|
3930
|
-
* Identifier. Name of the
|
|
4310
|
+
* Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
3931
4311
|
*/
|
|
3932
4312
|
name?: string;
|
|
3933
4313
|
/**
|
|
3934
|
-
* Optional.
|
|
4314
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4315
|
+
*/
|
|
4316
|
+
requestId?: string;
|
|
4317
|
+
/**
|
|
4318
|
+
* Required. Used to specify the fields to be overwritten in the `AuthzExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
|
|
3935
4319
|
*/
|
|
3936
4320
|
updateMask?: string;
|
|
3937
4321
|
/**
|
|
3938
4322
|
* Request body metadata
|
|
3939
4323
|
*/
|
|
3940
|
-
requestBody?: Schema$
|
|
4324
|
+
requestBody?: Schema$AuthzExtension;
|
|
3941
4325
|
}
|
|
3942
|
-
export class Resource$Projects$Locations$
|
|
4326
|
+
export class Resource$Projects$Locations$Endpointpolicies {
|
|
3943
4327
|
context: APIRequestContext;
|
|
3944
|
-
routeViews: Resource$Projects$Locations$Gateways$Routeviews;
|
|
3945
4328
|
constructor(context: APIRequestContext);
|
|
3946
4329
|
/**
|
|
3947
|
-
* Creates a new
|
|
4330
|
+
* Creates a new EndpointPolicy in a given project and location.
|
|
3948
4331
|
* @example
|
|
3949
4332
|
* ```js
|
|
3950
4333
|
* // Before running the sample:
|
|
@@ -3973,34 +4356,26 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3973
4356
|
* google.options({auth: authClient});
|
|
3974
4357
|
*
|
|
3975
4358
|
* // Do the magic
|
|
3976
|
-
* const res = await networkservices.projects.locations.
|
|
3977
|
-
* // Required. Short name of the
|
|
3978
|
-
*
|
|
3979
|
-
* // Required. The parent resource of the
|
|
4359
|
+
* const res = await networkservices.projects.locations.endpointPolicies.create({
|
|
4360
|
+
* // Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
|
|
4361
|
+
* endpointPolicyId: 'placeholder-value',
|
|
4362
|
+
* // Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/x`.
|
|
3980
4363
|
* parent: 'projects/my-project/locations/my-location',
|
|
3981
4364
|
*
|
|
3982
4365
|
* // Request body metadata
|
|
3983
4366
|
* requestBody: {
|
|
3984
4367
|
* // request body parameters
|
|
3985
4368
|
* // {
|
|
3986
|
-
* // "
|
|
3987
|
-
* // "
|
|
3988
|
-
* // "allowGlobalAccess": false,
|
|
3989
|
-
* // "certificateUrls": [],
|
|
4369
|
+
* // "authorizationPolicy": "my_authorizationPolicy",
|
|
4370
|
+
* // "clientTlsPolicy": "my_clientTlsPolicy",
|
|
3990
4371
|
* // "createTime": "my_createTime",
|
|
3991
4372
|
* // "description": "my_description",
|
|
3992
|
-
* // "
|
|
3993
|
-
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
3994
|
-
* // "ipVersion": "my_ipVersion",
|
|
4373
|
+
* // "endpointMatcher": {},
|
|
3995
4374
|
* // "labels": {},
|
|
3996
4375
|
* // "name": "my_name",
|
|
3997
|
-
* // "
|
|
3998
|
-
* // "ports": [],
|
|
3999
|
-
* // "routingMode": "my_routingMode",
|
|
4000
|
-
* // "scope": "my_scope",
|
|
4001
|
-
* // "selfLink": "my_selfLink",
|
|
4376
|
+
* // "securityPolicy": "my_securityPolicy",
|
|
4002
4377
|
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
4003
|
-
* // "
|
|
4378
|
+
* // "trafficPortSelector": {},
|
|
4004
4379
|
* // "type": "my_type",
|
|
4005
4380
|
* // "updateTime": "my_updateTime"
|
|
4006
4381
|
* // }
|
|
@@ -4030,14 +4405,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4030
4405
|
* @param callback - Optional callback that handles the response.
|
|
4031
4406
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4032
4407
|
*/
|
|
4033
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4034
|
-
create(params?: Params$Resource$Projects$Locations$
|
|
4035
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4036
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4037
|
-
create(params: Params$Resource$Projects$Locations$
|
|
4408
|
+
create(params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4409
|
+
create(params?: Params$Resource$Projects$Locations$Endpointpolicies$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4410
|
+
create(params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4411
|
+
create(params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4412
|
+
create(params: Params$Resource$Projects$Locations$Endpointpolicies$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4038
4413
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4039
4414
|
/**
|
|
4040
|
-
* Deletes a single
|
|
4415
|
+
* Deletes a single EndpointPolicy.
|
|
4041
4416
|
* @example
|
|
4042
4417
|
* ```js
|
|
4043
4418
|
* // Before running the sample:
|
|
@@ -4066,9 +4441,9 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4066
4441
|
* google.options({auth: authClient});
|
|
4067
4442
|
*
|
|
4068
4443
|
* // Do the magic
|
|
4069
|
-
* const res = await networkservices.projects.locations.
|
|
4070
|
-
* // Required. A name of the
|
|
4071
|
-
* name: 'projects/my-project/locations/my-location/
|
|
4444
|
+
* const res = await networkservices.projects.locations.endpointPolicies.delete({
|
|
4445
|
+
* // Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
|
|
4446
|
+
* name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
|
|
4072
4447
|
* });
|
|
4073
4448
|
* console.log(res.data);
|
|
4074
4449
|
*
|
|
@@ -4094,14 +4469,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4094
4469
|
* @param callback - Optional callback that handles the response.
|
|
4095
4470
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4096
4471
|
*/
|
|
4097
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4098
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
4099
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4100
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4101
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
4472
|
+
delete(params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4473
|
+
delete(params?: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4474
|
+
delete(params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4475
|
+
delete(params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4476
|
+
delete(params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4102
4477
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4103
4478
|
/**
|
|
4104
|
-
* Gets details of a single
|
|
4479
|
+
* Gets details of a single EndpointPolicy.
|
|
4105
4480
|
* @example
|
|
4106
4481
|
* ```js
|
|
4107
4482
|
* // Before running the sample:
|
|
@@ -4130,32 +4505,24 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4130
4505
|
* google.options({auth: authClient});
|
|
4131
4506
|
*
|
|
4132
4507
|
* // Do the magic
|
|
4133
|
-
* const res = await networkservices.projects.locations.
|
|
4134
|
-
* // Required. A name of the
|
|
4135
|
-
* name: 'projects/my-project/locations/my-location/
|
|
4508
|
+
* const res = await networkservices.projects.locations.endpointPolicies.get({
|
|
4509
|
+
* // Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
|
|
4510
|
+
* name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
|
|
4136
4511
|
* });
|
|
4137
4512
|
* console.log(res.data);
|
|
4138
4513
|
*
|
|
4139
4514
|
* // Example response
|
|
4140
4515
|
* // {
|
|
4141
|
-
* // "
|
|
4142
|
-
* // "
|
|
4143
|
-
* // "allowGlobalAccess": false,
|
|
4144
|
-
* // "certificateUrls": [],
|
|
4516
|
+
* // "authorizationPolicy": "my_authorizationPolicy",
|
|
4517
|
+
* // "clientTlsPolicy": "my_clientTlsPolicy",
|
|
4145
4518
|
* // "createTime": "my_createTime",
|
|
4146
4519
|
* // "description": "my_description",
|
|
4147
|
-
* // "
|
|
4148
|
-
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
4149
|
-
* // "ipVersion": "my_ipVersion",
|
|
4520
|
+
* // "endpointMatcher": {},
|
|
4150
4521
|
* // "labels": {},
|
|
4151
4522
|
* // "name": "my_name",
|
|
4152
|
-
* // "
|
|
4153
|
-
* // "ports": [],
|
|
4154
|
-
* // "routingMode": "my_routingMode",
|
|
4155
|
-
* // "scope": "my_scope",
|
|
4156
|
-
* // "selfLink": "my_selfLink",
|
|
4523
|
+
* // "securityPolicy": "my_securityPolicy",
|
|
4157
4524
|
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
4158
|
-
* // "
|
|
4525
|
+
* // "trafficPortSelector": {},
|
|
4159
4526
|
* // "type": "my_type",
|
|
4160
4527
|
* // "updateTime": "my_updateTime"
|
|
4161
4528
|
* // }
|
|
@@ -4173,14 +4540,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4173
4540
|
* @param callback - Optional callback that handles the response.
|
|
4174
4541
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4175
4542
|
*/
|
|
4176
|
-
get(params: Params$Resource$Projects$Locations$
|
|
4177
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
4178
|
-
get(params: Params$Resource$Projects$Locations$
|
|
4179
|
-
get(params: Params$Resource$Projects$Locations$
|
|
4180
|
-
get(params: Params$Resource$Projects$Locations$
|
|
4181
|
-
get(callback: BodyResponseCallback<Schema$
|
|
4543
|
+
get(params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4544
|
+
get(params?: Params$Resource$Projects$Locations$Endpointpolicies$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$EndpointPolicy>>;
|
|
4545
|
+
get(params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4546
|
+
get(params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: MethodOptions | BodyResponseCallback<Schema$EndpointPolicy>, callback: BodyResponseCallback<Schema$EndpointPolicy>): void;
|
|
4547
|
+
get(params: Params$Resource$Projects$Locations$Endpointpolicies$Get, callback: BodyResponseCallback<Schema$EndpointPolicy>): void;
|
|
4548
|
+
get(callback: BodyResponseCallback<Schema$EndpointPolicy>): void;
|
|
4182
4549
|
/**
|
|
4183
|
-
* Lists
|
|
4550
|
+
* Lists EndpointPolicies in a given project and location.
|
|
4184
4551
|
* @example
|
|
4185
4552
|
* ```js
|
|
4186
4553
|
* // Before running the sample:
|
|
@@ -4209,19 +4576,21 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4209
4576
|
* google.options({auth: authClient});
|
|
4210
4577
|
*
|
|
4211
4578
|
* // Do the magic
|
|
4212
|
-
* const res = await networkservices.projects.locations.
|
|
4213
|
-
* // Maximum number of
|
|
4579
|
+
* const res = await networkservices.projects.locations.endpointPolicies.list({
|
|
4580
|
+
* // Maximum number of EndpointPolicies to return per call.
|
|
4214
4581
|
* pageSize: 'placeholder-value',
|
|
4215
|
-
* // The value returned by the last `
|
|
4582
|
+
* // The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data.
|
|
4216
4583
|
* pageToken: 'placeholder-value',
|
|
4217
|
-
* // Required. The project and location from which the
|
|
4584
|
+
* // Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/x`.
|
|
4218
4585
|
* parent: 'projects/my-project/locations/my-location',
|
|
4586
|
+
* // Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
4587
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
4219
4588
|
* });
|
|
4220
4589
|
* console.log(res.data);
|
|
4221
4590
|
*
|
|
4222
4591
|
* // Example response
|
|
4223
4592
|
* // {
|
|
4224
|
-
* // "
|
|
4593
|
+
* // "endpointPolicies": [],
|
|
4225
4594
|
* // "nextPageToken": "my_nextPageToken",
|
|
4226
4595
|
* // "unreachable": []
|
|
4227
4596
|
* // }
|
|
@@ -4239,14 +4608,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4239
4608
|
* @param callback - Optional callback that handles the response.
|
|
4240
4609
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4241
4610
|
*/
|
|
4242
|
-
list(params: Params$Resource$Projects$Locations$
|
|
4243
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
4244
|
-
list(params: Params$Resource$Projects$Locations$
|
|
4245
|
-
list(params: Params$Resource$Projects$Locations$
|
|
4246
|
-
list(params: Params$Resource$Projects$Locations$
|
|
4247
|
-
list(callback: BodyResponseCallback<Schema$
|
|
4611
|
+
list(params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4612
|
+
list(params?: Params$Resource$Projects$Locations$Endpointpolicies$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListEndpointPoliciesResponse>>;
|
|
4613
|
+
list(params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4614
|
+
list(params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: MethodOptions | BodyResponseCallback<Schema$ListEndpointPoliciesResponse>, callback: BodyResponseCallback<Schema$ListEndpointPoliciesResponse>): void;
|
|
4615
|
+
list(params: Params$Resource$Projects$Locations$Endpointpolicies$List, callback: BodyResponseCallback<Schema$ListEndpointPoliciesResponse>): void;
|
|
4616
|
+
list(callback: BodyResponseCallback<Schema$ListEndpointPoliciesResponse>): void;
|
|
4248
4617
|
/**
|
|
4249
|
-
* Updates the parameters of a single
|
|
4618
|
+
* Updates the parameters of a single EndpointPolicy.
|
|
4250
4619
|
* @example
|
|
4251
4620
|
* ```js
|
|
4252
4621
|
* // Before running the sample:
|
|
@@ -4275,32 +4644,921 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4275
4644
|
* google.options({auth: authClient});
|
|
4276
4645
|
*
|
|
4277
4646
|
* // Do the magic
|
|
4278
|
-
* const res = await networkservices.projects.locations.
|
|
4279
|
-
* // Identifier. Name of the
|
|
4280
|
-
* name: 'projects/my-project/locations/my-location/
|
|
4281
|
-
* // Optional. Field mask is used to specify the fields to be overwritten in the
|
|
4647
|
+
* const res = await networkservices.projects.locations.endpointPolicies.patch({
|
|
4648
|
+
* // Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
|
|
4649
|
+
* name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
|
|
4650
|
+
* // Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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.
|
|
4282
4651
|
* updateMask: 'placeholder-value',
|
|
4283
4652
|
*
|
|
4284
4653
|
* // Request body metadata
|
|
4285
4654
|
* requestBody: {
|
|
4286
4655
|
* // request body parameters
|
|
4287
4656
|
* // {
|
|
4288
|
-
* // "
|
|
4289
|
-
* // "
|
|
4290
|
-
* // "allowGlobalAccess": false,
|
|
4291
|
-
* // "certificateUrls": [],
|
|
4657
|
+
* // "authorizationPolicy": "my_authorizationPolicy",
|
|
4658
|
+
* // "clientTlsPolicy": "my_clientTlsPolicy",
|
|
4292
4659
|
* // "createTime": "my_createTime",
|
|
4293
4660
|
* // "description": "my_description",
|
|
4294
|
-
* // "
|
|
4295
|
-
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
4296
|
-
* // "ipVersion": "my_ipVersion",
|
|
4661
|
+
* // "endpointMatcher": {},
|
|
4297
4662
|
* // "labels": {},
|
|
4298
4663
|
* // "name": "my_name",
|
|
4299
|
-
* // "
|
|
4300
|
-
* // "
|
|
4301
|
-
* // "
|
|
4302
|
-
* // "
|
|
4303
|
-
* // "
|
|
4664
|
+
* // "securityPolicy": "my_securityPolicy",
|
|
4665
|
+
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
4666
|
+
* // "trafficPortSelector": {},
|
|
4667
|
+
* // "type": "my_type",
|
|
4668
|
+
* // "updateTime": "my_updateTime"
|
|
4669
|
+
* // }
|
|
4670
|
+
* },
|
|
4671
|
+
* });
|
|
4672
|
+
* console.log(res.data);
|
|
4673
|
+
*
|
|
4674
|
+
* // Example response
|
|
4675
|
+
* // {
|
|
4676
|
+
* // "done": false,
|
|
4677
|
+
* // "error": {},
|
|
4678
|
+
* // "metadata": {},
|
|
4679
|
+
* // "name": "my_name",
|
|
4680
|
+
* // "response": {}
|
|
4681
|
+
* // }
|
|
4682
|
+
* }
|
|
4683
|
+
*
|
|
4684
|
+
* main().catch(e => {
|
|
4685
|
+
* console.error(e);
|
|
4686
|
+
* throw e;
|
|
4687
|
+
* });
|
|
4688
|
+
*
|
|
4689
|
+
* ```
|
|
4690
|
+
*
|
|
4691
|
+
* @param params - Parameters for request
|
|
4692
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4693
|
+
* @param callback - Optional callback that handles the response.
|
|
4694
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4695
|
+
*/
|
|
4696
|
+
patch(params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4697
|
+
patch(params?: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4698
|
+
patch(params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4699
|
+
patch(params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4700
|
+
patch(params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4701
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4702
|
+
}
|
|
4703
|
+
export interface Params$Resource$Projects$Locations$Endpointpolicies$Create extends StandardParameters {
|
|
4704
|
+
/**
|
|
4705
|
+
* Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
|
|
4706
|
+
*/
|
|
4707
|
+
endpointPolicyId?: string;
|
|
4708
|
+
/**
|
|
4709
|
+
* Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/x`.
|
|
4710
|
+
*/
|
|
4711
|
+
parent?: string;
|
|
4712
|
+
/**
|
|
4713
|
+
* Request body metadata
|
|
4714
|
+
*/
|
|
4715
|
+
requestBody?: Schema$EndpointPolicy;
|
|
4716
|
+
}
|
|
4717
|
+
export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete extends StandardParameters {
|
|
4718
|
+
/**
|
|
4719
|
+
* Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
|
|
4720
|
+
*/
|
|
4721
|
+
name?: string;
|
|
4722
|
+
}
|
|
4723
|
+
export interface Params$Resource$Projects$Locations$Endpointpolicies$Get extends StandardParameters {
|
|
4724
|
+
/**
|
|
4725
|
+
* Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
|
|
4726
|
+
*/
|
|
4727
|
+
name?: string;
|
|
4728
|
+
}
|
|
4729
|
+
export interface Params$Resource$Projects$Locations$Endpointpolicies$List extends StandardParameters {
|
|
4730
|
+
/**
|
|
4731
|
+
* Maximum number of EndpointPolicies to return per call.
|
|
4732
|
+
*/
|
|
4733
|
+
pageSize?: number;
|
|
4734
|
+
/**
|
|
4735
|
+
* The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data.
|
|
4736
|
+
*/
|
|
4737
|
+
pageToken?: string;
|
|
4738
|
+
/**
|
|
4739
|
+
* Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/x`.
|
|
4740
|
+
*/
|
|
4741
|
+
parent?: string;
|
|
4742
|
+
/**
|
|
4743
|
+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
|
|
4744
|
+
*/
|
|
4745
|
+
returnPartialSuccess?: boolean;
|
|
4746
|
+
}
|
|
4747
|
+
export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch extends StandardParameters {
|
|
4748
|
+
/**
|
|
4749
|
+
* Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
|
|
4750
|
+
*/
|
|
4751
|
+
name?: string;
|
|
4752
|
+
/**
|
|
4753
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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.
|
|
4754
|
+
*/
|
|
4755
|
+
updateMask?: string;
|
|
4756
|
+
/**
|
|
4757
|
+
* Request body metadata
|
|
4758
|
+
*/
|
|
4759
|
+
requestBody?: Schema$EndpointPolicy;
|
|
4760
|
+
}
|
|
4761
|
+
export class Resource$Projects$Locations$Extensionbindings {
|
|
4762
|
+
context: APIRequestContext;
|
|
4763
|
+
constructor(context: APIRequestContext);
|
|
4764
|
+
/**
|
|
4765
|
+
* Creates a new `ExtensionBinding` resource in a given project and location.
|
|
4766
|
+
* @example
|
|
4767
|
+
* ```js
|
|
4768
|
+
* // Before running the sample:
|
|
4769
|
+
* // - Enable the API at:
|
|
4770
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
4771
|
+
* // - Login into gcloud by running:
|
|
4772
|
+
* // ```sh
|
|
4773
|
+
* // $ gcloud auth application-default login
|
|
4774
|
+
* // ```
|
|
4775
|
+
* // - Install the npm module by running:
|
|
4776
|
+
* // ```sh
|
|
4777
|
+
* // $ npm install googleapis
|
|
4778
|
+
* // ```
|
|
4779
|
+
*
|
|
4780
|
+
* const {google} = require('googleapis');
|
|
4781
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
4782
|
+
*
|
|
4783
|
+
* async function main() {
|
|
4784
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4785
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4786
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
4787
|
+
* });
|
|
4788
|
+
*
|
|
4789
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4790
|
+
* const authClient = await auth.getClient();
|
|
4791
|
+
* google.options({auth: authClient});
|
|
4792
|
+
*
|
|
4793
|
+
* // Do the magic
|
|
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',
|
|
4800
|
+
*
|
|
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
|
+
* },
|
|
4819
|
+
* },
|
|
4820
|
+
* );
|
|
4821
|
+
* console.log(res.data);
|
|
4822
|
+
*
|
|
4823
|
+
* // Example response
|
|
4824
|
+
* // {
|
|
4825
|
+
* // "done": false,
|
|
4826
|
+
* // "error": {},
|
|
4827
|
+
* // "metadata": {},
|
|
4828
|
+
* // "name": "my_name",
|
|
4829
|
+
* // "response": {}
|
|
4830
|
+
* // }
|
|
4831
|
+
* }
|
|
4832
|
+
*
|
|
4833
|
+
* main().catch(e => {
|
|
4834
|
+
* console.error(e);
|
|
4835
|
+
* throw e;
|
|
4836
|
+
* });
|
|
4837
|
+
*
|
|
4838
|
+
* ```
|
|
4839
|
+
*
|
|
4840
|
+
* @param params - Parameters for request
|
|
4841
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4842
|
+
* @param callback - Optional callback that handles the response.
|
|
4843
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4844
|
+
*/
|
|
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;
|
|
4850
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4851
|
+
/**
|
|
4852
|
+
* Deletes the specified `ExtensionBinding` resource.
|
|
4853
|
+
* @example
|
|
4854
|
+
* ```js
|
|
4855
|
+
* // Before running the sample:
|
|
4856
|
+
* // - Enable the API at:
|
|
4857
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
4858
|
+
* // - Login into gcloud by running:
|
|
4859
|
+
* // ```sh
|
|
4860
|
+
* // $ gcloud auth application-default login
|
|
4861
|
+
* // ```
|
|
4862
|
+
* // - Install the npm module by running:
|
|
4863
|
+
* // ```sh
|
|
4864
|
+
* // $ npm install googleapis
|
|
4865
|
+
* // ```
|
|
4866
|
+
*
|
|
4867
|
+
* const {google} = require('googleapis');
|
|
4868
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
4869
|
+
*
|
|
4870
|
+
* async function main() {
|
|
4871
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4872
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4873
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
4874
|
+
* });
|
|
4875
|
+
*
|
|
4876
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4877
|
+
* const authClient = await auth.getClient();
|
|
4878
|
+
* google.options({auth: authClient});
|
|
4879
|
+
*
|
|
4880
|
+
* // Do the magic
|
|
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
|
+
* );
|
|
4889
|
+
* console.log(res.data);
|
|
4890
|
+
*
|
|
4891
|
+
* // Example response
|
|
4892
|
+
* // {
|
|
4893
|
+
* // "done": false,
|
|
4894
|
+
* // "error": {},
|
|
4895
|
+
* // "metadata": {},
|
|
4896
|
+
* // "name": "my_name",
|
|
4897
|
+
* // "response": {}
|
|
4898
|
+
* // }
|
|
4899
|
+
* }
|
|
4900
|
+
*
|
|
4901
|
+
* main().catch(e => {
|
|
4902
|
+
* console.error(e);
|
|
4903
|
+
* throw e;
|
|
4904
|
+
* });
|
|
4905
|
+
*
|
|
4906
|
+
* ```
|
|
4907
|
+
*
|
|
4908
|
+
* @param params - Parameters for request
|
|
4909
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4910
|
+
* @param callback - Optional callback that handles the response.
|
|
4911
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4912
|
+
*/
|
|
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;
|
|
4918
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4919
|
+
/**
|
|
4920
|
+
* Gets details of the specified `ExtensionBinding` resource.
|
|
4921
|
+
* @example
|
|
4922
|
+
* ```js
|
|
4923
|
+
* // Before running the sample:
|
|
4924
|
+
* // - Enable the API at:
|
|
4925
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
4926
|
+
* // - Login into gcloud by running:
|
|
4927
|
+
* // ```sh
|
|
4928
|
+
* // $ gcloud auth application-default login
|
|
4929
|
+
* // ```
|
|
4930
|
+
* // - Install the npm module by running:
|
|
4931
|
+
* // ```sh
|
|
4932
|
+
* // $ npm install googleapis
|
|
4933
|
+
* // ```
|
|
4934
|
+
*
|
|
4935
|
+
* const {google} = require('googleapis');
|
|
4936
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
4937
|
+
*
|
|
4938
|
+
* async function main() {
|
|
4939
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4940
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4941
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
4942
|
+
* });
|
|
4943
|
+
*
|
|
4944
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4945
|
+
* const authClient = await auth.getClient();
|
|
4946
|
+
* google.options({auth: authClient});
|
|
4947
|
+
*
|
|
4948
|
+
* // Do the magic
|
|
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',
|
|
4952
|
+
* });
|
|
4953
|
+
* console.log(res.data);
|
|
4954
|
+
*
|
|
4955
|
+
* // Example response
|
|
4956
|
+
* // {
|
|
4957
|
+
* // "createTime": "my_createTime",
|
|
4958
|
+
* // "description": "my_description",
|
|
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",
|
|
5406
|
+
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
5407
|
+
* // "ipVersion": "my_ipVersion",
|
|
5408
|
+
* // "labels": {},
|
|
5409
|
+
* // "name": "my_name",
|
|
5410
|
+
* // "network": "my_network",
|
|
5411
|
+
* // "ports": [],
|
|
5412
|
+
* // "routingMode": "my_routingMode",
|
|
5413
|
+
* // "scope": "my_scope",
|
|
5414
|
+
* // "selfLink": "my_selfLink",
|
|
5415
|
+
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
5416
|
+
* // "subnetwork": "my_subnetwork",
|
|
5417
|
+
* // "type": "my_type",
|
|
5418
|
+
* // "updateTime": "my_updateTime"
|
|
5419
|
+
* // }
|
|
5420
|
+
* }
|
|
5421
|
+
*
|
|
5422
|
+
* main().catch(e => {
|
|
5423
|
+
* console.error(e);
|
|
5424
|
+
* throw e;
|
|
5425
|
+
* });
|
|
5426
|
+
*
|
|
5427
|
+
* ```
|
|
5428
|
+
*
|
|
5429
|
+
* @param params - Parameters for request
|
|
5430
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5431
|
+
* @param callback - Optional callback that handles the response.
|
|
5432
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5433
|
+
*/
|
|
5434
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5435
|
+
get(params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Gateway>>;
|
|
5436
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5437
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Get, options: MethodOptions | BodyResponseCallback<Schema$Gateway>, callback: BodyResponseCallback<Schema$Gateway>): void;
|
|
5438
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Get, callback: BodyResponseCallback<Schema$Gateway>): void;
|
|
5439
|
+
get(callback: BodyResponseCallback<Schema$Gateway>): void;
|
|
5440
|
+
/**
|
|
5441
|
+
* Lists Gateways in a given project and location.
|
|
5442
|
+
* @example
|
|
5443
|
+
* ```js
|
|
5444
|
+
* // Before running the sample:
|
|
5445
|
+
* // - Enable the API at:
|
|
5446
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
5447
|
+
* // - Login into gcloud by running:
|
|
5448
|
+
* // ```sh
|
|
5449
|
+
* // $ gcloud auth application-default login
|
|
5450
|
+
* // ```
|
|
5451
|
+
* // - Install the npm module by running:
|
|
5452
|
+
* // ```sh
|
|
5453
|
+
* // $ npm install googleapis
|
|
5454
|
+
* // ```
|
|
5455
|
+
*
|
|
5456
|
+
* const {google} = require('googleapis');
|
|
5457
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5458
|
+
*
|
|
5459
|
+
* async function main() {
|
|
5460
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5461
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5462
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5463
|
+
* });
|
|
5464
|
+
*
|
|
5465
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5466
|
+
* const authClient = await auth.getClient();
|
|
5467
|
+
* google.options({auth: authClient});
|
|
5468
|
+
*
|
|
5469
|
+
* // Do the magic
|
|
5470
|
+
* const res = await networkservices.projects.locations.gateways.list({
|
|
5471
|
+
* // Maximum number of Gateways to return per call.
|
|
5472
|
+
* pageSize: 'placeholder-value',
|
|
5473
|
+
* // The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data.
|
|
5474
|
+
* pageToken: 'placeholder-value',
|
|
5475
|
+
* // Required. The project and location from which the Gateways should be listed, specified in the format `projects/x/locations/x`.
|
|
5476
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
5477
|
+
* });
|
|
5478
|
+
* console.log(res.data);
|
|
5479
|
+
*
|
|
5480
|
+
* // Example response
|
|
5481
|
+
* // {
|
|
5482
|
+
* // "gateways": [],
|
|
5483
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5484
|
+
* // "unreachable": []
|
|
5485
|
+
* // }
|
|
5486
|
+
* }
|
|
5487
|
+
*
|
|
5488
|
+
* main().catch(e => {
|
|
5489
|
+
* console.error(e);
|
|
5490
|
+
* throw e;
|
|
5491
|
+
* });
|
|
5492
|
+
*
|
|
5493
|
+
* ```
|
|
5494
|
+
*
|
|
5495
|
+
* @param params - Parameters for request
|
|
5496
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5497
|
+
* @param callback - Optional callback that handles the response.
|
|
5498
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5499
|
+
*/
|
|
5500
|
+
list(params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5501
|
+
list(params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListGatewaysResponse>>;
|
|
5502
|
+
list(params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5503
|
+
list(params: Params$Resource$Projects$Locations$Gateways$List, options: MethodOptions | BodyResponseCallback<Schema$ListGatewaysResponse>, callback: BodyResponseCallback<Schema$ListGatewaysResponse>): void;
|
|
5504
|
+
list(params: Params$Resource$Projects$Locations$Gateways$List, callback: BodyResponseCallback<Schema$ListGatewaysResponse>): void;
|
|
5505
|
+
list(callback: BodyResponseCallback<Schema$ListGatewaysResponse>): void;
|
|
5506
|
+
/**
|
|
5507
|
+
* Updates the parameters of a single Gateway.
|
|
5508
|
+
* @example
|
|
5509
|
+
* ```js
|
|
5510
|
+
* // Before running the sample:
|
|
5511
|
+
* // - Enable the API at:
|
|
5512
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
5513
|
+
* // - Login into gcloud by running:
|
|
5514
|
+
* // ```sh
|
|
5515
|
+
* // $ gcloud auth application-default login
|
|
5516
|
+
* // ```
|
|
5517
|
+
* // - Install the npm module by running:
|
|
5518
|
+
* // ```sh
|
|
5519
|
+
* // $ npm install googleapis
|
|
5520
|
+
* // ```
|
|
5521
|
+
*
|
|
5522
|
+
* const {google} = require('googleapis');
|
|
5523
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
5524
|
+
*
|
|
5525
|
+
* async function main() {
|
|
5526
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5527
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5528
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
5529
|
+
* });
|
|
5530
|
+
*
|
|
5531
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5532
|
+
* const authClient = await auth.getClient();
|
|
5533
|
+
* google.options({auth: authClient});
|
|
5534
|
+
*
|
|
5535
|
+
* // Do the magic
|
|
5536
|
+
* const res = await networkservices.projects.locations.gateways.patch({
|
|
5537
|
+
* // Identifier. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`.
|
|
5538
|
+
* name: 'projects/my-project/locations/my-location/gateways/my-gateway',
|
|
5539
|
+
* // Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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.
|
|
5540
|
+
* updateMask: 'placeholder-value',
|
|
5541
|
+
*
|
|
5542
|
+
* // Request body metadata
|
|
5543
|
+
* requestBody: {
|
|
5544
|
+
* // request body parameters
|
|
5545
|
+
* // {
|
|
5546
|
+
* // "addresses": [],
|
|
5547
|
+
* // "allPorts": false,
|
|
5548
|
+
* // "allowGlobalAccess": false,
|
|
5549
|
+
* // "certificateUrls": [],
|
|
5550
|
+
* // "createTime": "my_createTime",
|
|
5551
|
+
* // "description": "my_description",
|
|
5552
|
+
* // "envoyHeaders": "my_envoyHeaders",
|
|
5553
|
+
* // "gatewaySecurityPolicy": "my_gatewaySecurityPolicy",
|
|
5554
|
+
* // "ipVersion": "my_ipVersion",
|
|
5555
|
+
* // "labels": {},
|
|
5556
|
+
* // "name": "my_name",
|
|
5557
|
+
* // "network": "my_network",
|
|
5558
|
+
* // "ports": [],
|
|
5559
|
+
* // "routingMode": "my_routingMode",
|
|
5560
|
+
* // "scope": "my_scope",
|
|
5561
|
+
* // "selfLink": "my_selfLink",
|
|
4304
5562
|
* // "serverTlsPolicy": "my_serverTlsPolicy",
|
|
4305
5563
|
* // "subnetwork": "my_subnetwork",
|
|
4306
5564
|
* // "type": "my_type",
|
|
@@ -7644,13 +8902,289 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7644
8902
|
/**
|
|
7645
8903
|
* Request body metadata
|
|
7646
8904
|
*/
|
|
7647
|
-
requestBody?: Schema$Mesh;
|
|
7648
|
-
}
|
|
7649
|
-
export class Resource$Projects$Locations$Meshes$Routeviews {
|
|
7650
|
-
context: APIRequestContext;
|
|
7651
|
-
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;
|
|
7652
9186
|
/**
|
|
7653
|
-
*
|
|
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.
|
|
7654
9188
|
* @example
|
|
7655
9189
|
* ```js
|
|
7656
9190
|
* // Before running the sample:
|
|
@@ -7679,19 +9213,19 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7679
9213
|
* google.options({auth: authClient});
|
|
7680
9214
|
*
|
|
7681
9215
|
* // Do the magic
|
|
7682
|
-
* const res = await networkservices.projects.locations.
|
|
7683
|
-
* //
|
|
7684
|
-
* 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',
|
|
7685
9219
|
* });
|
|
7686
9220
|
* console.log(res.data);
|
|
7687
9221
|
*
|
|
7688
9222
|
* // Example response
|
|
7689
9223
|
* // {
|
|
9224
|
+
* // "done": false,
|
|
9225
|
+
* // "error": {},
|
|
9226
|
+
* // "metadata": {},
|
|
7690
9227
|
* // "name": "my_name",
|
|
7691
|
-
* // "
|
|
7692
|
-
* // "routeLocation": "my_routeLocation",
|
|
7693
|
-
* // "routeProjectNumber": "my_routeProjectNumber",
|
|
7694
|
-
* // "routeType": "my_routeType"
|
|
9228
|
+
* // "response": {}
|
|
7695
9229
|
* // }
|
|
7696
9230
|
* }
|
|
7697
9231
|
*
|
|
@@ -7707,14 +9241,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7707
9241
|
* @param callback - Optional callback that handles the response.
|
|
7708
9242
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7709
9243
|
*/
|
|
7710
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7711
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
7712
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7713
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7714
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7715
|
-
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;
|
|
7716
9250
|
/**
|
|
7717
|
-
* Lists
|
|
9251
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
7718
9252
|
* @example
|
|
7719
9253
|
* ```js
|
|
7720
9254
|
* // Before running the sample:
|
|
@@ -7743,20 +9277,24 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7743
9277
|
* google.options({auth: authClient});
|
|
7744
9278
|
*
|
|
7745
9279
|
* // Do the magic
|
|
7746
|
-
* const res = await networkservices.projects.locations.
|
|
7747
|
-
* //
|
|
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.
|
|
7748
9286
|
* pageSize: 'placeholder-value',
|
|
7749
|
-
* // The
|
|
9287
|
+
* // The standard list page token.
|
|
7750
9288
|
* pageToken: 'placeholder-value',
|
|
7751
|
-
* //
|
|
7752
|
-
*
|
|
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',
|
|
7753
9291
|
* });
|
|
7754
9292
|
* console.log(res.data);
|
|
7755
9293
|
*
|
|
7756
9294
|
* // Example response
|
|
7757
9295
|
* // {
|
|
7758
|
-
* // "meshRouteViews": [],
|
|
7759
9296
|
* // "nextPageToken": "my_nextPageToken",
|
|
9297
|
+
* // "operations": [],
|
|
7760
9298
|
* // "unreachable": []
|
|
7761
9299
|
* // }
|
|
7762
9300
|
* }
|
|
@@ -7773,38 +9311,62 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7773
9311
|
* @param callback - Optional callback that handles the response.
|
|
7774
9312
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7775
9313
|
*/
|
|
7776
|
-
list(params: Params$Resource$Projects$Locations$
|
|
7777
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
7778
|
-
list(params: Params$Resource$Projects$Locations$
|
|
7779
|
-
list(params: Params$Resource$Projects$Locations$
|
|
7780
|
-
list(params: Params$Resource$Projects$Locations$
|
|
7781
|
-
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;
|
|
7782
9320
|
}
|
|
7783
|
-
export interface Params$Resource$Projects$Locations$
|
|
9321
|
+
export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
|
|
7784
9322
|
/**
|
|
7785
|
-
*
|
|
9323
|
+
* The name of the operation resource to be cancelled.
|
|
7786
9324
|
*/
|
|
7787
9325
|
name?: string;
|
|
9326
|
+
/**
|
|
9327
|
+
* Request body metadata
|
|
9328
|
+
*/
|
|
9329
|
+
requestBody?: Schema$CancelOperationRequest;
|
|
7788
9330
|
}
|
|
7789
|
-
export interface Params$Resource$Projects$Locations$
|
|
9331
|
+
export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
|
|
7790
9332
|
/**
|
|
7791
|
-
*
|
|
9333
|
+
* The name of the operation resource to be deleted.
|
|
9334
|
+
*/
|
|
9335
|
+
name?: string;
|
|
9336
|
+
}
|
|
9337
|
+
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
|
|
9338
|
+
/**
|
|
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.
|
|
7792
9354
|
*/
|
|
7793
9355
|
pageSize?: number;
|
|
7794
9356
|
/**
|
|
7795
|
-
* The
|
|
9357
|
+
* The standard list page token.
|
|
7796
9358
|
*/
|
|
7797
9359
|
pageToken?: string;
|
|
7798
9360
|
/**
|
|
7799
|
-
*
|
|
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.
|
|
7800
9362
|
*/
|
|
7801
|
-
|
|
9363
|
+
returnPartialSuccess?: boolean;
|
|
7802
9364
|
}
|
|
7803
|
-
export class Resource$Projects$Locations$
|
|
9365
|
+
export class Resource$Projects$Locations$Producerextensions {
|
|
7804
9366
|
context: APIRequestContext;
|
|
7805
9367
|
constructor(context: APIRequestContext);
|
|
7806
9368
|
/**
|
|
7807
|
-
*
|
|
9369
|
+
* Creates a new `ProducerExtension` resource in a given project and location.
|
|
7808
9370
|
* @example
|
|
7809
9371
|
* ```js
|
|
7810
9372
|
* // Before running the sample:
|
|
@@ -7833,20 +9395,38 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7833
9395
|
* google.options({auth: authClient});
|
|
7834
9396
|
*
|
|
7835
9397
|
* // Do the magic
|
|
7836
|
-
* const res =
|
|
7837
|
-
*
|
|
7838
|
-
*
|
|
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',
|
|
7839
9404
|
*
|
|
7840
|
-
*
|
|
7841
|
-
*
|
|
7842
|
-
*
|
|
7843
|
-
*
|
|
7844
|
-
*
|
|
7845
|
-
*
|
|
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
|
+
* });
|
|
7846
9420
|
* console.log(res.data);
|
|
7847
9421
|
*
|
|
7848
9422
|
* // Example response
|
|
7849
|
-
* // {
|
|
9423
|
+
* // {
|
|
9424
|
+
* // "done": false,
|
|
9425
|
+
* // "error": {},
|
|
9426
|
+
* // "metadata": {},
|
|
9427
|
+
* // "name": "my_name",
|
|
9428
|
+
* // "response": {}
|
|
9429
|
+
* // }
|
|
7850
9430
|
* }
|
|
7851
9431
|
*
|
|
7852
9432
|
* main().catch(e => {
|
|
@@ -7861,14 +9441,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7861
9441
|
* @param callback - Optional callback that handles the response.
|
|
7862
9442
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7863
9443
|
*/
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
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;
|
|
7870
9450
|
/**
|
|
7871
|
-
* Deletes
|
|
9451
|
+
* Deletes the specified `ProducerExtension` resource.
|
|
7872
9452
|
* @example
|
|
7873
9453
|
* ```js
|
|
7874
9454
|
* // Before running the sample:
|
|
@@ -7897,14 +9477,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7897
9477
|
* google.options({auth: authClient});
|
|
7898
9478
|
*
|
|
7899
9479
|
* // Do the magic
|
|
7900
|
-
* const res =
|
|
7901
|
-
*
|
|
7902
|
-
*
|
|
7903
|
-
*
|
|
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
|
+
* });
|
|
7904
9487
|
* console.log(res.data);
|
|
7905
9488
|
*
|
|
7906
9489
|
* // Example response
|
|
7907
|
-
* // {
|
|
9490
|
+
* // {
|
|
9491
|
+
* // "done": false,
|
|
9492
|
+
* // "error": {},
|
|
9493
|
+
* // "metadata": {},
|
|
9494
|
+
* // "name": "my_name",
|
|
9495
|
+
* // "response": {}
|
|
9496
|
+
* // }
|
|
7908
9497
|
* }
|
|
7909
9498
|
*
|
|
7910
9499
|
* main().catch(e => {
|
|
@@ -7919,14 +9508,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7919
9508
|
* @param callback - Optional callback that handles the response.
|
|
7920
9509
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7921
9510
|
*/
|
|
7922
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
7923
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
7924
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
7925
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
7926
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
7927
|
-
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;
|
|
7928
9517
|
/**
|
|
7929
|
-
* Gets
|
|
9518
|
+
* Gets details of the specified `ProducerExtension` resource.
|
|
7930
9519
|
* @example
|
|
7931
9520
|
* ```js
|
|
7932
9521
|
* // Before running the sample:
|
|
@@ -7955,19 +9544,22 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7955
9544
|
* google.options({auth: authClient});
|
|
7956
9545
|
*
|
|
7957
9546
|
* // Do the magic
|
|
7958
|
-
* const res = await networkservices.projects.locations.
|
|
7959
|
-
* //
|
|
7960
|
-
* 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',
|
|
7961
9550
|
* });
|
|
7962
9551
|
* console.log(res.data);
|
|
7963
9552
|
*
|
|
7964
9553
|
* // Example response
|
|
7965
9554
|
* // {
|
|
7966
|
-
* // "
|
|
7967
|
-
* // "
|
|
7968
|
-
* // "
|
|
9555
|
+
* // "createTime": "my_createTime",
|
|
9556
|
+
* // "description": "my_description",
|
|
9557
|
+
* // "etag": "my_etag",
|
|
9558
|
+
* // "extensionSettings": {},
|
|
9559
|
+
* // "labels": {},
|
|
7969
9560
|
* // "name": "my_name",
|
|
7970
|
-
* // "
|
|
9561
|
+
* // "phase": "my_phase",
|
|
9562
|
+
* // "updateTime": "my_updateTime"
|
|
7971
9563
|
* // }
|
|
7972
9564
|
* }
|
|
7973
9565
|
*
|
|
@@ -7983,14 +9575,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
7983
9575
|
* @param callback - Optional callback that handles the response.
|
|
7984
9576
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7985
9577
|
*/
|
|
7986
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7987
|
-
get(params?: Params$Resource$Projects$Locations$
|
|
7988
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7989
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7990
|
-
get(params: Params$Resource$Projects$Locations$
|
|
7991
|
-
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;
|
|
7992
9584
|
/**
|
|
7993
|
-
* Lists
|
|
9585
|
+
* Lists `ProducerExtension` resources in a given project and location.
|
|
7994
9586
|
* @example
|
|
7995
9587
|
* ```js
|
|
7996
9588
|
* // Before running the sample:
|
|
@@ -8019,24 +9611,20 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8019
9611
|
* google.options({auth: authClient});
|
|
8020
9612
|
*
|
|
8021
9613
|
* // Do the magic
|
|
8022
|
-
* const res = await networkservices.projects.locations.
|
|
8023
|
-
* //
|
|
8024
|
-
* filter: 'placeholder-value',
|
|
8025
|
-
* // The name of the operation's parent resource.
|
|
8026
|
-
* name: 'projects/my-project/locations/my-location',
|
|
8027
|
-
* // 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.
|
|
8028
9616
|
* pageSize: 'placeholder-value',
|
|
8029
|
-
* // 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.
|
|
8030
9618
|
* pageToken: 'placeholder-value',
|
|
8031
|
-
* //
|
|
8032
|
-
*
|
|
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',
|
|
8033
9621
|
* });
|
|
8034
9622
|
* console.log(res.data);
|
|
8035
9623
|
*
|
|
8036
9624
|
* // Example response
|
|
8037
9625
|
* // {
|
|
8038
9626
|
* // "nextPageToken": "my_nextPageToken",
|
|
8039
|
-
* // "
|
|
9627
|
+
* // "producerExtensions": [],
|
|
8040
9628
|
* // "unreachable": []
|
|
8041
9629
|
* // }
|
|
8042
9630
|
* }
|
|
@@ -8053,56 +9641,56 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8053
9641
|
* @param callback - Optional callback that handles the response.
|
|
8054
9642
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8055
9643
|
*/
|
|
8056
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8057
|
-
list(params?: Params$Resource$Projects$Locations$
|
|
8058
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8059
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8060
|
-
list(params: Params$Resource$Projects$Locations$
|
|
8061
|
-
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;
|
|
8062
9650
|
}
|
|
8063
|
-
export interface Params$Resource$Projects$Locations$
|
|
9651
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$Create extends StandardParameters {
|
|
8064
9652
|
/**
|
|
8065
|
-
* The
|
|
9653
|
+
* Required. The parent resource of the `ProducerExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
8066
9654
|
*/
|
|
8067
|
-
|
|
9655
|
+
parent?: string;
|
|
9656
|
+
/**
|
|
9657
|
+
* Required. Short name of the `ProducerExtension` resource to be created.
|
|
9658
|
+
*/
|
|
9659
|
+
producerExtensionId?: string;
|
|
8068
9660
|
/**
|
|
8069
9661
|
* Request body metadata
|
|
8070
9662
|
*/
|
|
8071
|
-
requestBody?: Schema$
|
|
9663
|
+
requestBody?: Schema$ProducerExtension;
|
|
8072
9664
|
}
|
|
8073
|
-
export interface Params$Resource$Projects$Locations$
|
|
9665
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$Delete extends StandardParameters {
|
|
8074
9666
|
/**
|
|
8075
|
-
* The
|
|
9667
|
+
* Optional. The etag of the ProducerExtension to delete.
|
|
8076
9668
|
*/
|
|
8077
|
-
|
|
8078
|
-
}
|
|
8079
|
-
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
|
|
9669
|
+
etag?: string;
|
|
8080
9670
|
/**
|
|
8081
|
-
*
|
|
9671
|
+
* Required. A name of the `ProducerExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
8082
9672
|
*/
|
|
8083
9673
|
name?: string;
|
|
8084
9674
|
}
|
|
8085
|
-
export interface Params$Resource$Projects$Locations$
|
|
8086
|
-
/**
|
|
8087
|
-
* The standard list filter.
|
|
8088
|
-
*/
|
|
8089
|
-
filter?: string;
|
|
9675
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$Get extends StandardParameters {
|
|
8090
9676
|
/**
|
|
8091
|
-
*
|
|
9677
|
+
* Required. A name of the `ProducerExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/producerExtensions/{producer_extension\}`.
|
|
8092
9678
|
*/
|
|
8093
9679
|
name?: string;
|
|
9680
|
+
}
|
|
9681
|
+
export interface Params$Resource$Projects$Locations$Producerextensions$List extends StandardParameters {
|
|
8094
9682
|
/**
|
|
8095
|
-
*
|
|
9683
|
+
* Optional. Maximum number of `ProducerExtension` resources to return per call.
|
|
8096
9684
|
*/
|
|
8097
9685
|
pageSize?: number;
|
|
8098
9686
|
/**
|
|
8099
|
-
* 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.
|
|
8100
9688
|
*/
|
|
8101
9689
|
pageToken?: string;
|
|
8102
9690
|
/**
|
|
8103
|
-
*
|
|
9691
|
+
* Required. The project and location from which the `ProducerExtension` resources should be listed, specified in the format `projects/{project\}/locations/{location\}`.
|
|
8104
9692
|
*/
|
|
8105
|
-
|
|
9693
|
+
parent?: string;
|
|
8106
9694
|
}
|
|
8107
9695
|
export class Resource$Projects$Locations$Servicebindings {
|
|
8108
9696
|
context: APIRequestContext;
|