NAME

Google::Cloud::Datacatalog::V1::Usage - Compiled Protocol Buffers messages for google/cloud/datacatalog/v1/usage.proto

SYNOPSIS

use Google::Cloud::Datacatalog::V1::Usage;

my $msg = Google::Cloud::Datacatalog::V1::Usage::UsageStats->new({
    total_completions => $total_completions,
    total_failures => $total_failures,
    total_cancellations => $total_cancellations,
    total_execution_time_for_completions_millis => $total_execution_time_for_completions_millis,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Datacatalog::V1::Usage::UsageStats->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/datacatalog/v1/usage.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::Datacatalog::V1::Usage::UsageStats

Detailed statistics on the entry's usage.

Usage statistics have the following limitations:

- Only BigQuery tables have them. - They only include BigQuery query jobs. - They might be underestimated because wildcard table references are not yet counted. For more information, see [Querying multiple tables using a wildcard table] (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)

Inherits from Protobuf::Message.

Accessors

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

    Type: Float

    The number of successful uses of the underlying entry.

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

    Type: Float

    The number of failed attempts to use the underlying entry.

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

    Type: Float

    The number of cancelled attempts to use the underlying entry.

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

    Type: Float

    Total time spent only on successful uses, in milliseconds.

Google::Cloud::Datacatalog::V1::Usage::CommonUsageStats

Common statistics on the entry's usage.

They can be set on any system.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    View count in source system.

Google::Cloud::Datacatalog::V1::Usage::UsageSignal

The set of all usage signals that Data Catalog stores.

Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Datacatalog::V1::Usage::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.