Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb
Overview
Represents an agent version.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#status ⇒ String
Output only.
-
#version_number ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Version
constructor
A new instance of GoogleCloudDialogflowV2beta1Version.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Version
Returns a new instance of GoogleCloudDialogflowV2beta1Version.
6398 6399 6400 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The creation time of this version. This field is read-only, i.e.,
it cannot
be set by create and update methods.
Corresponds to the JSON property createTime
6371 6372 6373 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6371 def create_time @create_time end |
#description ⇒ String
Optional. The developer-provided description of this version.
Corresponds to the JSON property description
6376 6377 6378 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6376 def description @description end |
#name ⇒ String
Output only. The unique identifier of this agent version.
Format: projects/<Project ID>/agent/versions/<Version ID>
.
Corresponds to the JSON property name
6382 6383 6384 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6382 def name @name end |
#status ⇒ String
Output only. The status of this version. This field is read-only and cannot be
set by
create and update methods.
Corresponds to the JSON property status
6389 6390 6391 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6389 def status @status end |
#version_number ⇒ Fixnum
Output only. The sequential number of this version. This field is read-only
which means
it cannot be set by create and update methods.
Corresponds to the JSON property versionNumber
6396 6397 6398 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6396 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6403 6404 6405 6406 6407 6408 6409 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 6403 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 |