Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep

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) ⇒ GoogleCloudDialogflowCxV3RolloutConfigRolloutStep

Returns a new instance of GoogleCloudDialogflowCxV3RolloutConfigRolloutStep.



6951
6952
6953
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6951

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


6939
6940
6941
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6939

def display_name
  @display_name
end

#min_durationString

Corresponds to the JSON property minDuration

Returns:

  • (String)


6944
6945
6946
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6944

def min_duration
  @min_duration
end

#traffic_percentFixnum

Corresponds to the JSON property trafficPercent

Returns:

  • (Fixnum)


6949
6950
6951
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6949

def traffic_percent
  @traffic_percent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6956
6957
6958
6959
6960
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6956

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @min_duration = args[:min_duration] if args.key?(:min_duration)
  @traffic_percent = args[:traffic_percent] if args.key?(:traffic_percent)
end