# Module `netapp_ontap.models.gcp_kms_state`

Copyright © 2021 NetApp Inc. All rights reserved.

## Classes

`class GcpKmsStateSchema (*, only: typing.Union = None, exclude: typing.Union = (), many: bool = False, context: typing.Dict = None, load_only: typing.Union = (), dump_only: typing.Union = (), partial: typing.Union = False, unknown: str = None)`

  The fields of the GcpKmsState object

  ### Ancestors

  - netapp_ontap.resource.ResourceSchema
  - marshmallow.schema.Schema
  - marshmallow.base.SchemaABC

  ### Class variables

  `cluster_state GET`

    Set to true when Google Cloud KMS key protection is available on all nodes of the cluster.

  `code GET`

    Error code corresponding to the status message. Returns 0 if Google Cloud KMS key protection is available in all nodes of the cluster.

    Example: 346758

  `message GET`

    Error message set when top-level internal key protection key (KEK) availability on cluster is false.

    Example: Top-level internal key protection key (KEK) is unavailable on the following nodes with the associated reasons: Node: node1. Reason: No volumes created yet for the SVM. Wrapped KEK status will be available after creating encrypted volumes.