Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookVersion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookVersion
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#examples ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Example>
Corresponds to the JSON property
examples. -
#name ⇒ String
Corresponds to the JSON property
name. -
#playbook ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Playbook
Corresponds to the JSON property
playbook. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookVersion
constructor
A new instance of GoogleCloudDialogflowCxV3PlaybookVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookVersion
Returns a new instance of GoogleCloudDialogflowCxV3PlaybookVersion.
6118 6119 6120 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
6096 6097 6098 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6096 def description @description end |
#examples ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Example>
Corresponds to the JSON property examples
6101 6102 6103 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6101 def examples @examples end |
#name ⇒ String
Corresponds to the JSON property name
6106 6107 6108 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6106 def name @name end |
#playbook ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Playbook
Corresponds to the JSON property playbook
6111 6112 6113 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6111 def playbook @playbook end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
6116 6117 6118 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6116 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6123 6124 6125 6126 6127 6128 6129 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6123 def update!(**args) @description = args[:description] if args.key?(:description) @examples = args[:examples] if args.key?(:examples) @name = args[:name] if args.key?(:name) @playbook = args[:playbook] if args.key?(:playbook) @update_time = args[:update_time] if args.key?(:update_time) end |