Class: Google::Apis::ComputeAlpha::GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata

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) ⇒ GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata

Returns a new instance of GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata.



15947
15948
15949
# File 'lib/google/apis/compute_alpha/classes.rb', line 15947

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

Instance Attribute Details

#rolloutString

[Output Only] The name of the rollout. Ex. projects//locations/global/rollouts/ . Corresponds to the JSON property rollout

Returns:

  • (String)


15934
15935
15936
# File 'lib/google/apis/compute_alpha/classes.rb', line 15934

def rollout
  @rollout
end

#rollout_planString

[Output Only] The name of the rollout plan. Ex. projects//locations/global/ rolloutPlans/. Corresponds to the JSON property rolloutPlan

Returns:

  • (String)


15940
15941
15942
# File 'lib/google/apis/compute_alpha/classes.rb', line 15940

def rollout_plan
  @rollout_plan
end

#stateString

[Output Only] The overall state of the rollout. Corresponds to the JSON property state

Returns:

  • (String)


15945
15946
15947
# File 'lib/google/apis/compute_alpha/classes.rb', line 15945

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15952
15953
15954
15955
15956
# File 'lib/google/apis/compute_alpha/classes.rb', line 15952

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