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.



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

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#examplesArray<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

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#playbookGoogle::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_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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