Service Client: Google::Cloud::Apptopology::V1::Service::AppTopologyClient

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

target

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

credentials

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

NAME

Google::Cloud::Apptopology::V1::Service - Compiled Protocol Buffers messages for google/cloud/apptopology/v1/service.proto

SYNOPSIS

use Google::Cloud::Apptopology::V1::Service;

my $msg = Google::Cloud::Apptopology::V1::Service::OperationMetadata->new({
    create_time => $create_time,
    end_time => $end_time,
    target => $target,
    verb => $verb,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Apptopology::V1::Service::OperationMetadata->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apptopology/v1/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::Apptopology::V1::Service::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

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

    Output only. The time the operation was created.

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

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

    Output only. The time the operation finished running.

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

    Type: String

    Output only. Server-defined resource path for the target of the operation.

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

    Type: String

    Output only. Name of the verb executed by the operation.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.

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

    Type: String

    Output only. API version used to start the operation.

Google::Cloud::Apptopology::V1::Service::GenerateDiscoveredResourcesTopologyRequest

Request for GenerateDiscoveredResourcesTopology.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apptopology::V1::Query::GraphPattern)

    Filters for the topology nodes and edges; Detail format see GraphPattern proto. A separate 'LookupSchema' method will be added that will return the necessary information to be able to construct these filters.

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

    Type: String

    Required. The project to query discoverable resources on. Expected format: `projects/{project}/locations/{location}/discoveredResourcesTopology`. Only `global` location is supported.

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

    Type: String

    Required. The full resource name of the domain of the app topology. Format: `projects/{project}/locations/{location}/domains/{domain}` Caller must have apptopology.domains.get permission on each of the domains.

Google::Cloud::Apptopology::V1::Service::GenerateDiscoveredResourcesTopologyResponse

Response for GenerateDiscoveredResourcesTopology.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apptopology::V1::Service::GetSchemaRequest

Request for GetSchema.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the singleton domain schema resource. Format: `projects/{project}/locations/{location}/domains/{domain}/schema`

Google::Cloud::Apptopology::V1::Service::ExploreSchemaRequest

Request for ExploreSchema.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the singleton domain schema resource. Format: `projects/{project}/locations/{location}/domains/{domain}/schema`

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

    Type: String

    Optional. Starting label names to begin traversal. Substring, case-insensitive matches are performed against allowed label names in the schema. A maximum of 10 `start_labels` can be specified; providing more will result in an `INVALID_ARGUMENT` error. If `start_labels` is unset or empty, all authorized node types will be used as the starting set.

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

    Type: Int32

    Optional. The maximum depth of BFS traversal hops to perform from the starting node types or label names. Defaults to 0 if unspecified.

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

    Type: Int32

    Optional. The maximum number of schema elements to return in a single page.

    - The service might return fewer elements than this value if adding another edge and its required endpoint nodes exceeds `page_size`. - If omitted or set to 0, default (100) will be used. - Minimum page_size is 3 to ensure at least one edge and its endpoint nodes fit on a page; values below 3 (e.g. 1 or 2) are changed to 3. - Maximum value is 500.

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

    Type: String

    Optional. A page token received from a previous `ExploreSchema` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters (except page_size) provided to `ExploreSchema` must match the call that provided the page token.

Google::Cloud::Apptopology::V1::Service::ExploreSchemaResponse

Response for ExploreSchema.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apptopology::V1::Schema::NodeType)

    A list of `NodeType`s defined within this schema. Refer to the documentation of `NodeType` for more details.

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

    Type: Message (Google::Cloud::Apptopology::V1::Schema::EdgeType)

    A list of `EdgeType`s defined within this schema. Refer to the documentation of `EdgeType` for more details.

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

    Type: Message (Google::Cloud::Apptopology::V1::Schema::LabelProperties)

    A list of supported labels and corresponding properties.

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

    Type: Message (Google::Cloud::Apptopology::V1::Schema::EdgeRule)

    Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.

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

    Type: String

    A token to retrieve the next page of results, or empty if there are no more results in the traversal set.

Google::Cloud::Apptopology::V1::Service::GetDomainRequest

Request for GetDomain.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the domain to retrieve. Format: `projects/{project}/locations/{location}/domains/{domain}`

Google::Cloud::Apptopology::V1::Service::ListDomainsRequest

Request for ListDomains.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent location to list domains for. Format: `projects/{project}/locations/{location}` Only `global` location is supported.

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

    Type: Int32

    Optional. The maximum number of domains to return. The service may return fewer than this value. If unspecified, at most 50 domains 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 `ListDomains` call. Provide this to retrieve the subsequent page.

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

Google::Cloud::Apptopology::V1::Service::ListDomainsResponse

Response for ListDomains.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apptopology::V1::Schema::Domain)

    The domains in the specified location.

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

    Type: String

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

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Apptopology::V1::Service::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.