@googleapis/networkservices 15.0.0 → 18.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 +71 -0
- package/build/v1.d.ts +17 -305
- package/build/v1.js +0 -392
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +244 -305
- package/build/v1beta1.js +63 -286
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1642 -2886
- package/v1beta1.ts +1909 -2541
package/build/v1beta1.d.ts
CHANGED
|
@@ -97,6 +97,67 @@ export declare namespace networkservices_v1beta1 {
|
|
|
97
97
|
*/
|
|
98
98
|
logType?: string | null;
|
|
99
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* `AuthzExtension` is a resource that allows traffic forwarding to a callout backend to make an authorization decision.
|
|
102
|
+
*/
|
|
103
|
+
export interface Schema$AuthzExtension {
|
|
104
|
+
/**
|
|
105
|
+
* Required. The `:authority` header in the gRPC request sent from Envoy to the extension service.
|
|
106
|
+
*/
|
|
107
|
+
authority?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Output only. The timestamp when the resource was created.
|
|
110
|
+
*/
|
|
111
|
+
createTime?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Optional. A human-readable description of the resource.
|
|
114
|
+
*/
|
|
115
|
+
description?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* 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.
|
|
118
|
+
*/
|
|
119
|
+
failOpen?: boolean | null;
|
|
120
|
+
/**
|
|
121
|
+
* 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.
|
|
122
|
+
*/
|
|
123
|
+
forwardHeaders?: string[] | null;
|
|
124
|
+
/**
|
|
125
|
+
* Optional. Set of labels associated with the `AuthzExtension` resource. The format must comply with [the requirements for labels](/compute/docs/labeling-resources#requirements) for Google Cloud resources.
|
|
126
|
+
*/
|
|
127
|
+
labels?: {
|
|
128
|
+
[key: string]: string;
|
|
129
|
+
} | null;
|
|
130
|
+
/**
|
|
131
|
+
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
132
|
+
*/
|
|
133
|
+
loadBalancingScheme?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.authz_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name.
|
|
136
|
+
*/
|
|
137
|
+
metadata?: {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
} | null;
|
|
140
|
+
/**
|
|
141
|
+
* Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
142
|
+
*/
|
|
143
|
+
name?: string | null;
|
|
144
|
+
/**
|
|
145
|
+
* Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/backendServices/{backendService\}` or `https://www.googleapis.com/compute/v1/projects/{project\}/global/backendServices/{backendService\}`.
|
|
146
|
+
*/
|
|
147
|
+
service?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Required. Specifies the timeout for each individual message on the stream. The timeout must be between 10-10000 milliseconds.
|
|
150
|
+
*/
|
|
151
|
+
timeout?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* Output only. The timestamp when the resource was updated.
|
|
154
|
+
*/
|
|
155
|
+
updateTime?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Optional. The format of communication supported by the callout extension. If not specified, the default is `EXT_PROC_GRPC`.
|
|
158
|
+
*/
|
|
159
|
+
wireFormat?: string | null;
|
|
160
|
+
}
|
|
100
161
|
/**
|
|
101
162
|
* Associates `members`, or principals, with a `role`.
|
|
102
163
|
*/
|
|
@@ -164,7 +225,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
164
225
|
[key: string]: string;
|
|
165
226
|
} | null;
|
|
166
227
|
/**
|
|
167
|
-
*
|
|
228
|
+
* Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
|
|
168
229
|
*/
|
|
169
230
|
name?: string | null;
|
|
170
231
|
/**
|
|
@@ -303,7 +364,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
303
364
|
[key: string]: string;
|
|
304
365
|
} | null;
|
|
305
366
|
/**
|
|
306
|
-
*
|
|
367
|
+
* Identifier. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`.
|
|
307
368
|
*/
|
|
308
369
|
name?: string | null;
|
|
309
370
|
/**
|
|
@@ -370,7 +431,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
370
431
|
*/
|
|
371
432
|
meshes?: string[] | null;
|
|
372
433
|
/**
|
|
373
|
-
*
|
|
434
|
+
* Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
|
|
374
435
|
*/
|
|
375
436
|
name?: string | null;
|
|
376
437
|
/**
|
|
@@ -584,7 +645,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
584
645
|
*/
|
|
585
646
|
meshes?: string[] | null;
|
|
586
647
|
/**
|
|
587
|
-
*
|
|
648
|
+
* Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
|
|
588
649
|
*/
|
|
589
650
|
name?: string | null;
|
|
590
651
|
/**
|
|
@@ -1021,7 +1082,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1021
1082
|
*/
|
|
1022
1083
|
loadBalancingScheme?: string | null;
|
|
1023
1084
|
/**
|
|
1024
|
-
* Optional. The metadata provided here
|
|
1085
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name.
|
|
1025
1086
|
*/
|
|
1026
1087
|
metadata?: {
|
|
1027
1088
|
[key: string]: any;
|
|
@@ -1066,7 +1127,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1066
1127
|
*/
|
|
1067
1128
|
loadBalancingScheme?: string | null;
|
|
1068
1129
|
/**
|
|
1069
|
-
* Optional. The metadata provided here
|
|
1130
|
+
* Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name.
|
|
1070
1131
|
*/
|
|
1071
1132
|
metadata?: {
|
|
1072
1133
|
[key: string]: any;
|
|
@@ -1080,6 +1141,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1080
1141
|
*/
|
|
1081
1142
|
updateTime?: string | null;
|
|
1082
1143
|
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Message for response to listing `AuthzExtension` resources.
|
|
1146
|
+
*/
|
|
1147
|
+
export interface Schema$ListAuthzExtensionsResponse {
|
|
1148
|
+
/**
|
|
1149
|
+
* The list of `AuthzExtension` resources.
|
|
1150
|
+
*/
|
|
1151
|
+
authzExtensions?: Schema$AuthzExtension[];
|
|
1152
|
+
/**
|
|
1153
|
+
* A token identifying a page of results that the server returns.
|
|
1154
|
+
*/
|
|
1155
|
+
nextPageToken?: string | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Locations that could not be reached.
|
|
1158
|
+
*/
|
|
1159
|
+
unreachable?: string[] | null;
|
|
1160
|
+
}
|
|
1083
1161
|
/**
|
|
1084
1162
|
* Response returned by the ListEndpointPolicies method.
|
|
1085
1163
|
*/
|
|
@@ -1317,7 +1395,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1317
1395
|
[key: string]: string;
|
|
1318
1396
|
} | null;
|
|
1319
1397
|
/**
|
|
1320
|
-
*
|
|
1398
|
+
* Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
|
|
1321
1399
|
*/
|
|
1322
1400
|
name?: string | null;
|
|
1323
1401
|
/**
|
|
@@ -1457,7 +1535,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1457
1535
|
[key: string]: string;
|
|
1458
1536
|
} | null;
|
|
1459
1537
|
/**
|
|
1460
|
-
*
|
|
1538
|
+
* Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/global/serviceBindings/service_binding_name`.
|
|
1461
1539
|
*/
|
|
1462
1540
|
name?: string | null;
|
|
1463
1541
|
/**
|
|
@@ -1589,7 +1667,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1589
1667
|
*/
|
|
1590
1668
|
meshes?: string[] | null;
|
|
1591
1669
|
/**
|
|
1592
|
-
*
|
|
1670
|
+
* Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
|
|
1593
1671
|
*/
|
|
1594
1672
|
name?: string | null;
|
|
1595
1673
|
/**
|
|
@@ -1706,7 +1784,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1706
1784
|
*/
|
|
1707
1785
|
meshes?: string[] | null;
|
|
1708
1786
|
/**
|
|
1709
|
-
*
|
|
1787
|
+
* Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
|
|
1710
1788
|
*/
|
|
1711
1789
|
name?: string | null;
|
|
1712
1790
|
/**
|
|
@@ -1790,6 +1868,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1790
1868
|
}
|
|
1791
1869
|
export class Resource$Projects$Locations {
|
|
1792
1870
|
context: APIRequestContext;
|
|
1871
|
+
authzExtensions: Resource$Projects$Locations$Authzextensions;
|
|
1793
1872
|
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
1794
1873
|
gateways: Resource$Projects$Locations$Gateways;
|
|
1795
1874
|
grpcRoutes: Resource$Projects$Locations$Grpcroutes;
|
|
@@ -1856,6 +1935,154 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1856
1935
|
*/
|
|
1857
1936
|
pageToken?: string;
|
|
1858
1937
|
}
|
|
1938
|
+
export class Resource$Projects$Locations$Authzextensions {
|
|
1939
|
+
context: APIRequestContext;
|
|
1940
|
+
constructor(context: APIRequestContext);
|
|
1941
|
+
/**
|
|
1942
|
+
* Creates a new `AuthzExtension` resource in a given project and location.
|
|
1943
|
+
*
|
|
1944
|
+
* @param params - Parameters for request
|
|
1945
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1946
|
+
* @param callback - Optional callback that handles the response.
|
|
1947
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1948
|
+
*/
|
|
1949
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1950
|
+
create(params?: Params$Resource$Projects$Locations$Authzextensions$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
1951
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1952
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1953
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1954
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1955
|
+
/**
|
|
1956
|
+
* Deletes the specified `AuthzExtension` resource.
|
|
1957
|
+
*
|
|
1958
|
+
* @param params - Parameters for request
|
|
1959
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1960
|
+
* @param callback - Optional callback that handles the response.
|
|
1961
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1962
|
+
*/
|
|
1963
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1964
|
+
delete(params?: Params$Resource$Projects$Locations$Authzextensions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
1965
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1966
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1967
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1968
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1969
|
+
/**
|
|
1970
|
+
* Gets details of the specified `AuthzExtension` resource.
|
|
1971
|
+
*
|
|
1972
|
+
* @param params - Parameters for request
|
|
1973
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1974
|
+
* @param callback - Optional callback that handles the response.
|
|
1975
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1976
|
+
*/
|
|
1977
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1978
|
+
get(params?: Params$Resource$Projects$Locations$Authzextensions$Get, options?: MethodOptions): GaxiosPromise<Schema$AuthzExtension>;
|
|
1979
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1980
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: MethodOptions | BodyResponseCallback<Schema$AuthzExtension>, callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
1981
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
1982
|
+
get(callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
1983
|
+
/**
|
|
1984
|
+
* Lists `AuthzExtension` resources in a given project and location.
|
|
1985
|
+
*
|
|
1986
|
+
* @param params - Parameters for request
|
|
1987
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1988
|
+
* @param callback - Optional callback that handles the response.
|
|
1989
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1990
|
+
*/
|
|
1991
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1992
|
+
list(params?: Params$Resource$Projects$Locations$Authzextensions$List, options?: MethodOptions): GaxiosPromise<Schema$ListAuthzExtensionsResponse>;
|
|
1993
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1994
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: MethodOptions | BodyResponseCallback<Schema$ListAuthzExtensionsResponse>, callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
1995
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
1996
|
+
list(callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
1997
|
+
/**
|
|
1998
|
+
* Updates the parameters of the specified `AuthzExtension` resource.
|
|
1999
|
+
*
|
|
2000
|
+
* @param params - Parameters for request
|
|
2001
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2002
|
+
* @param callback - Optional callback that handles the response.
|
|
2003
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2004
|
+
*/
|
|
2005
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2006
|
+
patch(params?: Params$Resource$Projects$Locations$Authzextensions$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2007
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2008
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2009
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2010
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2011
|
+
}
|
|
2012
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Create extends StandardParameters {
|
|
2013
|
+
/**
|
|
2014
|
+
* Required. User-provided ID of the `AuthzExtension` resource to be created.
|
|
2015
|
+
*/
|
|
2016
|
+
authzExtensionId?: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* Required. The parent resource of the `AuthzExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
2019
|
+
*/
|
|
2020
|
+
parent?: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* 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 at least 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 can check if original operation with the same request ID was received, and if so, 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).
|
|
2023
|
+
*/
|
|
2024
|
+
requestId?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Request body metadata
|
|
2027
|
+
*/
|
|
2028
|
+
requestBody?: Schema$AuthzExtension;
|
|
2029
|
+
}
|
|
2030
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Delete extends StandardParameters {
|
|
2031
|
+
/**
|
|
2032
|
+
* Required. The name of the `AuthzExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
2033
|
+
*/
|
|
2034
|
+
name?: string;
|
|
2035
|
+
/**
|
|
2036
|
+
* 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 at least 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 can check if original operation with the same request ID was received, and if so, 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).
|
|
2037
|
+
*/
|
|
2038
|
+
requestId?: string;
|
|
2039
|
+
}
|
|
2040
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Get extends StandardParameters {
|
|
2041
|
+
/**
|
|
2042
|
+
* Required. A name of the `AuthzExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
2043
|
+
*/
|
|
2044
|
+
name?: string;
|
|
2045
|
+
}
|
|
2046
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$List extends StandardParameters {
|
|
2047
|
+
/**
|
|
2048
|
+
* Optional. Filtering results.
|
|
2049
|
+
*/
|
|
2050
|
+
filter?: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Optional. Hint for how to order the results.
|
|
2053
|
+
*/
|
|
2054
|
+
orderBy?: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
|
|
2057
|
+
*/
|
|
2058
|
+
pageSize?: number;
|
|
2059
|
+
/**
|
|
2060
|
+
* Optional. A token identifying a page of results that the server returns.
|
|
2061
|
+
*/
|
|
2062
|
+
pageToken?: string;
|
|
2063
|
+
/**
|
|
2064
|
+
* Required. The project and location from which the `AuthzExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`.
|
|
2065
|
+
*/
|
|
2066
|
+
parent?: string;
|
|
2067
|
+
}
|
|
2068
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Patch extends StandardParameters {
|
|
2069
|
+
/**
|
|
2070
|
+
* Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
2071
|
+
*/
|
|
2072
|
+
name?: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* 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 at least 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 can check if original operation with the same request ID was received, and if so, 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).
|
|
2075
|
+
*/
|
|
2076
|
+
requestId?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* 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.
|
|
2079
|
+
*/
|
|
2080
|
+
updateMask?: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* Request body metadata
|
|
2083
|
+
*/
|
|
2084
|
+
requestBody?: Schema$AuthzExtension;
|
|
2085
|
+
}
|
|
1859
2086
|
export class Resource$Projects$Locations$Endpointpolicies {
|
|
1860
2087
|
context: APIRequestContext;
|
|
1861
2088
|
constructor(context: APIRequestContext);
|
|
@@ -1901,20 +2128,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1901
2128
|
get(params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: MethodOptions | BodyResponseCallback<Schema$EndpointPolicy>, callback: BodyResponseCallback<Schema$EndpointPolicy>): void;
|
|
1902
2129
|
get(params: Params$Resource$Projects$Locations$Endpointpolicies$Get, callback: BodyResponseCallback<Schema$EndpointPolicy>): void;
|
|
1903
2130
|
get(callback: BodyResponseCallback<Schema$EndpointPolicy>): void;
|
|
1904
|
-
/**
|
|
1905
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
1906
|
-
*
|
|
1907
|
-
* @param params - Parameters for request
|
|
1908
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1909
|
-
* @param callback - Optional callback that handles the response.
|
|
1910
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1911
|
-
*/
|
|
1912
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1913
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
1914
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1915
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1916
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1917
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1918
2131
|
/**
|
|
1919
2132
|
* Lists EndpointPolicies in a given project and location.
|
|
1920
2133
|
*
|
|
@@ -1943,34 +2156,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1943
2156
|
patch(params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1944
2157
|
patch(params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1945
2158
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1946
|
-
/**
|
|
1947
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
1948
|
-
*
|
|
1949
|
-
* @param params - Parameters for request
|
|
1950
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1951
|
-
* @param callback - Optional callback that handles the response.
|
|
1952
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1953
|
-
*/
|
|
1954
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1955
|
-
setIamPolicy(params?: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
1956
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1957
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1958
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1959
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1960
|
-
/**
|
|
1961
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
1962
|
-
*
|
|
1963
|
-
* @param params - Parameters for request
|
|
1964
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1965
|
-
* @param callback - Optional callback that handles the response.
|
|
1966
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1967
|
-
*/
|
|
1968
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1969
|
-
testIamPermissions(params?: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
1970
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1971
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
1972
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
1973
|
-
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
1974
2159
|
}
|
|
1975
2160
|
export interface Params$Resource$Projects$Locations$Endpointpolicies$Create extends StandardParameters {
|
|
1976
2161
|
/**
|
|
@@ -1998,16 +2183,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1998
2183
|
*/
|
|
1999
2184
|
name?: string;
|
|
2000
2185
|
}
|
|
2001
|
-
export interface Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy extends StandardParameters {
|
|
2002
|
-
/**
|
|
2003
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2004
|
-
*/
|
|
2005
|
-
'options.requestedPolicyVersion'?: number;
|
|
2006
|
-
/**
|
|
2007
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2008
|
-
*/
|
|
2009
|
-
resource?: string;
|
|
2010
|
-
}
|
|
2011
2186
|
export interface Params$Resource$Projects$Locations$Endpointpolicies$List extends StandardParameters {
|
|
2012
2187
|
/**
|
|
2013
2188
|
* Maximum number of EndpointPolicies to return per call.
|
|
@@ -2024,7 +2199,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2024
2199
|
}
|
|
2025
2200
|
export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch extends StandardParameters {
|
|
2026
2201
|
/**
|
|
2027
|
-
*
|
|
2202
|
+
* Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
|
|
2028
2203
|
*/
|
|
2029
2204
|
name?: string;
|
|
2030
2205
|
/**
|
|
@@ -2036,26 +2211,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2036
2211
|
*/
|
|
2037
2212
|
requestBody?: Schema$EndpointPolicy;
|
|
2038
2213
|
}
|
|
2039
|
-
export interface Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy extends StandardParameters {
|
|
2040
|
-
/**
|
|
2041
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2042
|
-
*/
|
|
2043
|
-
resource?: string;
|
|
2044
|
-
/**
|
|
2045
|
-
* Request body metadata
|
|
2046
|
-
*/
|
|
2047
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
2048
|
-
}
|
|
2049
|
-
export interface Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions extends StandardParameters {
|
|
2050
|
-
/**
|
|
2051
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2052
|
-
*/
|
|
2053
|
-
resource?: string;
|
|
2054
|
-
/**
|
|
2055
|
-
* Request body metadata
|
|
2056
|
-
*/
|
|
2057
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
2058
|
-
}
|
|
2059
2214
|
export class Resource$Projects$Locations$Gateways {
|
|
2060
2215
|
context: APIRequestContext;
|
|
2061
2216
|
constructor(context: APIRequestContext);
|
|
@@ -2101,20 +2256,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2101
2256
|
get(params: Params$Resource$Projects$Locations$Gateways$Get, options: MethodOptions | BodyResponseCallback<Schema$Gateway>, callback: BodyResponseCallback<Schema$Gateway>): void;
|
|
2102
2257
|
get(params: Params$Resource$Projects$Locations$Gateways$Get, callback: BodyResponseCallback<Schema$Gateway>): void;
|
|
2103
2258
|
get(callback: BodyResponseCallback<Schema$Gateway>): void;
|
|
2104
|
-
/**
|
|
2105
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
2106
|
-
*
|
|
2107
|
-
* @param params - Parameters for request
|
|
2108
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2109
|
-
* @param callback - Optional callback that handles the response.
|
|
2110
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2111
|
-
*/
|
|
2112
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2113
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
2114
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2115
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2116
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2117
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2118
2259
|
/**
|
|
2119
2260
|
* Lists Gateways in a given project and location.
|
|
2120
2261
|
*
|
|
@@ -2143,34 +2284,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2143
2284
|
patch(params: Params$Resource$Projects$Locations$Gateways$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2144
2285
|
patch(params: Params$Resource$Projects$Locations$Gateways$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2145
2286
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2146
|
-
/**
|
|
2147
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
2148
|
-
*
|
|
2149
|
-
* @param params - Parameters for request
|
|
2150
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2151
|
-
* @param callback - Optional callback that handles the response.
|
|
2152
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2153
|
-
*/
|
|
2154
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2155
|
-
setIamPolicy(params?: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
2156
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2157
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2158
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2159
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2160
|
-
/**
|
|
2161
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
2162
|
-
*
|
|
2163
|
-
* @param params - Parameters for request
|
|
2164
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2165
|
-
* @param callback - Optional callback that handles the response.
|
|
2166
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2167
|
-
*/
|
|
2168
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2169
|
-
testIamPermissions(params?: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
2170
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2171
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2172
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2173
|
-
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2174
2287
|
}
|
|
2175
2288
|
export interface Params$Resource$Projects$Locations$Gateways$Create extends StandardParameters {
|
|
2176
2289
|
/**
|
|
@@ -2198,16 +2311,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2198
2311
|
*/
|
|
2199
2312
|
name?: string;
|
|
2200
2313
|
}
|
|
2201
|
-
export interface Params$Resource$Projects$Locations$Gateways$Getiampolicy extends StandardParameters {
|
|
2202
|
-
/**
|
|
2203
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2204
|
-
*/
|
|
2205
|
-
'options.requestedPolicyVersion'?: number;
|
|
2206
|
-
/**
|
|
2207
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2208
|
-
*/
|
|
2209
|
-
resource?: string;
|
|
2210
|
-
}
|
|
2211
2314
|
export interface Params$Resource$Projects$Locations$Gateways$List extends StandardParameters {
|
|
2212
2315
|
/**
|
|
2213
2316
|
* Maximum number of Gateways to return per call.
|
|
@@ -2224,7 +2327,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2224
2327
|
}
|
|
2225
2328
|
export interface Params$Resource$Projects$Locations$Gateways$Patch extends StandardParameters {
|
|
2226
2329
|
/**
|
|
2227
|
-
*
|
|
2330
|
+
* Identifier. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`.
|
|
2228
2331
|
*/
|
|
2229
2332
|
name?: string;
|
|
2230
2333
|
/**
|
|
@@ -2236,26 +2339,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2236
2339
|
*/
|
|
2237
2340
|
requestBody?: Schema$Gateway;
|
|
2238
2341
|
}
|
|
2239
|
-
export interface Params$Resource$Projects$Locations$Gateways$Setiampolicy extends StandardParameters {
|
|
2240
|
-
/**
|
|
2241
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2242
|
-
*/
|
|
2243
|
-
resource?: string;
|
|
2244
|
-
/**
|
|
2245
|
-
* Request body metadata
|
|
2246
|
-
*/
|
|
2247
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
2248
|
-
}
|
|
2249
|
-
export interface Params$Resource$Projects$Locations$Gateways$Testiampermissions extends StandardParameters {
|
|
2250
|
-
/**
|
|
2251
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2252
|
-
*/
|
|
2253
|
-
resource?: string;
|
|
2254
|
-
/**
|
|
2255
|
-
* Request body metadata
|
|
2256
|
-
*/
|
|
2257
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
2258
|
-
}
|
|
2259
2342
|
export class Resource$Projects$Locations$Grpcroutes {
|
|
2260
2343
|
context: APIRequestContext;
|
|
2261
2344
|
constructor(context: APIRequestContext);
|
|
@@ -2372,7 +2455,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2372
2455
|
}
|
|
2373
2456
|
export interface Params$Resource$Projects$Locations$Grpcroutes$Patch extends StandardParameters {
|
|
2374
2457
|
/**
|
|
2375
|
-
*
|
|
2458
|
+
* Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
|
|
2376
2459
|
*/
|
|
2377
2460
|
name?: string;
|
|
2378
2461
|
/**
|
|
@@ -2500,7 +2583,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2500
2583
|
}
|
|
2501
2584
|
export interface Params$Resource$Projects$Locations$Httproutes$Patch extends StandardParameters {
|
|
2502
2585
|
/**
|
|
2503
|
-
*
|
|
2586
|
+
* Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
|
|
2504
2587
|
*/
|
|
2505
2588
|
name?: string;
|
|
2506
2589
|
/**
|
|
@@ -2853,20 +2936,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2853
2936
|
get(params: Params$Resource$Projects$Locations$Meshes$Get, options: MethodOptions | BodyResponseCallback<Schema$Mesh>, callback: BodyResponseCallback<Schema$Mesh>): void;
|
|
2854
2937
|
get(params: Params$Resource$Projects$Locations$Meshes$Get, callback: BodyResponseCallback<Schema$Mesh>): void;
|
|
2855
2938
|
get(callback: BodyResponseCallback<Schema$Mesh>): void;
|
|
2856
|
-
/**
|
|
2857
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
2858
|
-
*
|
|
2859
|
-
* @param params - Parameters for request
|
|
2860
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2861
|
-
* @param callback - Optional callback that handles the response.
|
|
2862
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2863
|
-
*/
|
|
2864
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2865
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Meshes$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
2866
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2867
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2868
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2869
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2870
2939
|
/**
|
|
2871
2940
|
* Lists Meshes in a given project and location.
|
|
2872
2941
|
*
|
|
@@ -2895,34 +2964,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2895
2964
|
patch(params: Params$Resource$Projects$Locations$Meshes$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2896
2965
|
patch(params: Params$Resource$Projects$Locations$Meshes$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2897
2966
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2898
|
-
/**
|
|
2899
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
2900
|
-
*
|
|
2901
|
-
* @param params - Parameters for request
|
|
2902
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2903
|
-
* @param callback - Optional callback that handles the response.
|
|
2904
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2905
|
-
*/
|
|
2906
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2907
|
-
setIamPolicy(params?: Params$Resource$Projects$Locations$Meshes$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
2908
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2909
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2910
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2911
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2912
|
-
/**
|
|
2913
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
2914
|
-
*
|
|
2915
|
-
* @param params - Parameters for request
|
|
2916
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2917
|
-
* @param callback - Optional callback that handles the response.
|
|
2918
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2919
|
-
*/
|
|
2920
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2921
|
-
testIamPermissions(params?: Params$Resource$Projects$Locations$Meshes$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
2922
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2923
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2924
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2925
|
-
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2926
2967
|
}
|
|
2927
2968
|
export interface Params$Resource$Projects$Locations$Meshes$Create extends StandardParameters {
|
|
2928
2969
|
/**
|
|
@@ -2950,16 +2991,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2950
2991
|
*/
|
|
2951
2992
|
name?: string;
|
|
2952
2993
|
}
|
|
2953
|
-
export interface Params$Resource$Projects$Locations$Meshes$Getiampolicy extends StandardParameters {
|
|
2954
|
-
/**
|
|
2955
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2956
|
-
*/
|
|
2957
|
-
'options.requestedPolicyVersion'?: number;
|
|
2958
|
-
/**
|
|
2959
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2960
|
-
*/
|
|
2961
|
-
resource?: string;
|
|
2962
|
-
}
|
|
2963
2994
|
export interface Params$Resource$Projects$Locations$Meshes$List extends StandardParameters {
|
|
2964
2995
|
/**
|
|
2965
2996
|
* Maximum number of Meshes to return per call.
|
|
@@ -2976,7 +3007,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2976
3007
|
}
|
|
2977
3008
|
export interface Params$Resource$Projects$Locations$Meshes$Patch extends StandardParameters {
|
|
2978
3009
|
/**
|
|
2979
|
-
*
|
|
3010
|
+
* Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
|
|
2980
3011
|
*/
|
|
2981
3012
|
name?: string;
|
|
2982
3013
|
/**
|
|
@@ -2988,26 +3019,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2988
3019
|
*/
|
|
2989
3020
|
requestBody?: Schema$Mesh;
|
|
2990
3021
|
}
|
|
2991
|
-
export interface Params$Resource$Projects$Locations$Meshes$Setiampolicy extends StandardParameters {
|
|
2992
|
-
/**
|
|
2993
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2994
|
-
*/
|
|
2995
|
-
resource?: string;
|
|
2996
|
-
/**
|
|
2997
|
-
* Request body metadata
|
|
2998
|
-
*/
|
|
2999
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3000
|
-
}
|
|
3001
|
-
export interface Params$Resource$Projects$Locations$Meshes$Testiampermissions extends StandardParameters {
|
|
3002
|
-
/**
|
|
3003
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3004
|
-
*/
|
|
3005
|
-
resource?: string;
|
|
3006
|
-
/**
|
|
3007
|
-
* Request body metadata
|
|
3008
|
-
*/
|
|
3009
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3010
|
-
}
|
|
3011
3022
|
export class Resource$Projects$Locations$Operations {
|
|
3012
3023
|
context: APIRequestContext;
|
|
3013
3024
|
constructor(context: APIRequestContext);
|
|
@@ -3153,20 +3164,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3153
3164
|
get(params: Params$Resource$Projects$Locations$Servicebindings$Get, options: MethodOptions | BodyResponseCallback<Schema$ServiceBinding>, callback: BodyResponseCallback<Schema$ServiceBinding>): void;
|
|
3154
3165
|
get(params: Params$Resource$Projects$Locations$Servicebindings$Get, callback: BodyResponseCallback<Schema$ServiceBinding>): void;
|
|
3155
3166
|
get(callback: BodyResponseCallback<Schema$ServiceBinding>): void;
|
|
3156
|
-
/**
|
|
3157
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3158
|
-
*
|
|
3159
|
-
* @param params - Parameters for request
|
|
3160
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3161
|
-
* @param callback - Optional callback that handles the response.
|
|
3162
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3163
|
-
*/
|
|
3164
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3165
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
3166
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3167
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3168
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3169
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3170
3167
|
/**
|
|
3171
3168
|
* Lists ServiceBinding in a given project and location.
|
|
3172
3169
|
*
|
|
@@ -3181,34 +3178,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3181
3178
|
list(params: Params$Resource$Projects$Locations$Servicebindings$List, options: MethodOptions | BodyResponseCallback<Schema$ListServiceBindingsResponse>, callback: BodyResponseCallback<Schema$ListServiceBindingsResponse>): void;
|
|
3182
3179
|
list(params: Params$Resource$Projects$Locations$Servicebindings$List, callback: BodyResponseCallback<Schema$ListServiceBindingsResponse>): void;
|
|
3183
3180
|
list(callback: BodyResponseCallback<Schema$ListServiceBindingsResponse>): void;
|
|
3184
|
-
/**
|
|
3185
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3186
|
-
*
|
|
3187
|
-
* @param params - Parameters for request
|
|
3188
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3189
|
-
* @param callback - Optional callback that handles the response.
|
|
3190
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3191
|
-
*/
|
|
3192
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3193
|
-
setIamPolicy(params?: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
3194
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3195
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3196
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3197
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3198
|
-
/**
|
|
3199
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
3200
|
-
*
|
|
3201
|
-
* @param params - Parameters for request
|
|
3202
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3203
|
-
* @param callback - Optional callback that handles the response.
|
|
3204
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3205
|
-
*/
|
|
3206
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3207
|
-
testIamPermissions(params?: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
3208
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3209
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3210
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3211
|
-
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3212
3181
|
}
|
|
3213
3182
|
export interface Params$Resource$Projects$Locations$Servicebindings$Create extends StandardParameters {
|
|
3214
3183
|
/**
|
|
@@ -3236,16 +3205,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3236
3205
|
*/
|
|
3237
3206
|
name?: string;
|
|
3238
3207
|
}
|
|
3239
|
-
export interface Params$Resource$Projects$Locations$Servicebindings$Getiampolicy extends StandardParameters {
|
|
3240
|
-
/**
|
|
3241
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
3242
|
-
*/
|
|
3243
|
-
'options.requestedPolicyVersion'?: number;
|
|
3244
|
-
/**
|
|
3245
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3246
|
-
*/
|
|
3247
|
-
resource?: string;
|
|
3248
|
-
}
|
|
3249
3208
|
export interface Params$Resource$Projects$Locations$Servicebindings$List extends StandardParameters {
|
|
3250
3209
|
/**
|
|
3251
3210
|
* Maximum number of ServiceBindings to return per call.
|
|
@@ -3260,26 +3219,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3260
3219
|
*/
|
|
3261
3220
|
parent?: string;
|
|
3262
3221
|
}
|
|
3263
|
-
export interface Params$Resource$Projects$Locations$Servicebindings$Setiampolicy extends StandardParameters {
|
|
3264
|
-
/**
|
|
3265
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3266
|
-
*/
|
|
3267
|
-
resource?: string;
|
|
3268
|
-
/**
|
|
3269
|
-
* Request body metadata
|
|
3270
|
-
*/
|
|
3271
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3272
|
-
}
|
|
3273
|
-
export interface Params$Resource$Projects$Locations$Servicebindings$Testiampermissions extends StandardParameters {
|
|
3274
|
-
/**
|
|
3275
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3276
|
-
*/
|
|
3277
|
-
resource?: string;
|
|
3278
|
-
/**
|
|
3279
|
-
* Request body metadata
|
|
3280
|
-
*/
|
|
3281
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3282
|
-
}
|
|
3283
3222
|
export class Resource$Projects$Locations$Servicelbpolicies {
|
|
3284
3223
|
context: APIRequestContext;
|
|
3285
3224
|
constructor(context: APIRequestContext);
|
|
@@ -3596,7 +3535,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3596
3535
|
}
|
|
3597
3536
|
export interface Params$Resource$Projects$Locations$Tcproutes$Patch extends StandardParameters {
|
|
3598
3537
|
/**
|
|
3599
|
-
*
|
|
3538
|
+
* Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
|
|
3600
3539
|
*/
|
|
3601
3540
|
name?: string;
|
|
3602
3541
|
/**
|
|
@@ -3724,7 +3663,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3724
3663
|
}
|
|
3725
3664
|
export interface Params$Resource$Projects$Locations$Tlsroutes$Patch extends StandardParameters {
|
|
3726
3665
|
/**
|
|
3727
|
-
*
|
|
3666
|
+
* Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
|
|
3728
3667
|
*/
|
|
3729
3668
|
name?: string;
|
|
3730
3669
|
/**
|