class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Version

Represents a version of a flow.

Attributes

create_time[RW]

Output only. Create time of the version. Corresponds to the JSON property `createTime` @return [String]

description[RW]

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Required. The human-readable name of the version. Limit of 64 characters. Corresponds to the JSON property `displayName` @return [String]

name[RW]

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` @return [String]

nlu_settings[RW]

Settings related to NLU. Corresponds to the JSON property `nluSettings` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings]

state[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 5802
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 5807
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