@maxim_mazurok/gapi.client.cloudasset-v1beta1 0.0.20230902 → 0.0.20230908

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 +40 -1
  2. package/package.json +1 -1
  3. package/tests.ts +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://cloudasset.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230902
12
+ // Revision: 20230908
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -496,6 +496,9 @@ declare namespace gapi.client {
496
496
  */
497
497
  requiredAccessLevels?:
498
498
  string[];
499
+ /** The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. */
500
+ vpcNetworkSources?:
501
+ GoogleIdentityAccesscontextmanagerV1VpcNetworkSource[];
499
502
  }
500
503
  interface GoogleIdentityAccesscontextmanagerV1CustomLevel {
501
504
  /** Required. A Cloud CEL expression evaluating to a boolean. */
@@ -532,6 +535,12 @@ declare namespace gapi.client {
532
535
  /** Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. */
533
536
  identityType?:
534
537
  string;
538
+ /** Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. */
539
+ sourceRestriction?:
540
+ string;
541
+ /** Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. */
542
+ sources?:
543
+ GoogleIdentityAccesscontextmanagerV1EgressSource[];
535
544
  }
536
545
  interface GoogleIdentityAccesscontextmanagerV1EgressPolicy {
537
546
  /** Defines conditions on the source of a request causing this EgressPolicy to apply. */
@@ -541,6 +550,16 @@ declare namespace gapi.client {
541
550
  egressTo?:
542
551
  GoogleIdentityAccesscontextmanagerV1EgressTo;
543
552
  }
553
+ interface GoogleIdentityAccesscontextmanagerV1EgressSource {
554
+ /**
555
+ * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same
556
+ * 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
557
+ * accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for
558
+ * `access_level`, then all EgressSources will be allowed.
559
+ */
560
+ accessLevel?:
561
+ string;
562
+ }
544
563
  interface GoogleIdentityAccesscontextmanagerV1EgressTo {
545
564
  /**
546
565
  * A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage,
@@ -718,6 +737,26 @@ declare namespace gapi.client {
718
737
  enableRestriction?:
719
738
  boolean;
720
739
  }
740
+ interface GoogleIdentityAccesscontextmanagerV1VpcNetworkSource {
741
+ /** Sub-segment ranges of a VPC network. */
742
+ vpcSubnetwork?:
743
+ GoogleIdentityAccesscontextmanagerV1VpcSubNetwork;
744
+ }
745
+ interface GoogleIdentityAccesscontextmanagerV1VpcSubNetwork {
746
+ /**
747
+ * Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format:
748
+ * `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`
749
+ */
750
+ network?:
751
+ string;
752
+ /**
753
+ * CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP
754
+ * address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
755
+ * not. If empty, all IP addresses are allowed.
756
+ */
757
+ vpcIpSubnetworks?:
758
+ string[];
759
+ }
721
760
  interface Operation {
722
761
  /** 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. */
723
762
  done?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudasset-v1beta1",
3
- "version": "0.0.20230902",
3
+ "version": "0.0.20230908",
4
4
  "description": "TypeScript typings for Cloud Asset API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230902
6
+ // Revision: 20230908
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */