class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
A single rollout step with specified traffic allocation.
Attributes
display_name[RW]
The name of the rollout step; Corresponds to the JSON property `displayName` @return [String]
min_duration[RW]
The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour. Corresponds to the JSON property `minDuration` @return [String]
traffic_percent[RW]
The percentage of traffic allocated to the flow version of this rollout step. ( 0%, 100%]. Corresponds to the JSON property `trafficPercent` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 4159 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 4164 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