Skip to content

Commit

Permalink
feat(metastore): update the API
Browse files Browse the repository at this point in the history
#### metastore:v1alpha

The following keys were added:
- schemas.EncryptionConfig.description
- schemas.EncryptionConfig.id
- schemas.EncryptionConfig.properties.kmsKey.description
- schemas.EncryptionConfig.properties.kmsKey.type
- schemas.EncryptionConfig.type
- schemas.Service.properties.encryptionConfig.$ref
- schemas.Service.properties.encryptionConfig.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 8, 2021
1 parent e2a8067 commit a33430a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
17 changes: 16 additions & 1 deletion discovery/metastore-v1alpha.json
Expand Up @@ -986,7 +986,7 @@
}
}
},
"revision": "20210615",
"revision": "20210702",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1168,6 +1168,17 @@
"properties": {},
"type": "object"
},
"EncryptionConfig": {
"description": "Encryption settings for the service.",
"id": "EncryptionConfig",
"properties": {
"kmsKey": {
"description": "The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.",
"type": "string"
}
},
"type": "object"
},
"ExportMetadataRequest": {
"description": "Request message for DataprocMetastore.ExportMetadata.",
"id": "ExportMetadataRequest",
Expand Down Expand Up @@ -1847,6 +1858,10 @@
"readOnly": true,
"type": "string"
},
"encryptionConfig": {
"$ref": "EncryptionConfig",
"description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated."
},
"endpointUri": {
"description": "Output only. The URI of the endpoint used to access the metastore service.",
"readOnly": true,
Expand Down
16 changes: 16 additions & 0 deletions src/apis/metastore/v1alpha.ts
Expand Up @@ -231,6 +231,15 @@ export namespace metastore_v1alpha {
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for Empty is empty JSON object {\}.
*/
export interface Schema$Empty {}
/**
* Encryption settings for the service.
*/
export interface Schema$EncryptionConfig {
/**
* The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number\}/locations/{location_id\}/keyRings/{key_ring_id\}/cryptoKeys/{crypto_key_id\}.
*/
kmsKey?: string | null;
}
/**
* Request message for DataprocMetastore.ExportMetadata.
*/
Expand Down Expand Up @@ -666,6 +675,10 @@ export namespace metastore_v1alpha {
* Output only. The time when the metastore service was created.
*/
createTime?: string | null;
/**
* Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.
*/
encryptionConfig?: Schema$EncryptionConfig;
/**
* Output only. The URI of the endpoint used to access the metastore service.
*/
Expand Down Expand Up @@ -1585,6 +1598,7 @@ export namespace metastore_v1alpha {
* // {
* // "artifactGcsUri": "my_artifactGcsUri",
* // "createTime": "my_createTime",
* // "encryptionConfig": {},
* // "endpointUri": "my_endpointUri",
* // "hiveMetastoreConfig": {},
* // "labels": {},
Expand Down Expand Up @@ -2018,6 +2032,7 @@ export namespace metastore_v1alpha {
* // {
* // "artifactGcsUri": "my_artifactGcsUri",
* // "createTime": "my_createTime",
* // "encryptionConfig": {},
* // "endpointUri": "my_endpointUri",
* // "hiveMetastoreConfig": {},
* // "labels": {},
Expand Down Expand Up @@ -2442,6 +2457,7 @@ export namespace metastore_v1alpha {
* // {
* // "artifactGcsUri": "my_artifactGcsUri",
* // "createTime": "my_createTime",
* // "encryptionConfig": {},
* // "endpointUri": "my_endpointUri",
* // "hiveMetastoreConfig": {},
* // "labels": {},
Expand Down

0 comments on commit a33430a

Please sign in to comment.