Service Client: Google::Monitoring::Dashboard::V1::DashboardsService::DashboardsServiceClient

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

target

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

credentials

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

NAME

Google::Monitoring::Dashboard::V1::DashboardsService - Compiled Protocol Buffers messages for google/monitoring/dashboard/v1/dashboards_service.proto

SYNOPSIS

use Google::Monitoring::Dashboard::V1::DashboardsService;

my $msg = Google::Monitoring::Dashboard::V1::DashboardsService::CreateDashboardRequest->new({
    parent => $parent,
    dashboard => $dashboard,
    validate_only => $validate_only,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Monitoring::Dashboard::V1::DashboardsService::CreateDashboardRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/monitoring/dashboard/v1/dashboards_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::Monitoring::Dashboard::V1::DashboardsService::CreateDashboardRequest

The `CreateDashboard` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project on which to execute the request. The format is:

    projects/[PROJECT_ID_OR_NUMBER]

    The `[PROJECT_ID_OR_NUMBER]` must match the dashboard resource name.

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

    Type: Message (Google::Monitoring::Dashboard::V1::Dashboard::Dashboard)

    Required. The initial dashboard specification.

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

    Type: Bool

    If set, validate the request and preview the review, but do not actually save it.

Google::Monitoring::Dashboard::V1::DashboardsService::ListDashboardsRequest

The `ListDashboards` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The scope of the dashboards to list. The format is:

    projects/[PROJECT_ID_OR_NUMBER]
  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used.

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

    Type: String

    Optional. If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

Google::Monitoring::Dashboard::V1::DashboardsService::ListDashboardsResponse

The `ListDashboards` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Monitoring::Dashboard::V1::Dashboard::Dashboard)

    The list of requested dashboards.

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

    Type: String

    If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.

Google::Monitoring::Dashboard::V1::DashboardsService::GetDashboardRequest

The `GetDashboard` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the Dashboard. The format is one of:

    -  `dashboards/[DASHBOARD_ID]` (for system dashboards)
    -  `projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]`
         (for custom dashboards).

Google::Monitoring::Dashboard::V1::DashboardsService::DeleteDashboardRequest

The `DeleteDashboard` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the Dashboard. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]

Google::Monitoring::Dashboard::V1::DashboardsService::UpdateDashboardRequest

The `UpdateDashboard` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Monitoring::Dashboard::V1::Dashboard::Dashboard)

    Required. The dashboard that will replace the existing dashboard.

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

    Type: Bool

    If set, validate the request and preview the review, but do not actually save it.

SEE ALSO

Protobuf, Protobuf::Message, Google::Monitoring::Dashboard::V1::DashboardsService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.