Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry

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

Overview

Represents an environment history entry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry

Returns a new instance of GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry.



11140
11141
11142
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11140

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)


11128
11129
11130
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11128

def agent_version
  @agent_version
end

#create_timeString

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

Returns:

  • (String)


11133
11134
11135
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11133

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


11138
11139
11140
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11138

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11145
11146
11147
11148
11149
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11145

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