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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2EnvironmentHistoryEntry

Returns a new instance of GoogleCloudDialogflowV2EnvironmentHistoryEntry.



9566
9567
9568
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9566

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


9554
9555
9556
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9554

def agent_version
  @agent_version
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


9559
9560
9561
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9559

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9564
9565
9566
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9564

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9571
9572
9573
9574
9575
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9571

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