Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
- 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
-
#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) ⇒ GoogleCloudDialogflowV2beta1Version
constructor
A new instance of GoogleCloudDialogflowV2beta1Version.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Version
Returns a new instance of GoogleCloudDialogflowV2beta1Version.
22532 22533 22534 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
22510 22511 22512 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22510 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
22515 22516 22517 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22515 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
22520 22521 22522 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22520 def name @name end |
#status ⇒ String
Corresponds to the JSON property status
22525 22526 22527 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22525 def status @status end |
#version_number ⇒ Fixnum
Corresponds to the JSON property versionNumber
22530 22531 22532 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22530 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22537 22538 22539 22540 22541 22542 22543 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22537 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 |