Class: Google::Apis::CloudcontrolspartnerV1::WorkloadOnboardingStep

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

Overview

Container for workload onboarding information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadOnboardingStep

Returns a new instance of WorkloadOnboardingStep.



914
915
916
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 914

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

Instance Attribute Details

#completion_stateString

Output only. The completion state of the onboarding step. Corresponds to the JSON property completionState

Returns:

  • (String)


897
898
899
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 897

def completion_state
  @completion_state
end

#completion_timeString

The completion time of the onboarding step. Corresponds to the JSON property completionTime

Returns:

  • (String)


902
903
904
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 902

def completion_time
  @completion_time
end

#start_timeString

The starting time of the onboarding step. Corresponds to the JSON property startTime

Returns:

  • (String)


907
908
909
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 907

def start_time
  @start_time
end

#stepString

The onboarding step. Corresponds to the JSON property step

Returns:

  • (String)


912
913
914
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 912

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



919
920
921
922
923
924
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 919

def update!(**args)
  @completion_state = args[:completion_state] if args.key?(:completion_state)
  @completion_time = args[:completion_time] if args.key?(:completion_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @step = args[:step] if args.key?(:step)
end