Service Client: Google::Cloud::Networkmanagement::V1::Reachability::ReachabilityServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Networkmanagement::V1::Reachability - Compiled Protocol Buffers messages for google/cloud/networkmanagement/v1/reachability.proto

SYNOPSIS

use Google::Cloud::Networkmanagement::V1::Reachability;

my $msg = Google::Cloud::Networkmanagement::V1::Reachability::ListConnectivityTestsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networkmanagement::V1::Reachability::ListConnectivityTestsRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkmanagement/v1/reachability.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::Networkmanagement::V1::Reachability::ListConnectivityTestsRequest

Request for the `ListConnectivityTests` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global`

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

    Type: Int32

    Number of `ConnectivityTests` to return.

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

    Type: String

    Page token from an earlier query, as returned in `next_page_token`.

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

    Type: String

    Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form `<field> <operator> <value>` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). <field> can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

    Examples: - Filter by name: name = "projects/proj-1/locations/global/connectivityTests/test-1

    - Filter by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar

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

    Type: String

    Field to use to sort the list.

Google::Cloud::Networkmanagement::V1::Reachability::ListConnectivityTestsResponse

Response for the `ListConnectivityTests` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkmanagement::V1::ConnectivityTest::ConnectivityTest)

    List of Connectivity Tests.

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

    Type: String

    Page token to fetch the next set of Connectivity Tests.

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

    Type: String

    Locations that could not be reached (when querying all locations with `-`).

Google::Cloud::Networkmanagement::V1::Reachability::GetConnectivityTestRequest

Request for the `GetConnectivityTest` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`

Google::Cloud::Networkmanagement::V1::Reachability::CreateConnectivityTestRequest

Request for the `CreateConnectivityTest` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`

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

    Type: String

    Required. The logical name of the Connectivity Test in your project with the following restrictions:

    * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project

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

    Type: Message (Google::Cloud::Networkmanagement::V1::ConnectivityTest::ConnectivityTest)

    Required. A `ConnectivityTest` resource

Google::Cloud::Networkmanagement::V1::Reachability::UpdateConnectivityTestRequest

Request for the `UpdateConnectivityTest` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkmanagement::V1::Reachability::DeleteConnectivityTestRequest

Request for the `DeleteConnectivityTest` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`

Google::Cloud::Networkmanagement::V1::Reachability::RerunConnectivityTestRequest

Request for the `RerunConnectivityTest` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`

Google::Cloud::Networkmanagement::V1::Reachability::OperationMetadata

Metadata describing an [Operation][google.longrunning.Operation]

Inherits from Protobuf::Message.

Accessors

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

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

    The time the operation was created.

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

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

    The time the operation finished running.

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

    Type: String

    Target of the operation - for example projects/project-1/locations/global/connectivityTests/test-1

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

    Type: String

    Name of the verb executed by the operation.

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

    Type: String

    Human-readable status of the operation, if any.

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

    Type: Bool

    Specifies if cancellation was requested for the operation.

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

    Type: String

    API version.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkmanagement::V1::Reachability::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.