Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState

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

Overview

State of the auto-rollout process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RolloutState

Returns a new instance of GoogleCloudDialogflowCxV3beta1RolloutState.



11997
11998
11999
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11997

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)


11985
11986
11987
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11985

def start_time
  @start_time
end

#stepString

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

Returns:

  • (String)


11990
11991
11992
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11990

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)


11995
11996
11997
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11995

def step_index
  @step_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12002
12003
12004
12005
12006
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12002

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