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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry

Returns a new instance of GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry.



13357
13358
13359
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13357

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


13345
13346
13347
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13345

def agent_version
  @agent_version
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


13350
13351
13352
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13350

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13355
13356
13357
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13355

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13362
13363
13364
13365
13366
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13362

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