# Maintenance V1BETA API - Class Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Maintenance V1BETA API class Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary.

MaintenanceSummary contains maintenance statistics calculated based on
ResourceMaintenances within the scope: project and location.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #category

    def category() -> ::Google::Cloud::Maintenance::Api::V1beta::MaintenanceCategory

**Returns**

- ([::Google::Cloud::Maintenance::Api::V1beta::MaintenanceCategory](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Cloud-Maintenance-Api-V1beta-MaintenanceCategory)) --- Output only. The category of the maintenance event.

### #controls

    def controls() -> ::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceControl>

**Returns**

- (::Array\<[::Google::Cloud::Maintenance::Api::V1beta::MaintenanceControl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Cloud-Maintenance-Api-V1beta-MaintenanceControl)\>) --- Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

### #description

    def description() -> ::String

**Returns**

- (::String) --- Output only. The description of the maintenance.

### #maintenance_end_time

    def maintenance_end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Protobuf-Timestamp)) --- Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to `SUCCEEDED`.

### #maintenance_name

    def maintenance_name() -> ::String

**Returns**

- (::String) --- Output only. The name of the maintenance.

### #maintenance_scheduled_end_time

    def maintenance_scheduled_end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Protobuf-Timestamp)) --- Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

### #maintenance_scheduled_start_time

    def maintenance_scheduled_start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Protobuf-Timestamp)) --- Output only. Scheduled start time of the maintenance. The maintenance will start at `maintenanceScheduledStartTime` or later, with best effort to finish before `maintenanceScheduledEndTime`.

### #maintenance_start_time

    def maintenance_start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Protobuf-Timestamp)) --- Output only. Actual date when the maintenance started. Field present only after the state changed to `RUNNING`.

### #stats

    def stats() -> ::Array<::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Stats>

**Returns**

- (::Array\<[::Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary::Stats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-maintenance-api-v1beta/latest/Google-Cloud-Maintenance-Api-V1beta-MaintenanceSummary-Stats)\>) --- Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

### #title

    def title() -> ::String

**Returns**

- (::String) --- Output only. The title of the maintenance.

### #user_controllable

    def user_controllable() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field).