Service Client: Google::Cloud::Apihub::V1::DiscoveryService::ApiHubDiscoveryClient

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

target

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

credentials

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

NAME

Google::Cloud::Apihub::V1::DiscoveryService - Compiled Protocol Buffers messages for google/cloud/apihub/v1/discovery_service.proto

SYNOPSIS

use Google::Cloud::Apihub::V1::DiscoveryService;

my $msg = Google::Cloud::Apihub::V1::DiscoveryService::ListDiscoveredApiObservationsRequest->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::Apihub::V1::DiscoveryService::ListDiscoveredApiObservationsRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apihub/v1/discovery_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::Apihub::V1::DiscoveryService::ListDiscoveredApiObservationsRequest

Message for requesting list of DiscoveredApiObservations

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location}

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

    Type: Int32

    Optional. The maximum number of ApiObservations to return. The service may return fewer than this value. If unspecified, at most 10 ApiObservations 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. A page token, received from a previous `ListApiObservations` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListApiObservations` must match the call that provided the page token.

Google::Cloud::Apihub::V1::DiscoveryService::ListDiscoveredApiObservationsResponse

Message for response to listing DiscoveredApiObservations

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiObservation)

    The DiscoveredApiObservation from the specified project and location.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Apihub::V1::DiscoveryService::ListDiscoveredApiOperationsRequest

Message for requesting list of DiscoveredApiOperations

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent, which owns this collection of DiscoveredApiOperations. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

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

    Type: Int32

    Optional. DiscoveredApiOperations 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. A page token, received from a previous `ListDiscoveredApiApiOperations` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListDiscoveredApiApiOperations` must match the call that provided the page token.

Google::Cloud::Apihub::V1::DiscoveryService::ListDiscoveredApiOperationsResponse

Message for response to listing DiscoveredApiOperations

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation)

    The DiscoveredApiOperations from the specified project, location and DiscoveredApiObservation.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Apihub::V1::DiscoveryService::GetDiscoveredApiObservationRequest

Message for requesting a DiscoveredApiObservation

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the DiscoveredApiObservation to retrieve. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

Google::Cloud::Apihub::V1::DiscoveryService::GetDiscoveredApiOperationRequest

Message for requesting a DiscoveredApiOperation

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the DiscoveredApiOperation to retrieve. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Apihub::V1::DiscoveryService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.