Class: Google::Cloud::Dialogflow::V2::Environment
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Environment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/environment.rb
Overview
Represents an agent environment.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#agent_version ⇒ ::String
Optional.
-
#description ⇒ ::String
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Dialogflow::V2::Environment::State
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#agent_version ⇒ ::String
Returns Optional. The agent version loaded into this environment.
Format: projects/<Project ID>/agent/versions/<Version ID>.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/environment.rb', line 46 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an environment state. When an environment is pointed to a new # agent version, the environment is temporarily set to the `LOADING` state. # During that time, the environment keeps on serving the previous version of # the agent. After the new agent version is done loading, the environment is # set back to the `RUNNING` state. module State # Not specified. This value is not used. STATE_UNSPECIFIED = 0 # Stopped. STOPPED = 1 # Loading. LOADING = 2 # Running. RUNNING = 3 end end |
#description ⇒ ::String
Returns Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/environment.rb', line 46 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an environment state. When an environment is pointed to a new # agent version, the environment is temporarily set to the `LOADING` state. # During that time, the environment keeps on serving the previous version of # the agent. After the new agent version is done loading, the environment is # set back to the `RUNNING` state. module State # Not specified. This value is not used. STATE_UNSPECIFIED = 0 # Stopped. STOPPED = 1 # Loading. LOADING = 2 # Running. RUNNING = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. The unique identifier of this agent environment.
Format: projects/<Project ID>/agent/environments/<Environment ID>.
For Environment ID, "-" is reserved for 'draft' environment.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/environment.rb', line 46 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an environment state. When an environment is pointed to a new # agent version, the environment is temporarily set to the `LOADING` state. # During that time, the environment keeps on serving the previous version of # the agent. After the new agent version is done loading, the environment is # set back to the `RUNNING` state. module State # Not specified. This value is not used. STATE_UNSPECIFIED = 0 # Stopped. STOPPED = 1 # Loading. LOADING = 2 # Running. RUNNING = 3 end end |
#state ⇒ ::Google::Cloud::Dialogflow::V2::Environment::State (readonly)
Returns Output only. The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/environment.rb', line 46 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an environment state. When an environment is pointed to a new # agent version, the environment is temporarily set to the `LOADING` state. # During that time, the environment keeps on serving the previous version of # the agent. After the new agent version is done loading, the environment is # set back to the `RUNNING` state. module State # Not specified. This value is not used. STATE_UNSPECIFIED = 0 # Stopped. STOPPED = 1 # Loading. LOADING = 2 # Running. RUNNING = 3 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/environment.rb', line 46 class Environment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an environment state. When an environment is pointed to a new # agent version, the environment is temporarily set to the `LOADING` state. # During that time, the environment keeps on serving the previous version of # the agent. After the new agent version is done loading, the environment is # set back to the `RUNNING` state. module State # Not specified. This value is not used. STATE_UNSPECIFIED = 0 # Stopped. STOPPED = 1 # Loading. LOADING = 2 # Running. RUNNING = 3 end end |