Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version
- 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
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings
Settings related to NLU.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Version
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Version.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Version
Returns a new instance of GoogleCloudDialogflowCxV3beta1Version.
7647 7648 7649 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7647 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
7617 7618 7619 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7617 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
7623 7624 7625 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7623 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
7628 7629 7630 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7628 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
7634 7635 7636 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7634 def name @name end |
#nlu_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings
Settings related to NLU.
Corresponds to the JSON property nluSettings
7639 7640 7641 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7639 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
7645 7646 7647 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7645 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7652 7653 7654 7655 7656 7657 7658 7659 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7652 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 |