diff --git a/discovery/cloudasset-v1.json b/discovery/cloudasset-v1.json index e4ba4bcaf1..e19626a9fb 100644 --- a/discovery/cloudasset-v1.json +++ b/discovery/cloudasset-v1.json @@ -1148,7 +1148,7 @@ } } }, - "revision": "20240816", + "revision": "20240823", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -2142,13 +2142,17 @@ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", - "DELETE" + "DELETE", + "REMOVE_GRANT", + "GOVERN_TAGS" ], "enumDescriptions": [ "Unspecified. Will results in user error.", "Constraint applied when creating the resource.", "Constraint applied when updating the resource.", - "Constraint applied when deleting the resource." + "Constraint applied when deleting the resource.", + "Constraint applied when removing an IAM grant.", + "Constraint applied when enforcing forced tagging." ], "type": "string" }, @@ -4203,7 +4207,7 @@ "type": "array" }, "enrichments": { - "description": "Enrichments of the asset.", + "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\" }", "items": { "$ref": "AssetEnrichment" }, diff --git a/src/apis/cloudasset/v1.ts b/src/apis/cloudasset/v1.ts index 68124f05e5..4035946e06 100644 --- a/src/apis/cloudasset/v1.ts +++ b/src/apis/cloudasset/v1.ts @@ -2338,7 +2338,7 @@ export namespace cloudasset_v1 { */ effectiveTags?: Schema$EffectiveTagDetails[]; /** - * Enrichments of the asset. + * 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" \} */ enrichments?: Schema$AssetEnrichment[]; /**