Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookVersion

Returns a new instance of GoogleCloudDialogflowCxV3PlaybookVersion.



6112
6113
6114
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6112

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


6090
6091
6092
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6090

def description
  @description
end

#examplesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Example>

Corresponds to the JSON property examples



6095
6096
6097
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6095

def examples
  @examples
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6100
6101
6102
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6100

def name
  @name
end

#playbookGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Playbook

Corresponds to the JSON property playbook



6105
6106
6107
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6105

def playbook
  @playbook
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


6110
6111
6112
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6110

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6117
6118
6119
6120
6121
6122
6123
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6117

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