public sealed class VersionsClientImpl : VersionsClientReference documentation and code samples for the Dialogflow v3 API class VersionsClientImpl.
Versions client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Versions][google.cloud.dialogflow.cx.v3.Version].
Constructors
VersionsClientImpl(VersionsClient, VersionsSettings, ILogger)
public VersionsClientImpl(Versions.VersionsClient grpcClient, VersionsSettings settings, ILogger logger)Constructs a client wrapper for the Versions service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
VersionsVersionsClientThe underlying gRPC client. |
settings |
VersionsSettingsThe base VersionsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateVersionOperationsClient
public override OperationsClient CreateVersionOperationsClient { get; }The long-running operations client for CreateVersion.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override Versions.VersionsClient GrpcClient { get; }The underlying gRPC Versions client
| Property Value | |
|---|---|
| Type | Description |
VersionsVersionsClient |
|
LoadVersionOperationsClient
public override OperationsClient LoadVersionOperationsClient { get; }The long-running operations client for LoadVersion.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CompareVersions(CompareVersionsRequest, CallSettings)
public override CompareVersionsResponse CompareVersions(CompareVersionsRequest request, CallSettings callSettings = null)Compares the specified base version with target version.
| Parameters | |
|---|---|
| Name | Description |
request |
CompareVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompareVersionsResponse |
The RPC response. |
CompareVersionsAsync(CompareVersionsRequest, CallSettings)
public override Task<CompareVersionsResponse> CompareVersionsAsync(CompareVersionsRequest request, CallSettings callSettings = null)Compares the specified base version with target version.
| Parameters | |
|---|---|
| Name | Description |
request |
CompareVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompareVersionsResponse |
A Task containing the RPC response. |
CreateVersion(CreateVersionRequest, CallSettings)
public override Operation<Version, CreateVersionOperationMetadata> CreateVersion(CreateVersionRequest request, CallSettings callSettings = null)Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]response: [Version][google.cloud.dialogflow.cx.v3.Version]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationVersionCreateVersionOperationMetadata |
The RPC response. |
CreateVersionAsync(CreateVersionRequest, CallSettings)
public override Task<Operation<Version, CreateVersionOperationMetadata>> CreateVersionAsync(CreateVersionRequest request, CallSettings callSettings = null)Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]response: [Version][google.cloud.dialogflow.cx.v3.Version]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationVersionCreateVersionOperationMetadata |
A Task containing the RPC response. |
DeleteVersion(DeleteVersionRequest, CallSettings)
public override void DeleteVersion(DeleteVersionRequest request, CallSettings callSettings = null)Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteVersionAsync(DeleteVersionRequest, CallSettings)
public override Task DeleteVersionAsync(DeleteVersionRequest request, CallSettings callSettings = null)Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetVersion(GetVersionRequest, CallSettings)
public override Version GetVersion(GetVersionRequest request, CallSettings callSettings = null)Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Version |
The RPC response. |
GetVersionAsync(GetVersionRequest, CallSettings)
public override Task<Version> GetVersionAsync(GetVersionRequest request, CallSettings callSettings = null)Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskVersion |
A Task containing the RPC response. |
ListVersions(ListVersionsRequest, CallSettings)
public override PagedEnumerable<ListVersionsResponse, Version> ListVersions(ListVersionsRequest request, CallSettings callSettings = null)Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
| Parameters | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListVersionsResponseVersion |
A pageable sequence of Version resources. |
ListVersionsAsync(ListVersionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListVersionsResponse, Version> ListVersionsAsync(ListVersionsRequest request, CallSettings callSettings = null)Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
| Parameters | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListVersionsResponseVersion |
A pageable asynchronous sequence of Version resources. |
LoadVersion(LoadVersionRequest, CallSettings)
public override Operation<Empty, Struct> LoadVersion(LoadVersionRequest request, CallSettings callSettings = null)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 messageresponse: An Empty message
| Parameters | |
|---|---|
| Name | Description |
request |
LoadVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyStruct |
The RPC response. |
LoadVersionAsync(LoadVersionRequest, CallSettings)
public override Task<Operation<Empty, Struct>> LoadVersionAsync(LoadVersionRequest request, CallSettings callSettings = null)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 messageresponse: An Empty message
| Parameters | |
|---|---|
| Name | Description |
request |
LoadVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyStruct |
A Task containing the RPC response. |
UpdateVersion(UpdateVersionRequest, CallSettings)
public override Version UpdateVersion(UpdateVersionRequest request, CallSettings callSettings = null)Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Version |
The RPC response. |
UpdateVersionAsync(UpdateVersionRequest, CallSettings)
public override Task<Version> UpdateVersionAsync(UpdateVersionRequest request, CallSettings callSettings = null)Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskVersion |
A Task containing the RPC response. |