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.
18030 18031 18032 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18030 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
18008 18009 18010 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18008 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
18013 18014 18015 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18013 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
18018 18019 18020 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18018 def name @name end |
#status ⇒ String
Corresponds to the JSON property status
18023 18024 18025 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18023 def status @status end |
#version_number ⇒ Fixnum
Corresponds to the JSON property versionNumber
18028 18029 18030 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18028 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18035 18036 18037 18038 18039 18040 18041 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18035 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 |