Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Version (v0.25.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Version.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.

#description

def description() -> ::String
Returns
  • (::String) — Optional. The developer-provided description of this version.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The developer-provided description of this version.
Returns
  • (::String) — Optional. The developer-provided description of this version.

#name

def name() -> ::String
Returns
  • (::String) —

    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>

#status

def status() -> ::Google::Cloud::Dialogflow::V2::Version::VersionStatus
Returns

#version_number

def version_number() -> ::Integer
Returns
  • (::Integer) — Output only. The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.