Service Client: Google::Cloud::Kms::Inventory::V1::KeyDashboardService::KeyDashboardServiceClient

Client stub representing the remote KeyDashboardService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to kms.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Kms::Inventory::V1::KeyDashboardService - Compiled Protocol Buffers messages for google/cloud/kms/inventory/v1/key_dashboard_service.proto

SYNOPSIS

use Google::Cloud::Kms::Inventory::V1::KeyDashboardService;

my $msg = Google::Cloud::Kms::Inventory::V1::KeyDashboardService::ListCryptoKeysRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/kms/inventory/v1/key_dashboard_service.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::Kms::Inventory::V1::KeyDashboardService::ListCryptoKeysRequest

Request message for [KeyDashboardService.ListCryptoKeys][google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Google Cloud project for which to retrieve key metadata, in the format `projects/*`

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

    Type: Int32

    Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    Optional. Pass this into a subsequent request in order to receive the next page of results.

Google::Cloud::Kms::Inventory::V1::KeyDashboardService::ListCryptoKeysResponse

Response message for [KeyDashboardService.ListCryptoKeys][google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Kms::V1::Resources::CryptoKey)

    The list of [CryptoKeys][google.cloud.kms.v1.CryptoKey].

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

    Type: String

    The page token returned from the previous response if the next page is desired.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.