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.



937
938
939
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 937

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)


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

def completion_state
  @completion_state
end

#completion_timeString

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

Returns:

  • (String)


925
926
927
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 925

def completion_time
  @completion_time
end

#start_timeString

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

Returns:

  • (String)


930
931
932
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 930

def start_time
  @start_time
end

#stepString

The onboarding step. Corresponds to the JSON property step

Returns:

  • (String)


935
936
937
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 935

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



942
943
944
945
946
947
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 942

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