Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1UsageSignal
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1UsageSignal
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#common_usage_within_time_range ⇒ Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CommonUsageStats>
Common usage statistics over each of the predefined time ranges.
-
#favorite_count ⇒ Fixnum
Favorite count in the source system.
-
#update_time ⇒ String
The end timestamp of the duration of usage statistics.
-
#usage_within_time_range ⇒ Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1UsageStats>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1UsageSignal
constructor
A new instance of GoogleCloudDatacatalogV1UsageSignal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1UsageSignal
Returns a new instance of GoogleCloudDatacatalogV1UsageSignal.
1893 1894 1895 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_usage_within_time_range ⇒ Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CommonUsageStats>
Common usage statistics over each of the predefined time ranges. Supported
time ranges are "24H", "7D", "30D", "Lifetime".
Corresponds to the JSON property commonUsageWithinTimeRange
1875 1876 1877 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1875 def common_usage_within_time_range @common_usage_within_time_range end |
#favorite_count ⇒ Fixnum
Favorite count in the source system.
Corresponds to the JSON property favoriteCount
1880 1881 1882 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1880 def favorite_count @favorite_count end |
#update_time ⇒ String
The end timestamp of the duration of usage statistics.
Corresponds to the JSON property updateTime
1885 1886 1887 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1885 def update_time @update_time end |
#usage_within_time_range ⇒ Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1UsageStats>
Output only. BigQuery usage statistics over each of the predefined time ranges.
Supported time ranges are "24H", "7D", "30D".
Corresponds to the JSON property usageWithinTimeRange
1891 1892 1893 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1891 def usage_within_time_range @usage_within_time_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1898 1899 1900 1901 1902 1903 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1898 def update!(**args) @common_usage_within_time_range = args[:common_usage_within_time_range] if args.key?(:common_usage_within_time_range) @favorite_count = args[:favorite_count] if args.key?(:favorite_count) @update_time = args[:update_time] if args.key?(:update_time) @usage_within_time_range = args[:usage_within_time_range] if args.key?(:usage_within_time_range) end |