Skip to content

Commit

Permalink
fix(cloudasset): update the API
Browse files Browse the repository at this point in the history
#### cloudasset:v1

The following keys were changed:
- schemas.GoogleCloudAssetV1CustomConstraint.properties.methodTypes.items.enum
- schemas.GoogleCloudAssetV1CustomConstraint.properties.methodTypes.items.enumDescriptions
- schemas.ResourceSearchResult.properties.enrichments.description
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 30, 2024
1 parent d19c969 commit 09063b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions discovery/cloudasset-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@
}
}
},
"revision": "20240816",
"revision": "20240823",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AccessSelector": {
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion src/apis/cloudasset/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
/**
Expand Down

0 comments on commit 09063b6

Please sign in to comment.