NAME

Google::Cloud::Netapp::V1::Kms - Compiled Protocol Buffers messages for google/cloud/netapp/v1/kms.proto

SYNOPSIS

use Google::Cloud::Netapp::V1::Kms;

my $msg = Google::Cloud::Netapp::V1::Kms::GetKmsConfigRequest->new({
    name => $name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Netapp::V1::Kms::GetKmsConfigRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/kms.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Netapp::V1::Kms::GetKmsConfigRequest

GetKmsConfigRequest gets a KMS Config.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the KmsConfig

Google::Cloud::Netapp::V1::Kms::ListKmsConfigsRequest

ListKmsConfigsRequest lists KMS Configs.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value to use if there are additional results to retrieve for this list request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results. Supported values are "name", "name desc" or "" (unsorted).

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

Google::Cloud::Netapp::V1::Kms::ListKmsConfigsResponse

ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->kms_configs() / $msg->kms_configs($value)

    Type: Message (Google::Cloud::Netapp::V1::Kms::KmsConfig)

    The list of KmsConfigs

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Netapp::V1::Kms::CreateKmsConfigRequest

CreateKmsConfigRequest creates a KMS Config.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->kms_config_id() / $msg->kms_config_id($value)

    Type: String

    Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

  • $msg->kms_config() / $msg->kms_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Kms::KmsConfig)

    Required. The required parameters to create a new KmsConfig.

Google::Cloud::Netapp::V1::Kms::UpdateKmsConfigRequest

UpdateKmsConfigRequest updates a KMS Config.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->kms_config() / $msg->kms_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Kms::KmsConfig)

    Required. The KmsConfig being updated

Google::Cloud::Netapp::V1::Kms::DeleteKmsConfigRequest

DeleteKmsConfigRequest deletes a KMS Config.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the KmsConfig.

Google::Cloud::Netapp::V1::Kms::EncryptVolumesRequest

EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the KmsConfig.

Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigRequest

VerifyKmsConfigRequest specifies the KMS config to be validated.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the KMS Config to be verified.

Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigResponse

VerifyKmsConfigResponse contains the information if the config is correctly and error message.

Inherits from Protobuf::Message.

Accessors

  • $msg->healthy() / $msg->healthy($value)

    Type: Bool

    Output only. If the customer key configured correctly to the encrypt volume.

  • $msg->health_error() / $msg->health_error($value)

    Type: String

    Output only. Error message if config is not healthy.

  • $msg->instructions() / $msg->instructions($value)

    Type: String

    Output only. Instructions for the customers to provide the access to the encryption key.

Google::Cloud::Netapp::V1::Kms::KmsConfig

KmsConfig is the customer-managed encryption key(CMEK) configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`

  • $msg->crypto_key_name() / $msg->crypto_key_name($value)

    Type: String

    Required. Customer-managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Netapp::V1::KmsConfig::State)

    Output only. State of the KmsConfig.

  • $msg->state_details() / $msg->state_details($value)

    Type: String

    Output only. State details of the KmsConfig.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the KmsConfig.

  • $msg->description() / $msg->description($value)

    Type: String

    Description of the KmsConfig.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Netapp::V1::Kms::KmsConfig::LabelsEntry)

    Labels as key value pairs

  • $msg->instructions() / $msg->instructions($value)

    Type: String

    Output only. Instructions to provide the access to the customer provided encryption key.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    Output only. The Service account which will have access to the customer provided encryption key.

Enum: KmsConfig::State

  • STATE_UNSPECIFIED => 0

  • READY => 1

  • CREATING => 2

  • DELETING => 3

  • UPDATING => 4

  • IN_USE => 5

  • ERROR => 6

  • KEY_CHECK_PENDING => 7

  • KEY_NOT_REACHABLE => 8

  • DISABLING => 9

  • DISABLED => 10

  • MIGRATING => 11

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::Kms::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.