Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2/classes.rb,
generated/google/apis/dialogflow_v2/representations.rb,
generated/google/apis/dialogflow_v2/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) ⇒ GoogleCloudDialogflowV2Version
constructor
A new instance of GoogleCloudDialogflowV2Version.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Version
Returns a new instance of GoogleCloudDialogflowV2Version.
3477 3478 3479 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3477 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
3450 3451 3452 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3450 def create_time @create_time end |
#description ⇒ String
Optional. The developer-provided description of this version.
Corresponds to the JSON property description
3455 3456 3457 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3455 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
3461 3462 3463 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3461 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
3468 3469 3470 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3468 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
3475 3476 3477 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3475 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3482 3483 3484 3485 3486 3487 3488 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3482 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 |