Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState

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

Overview

State of the auto-rollout process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RolloutState

Returns a new instance of GoogleCloudDialogflowCxV3RolloutState.



4773
4774
4775
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4773

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

Instance Attribute Details

#start_timeString

Start time of the current step. Corresponds to the JSON property startTime

Returns:

  • (String)


4761
4762
4763
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4761

def start_time
  @start_time
end

#stepString

Display name of the current auto rollout step. Corresponds to the JSON property step

Returns:

  • (String)


4766
4767
4768
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4766

def step
  @step
end

#step_indexFixnum

Index of the current step in the auto rollout steps list. Corresponds to the JSON property stepIndex

Returns:

  • (Fixnum)


4771
4772
4773
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4771

def step_index
  @step_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4778
4779
4780
4781
4782
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4778

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