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:
FloatThe number of successful uses of the underlying entry.
$msg->total_failures()/$msg->total_failures($value)Type:
FloatThe number of failed attempts to use the underlying entry.
$msg->total_cancellations()/$msg->total_cancellations($value)Type:
FloatThe 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:
FloatTotal 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:
Int64View 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
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The end timestamp of the duration of usage statistics.
$msg->usage_within_time_range()/$msg->usage_within_time_range($value)Type:
Message(Google::Cloud::Datacatalog::V1::Usage::UsageSignal::UsageWithinTimeRangeEntry)Output only. BigQuery usage statistics over each of the predefined time ranges.
Supported time ranges are `{"24H", "7D", "30D"}`.
$msg->common_usage_within_time_range()/$msg->common_usage_within_time_range($value)Type:
Message(Google::Cloud::Datacatalog::V1::Usage::UsageSignal::CommonUsageWithinTimeRangeEntry)Common usage statistics over each of the predefined time ranges.
Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`.
$msg->favorite_count()/$msg->favorite_count($value)Type:
Int64Favorite count in the source system.
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.