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
-
- Enclosing class:
- Dialogflow.Projects.Locations.Agents.Flows
public class Dialogflow.Projects.Locations.Agents.Flows.Versions
extends Object
The "versions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.CompareVersions
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.Create
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.Delete
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.Get
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.List
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.Load
class
Dialogflow.Projects.Locations.Agents.Flows.Versions.Patch
-
Constructor Summary
Constructors
Constructor and Description
Versions()
-
Method Summary
-
-
Method Detail
-
compareVersions
public Dialogflow.Projects.Locations.Agents.Flows.Versions.CompareVersions compareVersions(String baseVersion,
GoogleCloudDialogflowCxV3CompareVersionsRequest content)
throws IOException
Compares the specified base version with target version.
Create a request for the method "versions.compareVersions".
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:
baseVersion
- Required. Name of the base flow version to compare with the target version. Use version ID `0` to
indicate the draft version of the specified flow. Format: `projects//locations//agents/
/flows//versions/`.
content
- the GoogleCloudDialogflowCxV3CompareVersionsRequest
- Returns:
- the request
- Throws:
IOException
-
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
-
patch
public Dialogflow.Projects.Locations.Agents.Flows.Versions.Patch patch(String name,
GoogleCloudDialogflowCxV3Version content)
throws IOException
Updates the specified Version.
Create a request for the method "versions.patch".
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
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number
generated by Dialogflow upon version creation.
content
- the GoogleCloudDialogflowCxV3Version
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy