Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::QueryStats (v0.7.0)

Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::QueryStats.

QueryStats contains the stats for a particular combination of query_hash, query_string and resource_type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#inefficient_query_info

def inefficient_query_info() -> ::Google::Cloud::DatabaseCenter::V1beta::InefficientQueryInfo
Returns

#inefficient_query_info=

def inefficient_query_info=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::InefficientQueryInfo
Parameter
Returns

#normalized_query

def normalized_query() -> ::String
Returns
  • (::String) — The query string is normalized query without any PII data.

#normalized_query=

def normalized_query=(value) -> ::String
Parameter
  • value (::String) — The query string is normalized query without any PII data.
Returns
  • (::String) — The query string is normalized query without any PII data.

#query_hash

def query_hash() -> ::String
Returns
  • (::String) — The query hash of the query.

#query_hash=

def query_hash=(value) -> ::String
Parameter
  • value (::String) — The query hash of the query.
Returns
  • (::String) — The query hash of the query.

#query_metrics

def query_metrics() -> ::Google::Cloud::DatabaseCenter::V1beta::QueryMetrics
Returns

#query_metrics=

def query_metrics=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::QueryMetrics
Parameter
Returns

#resource_ids

def resource_ids() -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceId>
Returns

#resource_ids=

def resource_ids=(value) -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceId>
Parameter
Returns

#resource_type

def resource_type() -> ::String
Returns
  • (::String) — The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance

#resource_type=

def resource_type=(value) -> ::String
Parameter
  • value (::String) — The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance
Returns
  • (::String) — The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance