@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20231128 → 0.0.20231213
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/index.d.ts +82 -2
- package/package.json +1 -1
- package/readme.md +10 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231213
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -92,7 +92,7 @@ declare namespace gapi.client {
|
|
|
92
92
|
interface Binding {
|
|
93
93
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
94
94
|
condition?: Expr;
|
|
95
|
-
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. */
|
|
95
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
96
96
|
members?: string[];
|
|
97
97
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
98
98
|
role?: string;
|
|
@@ -260,6 +260,12 @@ declare namespace gapi.client {
|
|
|
260
260
|
/** List of the Service Perimeter instances. */
|
|
261
261
|
servicePerimeters?: ServicePerimeter[];
|
|
262
262
|
}
|
|
263
|
+
interface ListSupportedServicesResponse {
|
|
264
|
+
/** The pagination token to retrieve the next page of results. If the value is empty, no further results remain. */
|
|
265
|
+
nextPageToken?: string;
|
|
266
|
+
/** List of services supported by {{vpcsvcctl_name_short}} instances. */
|
|
267
|
+
supportedServices?: SupportedService[];
|
|
268
|
+
}
|
|
263
269
|
interface MethodSelector {
|
|
264
270
|
/** Value for `method` should be a valid method name for the corresponding `service_name` in ApiOperation. If `*` used as value for `method`, then ALL methods and permissions are allowed. */
|
|
265
271
|
method?: string;
|
|
@@ -360,6 +366,20 @@ declare namespace gapi.client {
|
|
|
360
366
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
361
367
|
message?: string;
|
|
362
368
|
}
|
|
369
|
+
interface SupportedService {
|
|
370
|
+
/** True if the service is available on the restricted VIP. Services on the restricted VIP typically either support {{vpcsvcctl_name_short}} or are core infrastructure services required for the functioning of Google Cloud. */
|
|
371
|
+
availableOnRestrictedVip?: boolean;
|
|
372
|
+
/** True if the service is supported with some limitations. Check documentation for details. */
|
|
373
|
+
knownLimitations?: boolean;
|
|
374
|
+
/** The service name or address of the supported service, such as `service.googleapis.com`. */
|
|
375
|
+
name?: string;
|
|
376
|
+
/** The list of the supported methods. Field exist only in response on [GetSupportedService] */
|
|
377
|
+
supportedMethods?: MethodSelector[];
|
|
378
|
+
/** The support stage of the service. */
|
|
379
|
+
supportStage?: string;
|
|
380
|
+
/** The name of the supported product, such as 'Cloud Product API' */
|
|
381
|
+
title?: string;
|
|
382
|
+
}
|
|
363
383
|
interface TestIamPermissionsRequest {
|
|
364
384
|
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
365
385
|
permissions?: string[];
|
|
@@ -1896,11 +1916,71 @@ declare namespace gapi.client {
|
|
|
1896
1916
|
interface OrganizationsResource {
|
|
1897
1917
|
gcpUserAccessBindings: GcpUserAccessBindingsResource;
|
|
1898
1918
|
}
|
|
1919
|
+
interface ServicesResource {
|
|
1920
|
+
/** Returns a VPC-SC supported service based on the service name. */
|
|
1921
|
+
get(request?: {
|
|
1922
|
+
/** V1 error format. */
|
|
1923
|
+
'$.xgafv'?: string;
|
|
1924
|
+
/** OAuth access token. */
|
|
1925
|
+
access_token?: string;
|
|
1926
|
+
/** Data format for response. */
|
|
1927
|
+
alt?: string;
|
|
1928
|
+
/** JSONP */
|
|
1929
|
+
callback?: string;
|
|
1930
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1931
|
+
fields?: string;
|
|
1932
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1933
|
+
key?: string;
|
|
1934
|
+
/** The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example, `storage.googleapis.com`. */
|
|
1935
|
+
name: string;
|
|
1936
|
+
/** OAuth 2.0 token for the current user. */
|
|
1937
|
+
oauth_token?: string;
|
|
1938
|
+
/** Returns response with indentations and line breaks. */
|
|
1939
|
+
prettyPrint?: boolean;
|
|
1940
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1941
|
+
quotaUser?: string;
|
|
1942
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1943
|
+
upload_protocol?: string;
|
|
1944
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1945
|
+
uploadType?: string;
|
|
1946
|
+
}): Request<SupportedService>;
|
|
1947
|
+
/** Lists all VPC-SC supported services. */
|
|
1948
|
+
list(request?: {
|
|
1949
|
+
/** V1 error format. */
|
|
1950
|
+
'$.xgafv'?: string;
|
|
1951
|
+
/** OAuth access token. */
|
|
1952
|
+
access_token?: string;
|
|
1953
|
+
/** Data format for response. */
|
|
1954
|
+
alt?: string;
|
|
1955
|
+
/** JSONP */
|
|
1956
|
+
callback?: string;
|
|
1957
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1958
|
+
fields?: string;
|
|
1959
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1960
|
+
key?: string;
|
|
1961
|
+
/** OAuth 2.0 token for the current user. */
|
|
1962
|
+
oauth_token?: string;
|
|
1963
|
+
/** This flag specifies the maximum number of services to return per page. Default is 100. */
|
|
1964
|
+
pageSize?: number;
|
|
1965
|
+
/** Token to start on a later page. Default is the first page. */
|
|
1966
|
+
pageToken?: string;
|
|
1967
|
+
/** Returns response with indentations and line breaks. */
|
|
1968
|
+
prettyPrint?: boolean;
|
|
1969
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1970
|
+
quotaUser?: string;
|
|
1971
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1972
|
+
upload_protocol?: string;
|
|
1973
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1974
|
+
uploadType?: string;
|
|
1975
|
+
}): Request<ListSupportedServicesResponse>;
|
|
1976
|
+
}
|
|
1899
1977
|
|
|
1900
1978
|
const accessPolicies: AccessPoliciesResource;
|
|
1901
1979
|
|
|
1902
1980
|
const operations: OperationsResource;
|
|
1903
1981
|
|
|
1904
1982
|
const organizations: OrganizationsResource;
|
|
1983
|
+
|
|
1984
|
+
const services: ServicesResource;
|
|
1905
1985
|
}
|
|
1906
1986
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -134,4 +134,14 @@ await gapi.client.accesscontextmanager.operations.get({name: 'name'});
|
|
|
134
134
|
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
135
135
|
*/
|
|
136
136
|
await gapi.client.accesscontextmanager.operations.list({name: 'name'});
|
|
137
|
+
|
|
138
|
+
/*
|
|
139
|
+
Returns a VPC-SC supported service based on the service name.
|
|
140
|
+
*/
|
|
141
|
+
await gapi.client.accesscontextmanager.services.get({name: 'name'});
|
|
142
|
+
|
|
143
|
+
/*
|
|
144
|
+
Lists all VPC-SC supported services.
|
|
145
|
+
*/
|
|
146
|
+
await gapi.client.accesscontextmanager.services.list({});
|
|
137
147
|
```
|