Reference documentation and code samples for the Google Cloud Database Center V1beta Client class Metrics.
Metrics represents the metrics for a database resource.
Generated from protobuf message google.cloud.databasecenter.v1beta.Metrics
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ p99_cpu_utilization
MetricData
P99 CPU utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
↳ p95_cpu_utilization
MetricData
P95 CPU utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
↳ current_storage_used_bytes
↳ peak_storage_utilization
MetricData
Peak storage utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
↳ peak_memory_utilization
MetricData
Peak memory utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
↳ peak_number_connections
↳ node_count
↳ processing_unit_count
↳ current_memory_used_bytes
getP99CpuUtilization
P99 CPU utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
hasP99CpuUtilization
clearP99CpuUtilization
setP99CpuUtilization
P99 CPU utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
$this
getP95CpuUtilization
P95 CPU utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
hasP95CpuUtilization
clearP95CpuUtilization
setP95CpuUtilization
P95 CPU utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
$this
getCurrentStorageUsedBytes
Current storage used by the resource in bytes.
hasCurrentStorageUsedBytes
clearCurrentStorageUsedBytes
setCurrentStorageUsedBytes
Current storage used by the resource in bytes.
$this
getPeakStorageUtilization
Peak storage utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
hasPeakStorageUtilization
clearPeakStorageUtilization
setPeakStorageUtilization
Peak storage utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
$this
getPeakMemoryUtilization
Peak memory utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
hasPeakMemoryUtilization
clearPeakMemoryUtilization
setPeakMemoryUtilization
Peak memory utilization observed for the resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).
$this
getPeakNumberConnections
Peak number of connections observed for the resource. The value is a positive integer.
hasPeakNumberConnections
clearPeakNumberConnections
setPeakNumberConnections
Peak number of connections observed for the resource. The value is a positive integer.
$this
getNodeCount
Number of nodes in instance for spanner or bigtable.
hasNodeCount
clearNodeCount
setNodeCount
Number of nodes in instance for spanner or bigtable.
$this
getProcessingUnitCount
Number of processing units in spanner.
hasProcessingUnitCount
clearProcessingUnitCount
setProcessingUnitCount
Number of processing units in spanner.
$this
getCurrentMemoryUsedBytes
Current memory used by the resource in bytes.
hasCurrentMemoryUsedBytes
clearCurrentMemoryUsedBytes
setCurrentMemoryUsedBytes
Current memory used by the resource in bytes.
$this

