Class ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource
The "versions" collection of methods.
Inherited Members
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
|
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: |
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:
|
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: |
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: |
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:
|
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 |