Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats
- 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
Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have usage stats - The usage stats only include BigQuery query jobs - The usage stats might be underestimated, e.g. wildcard table references are not yet counted in usage computation https://cloud.google.com/bigquery/docs/querying- wildcard-tables
Instance Attribute Summary collapse
-
#total_cancellations ⇒ Float
The number of times that the underlying entry was attempted to be used but was cancelled by the user.
-
#total_completions ⇒ Float
The number of times that the underlying entry was successfully used.
-
#total_execution_time_for_completions_millis ⇒ Float
Total time spent (in milliseconds) during uses the resulted in completions.
-
#total_failures ⇒ Float
The number of times that the underlying entry was attempted to be used but failed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1UsageStats
constructor
A new instance of GoogleCloudDatacatalogV1beta1UsageStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1UsageStats
Returns a new instance of GoogleCloudDatacatalogV1beta1UsageStats.
1640 1641 1642 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_cancellations ⇒ Float
The number of times that the underlying entry was attempted to be used but was
cancelled by the user.
Corresponds to the JSON property totalCancellations
1622 1623 1624 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1622 def total_cancellations @total_cancellations end |
#total_completions ⇒ Float
The number of times that the underlying entry was successfully used.
Corresponds to the JSON property totalCompletions
1627 1628 1629 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1627 def total_completions @total_completions end |
#total_execution_time_for_completions_millis ⇒ Float
Total time spent (in milliseconds) during uses the resulted in completions.
Corresponds to the JSON property totalExecutionTimeForCompletionsMillis
1632 1633 1634 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1632 def total_execution_time_for_completions_millis @total_execution_time_for_completions_millis end |
#total_failures ⇒ Float
The number of times that the underlying entry was attempted to be used but
failed.
Corresponds to the JSON property totalFailures
1638 1639 1640 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1638 def total_failures @total_failures end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1645 1646 1647 1648 1649 1650 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1645 def update!(**args) @total_cancellations = args[:total_cancellations] if args.key?(:total_cancellations) @total_completions = args[:total_completions] if args.key?(:total_completions) @total_execution_time_for_completions_millis = args[:total_execution_time_for_completions_millis] if args.key?(:total_execution_time_for_completions_millis) @total_failures = args[:total_failures] if args.key?(:total_failures) end |