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
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__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 |
↳ common_usage_within_time_range |
array|Google\Protobuf\Internal\MapField
Common usage statistics over each of the predefined time ranges. Supported time ranges are |
↳ 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 |
|