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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RolloutState

Returns a new instance of GoogleCloudDialogflowCxV3RolloutState.



6982
6983
6984
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6982

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

Instance Attribute Details

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


6970
6971
6972
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6970

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


6975
6976
6977
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6975

def step
  @step
end

#step_indexFixnum

Corresponds to the JSON property stepIndex

Returns:

  • (Fixnum)


6980
6981
6982
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6980

def step_index
  @step_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6987
6988
6989
6990
6991
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6987

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