@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.4.20260329 → 0.4.20260506

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.
Files changed (3) hide show
  1. package/index.d.ts +15 -15
  2. package/package.json +1 -1
  3. package/readme.md +4 -4
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: 20260329
12
+ // Revision: 20260506
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -330,13 +330,13 @@ declare namespace gapi.client {
330
330
  servicePerimeters?: ServicePerimeter[];
331
331
  }
332
332
  interface ListSupportedPermissionsResponse {
333
- /** The pagination token to retrieve the next page of results. If the value is empty, no further results remain. */
333
+ /** Use this pagination token to retrieve the next page of results. An empty value indicates that no further results are available. */
334
334
  nextPageToken?: string;
335
- /** List of VPC-SC supported permissions. */
335
+ /** List of VPC Service Controls supported permissions. */
336
336
  supportedPermissions?: string[];
337
337
  }
338
338
  interface ListSupportedServicesResponse {
339
- /** The pagination token to retrieve the next page of results. If the value is empty, no further results remain. */
339
+ /** Use this pagination token to retrieve the next page of results. An empty value indicates that no further results are available. */
340
340
  nextPageToken?: string;
341
341
  /** List of services supported by VPC Service Controls instances. */
342
342
  supportedServices?: SupportedService[];
@@ -794,7 +794,7 @@ declare namespace gapi.client {
794
794
  },
795
795
  body: ReplaceAccessLevelsRequest,
796
796
  ): Request<Operation>;
