Class: Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatus

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

Overview

Represents progressive rollout current status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPolicyRolloutOperationRolloutStatus

Returns a new instance of FirewallPolicyRolloutOperationRolloutStatus.



15599
15600
15601
# File 'lib/google/apis/compute_alpha/classes.rb', line 15599

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

Instance Attribute Details

#next_rolloutGoogle::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatusNextRollout

[Output only] The next rollout. Corresponds to the JSON property nextRollout



15586
15587
15588
# File 'lib/google/apis/compute_alpha/classes.rb', line 15586

def next_rollout
  @next_rollout
end

#ongoing_rolloutsArray<Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata>

[Output only] The ongoing rollout. Corresponds to the JSON property ongoingRollouts



15591
15592
15593
# File 'lib/google/apis/compute_alpha/classes.rb', line 15591

def ongoing_rollouts
  @ongoing_rollouts
end

#previous_rolloutGoogle::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata

Represents the status of the progressive rollout instance, either completed or ongoing. Corresponds to the JSON property previousRollout



15597
15598
15599
# File 'lib/google/apis/compute_alpha/classes.rb', line 15597

def previous_rollout
  @previous_rollout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15604
15605
15606
15607
15608
# File 'lib/google/apis/compute_alpha/classes.rb', line 15604

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