/// <summary>
 /// Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
 /// </summary>
 /// <param name="name">
 /// Required. The name of the [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
 /// Format: `projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent
 /// ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/deployments/&amp;lt;Deployment ID&amp;gt;`.
 /// </param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Deployment> GetDeploymentAsync(DeploymentName name, st::CancellationToken cancellationToken) =>
 GetDeploymentAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
 /// </summary>
 /// <param name="name">
 /// Required. The name of the [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
 /// Format: `projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent
 /// ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/deployments/&amp;lt;Deployment ID&amp;gt;`.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Deployment> GetDeploymentAsync(DeploymentName name, gaxgrpc::CallSettings callSettings = null) =>
 GetDeploymentAsync(new GetDeploymentRequest
 {
     DeploymentName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
 }, callSettings);