Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EnvironmentHistoryEntry

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

Overview

Represents an environment history entry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2EnvironmentHistoryEntry

Returns a new instance of GoogleCloudDialogflowV2EnvironmentHistoryEntry.



11035
11036
11037
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11035

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

Instance Attribute Details

#agent_versionString

The agent version loaded into this environment history entry. Corresponds to the JSON property agentVersion

Returns:

  • (String)


11023
11024
11025
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11023

def agent_version
  @agent_version
end

#create_timeString

The creation time of this environment history entry. Corresponds to the JSON property createTime

Returns:

  • (String)


11028
11029
11030
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11028

def create_time
  @create_time
end

#descriptionString

The developer-provided description for this environment history entry. Corresponds to the JSON property description

Returns:

  • (String)


11033
11034
11035
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11033

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11040
11041
11042
11043
11044
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11040

def update!(**args)
  @agent_version = args[:agent_version] if args.key?(:agent_version)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
end