Google Cloud Data Catalog V1 Client - Class UsageStats (1.4.2)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class UsageStats.

Detailed statistics on the entry's usage.

Usage statistics have the following limitations:

Generated from protobuf message google.cloud.datacatalog.v1.UsageStats

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ total_completions float

The number of successful uses of the underlying entry.

↳ total_failures float

The number of failed attempts to use the underlying entry.

↳ total_cancellations float

The number of cancelled attempts to use the underlying entry.

↳ total_execution_time_for_completions_millis float

Total time spent only on successful uses, in milliseconds.

getTotalCompletions

The number of successful uses of the underlying entry.

Returns
TypeDescription
float

setTotalCompletions

The number of successful uses of the underlying entry.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getTotalFailures

The number of failed attempts to use the underlying entry.

Returns
TypeDescription
float

setTotalFailures

The number of failed attempts to use the underlying entry.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getTotalCancellations

The number of cancelled attempts to use the underlying entry.

Returns
TypeDescription
float

setTotalCancellations

The number of cancelled attempts to use the underlying entry.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getTotalExecutionTimeForCompletionsMillis

Total time spent only on successful uses, in milliseconds.

Returns
TypeDescription
float

setTotalExecutionTimeForCompletionsMillis

Total time spent only on successful uses, in milliseconds.

Parameter
NameDescription
var float
Returns
TypeDescription
$this