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.



10122
10123
10124
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10122

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)


10110
10111
10112
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10110

def agent_version
  @agent_version
end

#create_timeString

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

Returns:

  • (String)


10115
10116
10117
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10115

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


10120
10121
10122
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10120

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10127
10128
10129
10130
10131
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10127

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