Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Version
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Version
- 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
Overview
Represents a version of a flow.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
The description of the version.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Format: projects//locations//agents//flows//versions/.
-
#nlu_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings
Settings related to NLU.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Version
constructor
A new instance of GoogleCloudDialogflowCxV3Version.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Version
Returns a new instance of GoogleCloudDialogflowCxV3Version.
8230 8231 8232 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create time of the version.
Corresponds to the JSON property createTime
8200 8201 8202 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8200 def create_time @create_time end |
#description ⇒ String
The description of the version. The maximum length is 500 characters. If
exceeded, the request is rejected.
Corresponds to the JSON property description
8206 8207 8208 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8206 def description @description end |
#display_name ⇒ String
Required. The human-readable name of the version. Limit of 64 characters.
Corresponds to the JSON property displayName
8211 8212 8213 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8211 def display_name @display_name end |
#name ⇒ String
Format: projects//locations//agents//flows//versions/. Version ID is a self-
increasing number generated by Dialogflow upon version creation.
Corresponds to the JSON property name
8217 8218 8219 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8217 def name @name end |
#nlu_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings
Settings related to NLU.
Corresponds to the JSON property nluSettings
8222 8223 8224 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8222 def nlu_settings @nlu_settings end |
#state ⇒ String
Output only. The state of this version. This field is read-only and cannot be
set by create and update methods.
Corresponds to the JSON property state
8228 8229 8230 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8228 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8235 8236 8237 8238 8239 8240 8241 8242 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8235 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings) @state = args[:state] if args.key?(:state) end |