Skip to content

Commit

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

The following keys were deleted:
- schemas.GoogleFirestoreAdminV1CmekConfig (Total Keys: 6)
- schemas.GoogleFirestoreAdminV1Database.properties.cmekConfig.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Mar 5, 2024
1 parent 69f5b8b commit 43b4c8c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 50 deletions.
24 changes: 0 additions & 24 deletions docs/dyn/firestore_v1.projects.databases.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,6 @@ <h3>Method Details</h3>

{ # A Cloud Firestore Database.
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
&quot;cmekConfig&quot;: { # The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key. # Optional. Presence indicates CMEK is enabled for this database.
&quot;activeKeyVersion&quot;: [ # Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.google.com/kms/docs/key-rotation), there can be multiple in-use key versions. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`.
&quot;A String&quot;,
],
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Only keys in the same location as this database are allowed to be used for encryption. For Firestore&#x27;s nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore&#x27;s eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
},
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
&quot;deleteProtectionState&quot;: &quot;A String&quot;, # State of delete protection for the database.
Expand Down Expand Up @@ -290,12 +284,6 @@ <h3>Method Details</h3>

{ # A Cloud Firestore Database.
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
&quot;cmekConfig&quot;: { # The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key. # Optional. Presence indicates CMEK is enabled for this database.
&quot;activeKeyVersion&quot;: [ # Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.google.com/kms/docs/key-rotation), there can be multiple in-use key versions. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`.
&quot;A String&quot;,
],
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Only keys in the same location as this database are allowed to be used for encryption. For Firestore&#x27;s nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore&#x27;s eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
},
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
&quot;deleteProtectionState&quot;: &quot;A String&quot;, # State of delete protection for the database.
Expand Down Expand Up @@ -378,12 +366,6 @@ <h3>Method Details</h3>
&quot;databases&quot;: [ # The databases in the project.
{ # A Cloud Firestore Database.
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
&quot;cmekConfig&quot;: { # The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key. # Optional. Presence indicates CMEK is enabled for this database.
&quot;activeKeyVersion&quot;: [ # Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.google.com/kms/docs/key-rotation), there can be multiple in-use key versions. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`.
&quot;A String&quot;,
],
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Only keys in the same location as this database are allowed to be used for encryption. For Firestore&#x27;s nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore&#x27;s eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
},
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
&quot;deleteProtectionState&quot;: &quot;A String&quot;, # State of delete protection for the database.
Expand Down Expand Up @@ -416,12 +398,6 @@ <h3>Method Details</h3>

{ # A Cloud Firestore Database.
&quot;appEngineIntegrationMode&quot;: &quot;A String&quot;, # The App Engine integration mode to use for this database.
&quot;cmekConfig&quot;: { # The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key. # Optional. Presence indicates CMEK is enabled for this database.
&quot;activeKeyVersion&quot;: [ # Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.google.com/kms/docs/key-rotation), there can be multiple in-use key versions. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`.
&quot;A String&quot;,
],
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Only keys in the same location as this database are allowed to be used for encryption. For Firestore&#x27;s nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore&#x27;s eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
},
&quot;concurrencyMode&quot;: &quot;A String&quot;, # The concurrency control mode to use for this database.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
&quot;deleteProtectionState&quot;: &quot;A String&quot;, # State of delete protection for the database.
Expand Down
25 changes: 1 addition & 24 deletions googleapiclient/discovery_cache/documents/firestore.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@
}
}
},
"revision": "20240215",
"revision": "20240226",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -2390,25 +2390,6 @@
},
"type": "object"
},
"GoogleFirestoreAdminV1CmekConfig": {
"description": "The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key.",
"id": "GoogleFirestoreAdminV1CmekConfig",
"properties": {
"activeKeyVersion": {
"description": "Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.google.com/kms/docs/key-rotation), there can be multiple in-use key versions. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"kmsKeyName": {
"description": "Required. Only keys in the same location as this database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.",
"type": "string"
}
},
"type": "object"
},
"GoogleFirestoreAdminV1CreateDatabaseMetadata": {
"description": "Metadata related to the create database operation.",
"id": "GoogleFirestoreAdminV1CreateDatabaseMetadata",
Expand Down Expand Up @@ -2439,10 +2420,6 @@
],
"type": "string"
},
"cmekConfig": {
"$ref": "GoogleFirestoreAdminV1CmekConfig",
"description": "Optional. Presence indicates CMEK is enabled for this database."
},
"concurrencyMode": {
"description": "The concurrency control mode to use for this database.",
"enum": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@
}
}
},
"revision": "20240215",
"revision": "20240226",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
}
}
},
"revision": "20240215",
"revision": "20240226",
"rootUrl": "https://firestore.googleapis.com/",
"schemas": {
"Empty": {
Expand Down

0 comments on commit 43b4c8c

Please sign in to comment.