@googleapis/networkservices 32.1.0 → 33.0.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 +19 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +50 -6
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +640 -8
- package/build/v1beta1.js +169 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +50 -6
- package/v1beta1.ts +1099 -75
package/build/v1beta1.d.ts
CHANGED
|
@@ -70,12 +70,141 @@ export declare namespace networkservices_v1beta1 {
|
|
|
70
70
|
projects: Resource$Projects;
|
|
71
71
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* AgentGateway represents the agent gateway resource.
|
|
75
|
+
*/
|
|
76
|
+
export interface Schema$AgentGateway {
|
|
77
|
+
/**
|
|
78
|
+
* Output only. Field for populated AgentGateway card.
|
|
79
|
+
*/
|
|
80
|
+
agentGatewayCard?: Schema$AgentGatewayAgentGatewayOutputCard;
|
|
81
|
+
/**
|
|
82
|
+
* Output only. The timestamp when the resource was created.
|
|
83
|
+
*/
|
|
84
|
+
createTime?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
87
|
+
*/
|
|
88
|
+
description?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* 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.
|
|
91
|
+
*/
|
|
92
|
+
etag?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant project.
|
|
95
|
+
*/
|
|
96
|
+
googleManaged?: Schema$AgentGatewayGoogleManaged;
|
|
97
|
+
/**
|
|
98
|
+
* Optional. Set of label tags associated with the AgentGateway resource.
|
|
99
|
+
*/
|
|
100
|
+
labels?: {
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
} | null;
|
|
103
|
+
/**
|
|
104
|
+
* Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
|
|
105
|
+
*/
|
|
106
|
+
name?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Optional. Network configuration for the AgentGateway.
|
|
109
|
+
*/
|
|
110
|
+
networkConfig?: Schema$AgentGatewayNetworkConfig;
|
|
111
|
+
/**
|
|
112
|
+
* Required. List of protocols supported by an Agent Gateway
|
|
113
|
+
*/
|
|
114
|
+
protocols?: string[] | null;
|
|
115
|
+
/**
|
|
116
|
+
* Optional. A list of Agent registries containing the agents, MCP servers and tools governed by the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format `//agentregistry.googleapis.com/projects/{project\}/locations/{location\}/
|
|
117
|
+
*/
|
|
118
|
+
registries?: string[] | null;
|
|
119
|
+
/**
|
|
120
|
+
* Optional. Attach to existing Application Load Balancers or Secure Web Proxies.
|
|
121
|
+
*/
|
|
122
|
+
selfManaged?: Schema$AgentGatewaySelfManaged;
|
|
123
|
+
/**
|
|
124
|
+
* Output only. The timestamp when the resource was updated.
|
|
125
|
+
*/
|
|
126
|
+
updateTime?: string | null;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* AgentGatewayOutputCard contains informational output-only fields
|
|
130
|
+
*/
|
|
131
|
+
export interface Schema$AgentGatewayAgentGatewayOutputCard {
|
|
132
|
+
/**
|
|
133
|
+
* Output only. mTLS Endpoint associated with this AgentGateway
|
|
134
|
+
*/
|
|
135
|
+
mtlsEndpoint?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* Output only. Root Certificates for Agents to validate this AgentGateway
|
|
138
|
+
*/
|
|
139
|
+
rootCertificates?: string[] | null;
|
|
140
|
+
/**
|
|
141
|
+
* Output only. Service Account used by Service Extensions to operate.
|
|
142
|
+
*/
|
|
143
|
+
serviceExtensionsServiceAccount?: string | null;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Configuration for Google Managed deployment mode. Proxy is orchestrated and managed by GoogleCloud in a tenant project.
|
|
147
|
+
*/
|
|
148
|
+
export interface Schema$AgentGatewayGoogleManaged {
|
|
149
|
+
/**
|
|
150
|
+
* Optional. Operating Mode of Agent Gateway.
|
|
151
|
+
*/
|
|
152
|
+
governedAccessPath?: string | null;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* NetworkConfig contains network configurations for the AgentGateway.
|
|
156
|
+
*/
|
|
157
|
+
export interface Schema$AgentGatewayNetworkConfig {
|
|
158
|
+
/**
|
|
159
|
+
* Optional. Optional DNS peering configuration for connectivity to your private VPC network.
|
|
160
|
+
*/
|
|
161
|
+
dnsPeeringConfig?: Schema$AgentGatewayNetworkConfigDnsPeeringConfig;
|
|
162
|
+
/**
|
|
163
|
+
* Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.
|
|
164
|
+
*/
|
|
165
|
+
egress?: Schema$AgentGatewayNetworkConfigEgress;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* DNS peering config for the user VPC network.
|
|
169
|
+
*/
|
|
170
|
+
export interface Schema$AgentGatewayNetworkConfigDnsPeeringConfig {
|
|
171
|
+
/**
|
|
172
|
+
* Required. Domain names for which DNS queries should be forwarded to the target network.
|
|
173
|
+
*/
|
|
174
|
+
domains?: string[] | null;
|
|
175
|
+
/**
|
|
176
|
+
* Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of `projects/{project\}/global/networks/{network\}`.
|
|
177
|
+
*/
|
|
178
|
+
targetNetwork?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.
|
|
181
|
+
*/
|
|
182
|
+
targetProject?: string | null;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Configuration for Egress
|
|
186
|
+
*/
|
|
187
|
+
export interface Schema$AgentGatewayNetworkConfigEgress {
|
|
188
|
+
/**
|
|
189
|
+
* Optional. The URI of the Network Attachment resource.
|
|
190
|
+
*/
|
|
191
|
+
networkAttachment?: string | null;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Configuration for Self Managed deployment mode. Attach to existing Application Load Balancers or Secure Web Proxies.
|
|
195
|
+
*/
|
|
196
|
+
export interface Schema$AgentGatewaySelfManaged {
|
|
197
|
+
/**
|
|
198
|
+
* Optional. A supported Google Cloud networking proxy in the Project and Location
|
|
199
|
+
*/
|
|
200
|
+
resourceUri?: string | null;
|
|
201
|
+
}
|
|
73
202
|
/**
|
|
74
203
|
* `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.
|
|
75
204
|
*/
|
|
76
205
|
export interface Schema$AuthzExtension {
|
|
77
206
|
/**
|
|
78
|
-
*
|
|
207
|
+
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin.
|
|
79
208
|
*/
|
|
80
209
|
authority?: string | null;
|
|
81
210
|
/**
|
|
@@ -90,6 +219,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
90
219
|
* Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset.
|
|
91
220
|
*/
|
|
92
221
|
failOpen?: boolean | null;
|
|
222
|
+
/**
|
|
223
|
+
* Optional. List of the Envoy attributes to forward to the extension server. The attributes provided here are included as part of the `ProcessingRequest.attributes` field (of type `map`), where the keys are the attribute names. Refer to the [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes) for the names of attributes that can be forwarded. If omitted, no attributes are sent. Each element is a string indicating the attribute name.
|
|
224
|
+
*/
|
|
225
|
+
forwardAttributes?: string[] | null;
|
|
93
226
|
/**
|
|
94
227
|
* Optional. List of the HTTP headers to forward to the extension (from the client). If omitted, all headers are sent. Each element is a string indicating the header name.
|
|
95
228
|
*/
|
|
@@ -101,7 +234,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
101
234
|
[key: string]: string;
|
|
102
235
|
} | null;
|
|
103
236
|
/**
|
|
104
|
-
*
|
|
237
|
+
* Optional. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. Can be omitted for AuthzExtensions that do not reference a backend service. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
105
238
|
*/
|
|
106
239
|
loadBalancingScheme?: string | null;
|
|
107
240
|
/**
|
|
@@ -238,6 +371,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
238
371
|
* Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset.
|
|
239
372
|
*/
|
|
240
373
|
failOpen?: boolean | null;
|
|
374
|
+
/**
|
|
375
|
+
* Optional. List of the Envoy attributes to forward to the extension server. The attributes provided here are included as part of the `ProcessingRequest.attributes` field (of type `map`), where the keys are the attribute names. Refer to the [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes) for the names of attributes that can be forwarded. If omitted, no attributes are sent. Each element is a string indicating the attribute name.
|
|
376
|
+
*/
|
|
377
|
+
forwardAttributes?: string[] | null;
|
|
241
378
|
/**
|
|
242
379
|
* Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
|
|
243
380
|
*/
|
|
@@ -253,7 +390,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
253
390
|
*/
|
|
254
391
|
name?: string | null;
|
|
255
392
|
/**
|
|
256
|
-
* Optional. When set to `
|
|
393
|
+
* Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources.
|
|
257
394
|
*/
|
|
258
395
|
observabilityMode?: boolean | null;
|
|
259
396
|
/**
|
|
@@ -294,6 +431,14 @@ export declare namespace networkservices_v1beta1 {
|
|
|
294
431
|
* Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.
|
|
295
432
|
*/
|
|
296
433
|
addresses?: string[] | null;
|
|
434
|
+
/**
|
|
435
|
+
* Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
|
|
436
|
+
*/
|
|
437
|
+
allowGlobalAccess?: boolean | null;
|
|
438
|
+
/**
|
|
439
|
+
* Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
|
|
440
|
+
*/
|
|
441
|
+
allPorts?: boolean | null;
|
|
297
442
|
/**
|
|
298
443
|
* Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
|
|
299
444
|
*/
|
|
@@ -1209,6 +1354,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1209
1354
|
*/
|
|
1210
1355
|
updateTime?: string | null;
|
|
1211
1356
|
}
|
|
1357
|
+
/**
|
|
1358
|
+
* Response returned by the ListAgentGateways method.
|
|
1359
|
+
*/
|
|
1360
|
+
export interface Schema$ListAgentGatewaysResponse {
|
|
1361
|
+
/**
|
|
1362
|
+
* List of AgentGateway resources.
|
|
1363
|
+
*/
|
|
1364
|
+
agentGateways?: Schema$AgentGateway[];
|
|
1365
|
+
/**
|
|
1366
|
+
* 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`.
|
|
1367
|
+
*/
|
|
1368
|
+
nextPageToken?: string | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
|
|
1371
|
+
*/
|
|
1372
|
+
unreachable?: string[] | null;
|
|
1373
|
+
}
|
|
1212
1374
|
/**
|
|
1213
1375
|
* Message for response to listing `AuthzExtension` resources.
|
|
1214
1376
|
*/
|
|
@@ -2006,6 +2168,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2006
2168
|
* Output only. Server-defined URL of this resource
|
|
2007
2169
|
*/
|
|
2008
2170
|
selfLink?: string | null;
|
|
2171
|
+
/**
|
|
2172
|
+
* Optional. TargetProxies defines a list of TargetTcpProxies this TlsRoute is attached to, as one of the routing rules to route the requests served by the TargetTcpProxy. Each TargetTcpProxy reference should match the pattern: `projects/x/locations/x/targetTcpProxies/`
|
|
2173
|
+
*/
|
|
2174
|
+
targetProxies?: string[] | null;
|
|
2009
2175
|
/**
|
|
2010
2176
|
* Output only. The timestamp when the resource was updated.
|
|
2011
2177
|
*/
|
|
@@ -2085,11 +2251,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2085
2251
|
*/
|
|
2086
2252
|
description?: string | null;
|
|
2087
2253
|
/**
|
|
2088
|
-
* Optional. The name of the customer
|
|
2254
|
+
* Optional. The name of the customer-managed [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: `projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}` By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/service-extensions/docs/cmek).
|
|
2089
2255
|
*/
|
|
2090
2256
|
kmsKeyName?: string | null;
|
|
2091
2257
|
/**
|
|
2092
|
-
* Output only. The name of the specific CryptoKeyVersion used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format:
|
|
2258
|
+
* Output only. The name of the specific [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: `projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}/cryptoKeyVersions/{version\}` This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information.
|
|
2093
2259
|
*/
|
|
2094
2260
|
kmsKeyVersion?: string | null;
|
|
2095
2261
|
/**
|
|
@@ -2248,6 +2414,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2248
2414
|
}
|
|
2249
2415
|
export class Resource$Projects$Locations {
|
|
2250
2416
|
context: APIRequestContext;
|
|
2417
|
+
agentGateways: Resource$Projects$Locations$Agentgateways;
|
|
2251
2418
|
authzExtensions: Resource$Projects$Locations$Authzextensions;
|
|
2252
2419
|
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
2253
2420
|
gateways: Resource$Projects$Locations$Gateways;
|
|
@@ -2330,7 +2497,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2330
2497
|
get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$Location>): void;
|
|
2331
2498
|
get(callback: BodyResponseCallback<Schema$Location>): void;
|
|
2332
2499
|
/**
|
|
2333
|
-
* Lists information about the supported locations for this service.
|
|
2500
|
+
* Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
|
|
2334
2501
|
* @example
|
|
2335
2502
|
* ```js
|
|
2336
2503
|
* // Before running the sample:
|
|
@@ -2360,7 +2527,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2360
2527
|
*
|
|
2361
2528
|
* // Do the magic
|
|
2362
2529
|
* const res = await networkservices.projects.locations.list({
|
|
2363
|
-
* // Optional. Do not use this field
|
|
2530
|
+
* // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
|
|
2364
2531
|
* extraLocationTypes: 'placeholder-value',
|
|
2365
2532
|
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2366
2533
|
* filter: 'placeholder-value',
|
|
@@ -2407,7 +2574,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2407
2574
|
}
|
|
2408
2575
|
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2409
2576
|
/**
|
|
2410
|
-
* Optional. Do not use this field
|
|
2577
|
+
* Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
|
|
2411
2578
|
*/
|
|
2412
2579
|
extraLocationTypes?: string[];
|
|
2413
2580
|
/**
|
|
@@ -2427,6 +2594,447 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2427
2594
|
*/
|
|
2428
2595
|
pageToken?: string;
|
|
2429
2596
|
}
|
|
2597
|
+
export class Resource$Projects$Locations$Agentgateways {
|
|
2598
|
+
context: APIRequestContext;
|
|
2599
|
+
constructor(context: APIRequestContext);
|
|
2600
|
+
/**
|
|
2601
|
+
* Creates a new AgentGateway in a given project and location.
|
|
2602
|
+
* @example
|
|
2603
|
+
* ```js
|
|
2604
|
+
* // Before running the sample:
|
|
2605
|
+
* // - Enable the API at:
|
|
2606
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2607
|
+
* // - Login into gcloud by running:
|
|
2608
|
+
* // ```sh
|
|
2609
|
+
* // $ gcloud auth application-default login
|
|
2610
|
+
* // ```
|
|
2611
|
+
* // - Install the npm module by running:
|
|
2612
|
+
* // ```sh
|
|
2613
|
+
* // $ npm install googleapis
|
|
2614
|
+
* // ```
|
|
2615
|
+
*
|
|
2616
|
+
* const {google} = require('googleapis');
|
|
2617
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2618
|
+
*
|
|
2619
|
+
* async function main() {
|
|
2620
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2621
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2622
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2623
|
+
* });
|
|
2624
|
+
*
|
|
2625
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2626
|
+
* const authClient = await auth.getClient();
|
|
2627
|
+
* google.options({auth: authClient});
|
|
2628
|
+
*
|
|
2629
|
+
* // Do the magic
|
|
2630
|
+
* const res = await networkservices.projects.locations.agentGateways.create({
|
|
2631
|
+
* // Required. Short name of the AgentGateway resource to be created.
|
|
2632
|
+
* agentGatewayId: 'placeholder-value',
|
|
2633
|
+
* // Required. The parent resource of the AgentGateway. Must be in the format `projects/x/locations/x`.
|
|
2634
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
2635
|
+
*
|
|
2636
|
+
* // Request body metadata
|
|
2637
|
+
* requestBody: {
|
|
2638
|
+
* // request body parameters
|
|
2639
|
+
* // {
|
|
2640
|
+
* // "agentGatewayCard": {},
|
|
2641
|
+
* // "createTime": "my_createTime",
|
|
2642
|
+
* // "description": "my_description",
|
|
2643
|
+
* // "etag": "my_etag",
|
|
2644
|
+
* // "googleManaged": {},
|
|
2645
|
+
* // "labels": {},
|
|
2646
|
+
* // "name": "my_name",
|
|
2647
|
+
* // "networkConfig": {},
|
|
2648
|
+
* // "protocols": [],
|
|
2649
|
+
* // "registries": [],
|
|
2650
|
+
* // "selfManaged": {},
|
|
2651
|
+
* // "updateTime": "my_updateTime"
|
|
2652
|
+
* // }
|
|
2653
|
+
* },
|
|
2654
|
+
* });
|
|
2655
|
+
* console.log(res.data);
|
|
2656
|
+
*
|
|
2657
|
+
* // Example response
|
|
2658
|
+
* // {
|
|
2659
|
+
* // "done": false,
|
|
2660
|
+
* // "error": {},
|
|
2661
|
+
* // "metadata": {},
|
|
2662
|
+
* // "name": "my_name",
|
|
2663
|
+
* // "response": {}
|
|
2664
|
+
* // }
|
|
2665
|
+
* }
|
|
2666
|
+
*
|
|
2667
|
+
* main().catch(e => {
|
|
2668
|
+
* console.error(e);
|
|
2669
|
+
* throw e;
|
|
2670
|
+
* });
|
|
2671
|
+
*
|
|
2672
|
+
* ```
|
|
2673
|
+
*
|
|
2674
|
+
* @param params - Parameters for request
|
|
2675
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2676
|
+
* @param callback - Optional callback that handles the response.
|
|
2677
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2678
|
+
*/
|
|
2679
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2680
|
+
create(params?: Params$Resource$Projects$Locations$Agentgateways$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2681
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2682
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2683
|
+
create(params: Params$Resource$Projects$Locations$Agentgateways$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2684
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2685
|
+
/**
|
|
2686
|
+
* Deletes a single AgentGateway.
|
|
2687
|
+
* @example
|
|
2688
|
+
* ```js
|
|
2689
|
+
* // Before running the sample:
|
|
2690
|
+
* // - Enable the API at:
|
|
2691
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2692
|
+
* // - Login into gcloud by running:
|
|
2693
|
+
* // ```sh
|
|
2694
|
+
* // $ gcloud auth application-default login
|
|
2695
|
+
* // ```
|
|
2696
|
+
* // - Install the npm module by running:
|
|
2697
|
+
* // ```sh
|
|
2698
|
+
* // $ npm install googleapis
|
|
2699
|
+
* // ```
|
|
2700
|
+
*
|
|
2701
|
+
* const {google} = require('googleapis');
|
|
2702
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2703
|
+
*
|
|
2704
|
+
* async function main() {
|
|
2705
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2706
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2707
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2708
|
+
* });
|
|
2709
|
+
*
|
|
2710
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2711
|
+
* const authClient = await auth.getClient();
|
|
2712
|
+
* google.options({auth: authClient});
|
|
2713
|
+
*
|
|
2714
|
+
* // Do the magic
|
|
2715
|
+
* const res = await networkservices.projects.locations.agentGateways.delete({
|
|
2716
|
+
* // Optional. The etag of the AgentGateway to delete.
|
|
2717
|
+
* etag: 'placeholder-value',
|
|
2718
|
+
* // Required. A name of the AgentGateway to delete. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
2719
|
+
* name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
|
|
2720
|
+
* });
|
|
2721
|
+
* console.log(res.data);
|
|
2722
|
+
*
|
|
2723
|
+
* // Example response
|
|
2724
|
+
* // {
|
|
2725
|
+
* // "done": false,
|
|
2726
|
+
* // "error": {},
|
|
2727
|
+
* // "metadata": {},
|
|
2728
|
+
* // "name": "my_name",
|
|
2729
|
+
* // "response": {}
|
|
2730
|
+
* // }
|
|
2731
|
+
* }
|
|
2732
|
+
*
|
|
2733
|
+
* main().catch(e => {
|
|
2734
|
+
* console.error(e);
|
|
2735
|
+
* throw e;
|
|
2736
|
+
* });
|
|
2737
|
+
*
|
|
2738
|
+
* ```
|
|
2739
|
+
*
|
|
2740
|
+
* @param params - Parameters for request
|
|
2741
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2742
|
+
* @param callback - Optional callback that handles the response.
|
|
2743
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2744
|
+
*/
|
|
2745
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2746
|
+
delete(params?: Params$Resource$Projects$Locations$Agentgateways$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2747
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2748
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2749
|
+
delete(params: Params$Resource$Projects$Locations$Agentgateways$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2750
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2751
|
+
/**
|
|
2752
|
+
* Gets details of a single AgentGateway.
|
|
2753
|
+
* @example
|
|
2754
|
+
* ```js
|
|
2755
|
+
* // Before running the sample:
|
|
2756
|
+
* // - Enable the API at:
|
|
2757
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2758
|
+
* // - Login into gcloud by running:
|
|
2759
|
+
* // ```sh
|
|
2760
|
+
* // $ gcloud auth application-default login
|
|
2761
|
+
* // ```
|
|
2762
|
+
* // - Install the npm module by running:
|
|
2763
|
+
* // ```sh
|
|
2764
|
+
* // $ npm install googleapis
|
|
2765
|
+
* // ```
|
|
2766
|
+
*
|
|
2767
|
+
* const {google} = require('googleapis');
|
|
2768
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2769
|
+
*
|
|
2770
|
+
* async function main() {
|
|
2771
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2772
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2773
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2774
|
+
* });
|
|
2775
|
+
*
|
|
2776
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2777
|
+
* const authClient = await auth.getClient();
|
|
2778
|
+
* google.options({auth: authClient});
|
|
2779
|
+
*
|
|
2780
|
+
* // Do the magic
|
|
2781
|
+
* const res = await networkservices.projects.locations.agentGateways.get({
|
|
2782
|
+
* // Required. A name of the AgentGateway to get. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
2783
|
+
* name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
|
|
2784
|
+
* });
|
|
2785
|
+
* console.log(res.data);
|
|
2786
|
+
*
|
|
2787
|
+
* // Example response
|
|
2788
|
+
* // {
|
|
2789
|
+
* // "agentGatewayCard": {},
|
|
2790
|
+
* // "createTime": "my_createTime",
|
|
2791
|
+
* // "description": "my_description",
|
|
2792
|
+
* // "etag": "my_etag",
|
|
2793
|
+
* // "googleManaged": {},
|
|
2794
|
+
* // "labels": {},
|
|
2795
|
+
* // "name": "my_name",
|
|
2796
|
+
* // "networkConfig": {},
|
|
2797
|
+
* // "protocols": [],
|
|
2798
|
+
* // "registries": [],
|
|
2799
|
+
* // "selfManaged": {},
|
|
2800
|
+
* // "updateTime": "my_updateTime"
|
|
2801
|
+
* // }
|
|
2802
|
+
* }
|
|
2803
|
+
*
|
|
2804
|
+
* main().catch(e => {
|
|
2805
|
+
* console.error(e);
|
|
2806
|
+
* throw e;
|
|
2807
|
+
* });
|
|
2808
|
+
*
|
|
2809
|
+
* ```
|
|
2810
|
+
*
|
|
2811
|
+
* @param params - Parameters for request
|
|
2812
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2813
|
+
* @param callback - Optional callback that handles the response.
|
|
2814
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2815
|
+
*/
|
|
2816
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2817
|
+
get(params?: Params$Resource$Projects$Locations$Agentgateways$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AgentGateway>>;
|
|
2818
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2819
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, options: MethodOptions | BodyResponseCallback<Schema$AgentGateway>, callback: BodyResponseCallback<Schema$AgentGateway>): void;
|
|
2820
|
+
get(params: Params$Resource$Projects$Locations$Agentgateways$Get, callback: BodyResponseCallback<Schema$AgentGateway>): void;
|
|
2821
|
+
get(callback: BodyResponseCallback<Schema$AgentGateway>): void;
|
|
2822
|
+
/**
|
|
2823
|
+
* Lists AgentGateways in a given project and location.
|
|
2824
|
+
* @example
|
|
2825
|
+
* ```js
|
|
2826
|
+
* // Before running the sample:
|
|
2827
|
+
* // - Enable the API at:
|
|
2828
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2829
|
+
* // - Login into gcloud by running:
|
|
2830
|
+
* // ```sh
|
|
2831
|
+
* // $ gcloud auth application-default login
|
|
2832
|
+
* // ```
|
|
2833
|
+
* // - Install the npm module by running:
|
|
2834
|
+
* // ```sh
|
|
2835
|
+
* // $ npm install googleapis
|
|
2836
|
+
* // ```
|
|
2837
|
+
*
|
|
2838
|
+
* const {google} = require('googleapis');
|
|
2839
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2840
|
+
*
|
|
2841
|
+
* async function main() {
|
|
2842
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2843
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2844
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2845
|
+
* });
|
|
2846
|
+
*
|
|
2847
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2848
|
+
* const authClient = await auth.getClient();
|
|
2849
|
+
* google.options({auth: authClient});
|
|
2850
|
+
*
|
|
2851
|
+
* // Do the magic
|
|
2852
|
+
* const res = await networkservices.projects.locations.agentGateways.list({
|
|
2853
|
+
* // Optional. Maximum number of AgentGateways to return per call.
|
|
2854
|
+
* pageSize: 'placeholder-value',
|
|
2855
|
+
* // 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.
|
|
2856
|
+
* pageToken: 'placeholder-value',
|
|
2857
|
+
* // Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/x/locations/x`.
|
|
2858
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
2859
|
+
* // 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.
|
|
2860
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
2861
|
+
* });
|
|
2862
|
+
* console.log(res.data);
|
|
2863
|
+
*
|
|
2864
|
+
* // Example response
|
|
2865
|
+
* // {
|
|
2866
|
+
* // "agentGateways": [],
|
|
2867
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
2868
|
+
* // "unreachable": []
|
|
2869
|
+
* // }
|
|
2870
|
+
* }
|
|
2871
|
+
*
|
|
2872
|
+
* main().catch(e => {
|
|
2873
|
+
* console.error(e);
|
|
2874
|
+
* throw e;
|
|
2875
|
+
* });
|
|
2876
|
+
*
|
|
2877
|
+
* ```
|
|
2878
|
+
*
|
|
2879
|
+
* @param params - Parameters for request
|
|
2880
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2881
|
+
* @param callback - Optional callback that handles the response.
|
|
2882
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2883
|
+
*/
|
|
2884
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2885
|
+
list(params?: Params$Resource$Projects$Locations$Agentgateways$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAgentGatewaysResponse>>;
|
|
2886
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2887
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, options: MethodOptions | BodyResponseCallback<Schema$ListAgentGatewaysResponse>, callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>): void;
|
|
2888
|
+
list(params: Params$Resource$Projects$Locations$Agentgateways$List, callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>): void;
|
|
2889
|
+
list(callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>): void;
|
|
2890
|
+
/**
|
|
2891
|
+
* Updates the parameters of a single AgentGateway.
|
|
2892
|
+
* @example
|
|
2893
|
+
* ```js
|
|
2894
|
+
* // Before running the sample:
|
|
2895
|
+
* // - Enable the API at:
|
|
2896
|
+
* // https://console.developers.google.com/apis/api/networkservices.googleapis.com
|
|
2897
|
+
* // - Login into gcloud by running:
|
|
2898
|
+
* // ```sh
|
|
2899
|
+
* // $ gcloud auth application-default login
|
|
2900
|
+
* // ```
|
|
2901
|
+
* // - Install the npm module by running:
|
|
2902
|
+
* // ```sh
|
|
2903
|
+
* // $ npm install googleapis
|
|
2904
|
+
* // ```
|
|
2905
|
+
*
|
|
2906
|
+
* const {google} = require('googleapis');
|
|
2907
|
+
* const networkservices = google.networkservices('v1beta1');
|
|
2908
|
+
*
|
|
2909
|
+
* async function main() {
|
|
2910
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2911
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2912
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
2913
|
+
* });
|
|
2914
|
+
*
|
|
2915
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2916
|
+
* const authClient = await auth.getClient();
|
|
2917
|
+
* google.options({auth: authClient});
|
|
2918
|
+
*
|
|
2919
|
+
* // Do the magic
|
|
2920
|
+
* const res = await networkservices.projects.locations.agentGateways.patch({
|
|
2921
|
+
* // Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
|
|
2922
|
+
* name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
|
|
2923
|
+
* // 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.
|
|
2924
|
+
* updateMask: 'placeholder-value',
|
|
2925
|
+
*
|
|
2926
|
+
* // Request body metadata
|
|
2927
|
+
* requestBody: {
|
|
2928
|
+
* // request body parameters
|
|
2929
|
+
* // {
|
|
2930
|
+
* // "agentGatewayCard": {},
|
|
2931
|
+
* // "createTime": "my_createTime",
|
|
2932
|
+
* // "description": "my_description",
|
|
2933
|
+
* // "etag": "my_etag",
|
|
2934
|
+
* // "googleManaged": {},
|
|
2935
|
+
* // "labels": {},
|
|
2936
|
+
* // "name": "my_name",
|
|
2937
|
+
* // "networkConfig": {},
|
|
2938
|
+
* // "protocols": [],
|
|
2939
|
+
* // "registries": [],
|
|
2940
|
+
* // "selfManaged": {},
|
|
2941
|
+
* // "updateTime": "my_updateTime"
|
|
2942
|
+
* // }
|
|
2943
|
+
* },
|
|
2944
|
+
* });
|
|
2945
|
+
* console.log(res.data);
|
|
2946
|
+
*
|
|
2947
|
+
* // Example response
|
|
2948
|
+
* // {
|
|
2949
|
+
* // "done": false,
|
|
2950
|
+
* // "error": {},
|
|
2951
|
+
* // "metadata": {},
|
|
2952
|
+
* // "name": "my_name",
|
|
2953
|
+
* // "response": {}
|
|
2954
|
+
* // }
|
|
2955
|
+
* }
|
|
2956
|
+
*
|
|
2957
|
+
* main().catch(e => {
|
|
2958
|
+
* console.error(e);
|
|
2959
|
+
* throw e;
|
|
2960
|
+
* });
|
|
2961
|
+
*
|
|
2962
|
+
* ```
|
|
2963
|
+
*
|
|
2964
|
+
* @param params - Parameters for request
|
|
2965
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2966
|
+
* @param callback - Optional callback that handles the response.
|
|
2967
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2968
|
+
*/
|
|
2969
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2970
|
+
patch(params?: Params$Resource$Projects$Locations$Agentgateways$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2971
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2972
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2973
|
+
patch(params: Params$Resource$Projects$Locations$Agentgateways$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2974
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2975
|
+
}
|
|
2976
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Create extends StandardParameters {
|
|
2977
|
+
/**
|
|
2978
|
+
* Required. Short name of the AgentGateway resource to be created.
|
|
2979
|
+
*/
|
|
2980
|
+
agentGatewayId?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* Required. The parent resource of the AgentGateway. Must be in the format `projects/x/locations/x`.
|
|
2983
|
+
*/
|
|
2984
|
+
parent?: string;
|
|
2985
|
+
/**
|
|
2986
|
+
* Request body metadata
|
|
2987
|
+
*/
|
|
2988
|
+
requestBody?: Schema$AgentGateway;
|
|
2989
|
+
}
|
|
2990
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Delete extends StandardParameters {
|
|
2991
|
+
/**
|
|
2992
|
+
* Optional. The etag of the AgentGateway to delete.
|
|
2993
|
+
*/
|
|
2994
|
+
etag?: string;
|
|
2995
|
+
/**
|
|
2996
|
+
* Required. A name of the AgentGateway to delete. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
2997
|
+
*/
|
|
2998
|
+
name?: string;
|
|
2999
|
+
}
|
|
3000
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Get extends StandardParameters {
|
|
3001
|
+
/**
|
|
3002
|
+
* Required. A name of the AgentGateway to get. Must be in the format `projects/x/locations/x/agentGateways/x`.
|
|
3003
|
+
*/
|
|
3004
|
+
name?: string;
|
|
3005
|
+
}
|
|
3006
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$List extends StandardParameters {
|
|
3007
|
+
/**
|
|
3008
|
+
* Optional. Maximum number of AgentGateways to return per call.
|
|
3009
|
+
*/
|
|
3010
|
+
pageSize?: number;
|
|
3011
|
+
/**
|
|
3012
|
+
* 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.
|
|
3013
|
+
*/
|
|
3014
|
+
pageToken?: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/x/locations/x`.
|
|
3017
|
+
*/
|
|
3018
|
+
parent?: string;
|
|
3019
|
+
/**
|
|
3020
|
+
* 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.
|
|
3021
|
+
*/
|
|
3022
|
+
returnPartialSuccess?: boolean;
|
|
3023
|
+
}
|
|
3024
|
+
export interface Params$Resource$Projects$Locations$Agentgateways$Patch extends StandardParameters {
|
|
3025
|
+
/**
|
|
3026
|
+
* Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
|
|
3027
|
+
*/
|
|
3028
|
+
name?: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* 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.
|
|
3031
|
+
*/
|
|
3032
|
+
updateMask?: string;
|
|
3033
|
+
/**
|
|
3034
|
+
* Request body metadata
|
|
3035
|
+
*/
|
|
3036
|
+
requestBody?: Schema$AgentGateway;
|
|
3037
|
+
}
|
|
2430
3038
|
export class Resource$Projects$Locations$Authzextensions {
|
|
2431
3039
|
context: APIRequestContext;
|
|
2432
3040
|
constructor(context: APIRequestContext);
|
|
@@ -2476,6 +3084,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2476
3084
|
* // "createTime": "my_createTime",
|
|
2477
3085
|
* // "description": "my_description",
|
|
2478
3086
|
* // "failOpen": false,
|
|
3087
|
+
* // "forwardAttributes": [],
|
|
2479
3088
|
* // "forwardHeaders": [],
|
|
2480
3089
|
* // "labels": {},
|
|
2481
3090
|
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
@@ -2626,6 +3235,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2626
3235
|
* // "createTime": "my_createTime",
|
|
2627
3236
|
* // "description": "my_description",
|
|
2628
3237
|
* // "failOpen": false,
|
|
3238
|
+
* // "forwardAttributes": [],
|
|
2629
3239
|
* // "forwardHeaders": [],
|
|
2630
3240
|
* // "labels": {},
|
|
2631
3241
|
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
@@ -2772,6 +3382,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2772
3382
|
* // "createTime": "my_createTime",
|
|
2773
3383
|
* // "description": "my_description",
|
|
2774
3384
|
* // "failOpen": false,
|
|
3385
|
+
* // "forwardAttributes": [],
|
|
2775
3386
|
* // "forwardHeaders": [],
|
|
2776
3387
|
* // "labels": {},
|
|
2777
3388
|
* // "loadBalancingScheme": "my_loadBalancingScheme",
|
|
@@ -3369,6 +3980,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3369
3980
|
* // request body parameters
|
|
3370
3981
|
* // {
|
|
3371
3982
|
* // "addresses": [],
|
|
3983
|
+
* // "allPorts": false,
|
|
3984
|
+
* // "allowGlobalAccess": false,
|
|
3372
3985
|
* // "certificateUrls": [],
|
|
3373
3986
|
* // "createTime": "my_createTime",
|
|
3374
3987
|
* // "description": "my_description",
|
|
@@ -3522,6 +4135,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3522
4135
|
* // Example response
|
|
3523
4136
|
* // {
|
|
3524
4137
|
* // "addresses": [],
|
|
4138
|
+
* // "allPorts": false,
|
|
4139
|
+
* // "allowGlobalAccess": false,
|
|
3525
4140
|
* // "certificateUrls": [],
|
|
3526
4141
|
* // "createTime": "my_createTime",
|
|
3527
4142
|
* // "description": "my_description",
|
|
@@ -3667,6 +4282,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3667
4282
|
* // request body parameters
|
|
3668
4283
|
* // {
|
|
3669
4284
|
* // "addresses": [],
|
|
4285
|
+
* // "allPorts": false,
|
|
4286
|
+
* // "allowGlobalAccess": false,
|
|
3670
4287
|
* // "certificateUrls": [],
|
|
3671
4288
|
* // "createTime": "my_createTime",
|
|
3672
4289
|
* // "description": "my_description",
|
|
@@ -4395,6 +5012,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4395
5012
|
* httpRouteId: 'placeholder-value',
|
|
4396
5013
|
* // Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
|
|
4397
5014
|
* parent: 'projects/my-project/locations/my-location',
|
|
5015
|
+
* // Optional. Idempotent request UUID.
|
|
5016
|
+
* requestId: 'placeholder-value',
|
|
4398
5017
|
*
|
|
4399
5018
|
* // Request body metadata
|
|
4400
5019
|
* requestBody: {
|
|
@@ -4607,6 +5226,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4607
5226
|
*
|
|
4608
5227
|
* // Do the magic
|
|
4609
5228
|
* const res = await networkservices.projects.locations.httpRoutes.list({
|
|
5229
|
+
* // Optional. Filter expression to restrict the list.
|
|
5230
|
+
* filter: 'placeholder-value',
|
|
4610
5231
|
* // Maximum number of HttpRoutes to return per call.
|
|
4611
5232
|
* pageSize: 'placeholder-value',
|
|
4612
5233
|
* // The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data.
|
|
@@ -4737,6 +5358,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4737
5358
|
* Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
|
|
4738
5359
|
*/
|
|
4739
5360
|
parent?: string;
|
|
5361
|
+
/**
|
|
5362
|
+
* Optional. Idempotent request UUID.
|
|
5363
|
+
*/
|
|
5364
|
+
requestId?: string;
|
|
4740
5365
|
/**
|
|
4741
5366
|
* Request body metadata
|
|
4742
5367
|
*/
|
|
@@ -4755,6 +5380,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4755
5380
|
name?: string;
|
|
4756
5381
|
}
|
|
4757
5382
|
export interface Params$Resource$Projects$Locations$Httproutes$List extends StandardParameters {
|
|
5383
|
+
/**
|
|
5384
|
+
* Optional. Filter expression to restrict the list.
|
|
5385
|
+
*/
|
|
5386
|
+
filter?: string;
|
|
4758
5387
|
/**
|
|
4759
5388
|
* Maximum number of HttpRoutes to return per call.
|
|
4760
5389
|
*/
|
|
@@ -8786,6 +9415,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8786
9415
|
* // "name": "my_name",
|
|
8787
9416
|
* // "rules": [],
|
|
8788
9417
|
* // "selfLink": "my_selfLink",
|
|
9418
|
+
* // "targetProxies": [],
|
|
8789
9419
|
* // "updateTime": "my_updateTime"
|
|
8790
9420
|
* // }
|
|
8791
9421
|
* },
|
|
@@ -8930,6 +9560,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
8930
9560
|
* // "name": "my_name",
|
|
8931
9561
|
* // "rules": [],
|
|
8932
9562
|
* // "selfLink": "my_selfLink",
|
|
9563
|
+
* // "targetProxies": [],
|
|
8933
9564
|
* // "updateTime": "my_updateTime"
|
|
8934
9565
|
* // }
|
|
8935
9566
|
* }
|
|
@@ -9068,6 +9699,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
9068
9699
|
* // "name": "my_name",
|
|
9069
9700
|
* // "rules": [],
|
|
9070
9701
|
* // "selfLink": "my_selfLink",
|
|
9702
|
+
* // "targetProxies": [],
|
|
9071
9703
|
* // "updateTime": "my_updateTime"
|
|
9072
9704
|
* // }
|
|
9073
9705
|
* },
|