Skip to content

Commit 09063b6

Browse files
yoshi-automationsofisl
authored andcommitted
fix(cloudasset): update the API
#### cloudasset:v1 The following keys were changed: - schemas.GoogleCloudAssetV1CustomConstraint.properties.methodTypes.items.enum - schemas.GoogleCloudAssetV1CustomConstraint.properties.methodTypes.items.enumDescriptions - schemas.ResourceSearchResult.properties.enrichments.description
1 parent d19c969 commit 09063b6

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

‎discovery/cloudasset-v1.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@
11481148
}
11491149
}
11501150
},
1151-
"revision": "20240816",
1151+
"revision": "20240823",
11521152
"rootUrl": "https://cloudasset.googleapis.com/",
11531153
"schemas": {
11541154
"AccessSelector": {
@@ -2142,13 +2142,17 @@
21422142
"METHOD_TYPE_UNSPECIFIED",
21432143
"CREATE",
21442144
"UPDATE",
2145-
"DELETE"
2145+
"DELETE",
2146+
"REMOVE_GRANT",
2147+
"GOVERN_TAGS"
21462148
],
21472149
"enumDescriptions": [
21482150
"Unspecified. Will results in user error.",
21492151
"Constraint applied when creating the resource.",
21502152
"Constraint applied when updating the resource.",
2151-
"Constraint applied when deleting the resource."
2153+
"Constraint applied when deleting the resource.",
2154+
"Constraint applied when removing an IAM grant.",
2155+
"Constraint applied when enforcing forced tagging."
21522156
],
21532157
"type": "string"
21542158
},
@@ -4203,7 +4207,7 @@
42034207
"type": "array"
42044208
},
42054209
"enrichments": {
4206-
"description": "Enrichments of the asset.",
4210+
"description": "Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: scope: \"projects/my-project\" query: \"name: my-project\" assetTypes: \"cloudresourcemanager.googleapis.com/Project\" readMask: { paths: \"asset_type\" paths: \"name\" paths: \"enrichments.resource_owners\" }",
42074211
"items": {
42084212
"$ref": "AssetEnrichment"
42094213
},

‎src/apis/cloudasset/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ export namespace cloudasset_v1 {
23382338
*/
23392339
effectiveTags?: Schema$EffectiveTagDetails[];
23402340
/**
2341-
* Enrichments of the asset.
2341+
* Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: scope: "projects/my-project" query: "name: my-project" assetTypes: "cloudresourcemanager.googleapis.com/Project" readMask: { paths: "asset_type" paths: "name" paths: "enrichments.resource_owners" \}
23422342
*/
23432343
enrichments?: Schema$AssetEnrichment[];
23442344
/**

0 commit comments

Comments
 (0)