Skip to content

Commit

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

The following keys were added:
- schemas.ResourceSearchResult.properties.kmsKeys (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Oct 4, 2022
1 parent f247869 commit a40c120
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docs/dyn/cloudasset_v1.v1.html
Expand Up @@ -1696,7 +1696,10 @@ <h3>Method Details</h3>
&quot;folders&quot;: [ # The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * Use a field query. Example: `folders:(123 OR 456)` * Use a free text query. Example: `123` * Specify the `scope` field as this folder in your search request.
&quot;A String&quot;,
],
&quot;kmsKey&quot;: &quot;A String&quot;, # The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource&#x27;s Protobuf contains it. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`
&quot;kmsKey&quot;: &quot;A String&quot;, # 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 types included in this list for backward compatible purpose. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`
&quot;kmsKeys&quot;: [ # The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) names or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) names. This field is available only when the resource&#x27;s Protobuf contains it. To search against the `kms_keys`: * Use a field query. Example: `kmsKeys:key` * Use a free text query. Example: `key`
&quot;A String&quot;,
],
&quot;labels&quot;: { # Labels associated with this resource. See [Labelling and grouping GCP 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 resource&#x27;s Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label&#x27;s key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label&#x27;s existence. Example: `labels.env:*` * Use a free text query. Example: `prod`
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down
11 changes: 9 additions & 2 deletions googleapiclient/discovery_cache/documents/cloudasset.v1.json
Expand Up @@ -929,7 +929,7 @@
}
}
},
"revision": "20220910",
"revision": "20220923",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AccessSelector": {
Expand Down Expand Up @@ -3263,9 +3263,16 @@
"type": "array"
},
"kmsKey": {
"description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource's Protobuf contains it. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`",
"description": "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 types included in this list for backward compatible purpose. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`",
"type": "string"
},
"kmsKeys": {
"description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) names or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) names. This field is available only when the 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`",
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
Expand Down
Expand Up @@ -411,7 +411,7 @@
}
}
},
"revision": "20220910",
"revision": "20221001",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningMetadata": {
Expand Down
Expand Up @@ -207,7 +207,7 @@
}
}
},
"revision": "20220910",
"revision": "20220923",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningMetadata": {
Expand Down
Expand Up @@ -177,7 +177,7 @@
}
}
},
"revision": "20220910",
"revision": "20221001",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningMetadata": {
Expand Down
Expand Up @@ -167,7 +167,7 @@
}
}
},
"revision": "20220910",
"revision": "20220923",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningMetadata": {
Expand Down

0 comments on commit a40c120

Please sign in to comment.