Class: Google::Apis::ComputeAlpha::PreviewFeatureRolloutOperationRolloutInput

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 the input for the rollout operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreviewFeatureRolloutOperationRolloutInput

Returns a new instance of PreviewFeatureRolloutOperationRolloutInput.



51991
51992
51993
# File 'lib/google/apis/compute_alpha/classes.rb', line 51991

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

Instance Attribute Details

#nameString

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/. Corresponds to the JSON property name

Returns:

  • (String)


51984
51985
51986
# File 'lib/google/apis/compute_alpha/classes.rb', line 51984

def name
  @name
end

#predefined_rollout_planString

Predefined rollout plan. Corresponds to the JSON property predefinedRolloutPlan

Returns:

  • (String)


51989
51990
51991
# File 'lib/google/apis/compute_alpha/classes.rb', line 51989

def predefined_rollout_plan
  @predefined_rollout_plan
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51996
51997
51998
51999
# File 'lib/google/apis/compute_alpha/classes.rb', line 51996

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