Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageSignal
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageSignal
- 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 we store in Data Catalog.
Instance Attribute Summary collapse
-
#update_time ⇒ String
The timestamp of the end of the usage statistics duration.
-
#usage_within_time_range ⇒ Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats>
Usage statistics over each of the pre-defined time ranges, supported strings for time ranges are
"24H", "7D", "30D".
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1UsageSignal
constructor
A new instance of GoogleCloudDatacatalogV1beta1UsageSignal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1UsageSignal
Returns a new instance of GoogleCloudDatacatalogV1beta1UsageSignal.
1604 1605 1606 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_time ⇒ String
The timestamp of the end of the usage statistics duration.
Corresponds to the JSON property updateTime
1596 1597 1598 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1596 def update_time @update_time end |
#usage_within_time_range ⇒ Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats>
Usage statistics over each of the pre-defined time ranges, supported strings
for time ranges are "24H", "7D", "30D".
Corresponds to the JSON property usageWithinTimeRange
1602 1603 1604 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1602 def usage_within_time_range @usage_within_time_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1609 1610 1611 1612 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1609 def update!(**args) @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 |