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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Version

Returns a new instance of GoogleCloudDialogflowCxV3Version.



9097
9098
9099
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9097

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


9070
9071
9072
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9070

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9075
9076
9077
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9075

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


9080
9081
9082
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9080

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9085
9086
9087
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9085

def name
  @name
end

#nlu_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings

Corresponds to the JSON property nluSettings



9090
9091
9092
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9090

def nlu_settings
  @nlu_settings
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


9095
9096
9097
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9095

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9102
9103
9104
9105
9106
9107
9108
9109
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9102

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