797
- /** Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. */
797
+ /** Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. **IAM Permissions**: No specific IAM permission is required to call this method. It returns the subset of the requested permissions that the caller possesses. */
798
798
  testIamPermissions(
799
799
  request: {
800
800
  /** V1 error format. */
@@ -1296,7 +1296,7 @@ declare namespace gapi.client {
1296
1296
  },
1297
1297
  body: ServicePerimeter,
1298
1298
  ): Request<Operation>;
1299
- /** Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacement are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse. */
1299
+ /** Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse. */
1300
1300
  replaceAll(request: {
1301
1301
  /** V1 error format. */
1302
1302
  '$.xgafv'?: '1' | '2';
@@ -1354,7 +1354,7 @@ declare namespace gapi.client {
1354
1354
  },
1355
1355
  body: ReplaceServicePerimetersRequest,
1356
1356
  ): Request<Operation>;
1357
- /** Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. */
1357
+ /** Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. **IAM Permissions**: No specific IAM permission is required to call this method. It returns the subset of the requested permissions that the caller possesses. */
1358
1358
  testIamPermissions(
1359
1359
  request: {
1360
1360
  /** V1 error format. */
@@ -1647,7 +1647,7 @@ declare namespace gapi.client {
1647
1647
  },
1648
1648
  body: SetIamPolicyRequest,
1649
1649
  ): Request<Policy>;
1650
- /** Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. */
1650
+ /** Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. **IAM Permissions**: No specific IAM permission is required to call this method. It returns the subset of the requested permissions that the caller possesses. */
1651
1651
  testIamPermissions(
1652
1652
  request: {
1653
1653
  /** V1 error format. */
@@ -2045,7 +2045,7 @@ declare namespace gapi.client {
2045
2045
  gcpUserAccessBindings: GcpUserAccessBindingsResource;
2046
2046
  }
2047
2047
  interface PermissionsResource {
2048
- /** Lists all supported permissions in VPCSC Granular Controls. */
2048
+ /** Lists all supported permissions in VPC Service Controls ingress and egress rules for Granular Controls. */
2049
2049
  list(request?: {
2050
2050
  /** V1 error format. */
2051
2051
  '$.xgafv'?: '1' | '2';
@@ -2061,9 +2061,9 @@ declare namespace gapi.client {
2061
2061
  key?: string;
2062
2062
  /** OAuth 2.0 token for the current user. */
2063
2063
  oauth_token?: string;
2064
- /** Optional. This flag specifies the maximum number of services to return per page. Default is 100. */
2064
+ /** Optional. This flag specifies the maximum number of services to return per page. Default value is 100. */
2065
2065
  pageSize?: number;
2066
- /** Optional. Token to start on a later page. Default is the first page. */
2066
+ /** Optional. Use this token to retrieve a specific page of results. Default is the first page. */
2067
2067
  pageToken?: string;
2068
2068
  /** Returns response with indentations and line breaks. */
2069
2069
  prettyPrint?: boolean;
@@ -2076,7 +2076,7 @@ declare namespace gapi.client {
2076
2076
  }): Request<ListSupportedPermissionsResponse>;
2077
2077
  }
2078
2078
  interface ServicesResource {
2079
- /** Returns a VPC-SC supported service based on the service name. */
2079
+ /** Returns a VPC-SC supported service based on the service name. **IAM Permissions**: Requires the following IAM permissions to use this method: - `serviceusage.services.use` on the project. */
2080
2080
  get(request?: {
2081
2081
  /** V1 error format. */
2082
2082
  '$.xgafv'?: '1' | '2';
@@ -2103,7 +2103,7 @@ declare namespace gapi.client {
2103
2103
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2104
2104
  uploadType?: string;
2105
2105
  }): Request<SupportedService>;
2106
- /** Lists all VPC-SC supported services. */
2106
+ /** Lists all VPC-SC supported services. **IAM Permissions**: Requires the following IAM permissions to use this method: - `serviceusage.services.use` on the project. */
2107
2107
  list(request?: {
2108
2108
  /** V1 error format. */
2109
2109
  '$.xgafv'?: '1' | '2';
@@ -2119,9 +2119,9 @@ declare namespace gapi.client {
2119
2119
  key?: string;
2120
2120
  /** OAuth 2.0 token for the current user. */
2121
2121
  oauth_token?: string;
2122
- /** This flag specifies the maximum number of services to return per page. Default is 100. */
2122
+ /** This flag specifies the maximum number of services to return per page. Default value is 100. */
2123
2123
  pageSize?: number;
2124
- /** Token to start on a later page. Default is the first page. */
2124
+ /** Use this token to retrieve a specific page of results. Default is the first page. */
2125
2125
  pageToken?: string;
2126
2126
  /** Returns response with indentations and line breaks. */
2127
2127
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.4.20260329",
3
+ "version": "0.4.20260506",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -126,7 +126,7 @@ await gapi.client.accesscontextmanager.accessPolicies.setIamPolicy({
126
126
  });
127
127
 
128
128
  /*
129
- Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources.
129
+ Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. **IAM Permissions**: No specific IAM permission is required to call this method. It returns the subset of the requested permissions that the caller possesses.
130
130
  */
131
131
  await gapi.client.accesscontextmanager.accessPolicies.testIamPermissions({
132
132
  resource: 'resource',
@@ -153,17 +153,17 @@ Lists operations that match the specified filter in the request. If the server d
153
153
  await gapi.client.accesscontextmanager.operations.list({name: 'name'});
154
154
 
155
155
  /*
156
- Lists all supported permissions in VPCSC Granular Controls.
156
+ Lists all supported permissions in VPC Service Controls ingress and egress rules for Granular Controls.
157
157
  */
158
158
  await gapi.client.accesscontextmanager.permissions.list({});
159
159
 
160
160
  /*
161
- Returns a VPC-SC supported service based on the service name.
161
+ Returns a VPC-SC supported service based on the service name. **IAM Permissions**: Requires the following IAM permissions to use this method: - `serviceusage.services.use` on the project.
162
162
  */
163
163
  await gapi.client.accesscontextmanager.services.get({name: 'name'});
164
164
 
165
165
  /*
166
- Lists all VPC-SC supported services.
166
+ Lists all VPC-SC supported services. **IAM Permissions**: Requires the following IAM permissions to use this method: - `serviceusage.services.use` on the project.
167
167
  */
168
168
  await gapi.client.accesscontextmanager.services.list({});
169
169
  ```