Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Version

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

Overview

Represents a version of a flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Version

Returns a new instance of GoogleCloudDialogflowCxV3Version.



8296
8297
8298
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8296

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

Instance Attribute Details

#create_timeString

Output only. Create time of the version. Corresponds to the JSON property createTime

Returns:

  • (String)


8266
8267
8268
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8266

def create_time
  @create_time
end

#descriptionString

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. Corresponds to the JSON property description

Returns:

  • (String)


8272
8273
8274
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8272

def description
  @description
end

#display_nameString

Required. The human-readable name of the version. Limit of 64 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


8277
8278
8279
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8277

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


8283
8284
8285
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8283

def name
  @name
end

#nlu_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings

Settings related to NLU. Corresponds to the JSON property nluSettings



8288
8289
8290
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8288

def nlu_settings
  @nlu_settings
end

#stateString

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

Returns:

  • (String)


8294
8295
8296
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8294

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8301
8302
8303
8304
8305
8306
8307
8308
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8301

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