Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VersionVariantsVariant
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VersionVariantsVariant
- 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
-
#is_control_group ⇒ Boolean
(also: #is_control_group?)
Corresponds to the JSON property
isControlGroup. -
#traffic_allocation ⇒ Float
Corresponds to the JSON property
trafficAllocation. -
#version ⇒ String
Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3VersionVariantsVariant
constructor
A new instance of GoogleCloudDialogflowCxV3VersionVariantsVariant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3VersionVariantsVariant
Returns a new instance of GoogleCloudDialogflowCxV3VersionVariantsVariant.
9145 9146 9147 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_control_group ⇒ Boolean Also known as: is_control_group?
Corresponds to the JSON property isControlGroup
9132 9133 9134 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9132 def is_control_group @is_control_group end |
#traffic_allocation ⇒ Float
Corresponds to the JSON property trafficAllocation
9138 9139 9140 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9138 def traffic_allocation @traffic_allocation end |
#version ⇒ String
Corresponds to the JSON property version
9143 9144 9145 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9143 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9150 9151 9152 9153 9154 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9150 def update!(**args) @is_control_group = args[:is_control_group] if args.key?(:is_control_group) @traffic_allocation = args[:traffic_allocation] if args.key?(:traffic_allocation) @version = args[:version] if args.key?(:version) end |