Google Cloud Data Catalog V1 Client - Class UsageSignal (1.4.2)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class 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.

Generated from protobuf message google.cloud.datacatalog.v1.UsageSignal

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_time Google\Protobuf\Timestamp

The end timestamp of the duration of usage statistics.

↳ usage_within_time_range array|Google\Protobuf\Internal\MapField

Output only. BigQuery usage statistics over each of the predefined time ranges. Supported time ranges are {"24H", "7D", "30D"}.

↳ common_usage_within_time_range array|Google\Protobuf\Internal\MapField

Common usage statistics over each of the predefined time ranges. Supported time ranges are {"24H", "7D", "30D", "Lifetime"}.

↳ favorite_count int|string

Favorite count in the source system.

getUpdateTime

The end timestamp of the duration of usage statistics.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

The end timestamp of the duration of usage statistics.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUsageWithinTimeRange

Output only. BigQuery usage statistics over each of the predefined time ranges.

Supported time ranges are {"24H", "7D", "30D"}.

Returns
Type Description
Google\Protobuf\Internal\MapField

setUsageWithinTimeRange

Output only. BigQuery usage statistics over each of the predefined time ranges.

Supported time ranges are {"24H", "7D", "30D"}.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getCommonUsageWithinTimeRange

Common usage statistics over each of the predefined time ranges.

Supported time ranges are {"24H", "7D", "30D", "Lifetime"}.

Returns
Type Description
Google\Protobuf\Internal\MapField

setCommonUsageWithinTimeRange

Common usage statistics over each of the predefined time ranges.

Supported time ranges are {"24H", "7D", "30D", "Lifetime"}.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getFavoriteCount

Favorite count in the source system.

Returns
Type Description
int|string

hasFavoriteCount

clearFavoriteCount

setFavoriteCount

Favorite count in the source system.

Parameter
Name Description
var int|string
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.