Class: Google::Apis::ComputeAlpha::GlobalVmExtensionPolicyRolloutOperationRolloutInput

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GlobalVmExtensionPolicyRolloutOperationRolloutInput

Returns a new instance of GlobalVmExtensionPolicyRolloutOperationRolloutInput.



15885
15886
15887
# File 'lib/google/apis/compute_alpha/classes.rb', line 15885

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

Instance Attribute Details

#conflict_behaviorString

Optional. [Optional] Specifies the behavior of the Rollout if a conflict is detected in a project during a Rollout. It can be one of the following values: 1) empty : don't overwrite the local value if conflict happens. This is the default behavior. 2) "overwrite" : Overwrite the local value with the rollout value. The concept of "conflict" applies to: 1) Insert action. If the zonal policy already exists when Insert happens, it's a conflict. 2) Update action. If the zonal policy was updated out of band by a zonal API, it's a conflict. Corresponds to the JSON property conflictBehavior

Returns:

  • (String)


15864
15865
15866
# File 'lib/google/apis/compute_alpha/classes.rb', line 15864

def conflict_behavior
  @conflict_behavior
end

#nameString

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

Returns:

  • (String)


15870
15871
15872
# File 'lib/google/apis/compute_alpha/classes.rb', line 15870

def name
  @name
end

#predefined_rollout_planString

Optional. Predefined rollout plan. Corresponds to the JSON property predefinedRolloutPlan

Returns:

  • (String)


15875
15876
15877
# File 'lib/google/apis/compute_alpha/classes.rb', line 15875

def predefined_rollout_plan
  @predefined_rollout_plan
end

#retry_uuidString

Optional. The UUID of the retry action. Only set it if this is a retry for an existing resource. This is for the user re-populate the resource without changes. An error will be returned if the retry_uuid is set but the resource get modified. Corresponds to the JSON property retryUuid

Returns:

  • (String)


15883
15884
15885
# File 'lib/google/apis/compute_alpha/classes.rb', line 15883

def retry_uuid
  @retry_uuid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15890
15891
15892
15893
15894
15895
# File 'lib/google/apis/compute_alpha/classes.rb', line 15890

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