class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UsageStats
Detailed statistics on the entry's usage. Usage statistics have the following limitations: - Only BigQuery tables have them. - They only include BigQuery query jobs. - They might be underestimated because wildcard table references are not yet counted. For more information, see [Querying multiple tables using a wildcard table] (cloud.google.com/bigquery/docs/querying-wildcard- tables)
Attributes
The number of cancelled attempts to use the underlying entry. Corresponds to the JSON property `totalCancellations` @return [Float]
The number of successful uses of the underlying entry. Corresponds to the JSON property `totalCompletions` @return [Float]
Total time spent only on successful uses, in milliseconds. Corresponds to the JSON property `totalExecutionTimeForCompletionsMillis` @return [Float]
The number of failed attempts to use the underlying entry. Corresponds to the JSON property `totalFailures` @return [Float]
Public Class Methods
# File lib/google/apis/datacatalog_v1/classes.rb, line 2056 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datacatalog_v1/classes.rb, line 2061 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