Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version
- 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
-
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#description ⇒ String
Corresponds to the JSON property
description. -
#name ⇒ String
Corresponds to the JSON property
name. -
#status ⇒ String
Corresponds to the JSON property
status. -
#version_number ⇒ Fixnum
Corresponds to the JSON property
versionNumber.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Version
constructor
A new instance of GoogleCloudDialogflowV2Version.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Version
Returns a new instance of GoogleCloudDialogflowV2Version.
17857 17858 17859 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17857 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
17835 17836 17837 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17835 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
17840 17841 17842 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17840 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
17845 17846 17847 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17845 def name @name end |
#status ⇒ String
Corresponds to the JSON property status
17850 17851 17852 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17850 def status @status end |
#version_number ⇒ Fixnum
Corresponds to the JSON property versionNumber
17855 17856 17857 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17855 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17862 17863 17864 17865 17866 17867 17868 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17862 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @status = args[:status] if args.key?(:status) @version_number = args[:version_number] if args.key?(:version_number) end |