@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.4.20260621 → 0.4.20260707

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 (2) hide show
  1. package/index.d.ts +37 -15
  2. package/package.json +1 -1
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: 20260621
12
+ // Revision: 20260707
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -63,6 +63,12 @@ declare namespace gapi.client {
63
63
  /** Optional. Session settings applied to user access on a given AccessScope. */
64
64
  sessionSettings?: SessionSettings;
65
65
  }
66
+ interface AddRequestHeader {
67
+ /** HTTP header key. */
68
+ key?: string;
69
+ /** HTTP header value. */
70
+ value?: string;
71
+ }
66
72
  interface ApiOperation {
67
73
  /** API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`. */
68
74
  methodSelectors?: MethodSelector[];
@@ -86,10 +92,7 @@ declare namespace gapi.client {
86
92
  exemptedMembers?: string[];
87
93
  /** The log type that this config enables. */
88
94
  logType?:
89
- | 'LOG_TYPE_UNSPECIFIED'
90
- | 'ADMIN_READ'
91
- | 'DATA_WRITE'
92
- | 'DATA_READ';
95
+ 'LOG_TYPE_UNSPECIFIED' | 'ADMIN_READ' | 'DATA_WRITE' | 'DATA_READ';
93
96
  }
94
97
  interface AuthorizedOrgsDesc {
95
98
  /** The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. */
@@ -104,8 +107,7 @@ declare namespace gapi.client {
104
107
  | 'AUTHORIZATION_DIRECTION_FROM';
105
108
  /** A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. */
106
109
  authorizationType?:
107
- | 'AUTHORIZATION_TYPE_UNSPECIFIED'
108
- | 'AUTHORIZATION_TYPE_TRUST';
110
+ 'AUTHORIZATION_TYPE_UNSPECIFIED' | 'AUTHORIZATION_TYPE_TRUST';
109
111
  /** Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. */
110
112
  name?: string;
111
113
  /** The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` */
@@ -161,10 +163,7 @@ declare namespace gapi.client {
161
163
  interface DevicePolicy {
162
164
  /** Allowed device management levels, an empty list allows all management levels. */
163
165
  allowedDeviceManagementLevels?:
164
- | 'MANAGEMENT_UNSPECIFIED'
165
- | 'NONE'
166
- | 'BASIC'
167
- | 'COMPLETE'[];
166
+ 'MANAGEMENT_UNSPECIFIED' | 'NONE' | 'BASIC' | 'COMPLETE'[];
168
167
  /** Allowed encryptions statuses, an empty list allows all statuses. */
169
168
  allowedEncryptionStatuses?:
170
169
  | 'ENCRYPTION_UNSPECIFIED'
@@ -208,6 +207,8 @@ declare namespace gapi.client {
208
207
  interface EgressSource {
209
208
  /** An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. */
210
209
  accessLevel?: string;
210
+ /** A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. */
211
+ pscEndpoint?: PrivateServiceConnectEndpoint;
211
212
  /** A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources. */
212
213
  resource?: string;
213
214
  }
@@ -280,6 +281,8 @@ declare namespace gapi.client {
280
281
  interface IngressSource {
281
282
  /** An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. */
282
283
  accessLevel?: string;
284
+ /** A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. */
285
+ pscEndpoint?: PrivateServiceConnectEndpoint;
283
286
  /** A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported. */
284
287
  resource?: string;
285
288
  }
@@ -347,6 +350,10 @@ declare namespace gapi.client {
347
350
  /** A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation. */
348
351
  permission?: string;
349
352
  }
353
+ interface Modifier {
354
+ /** Adds additional HTTP request headers. */
355
+ addRequestHeader?: AddRequestHeader;
356
+ }
350
357
  interface Operation {
351
358
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
352
359
  done?: boolean;
@@ -384,6 +391,10 @@ declare namespace gapi.client {
384
391
  /** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
385
392
  version?: number;
386
393
  }
394
+ interface PrivateServiceConnectEndpoint {
395
+ /** The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. */
396
+ forwardingRule?: string;
397
+ }
387
398
  interface ReplaceAccessLevelsRequest {
388
399
  /** Required. The desired Access Levels that should replace all existing Access Levels in the Access Policy. */
389
400
  accessLevels?: AccessLevel[];
@@ -412,6 +423,14 @@ declare namespace gapi.client {
412
423
  /** Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. */
413
424
  scope?: AccessScope;
414
425
  }
426
+ interface ServicePattern {
427
+ /** Modifiers to apply to the requests that match the URL pattern. */
428
+ modifiers?: Modifier[];
429
+ /** URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be alphanumerical name. */
430
+ pattern?: string;
431
+ /** Supported service to allow. */
432
+ service?: string;
433
+ }
415
434
  interface ServicePerimeter {
416
435
  /** Description of the `ServicePerimeter` and its use. Does not affect behavior. */
417
436
  description?: string;
@@ -483,10 +502,7 @@ declare namespace gapi.client {
483
502
  name?: string;
484
503
  /** The support stage of the service. */
485
504
  serviceSupportStage?:
486
- | 'SERVICE_SUPPORT_STAGE_UNSPECIFIED'
487
- | 'GA'
488
- | 'PREVIEW'
489
- | 'DEPRECATED';
505
+ 'SERVICE_SUPPORT_STAGE_UNSPECIFIED' | 'GA' | 'PREVIEW' | 'DEPRECATED';
490
506
  /** The list of the supported methods. This field exists only in response to GetSupportedService */
491
507
  supportedMethods?: MethodSelector[];
492
508
  /** The support stage of the service. */
@@ -511,10 +527,16 @@ declare namespace gapi.client {
511
527
  permissions?: string[];
512
528
  }
513
529
  interface VpcAccessibleServices {
530
+ /** Specifies which Google services are allowed to be accessed from VPC networks in the service perimeter. */
531
+ allowedServicePatterns?: ServicePattern[];
514
532
  /** The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. */
515
533
  allowedServices?: string[];
516
534
  /** Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. */
517
535
  enableRestriction?: boolean;
536
+ /** Defines the enforcement scopes of service patterns. */
537
+ servicePatternsEnforcementScopes?:
538
+ | 'SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED'
539
+ | 'GOOGLE_APIS_VIA_PRIVATE_PATH'[];
518
540
  }
519
541
  interface VpcNetworkSource {
520
542
  /** Sub-segment ranges of a VPC network. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.4.20260621",
3
+ "version": "0.4.20260707",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",