Class: Google::Apis::SaasservicemgmtV1beta1::RolloutStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/saasservicemgmt_v1beta1/classes.rb,
lib/google/apis/saasservicemgmt_v1beta1/representations.rb,
lib/google/apis/saasservicemgmt_v1beta1/representations.rb

Overview

RolloutStats contains information about the progress of a rollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RolloutStats

Returns a new instance of RolloutStats.



1250
1251
1252
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1250

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#operations_by_stateArray<Google::Apis::SaasservicemgmtV1beta1::Aggregate>

Output only. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated. There will be at most one entry per group. Possible values for operation groups are: - "SCHEDULED" - "PENDING" - "RUNNING" - "SUCCEEDED" - " FAILED" - "CANCELLED" Corresponds to the JSON property operationsByState



1248
1249
1250
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1248

def operations_by_state
  @operations_by_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1255
1256
1257
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1255

def update!(**args)
  @operations_by_state = args[:operations_by_state] if args.key?(:operations_by_state)
end