Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
- 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
Instance Attribute Summary collapse
-
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#min_duration ⇒ String
Corresponds to the JSON property
minDuration. -
#traffic_percent ⇒ Fixnum
Corresponds to the JSON property
trafficPercent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
constructor
A new instance of GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
Returns a new instance of GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep.
11412 11413 11414 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
11400 11401 11402 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11400 def display_name @display_name end |
#min_duration ⇒ String
Corresponds to the JSON property minDuration
11405 11406 11407 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11405 def min_duration @min_duration end |
#traffic_percent ⇒ Fixnum
Corresponds to the JSON property trafficPercent
11410 11411 11412 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11410 def traffic_percent @traffic_percent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11417 11418 11419 11420 11421 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11417 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 |