Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Represents a version of a flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Version

Returns a new instance of GoogleCloudDialogflowCxV3beta1Version.



11072
11073
11074
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11072

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)


11042
11043
11044
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11042

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)


11048
11049
11050
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11048

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)


11053
11054
11055
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11053

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)


11059
11060
11061
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11059

def name
  @name
end

#nlu_settingsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings

Settings related to NLU. Corresponds to the JSON property nluSettings



11064
11065
11066
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11064

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)


11070
11071
11072
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11070

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11077
11078
11079
11080
11081
11082
11083
11084
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11077

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