@maxim_mazurok/gapi.client.cloudasset-v1 0.0.20220910 → 0.0.20221001
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 +16 -10
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://cloudasset.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20221001
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -1299,11 +1298,17 @@ declare namespace gapi.client {
|
|
|
1299
1298
|
*/
|
|
1300
1299
|
folders?: string[];
|
|
1301
1300
|
/**
|
|
1302
|
-
*
|
|
1303
|
-
* [
|
|
1304
|
-
*
|
|
1301
|
+
* This field only presents for the purpose of backward-compatibility. Please use `kms_keys` field to retrieve KMS key information. This field will only be populated for the resource
|
|
1302
|
+
* types included in this [list](https://cloud.google.com/asset-inventory/docs/legacy-fields#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible purpose. To
|
|
1303
|
+
* search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`
|
|
1305
1304
|
*/
|
|
1306
1305
|
kmsKey?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) names or
|
|
1308
|
+
* [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) names. This field is available only when the
|
|
1309
|
+
* resource's Protobuf contains it. To search against the `kms_keys`: * Use a field query. Example: `kmsKeys:key` * Use a free text query. Example: `key`
|
|
1310
|
+
*/
|
|
1311
|
+
kmsKeys?: string[];
|
|
1307
1312
|
/**
|
|
1308
1313
|
* Labels associated with this resource. See [Labelling and grouping GCP
|
|
1309
1314
|
* resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the
|
|
@@ -2612,8 +2617,8 @@ declare namespace gapi.client {
|
|
|
2612
2617
|
/**
|
|
2613
2618
|
* Optional. A comma-separated list of fields specifying the sorting order of the results. The default order is ascending. Add " DESC" after the field name to indicate descending
|
|
2614
2619
|
* order. Redundant space characters are ignored. Example: "location DESC, name". Only singular primitive fields in the response are sortable: * name * assetType * project *
|
|
2615
|
-
* displayName * description * location *
|
|
2616
|
-
* `networkTags
|
|
2620
|
+
* displayName * description * location * createTime * updateTime * state * parentFullResourceName * parentAssetType All the other fields such as repeated fields (e.g.,
|
|
2621
|
+
* `networkTags`, 'kmsKeys'), map fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`) are not supported.
|
|
2617
2622
|
*/
|
|
2618
2623
|
orderBy?: string;
|
|
2619
2624
|
/**
|
|
@@ -2634,8 +2639,9 @@ declare namespace gapi.client {
|
|
|
2634
2639
|
* a word. * `name=Important` to find the Cloud resource whose name is exactly "Important". * `displayName:Impor*` to find Cloud resources whose display name contains "Impor" as a
|
|
2635
2640
|
* prefix of any word in the field. * `location:us-west*` to find Cloud resources whose location contains both "us" and "west" as prefixes. * `labels:prod` to find Cloud resources
|
|
2636
2641
|
* whose labels contain "prod" as a key or value. * `labels.env:prod` to find Cloud resources that have a label "env" and its value is "prod". * `labels.env:*` to find Cloud
|
|
2637
|
-
* resources that have a label "env". * `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption key whose name contains
|
|
2638
|
-
* `
|
|
2642
|
+
* resources that have a label "env". * `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption key whose name contains "key" as a word. This field is
|
|
2643
|
+
* deprecated. Please use the `"kmsKeys"` field to retrieve KMS key information. * `kmsKeys:key` to find Cloud resources encrypted with customer-managed encryption keys whose name
|
|
2644
|
+
* contains the word "key". * `relationships:instance-group-1` to find Cloud resources that have relationships with "instance-group-1" in the related resource name. *
|
|
2639
2645
|
* `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that have relationships of type "INSTANCE_TO_INSTANCEGROUP". *
|
|
2640
2646
|
* `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find compute instances that have relationships with "instance-group-1" in the compute instance group resource name,
|
|
2641
2647
|
* for relationship type "INSTANCE_TO_INSTANCEGROUP". * `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a word. * `NOT state:ACTIVE` to find Cloud resources
|
|
@@ -2652,7 +2658,7 @@ declare namespace gapi.client {
|
|
|
2652
2658
|
* Optional. A comma-separated list of fields specifying which fields to be returned in ResourceSearchResult. Only '*' or combination of top level fields can be specified. Field
|
|
2653
2659
|
* names of both snake_case and camelCase are supported. Examples: `"*"`, `"name,location"`, `"name,versionedResources"`. The read_mask paths must be valid field paths listed but
|
|
2654
2660
|
* not limited to (both snake_case and camelCase are supported): * name * assetType * project * displayName * description * location * tagKeys * tagValues * tagValueIds * labels *
|
|
2655
|
-
* networkTags *
|
|
2661
|
+
* networkTags * kmsKeys * createTime * updateTime * state * additionalAttributes * versionedResources If read_mask is not specified, all fields except versionedResources will be
|
|
2656
2662
|
* returned. If only '*' is specified, all fields including versionedResources will be returned. Any invalid field path will trigger INVALID_ARGUMENT error.
|
|
2657
2663
|
*/
|
|
2658
2664
|
readMask?: string;
|
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: 20221001
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|