0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.2 0.15.1 0.14.1 0.13.0 0.12.2 0.11.3 0.10.0 0.9.1 0.8.3 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::Inventory::V1::Warning.

A warning message that indicates potential problems with the response data.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_message

    def display_message() -> ::String

**Returns**

- (::String) --- The literal message providing context and details about the warnings.

### #display_message=

    def display_message=(value) -> ::String

**Parameter**

- **value** (::String) --- The literal message providing context and details about the warnings.
**Returns**

- (::String) --- The literal message providing context and details about the warnings.

### #warning_code

    def warning_code() -> ::Google::Cloud::Kms::Inventory::V1::Warning::WarningCode

**Returns**

- ([::Google::Cloud::Kms::Inventory::V1::Warning::WarningCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-Inventory-V1-Warning-WarningCode)) --- The specific warning code for the displayed message.

### #warning_code=

    def warning_code=(value) -> ::Google::Cloud::Kms::Inventory::V1::Warning::WarningCode

**Parameter**

- **value** ([::Google::Cloud::Kms::Inventory::V1::Warning::WarningCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-Inventory-V1-Warning-WarningCode)) --- The specific warning code for the displayed message.
**Returns**

- ([::Google::Cloud::Kms::Inventory::V1::Warning::WarningCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-Inventory-V1-Warning-WarningCode)) --- The specific warning code for the displayed message.