@maxim_mazurok/gapi.client.cloudasset-v1 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.
- package/index.d.ts +40 -1
- package/package.json +1 -1
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230908
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1122,6 +1122,9 @@ declare namespace gapi.client {
|
|
|
1122
1122
|
*/
|
|
1123
1123
|
requiredAccessLevels?:
|
|
1124
1124
|
string[];
|
|
1125
|
+
/** The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. */
|
|
1126
|
+
vpcNetworkSources?:
|
|
1127
|
+
GoogleIdentityAccesscontextmanagerV1VpcNetworkSource[];
|
|
1125
1128
|
}
|
|
1126
1129
|
interface GoogleIdentityAccesscontextmanagerV1CustomLevel {
|
|
1127
1130
|
/** Required. A Cloud CEL expression evaluating to a boolean. */
|
|
@@ -1158,6 +1161,12 @@ declare namespace gapi.client {
|
|
|
1158
1161
|
/** 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. */
|
|
1159
1162
|
identityType?:
|
|
1160
1163
|
string;
|
|
1164
|
+
/** 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`. */
|
|
1165
|
+
sourceRestriction?:
|
|
1166
|
+
string;
|
|
1167
|
+
/** Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. */
|
|
1168
|
+
sources?:
|
|
1169
|
+
GoogleIdentityAccesscontextmanagerV1EgressSource[];
|
|
1161
1170
|
}
|
|
1162
1171
|
interface GoogleIdentityAccesscontextmanagerV1EgressPolicy {
|
|
1163
1172
|
/** Defines conditions on the source of a request causing this EgressPolicy to apply. */
|
|
@@ -1167,6 +1176,16 @@ declare namespace gapi.client {
|
|
|
1167
1176
|
egressTo?:
|
|
1168
1177
|
GoogleIdentityAccesscontextmanagerV1EgressTo;
|
|
1169
1178
|
}
|
|
1179
|
+
interface GoogleIdentityAccesscontextmanagerV1EgressSource {
|
|
1180
|
+
/**
|
|
1181
|
+
* An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same
|
|
1182
|
+
* 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
|
|
1183
|
+
* accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for
|
|
1184
|
+
* `access_level`, then all EgressSources will be allowed.
|
|
1185
|
+
*/
|
|
1186
|
+
accessLevel?:
|
|
1187
|
+
string;
|
|
1188
|
+
}
|
|
1170
1189
|
interface GoogleIdentityAccesscontextmanagerV1EgressTo {
|
|
1171
1190
|
/**
|
|
1172
1191
|
* 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,
|
|
@@ -1344,6 +1363,26 @@ declare namespace gapi.client {
|
|
|
1344
1363
|
enableRestriction?:
|
|
1345
1364
|
boolean;
|
|
1346
1365
|
}
|
|
1366
|
+
interface GoogleIdentityAccesscontextmanagerV1VpcNetworkSource {
|
|
1367
|
+
/** Sub-segment ranges of a VPC network. */
|
|
1368
|
+
vpcSubnetwork?:
|
|
1369
|
+
GoogleIdentityAccesscontextmanagerV1VpcSubNetwork;
|
|
1370
|
+
}
|
|
1371
|
+
interface GoogleIdentityAccesscontextmanagerV1VpcSubNetwork {
|
|
1372
|
+
/**
|
|
1373
|
+
* Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format:
|
|
1374
|
+
* `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`
|
|
1375
|
+
*/
|
|
1376
|
+
network?:
|
|
1377
|
+
string;
|
|
1378
|
+
/**
|
|
1379
|
+
* 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
|
|
1380
|
+
* 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
|
|
1381
|
+
* not. If empty, all IP addresses are allowed.
|
|
1382
|
+
*/
|
|
1383
|
+
vpcIpSubnetworks?:
|
|
1384
|
+
string[];
|
|
1385
|
+
}
|
|
1347
1386
|
interface IamPolicyAnalysis {
|
|
1348
1387
|
/** The analysis query. */
|
|
1349
1388
|
analysisQuery?:
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230908
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|