Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Example

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) ⇒ GoogleCloudDialogflowCxV3Example

Returns a new instance of GoogleCloudDialogflowCxV3Example.



2197
2198
2199
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2197

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Action>

Corresponds to the JSON property actions



2145
2146
2147
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2145

def actions
  @actions
end

#conversation_stateString

Corresponds to the JSON property conversationState

Returns:

  • (String)


2150
2151
2152
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2150

def conversation_state
  @conversation_state
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


2155
2156
2157
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2155

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2160
2161
2162
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2160

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2165
2166
2167
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2165

def display_name
  @display_name
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


2170
2171
2172
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2170

def language_code
  @language_code
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2175
2176
2177
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2175

def name
  @name
end

#playbook_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInput

Corresponds to the JSON property playbookInput



2180
2181
2182
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2180

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookOutput

Corresponds to the JSON property playbookOutput



2185
2186
2187
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2185

def playbook_output
  @playbook_output
end

#token_countFixnum

Corresponds to the JSON property tokenCount

Returns:

  • (Fixnum)


2190
2191
2192
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2190

def token_count
  @token_count
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


2195
2196
2197
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2195

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2202

def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @conversation_state = args[:conversation_state] if args.key?(:conversation_state)
  @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)
  @language_code = args[:language_code] if args.key?(:language_code)
  @name = args[:name] if args.key?(:name)
  @playbook_input = args[:playbook_input] if args.key?(:playbook_input)
  @playbook_output = args[:playbook_output] if args.key?(:playbook_output)
  @token_count = args[:token_count] if args.key?(:token_count)
  @update_time = args[:update_time] if args.key?(:update_time)
end