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.
17622 17623 17624 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
17600 17601 17602 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17600 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
17605 17606 17607 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17605 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
17610 17611 17612 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17610 def name @name end |
#status ⇒ String
Corresponds to the JSON property status
17615 17616 17617 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17615 def status @status end |
#version_number ⇒ Fixnum
Corresponds to the JSON property versionNumber
17620 17621 17622 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17620 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17627 17628 17629 17630 17631 17632 17633 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17627 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 |