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

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::Metrics.

Metrics represents the metrics for a database resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #current_memory_used_bytes

    def current_memory_used_bytes() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Current memory used by the resource in bytes.

### #current_memory_used_bytes=

    def current_memory_used_bytes=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Current memory used by the resource in bytes.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Current memory used by the resource in bytes.

### #current_storage_used_bytes

    def current_storage_used_bytes() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Current storage used by the resource in bytes.

### #current_storage_used_bytes=

    def current_storage_used_bytes=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Current storage used by the resource in bytes.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Current storage used by the resource in bytes.

### #node_count

    def node_count() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Number of nodes in instance for spanner or bigtable.

### #node_count=

    def node_count=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Number of nodes in instance for spanner or bigtable.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Number of nodes in instance for spanner or bigtable.

### #p95_cpu_utilization

    def p95_cpu_utilization() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).

### #p95_cpu_utilization=

    def p95_cpu_utilization=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).

### #p99_cpu_utilization

    def p99_cpu_utilization() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).

### #p99_cpu_utilization=

    def p99_cpu_utilization=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).

### #peak_memory_utilization

    def peak_memory_utilization() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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_memory_utilization=

    def peak_memory_utilization=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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

    def peak_number_connections() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Peak number of connections observed for the resource. The value is a positive integer.

### #peak_number_connections=

    def peak_number_connections=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Peak number of connections observed for the resource. The value is a positive integer.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Peak number of connections observed for the resource. The value is a positive integer.

### #peak_storage_utilization

    def peak_storage_utilization() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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_storage_utilization=

    def peak_storage_utilization=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-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).

### #processing_unit_count

    def processing_unit_count() -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Number of processing units in spanner.

### #processing_unit_count=

    def processing_unit_count=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::MetricData

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Number of processing units in spanner.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::MetricData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-MetricData)) --- Number of processing units in spanner.