Class: Google::Cloud::Dialogflow::V2::Version
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Version
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/version.rb
Overview
You can create multiple versions of your agent and publish them to separate environments.
When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent.
When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:
- testing
- development
- production
- etc.
For more information, see the versions and environments guide.
Defined Under Namespace
Modules: VersionStatus
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#status ⇒ ::Google::Cloud::Dialogflow::V2::Version::VersionStatus
readonly
Output only.
-
#version_number ⇒ ::Integer
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/dialogflow/v2/version.rb', line 65 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of a version. module VersionStatus # Not specified. This value is not used. VERSION_STATUS_UNSPECIFIED = 0 # Version is not ready to serve (e.g. training is in progress). IN_PROGRESS = 1 # Version is ready to serve. READY = 2 # Version training failed. FAILED = 3 end end |
#description ⇒ ::String
Returns Optional. The developer-provided description of this version.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/dialogflow/v2/version.rb', line 65 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of a version. module VersionStatus # Not specified. This value is not used. VERSION_STATUS_UNSPECIFIED = 0 # Version is not ready to serve (e.g. training is in progress). IN_PROGRESS = 1 # Version is ready to serve. READY = 2 # Version training failed. FAILED = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. The unique identifier of this agent version. Supported formats:
projects/<Project ID>/agent/versions/<Version ID>
projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>
.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/dialogflow/v2/version.rb', line 65 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of a version. module VersionStatus # Not specified. This value is not used. VERSION_STATUS_UNSPECIFIED = 0 # Version is not ready to serve (e.g. training is in progress). IN_PROGRESS = 1 # Version is ready to serve. READY = 2 # Version training failed. FAILED = 3 end end |
#status ⇒ ::Google::Cloud::Dialogflow::V2::Version::VersionStatus (readonly)
Returns Output only. The status of this version. This field is read-only and cannot be set by create and update methods.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/dialogflow/v2/version.rb', line 65 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of a version. module VersionStatus # Not specified. This value is not used. VERSION_STATUS_UNSPECIFIED = 0 # Version is not ready to serve (e.g. training is in progress). IN_PROGRESS = 1 # Version is ready to serve. READY = 2 # Version training failed. FAILED = 3 end end |
#version_number ⇒ ::Integer (readonly)
Returns Output only. The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/dialogflow/v2/version.rb', line 65 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of a version. module VersionStatus # Not specified. This value is not used. VERSION_STATUS_UNSPECIFIED = 0 # Version is not ready to serve (e.g. training is in progress). IN_PROGRESS = 1 # Version is ready to serve. READY = 2 # Version training failed. FAILED = 3 end end |