All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dialogflow.v3.Dialogflow.Projects.Locations.Agents.Flows.Versions.html Maven / Gradle / Ivy

The newest version!






Dialogflow.Projects.Locations.Agents.Flows.Versions (Dialogflow API v3-rev20240617-2.0.0)












com.google.api.services.dialogflow.v3

Class Dialogflow.Projects.Locations.Agents.Flows.Versions

  • java.lang.Object
    • com.google.api.services.dialogflow.v3.Dialogflow.Projects.Locations.Agents.Flows.Versions
    • Constructor Detail

      • Versions

        public Versions()
    • Method Detail

      • create

        public Dialogflow.Projects.Locations.Agents.Flows.Versions.Create create(String parent,
                                                                                 GoogleCloudDialogflowCxV3Version content)
                                                                          throws IOException
        Creates a Version in the specified Flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version Create a request for the method "versions.create". This request holds the parameters needed by the dialogflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.
        content - the GoogleCloudDialogflowCxV3Version
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Dialogflow.Projects.Locations.Agents.Flows.Versions.Delete delete(String name)
                                                                          throws IOException
        Deletes the specified Version. Create a request for the method "versions.delete". This request holds the parameters needed by the dialogflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Dialogflow.Projects.Locations.Agents.Flows.Versions.Get get(String name)
                                                                    throws IOException
        Retrieves the specified Version. Create a request for the method "versions.get". This request holds the parameters needed by the dialogflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Dialogflow.Projects.Locations.Agents.Flows.Versions.List list(String parent)
                                                                      throws IOException
        Returns the list of all versions in the specified Flow. Create a request for the method "versions.list". This request holds the parameters needed by the dialogflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.
        Returns:
        the request
        Throws:
        IOException
      • load

        public Dialogflow.Projects.Locations.Agents.Flows.Versions.Load load(String name,
                                                                             GoogleCloudDialogflowCxV3LoadVersionRequest content)
                                                                      throws IOException
        Loads resources in the specified version to the draft flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol- buffers/docs/reference/google.protobuf#empty) Create a request for the method "versions.load". This request holds the parameters needed by the dialogflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The Version to be loaded to draft flow. Format: `projects//locations//agents//flows//versions/`.
        content - the GoogleCloudDialogflowCxV3LoadVersionRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy