Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource

The "versions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource

Constructors

VersionsResource(IClientService)

Constructs a new resource.

Declaration
public VersionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

CompareVersions(GoogleCloudDialogflowCxV3CompareVersionsRequest, string)

Compares the specified base version with target version.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.CompareVersionsRequest CompareVersions(GoogleCloudDialogflowCxV3CompareVersionsRequest body, string baseVersion)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3CompareVersionsRequest body

The body of the request.

string 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/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.CompareVersionsRequest

Create(GoogleCloudDialogflowCxV3Version, string)

Creates a Version in the specified Flow. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateVersionOperationMetadata - response: Version

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.CreateRequest Create(GoogleCloudDialogflowCxV3Version body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3Version body

The body of the request.

string parent

Required. The Flow to create an Version for. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.CreateRequest

Delete(string)

Deletes the specified Version.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the Version to delete. Format: projects//locations//agents//flows//versions/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.DeleteRequest

Get(string)

Retrieves the specified Version.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the Version. Format: projects//locations//agents//flows//versions/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.GetRequest

List(string)

Returns the list of all versions in the specified Flow.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The Flow to list all versions for. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.ListRequest

Load(GoogleCloudDialogflowCxV3LoadVersionRequest, string)

Loads resources in the specified version to the draft flow. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message

  • response: An Empty message
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.LoadRequest Load(GoogleCloudDialogflowCxV3LoadVersionRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3LoadVersionRequest body

The body of the request.

string name

Required. The Version to be loaded to draft flow. Format: projects//locations//agents//flows//versions/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.LoadRequest

Patch(GoogleCloudDialogflowCxV3Version, string)

Updates the specified Version.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3Version body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3Version body

The body of the request.

string name

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource.PatchRequest
In this article
Back to top Generated by DocFX