Class: Google::Apis::ComputeV1::PreviewFeatureRolloutOperationRolloutInput

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.



39514
39515
39516
# File 'lib/google/apis/compute_v1/classes.rb', line 39514

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)


39507
39508
39509
# File 'lib/google/apis/compute_v1/classes.rb', line 39507

def name
  @name
end

#predefined_rollout_planString

Predefined rollout plan. Corresponds to the JSON property predefinedRolloutPlan

Returns:

  • (String)


39512
39513
39514
# File 'lib/google/apis/compute_v1/classes.rb', line 39512

def predefined_rollout_plan
  @predefined_rollout_plan
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39519
39520
39521
39522
# File 'lib/google/apis/compute_v1/classes.rb', line 39519

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