Service Client: Google::Monitoring::V3::UptimeService::UptimeCheckServiceClient

Client stub representing the remote UptimeCheckService 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::V3::UptimeService - Compiled Protocol Buffers messages for google/monitoring/v3/uptime_service.proto

SYNOPSIS

use Google::Monitoring::V3::UptimeService;

my $msg = Google::Monitoring::V3::UptimeService::ListUptimeCheckConfigsRequest->new({
    parent => $parent,
    filter => $filter,
    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::Monitoring::V3::UptimeService::ListUptimeCheckConfigsRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/monitoring/v3/uptime_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::V3::UptimeService::ListUptimeCheckConfigsRequest

The protocol for the `ListUptimeCheckConfigs` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) whose Uptime check configurations are listed. The format is:

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

    Type: String

    If provided, this field specifies the criteria that must be met by uptime checks to be included in the response.

    For more details, see [Filtering syntax](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax).

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

    Type: Int32

    The maximum number of results to return in a single response. The server may further constrain the maximum number of results returned in a single page. If the page_size is <=0, the server will decide the number of results to be returned.

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

    Type: String

    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 more results from the previous method call.

Google::Monitoring::V3::UptimeService::ListUptimeCheckConfigsResponse

The protocol for the `ListUptimeCheckConfigs` response.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Monitoring::V3::Uptime::UptimeCheckConfig)

    The returned Uptime check configurations.

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

    Type: String

    This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).

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

    Type: Int32

    The total number of Uptime check configurations for the project, irrespective of any pagination.

Google::Monitoring::V3::UptimeService::GetUptimeCheckConfigRequest

The protocol for the `GetUptimeCheckConfig` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Uptime check configuration to retrieve. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

Google::Monitoring::V3::UptimeService::CreateUptimeCheckConfigRequest

The protocol for the `CreateUptimeCheckConfig` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in which to create the Uptime check. The format is:

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

    Type: Message (Google::Monitoring::V3::Uptime::UptimeCheckConfig)

    Required. The new Uptime check configuration.

Google::Monitoring::V3::UptimeService::UpdateUptimeCheckConfigRequest

The protocol for the `UpdateUptimeCheckConfig` request.

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

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

    Type: Message (Google::Monitoring::V3::Uptime::UptimeCheckConfig)

    Required. If an `updateMask` has been specified, this field gives the values for the set of fields mentioned in the `updateMask`. If an `updateMask` has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in `updateMask` but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

    The following fields can be updated: `display_name`, `http_check`, `tcp_check`, `timeout`, `content_matchers`, and `selected_regions`.

Google::Monitoring::V3::UptimeService::DeleteUptimeCheckConfigRequest

The protocol for the `DeleteUptimeCheckConfig` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Uptime check configuration to delete. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

Google::Monitoring::V3::UptimeService::ListUptimeCheckIpsRequest

The protocol for the `ListUptimeCheckIps` request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    The maximum number of results to return in a single response. The server may further constrain the maximum number of results returned in a single page. If the page_size is <=0, the server will decide the number of results to be returned. NOTE: this field is not yet implemented

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

    Type: String

    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 more results from the previous method call. NOTE: this field is not yet implemented

Google::Monitoring::V3::UptimeService::ListUptimeCheckIpsResponse

The protocol for the `ListUptimeCheckIps` response.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Monitoring::V3::Uptime::UptimeCheckIp)

    The returned list of IP addresses (including region and location) that the checkers run from.

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

    Type: String

    This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field). NOTE: this field is not yet implemented

SEE ALSO

Protobuf, Protobuf::Message, Google::Monitoring::V3::UptimeService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.