Maintenance V1BETA API - Class Google::Cloud::Maintenance::Api::V1beta::MaintenanceSummary (v0.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

#controls

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

#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) — 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

#maintenance_scheduled_start_time

def maintenance_scheduled_start_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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) — 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

#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).