Vision AI v1 API - Class LiveVideoAnalyticsClient (1.0.0-beta01)

public abstract class LiveVideoAnalyticsClient

Reference documentation and code samples for the Vision AI v1 API class LiveVideoAnalyticsClient.

LiveVideoAnalytics client wrapper, for convenient use.

Inheritance

object > LiveVideoAnalyticsClient

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Remarks

Service describing handlers for resources. The service enables clients to run Live Video Analytics (LVA) on the streaming inputs.

Properties

BatchRunProcessOperationsClient

public virtual OperationsClient BatchRunProcessOperationsClient { get; }

The long-running operations client for BatchRunProcess.

Property Value
Type Description
OperationsClient

CreateAnalysisOperationsClient

public virtual OperationsClient CreateAnalysisOperationsClient { get; }

The long-running operations client for CreateAnalysis.

Property Value
Type Description
OperationsClient

CreateOperatorOperationsClient

public virtual OperationsClient CreateOperatorOperationsClient { get; }

The long-running operations client for CreateOperator.

Property Value
Type Description
OperationsClient

CreateProcessOperationsClient

public virtual OperationsClient CreateProcessOperationsClient { get; }

The long-running operations client for CreateProcess.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the LiveVideoAnalytics service, which is a host of "visionai.googleapis.com" and a port of 443.

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default LiveVideoAnalytics scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default LiveVideoAnalytics scopes are:

DeleteAnalysisOperationsClient

public virtual OperationsClient DeleteAnalysisOperationsClient { get; }

The long-running operations client for DeleteAnalysis.

Property Value
Type Description
OperationsClient

DeleteOperatorOperationsClient

public virtual OperationsClient DeleteOperatorOperationsClient { get; }

The long-running operations client for DeleteOperator.

Property Value
Type Description
OperationsClient

DeleteProcessOperationsClient

public virtual OperationsClient DeleteProcessOperationsClient { get; }

The long-running operations client for DeleteProcess.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual LiveVideoAnalytics.LiveVideoAnalyticsClient GrpcClient { get; }

The underlying gRPC LiveVideoAnalytics client

Property Value
Type Description
LiveVideoAnalyticsLiveVideoAnalyticsClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UpdateAnalysisOperationsClient

public virtual OperationsClient UpdateAnalysisOperationsClient { get; }

The long-running operations client for UpdateAnalysis.

Property Value
Type Description
OperationsClient

UpdateOperatorOperationsClient

public virtual OperationsClient UpdateOperatorOperationsClient { get; }

The long-running operations client for UpdateOperator.

Property Value
Type Description
OperationsClient

UpdateProcessOperationsClient

public virtual OperationsClient UpdateProcessOperationsClient { get; }

The long-running operations client for UpdateProcess.

Property Value
Type Description
OperationsClient

Methods

BatchRunProcess(BatchRunProcessRequest, CallSettings)

public virtual Operation<BatchRunProcessResponse, OperationMetadata> BatchRunProcess(BatchRunProcessRequest request, CallSettings callSettings = null)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
request BatchRunProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchRunProcessResponseOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
BatchRunProcessRequest request = new BatchRunProcessRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Requests =
    {
        new CreateProcessRequest(),
    },
    Options = new BatchRunProcessRequest.Types.BatchRunProcessOptions(),
    BatchId = "",
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = liveVideoAnalyticsClient.BatchRunProcess(request);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceBatchRunProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcess(ClusterName, IEnumerable<CreateProcessRequest>, CallSettings)

public virtual Operation<BatchRunProcessResponse, OperationMetadata> BatchRunProcess(ClusterName parent, IEnumerable<CreateProcessRequest> requests, CallSettings callSettings = null)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
parent ClusterName

Required. The parent resource shared by all processes being created.

requests IEnumerableCreateProcessRequest

Required. The create process requests.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchRunProcessResponseOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
IEnumerable<CreateProcessRequest> requests = new CreateProcessRequest[]
{
    new CreateProcessRequest(),
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = liveVideoAnalyticsClient.BatchRunProcess(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceBatchRunProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcess(string, IEnumerable<CreateProcessRequest>, CallSettings)

public virtual Operation<BatchRunProcessResponse, OperationMetadata> BatchRunProcess(string parent, IEnumerable<CreateProcessRequest> requests, CallSettings callSettings = null)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
parent string

Required. The parent resource shared by all processes being created.

requests IEnumerableCreateProcessRequest

Required. The create process requests.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchRunProcessResponseOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
IEnumerable<CreateProcessRequest> requests = new CreateProcessRequest[]
{
    new CreateProcessRequest(),
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = liveVideoAnalyticsClient.BatchRunProcess(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceBatchRunProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcessAsync(BatchRunProcessRequest, CallSettings)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> BatchRunProcessAsync(BatchRunProcessRequest request, CallSettings callSettings = null)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
request BatchRunProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
BatchRunProcessRequest request = new BatchRunProcessRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Requests =
    {
        new CreateProcessRequest(),
    },
    Options = new BatchRunProcessRequest.Types.BatchRunProcessOptions(),
    BatchId = "",
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = await liveVideoAnalyticsClient.BatchRunProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceBatchRunProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcessAsync(BatchRunProcessRequest, CancellationToken)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> BatchRunProcessAsync(BatchRunProcessRequest request, CancellationToken cancellationToken)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
request BatchRunProcessRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
BatchRunProcessRequest request = new BatchRunProcessRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Requests =
    {
        new CreateProcessRequest(),
    },
    Options = new BatchRunProcessRequest.Types.BatchRunProcessOptions(),
    BatchId = "",
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = await liveVideoAnalyticsClient.BatchRunProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceBatchRunProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcessAsync(ClusterName, IEnumerable<CreateProcessRequest>, CallSettings)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> BatchRunProcessAsync(ClusterName parent, IEnumerable<CreateProcessRequest> requests, CallSettings callSettings = null)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
parent ClusterName

Required. The parent resource shared by all processes being created.

requests IEnumerableCreateProcessRequest

Required. The create process requests.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
IEnumerable<CreateProcessRequest> requests = new CreateProcessRequest[]
{
    new CreateProcessRequest(),
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = await liveVideoAnalyticsClient.BatchRunProcessAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceBatchRunProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcessAsync(ClusterName, IEnumerable<CreateProcessRequest>, CancellationToken)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> BatchRunProcessAsync(ClusterName parent, IEnumerable<CreateProcessRequest> requests, CancellationToken cancellationToken)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
parent ClusterName

Required. The parent resource shared by all processes being created.

requests IEnumerableCreateProcessRequest

Required. The create process requests.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
IEnumerable<CreateProcessRequest> requests = new CreateProcessRequest[]
{
    new CreateProcessRequest(),
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = await liveVideoAnalyticsClient.BatchRunProcessAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceBatchRunProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcessAsync(string, IEnumerable<CreateProcessRequest>, CallSettings)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> BatchRunProcessAsync(string parent, IEnumerable<CreateProcessRequest> requests, CallSettings callSettings = null)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
parent string

Required. The parent resource shared by all processes being created.

requests IEnumerableCreateProcessRequest

Required. The create process requests.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
IEnumerable<CreateProcessRequest> requests = new CreateProcessRequest[]
{
    new CreateProcessRequest(),
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = await liveVideoAnalyticsClient.BatchRunProcessAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceBatchRunProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

BatchRunProcessAsync(string, IEnumerable<CreateProcessRequest>, CancellationToken)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> BatchRunProcessAsync(string parent, IEnumerable<CreateProcessRequest> requests, CancellationToken cancellationToken)

Run all of the processes to "completion". Max time for each process is the LRO time limit.

Parameters
Name Description
parent string

Required. The parent resource shared by all processes being created.

requests IEnumerableCreateProcessRequest

Required. The create process requests.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
IEnumerable<CreateProcessRequest> requests = new CreateProcessRequest[]
{
    new CreateProcessRequest(),
};
// Make the request
Operation<BatchRunProcessResponse, OperationMetadata> response = await liveVideoAnalyticsClient.BatchRunProcessAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchRunProcessResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchRunProcessResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchRunProcessResponse, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceBatchRunProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchRunProcessResponse retrievedResult = retrievedResponse.Result;
}

Create()

public static LiveVideoAnalyticsClient Create()

Synchronously creates a LiveVideoAnalyticsClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use LiveVideoAnalyticsClientBuilder .

Returns
Type Description
LiveVideoAnalyticsClient

The created LiveVideoAnalyticsClient.

CreateAnalysis(ClusterName, Analysis, string, CallSettings)

public virtual Operation<Analysis, OperationMetadata> CreateAnalysis(ClusterName parent, Analysis analysis, string analysisId, CallSettings callSettings = null)

Creates a new Analysis in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Value for parent.

analysis Analysis

Required. The resource being created.

analysisId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
Analysis analysis = new Analysis();
string analysisId = "";
// Make the request
Operation<Analysis, OperationMetadata> response = liveVideoAnalyticsClient.CreateAnalysis(parent, analysis, analysisId);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysis(CreateAnalysisRequest, CallSettings)

public virtual Operation<Analysis, OperationMetadata> CreateAnalysis(CreateAnalysisRequest request, CallSettings callSettings = null)

Creates a new Analysis in a given project and location.

Parameters
Name Description
request CreateAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
CreateAnalysisRequest request = new CreateAnalysisRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    AnalysisId = "",
    Analysis = new Analysis(),
    RequestId = "",
};
// Make the request
Operation<Analysis, OperationMetadata> response = liveVideoAnalyticsClient.CreateAnalysis(request);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysis(string, Analysis, string, CallSettings)

public virtual Operation<Analysis, OperationMetadata> CreateAnalysis(string parent, Analysis analysis, string analysisId, CallSettings callSettings = null)

Creates a new Analysis in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

analysis Analysis

Required. The resource being created.

analysisId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
Analysis analysis = new Analysis();
string analysisId = "";
// Make the request
Operation<Analysis, OperationMetadata> response = liveVideoAnalyticsClient.CreateAnalysis(parent, analysis, analysisId);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(ClusterName, Analysis, string, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> CreateAnalysisAsync(ClusterName parent, Analysis analysis, string analysisId, CallSettings callSettings = null)

Creates a new Analysis in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Value for parent.

analysis Analysis

Required. The resource being created.

analysisId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
Analysis analysis = new Analysis();
string analysisId = "";
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.CreateAnalysisAsync(parent, analysis, analysisId);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(ClusterName, Analysis, string, CancellationToken)

public virtual Task<Operation<Analysis, OperationMetadata>> CreateAnalysisAsync(ClusterName parent, Analysis analysis, string analysisId, CancellationToken cancellationToken)

Creates a new Analysis in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Value for parent.

analysis Analysis

Required. The resource being created.

analysisId string

Required. Id of the requesting object.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
Analysis analysis = new Analysis();
string analysisId = "";
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.CreateAnalysisAsync(parent, analysis, analysisId);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(CreateAnalysisRequest, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> CreateAnalysisAsync(CreateAnalysisRequest request, CallSettings callSettings = null)

Creates a new Analysis in a given project and location.

Parameters
Name Description
request CreateAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
CreateAnalysisRequest request = new CreateAnalysisRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    AnalysisId = "",
    Analysis = new Analysis(),
    RequestId = "",
};
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.CreateAnalysisAsync(request);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(CreateAnalysisRequest, CancellationToken)

public virtual Task<Operation<Analysis, OperationMetadata>> CreateAnalysisAsync(CreateAnalysisRequest request, CancellationToken cancellationToken)

Creates a new Analysis in a given project and location.

Parameters
Name Description
request CreateAnalysisRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
CreateAnalysisRequest request = new CreateAnalysisRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    AnalysisId = "",
    Analysis = new Analysis(),
    RequestId = "",
};
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.CreateAnalysisAsync(request);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(string, Analysis, string, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> CreateAnalysisAsync(string parent, Analysis analysis, string analysisId, CallSettings callSettings = null)

Creates a new Analysis in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

analysis Analysis

Required. The resource being created.

analysisId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
Analysis analysis = new Analysis();
string analysisId = "";
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.CreateAnalysisAsync(parent, analysis, analysisId);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAnalysisAsync(string, Analysis, string, CancellationToken)

public virtual Task<Operation<Analysis, OperationMetadata>> CreateAnalysisAsync(string parent, Analysis analysis, string analysisId, CancellationToken cancellationToken)

Creates a new Analysis in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

analysis Analysis

Required. The resource being created.

analysisId string

Required. Id of the requesting object.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
Analysis analysis = new Analysis();
string analysisId = "";
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.CreateAnalysisAsync(parent, analysis, analysisId);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

CreateAsync(CancellationToken)

public static Task<LiveVideoAnalyticsClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a LiveVideoAnalyticsClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use LiveVideoAnalyticsClientBuilder .

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskLiveVideoAnalyticsClient

The task representing the created LiveVideoAnalyticsClient.

CreateOperator(LocationName, Operator, string, CallSettings)

public virtual Operation<Operator, OperationMetadata> CreateOperator(LocationName parent, Operator @operator, string operatorId, CallSettings callSettings = null)

Creates a new Operator in a given project and location.

Parameters
Name Description
parent LocationName

Required. Value for parent.

operator Operator

Required. The resource being created.

operatorId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Operator @operator = new Operator();
string operatorId = "";
// Make the request
Operation<Operator, OperationMetadata> response = liveVideoAnalyticsClient.CreateOperator(parent, @operator, operatorId);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperator(CreateOperatorRequest, CallSettings)

public virtual Operation<Operator, OperationMetadata> CreateOperator(CreateOperatorRequest request, CallSettings callSettings = null)

Creates a new Operator in a given project and location.

Parameters
Name Description
request CreateOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
CreateOperatorRequest request = new CreateOperatorRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    OperatorId = "",
    Operator = new Operator(),
    RequestId = "",
};
// Make the request
Operation<Operator, OperationMetadata> response = liveVideoAnalyticsClient.CreateOperator(request);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperator(string, Operator, string, CallSettings)

public virtual Operation<Operator, OperationMetadata> CreateOperator(string parent, Operator @operator, string operatorId, CallSettings callSettings = null)

Creates a new Operator in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

operator Operator

Required. The resource being created.

operatorId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Operator @operator = new Operator();
string operatorId = "";
// Make the request
Operation<Operator, OperationMetadata> response = liveVideoAnalyticsClient.CreateOperator(parent, @operator, operatorId);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperatorAsync(LocationName, Operator, string, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> CreateOperatorAsync(LocationName parent, Operator @operator, string operatorId, CallSettings callSettings = null)

Creates a new Operator in a given project and location.

Parameters
Name Description
parent LocationName

Required. Value for parent.

operator Operator

Required. The resource being created.

operatorId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Operator @operator = new Operator();
string operatorId = "";
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.CreateOperatorAsync(parent, @operator, operatorId);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperatorAsync(LocationName, Operator, string, CancellationToken)

public virtual Task<Operation<Operator, OperationMetadata>> CreateOperatorAsync(LocationName parent, Operator @operator, string operatorId, CancellationToken cancellationToken)

Creates a new Operator in a given project and location.

Parameters
Name Description
parent LocationName

Required. Value for parent.

operator Operator

Required. The resource being created.

operatorId string

Required. Id of the requesting object.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Operator @operator = new Operator();
string operatorId = "";
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.CreateOperatorAsync(parent, @operator, operatorId);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperatorAsync(CreateOperatorRequest, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> CreateOperatorAsync(CreateOperatorRequest request, CallSettings callSettings = null)

Creates a new Operator in a given project and location.

Parameters
Name Description
request CreateOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
CreateOperatorRequest request = new CreateOperatorRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    OperatorId = "",
    Operator = new Operator(),
    RequestId = "",
};
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.CreateOperatorAsync(request);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperatorAsync(CreateOperatorRequest, CancellationToken)

public virtual Task<Operation<Operator, OperationMetadata>> CreateOperatorAsync(CreateOperatorRequest request, CancellationToken cancellationToken)

Creates a new Operator in a given project and location.

Parameters
Name Description
request CreateOperatorRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
CreateOperatorRequest request = new CreateOperatorRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    OperatorId = "",
    Operator = new Operator(),
    RequestId = "",
};
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.CreateOperatorAsync(request);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperatorAsync(string, Operator, string, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> CreateOperatorAsync(string parent, Operator @operator, string operatorId, CallSettings callSettings = null)

Creates a new Operator in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

operator Operator

Required. The resource being created.

operatorId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Operator @operator = new Operator();
string operatorId = "";
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.CreateOperatorAsync(parent, @operator, operatorId);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateOperatorAsync(string, Operator, string, CancellationToken)

public virtual Task<Operation<Operator, OperationMetadata>> CreateOperatorAsync(string parent, Operator @operator, string operatorId, CancellationToken cancellationToken)

Creates a new Operator in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

operator Operator

Required. The resource being created.

operatorId string

Required. Id of the requesting object.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Operator @operator = new Operator();
string operatorId = "";
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.CreateOperatorAsync(parent, @operator, operatorId);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

CreateProcess(ClusterName, Process, string, CallSettings)

public virtual Operation<Process, OperationMetadata> CreateProcess(ClusterName parent, Process process, string processId, CallSettings callSettings = null)

Creates a new Process in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Value for parent.

process Process

Required. The resource being created.

processId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
Process process = new Process();
string processId = "";
// Make the request
Operation<Process, OperationMetadata> response = liveVideoAnalyticsClient.CreateProcess(parent, process, processId);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcess(CreateProcessRequest, CallSettings)

public virtual Operation<Process, OperationMetadata> CreateProcess(CreateProcessRequest request, CallSettings callSettings = null)

Creates a new Process in a given project and location.

Parameters
Name Description
request CreateProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
CreateProcessRequest request = new CreateProcessRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    ProcessId = "",
    Process = new Process(),
    RequestId = "",
};
// Make the request
Operation<Process, OperationMetadata> response = liveVideoAnalyticsClient.CreateProcess(request);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcess(string, Process, string, CallSettings)

public virtual Operation<Process, OperationMetadata> CreateProcess(string parent, Process process, string processId, CallSettings callSettings = null)

Creates a new Process in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

process Process

Required. The resource being created.

processId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
Process process = new Process();
string processId = "";
// Make the request
Operation<Process, OperationMetadata> response = liveVideoAnalyticsClient.CreateProcess(parent, process, processId);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceCreateProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcessAsync(ClusterName, Process, string, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> CreateProcessAsync(ClusterName parent, Process process, string processId, CallSettings callSettings = null)

Creates a new Process in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Value for parent.

process Process

Required. The resource being created.

processId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
Process process = new Process();
string processId = "";
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.CreateProcessAsync(parent, process, processId);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcessAsync(ClusterName, Process, string, CancellationToken)

public virtual Task<Operation<Process, OperationMetadata>> CreateProcessAsync(ClusterName parent, Process process, string processId, CancellationToken cancellationToken)

Creates a new Process in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Value for parent.

process Process

Required. The resource being created.

processId string

Required. Id of the requesting object.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
Process process = new Process();
string processId = "";
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.CreateProcessAsync(parent, process, processId);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcessAsync(CreateProcessRequest, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> CreateProcessAsync(CreateProcessRequest request, CallSettings callSettings = null)

Creates a new Process in a given project and location.

Parameters
Name Description
request CreateProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
CreateProcessRequest request = new CreateProcessRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    ProcessId = "",
    Process = new Process(),
    RequestId = "",
};
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.CreateProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcessAsync(CreateProcessRequest, CancellationToken)

public virtual Task<Operation<Process, OperationMetadata>> CreateProcessAsync(CreateProcessRequest request, CancellationToken cancellationToken)

Creates a new Process in a given project and location.

Parameters
Name Description
request CreateProcessRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
CreateProcessRequest request = new CreateProcessRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    ProcessId = "",
    Process = new Process(),
    RequestId = "",
};
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.CreateProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcessAsync(string, Process, string, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> CreateProcessAsync(string parent, Process process, string processId, CallSettings callSettings = null)

Creates a new Process in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

process Process

Required. The resource being created.

processId string

Required. Id of the requesting object.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
Process process = new Process();
string processId = "";
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.CreateProcessAsync(parent, process, processId);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

CreateProcessAsync(string, Process, string, CancellationToken)

public virtual Task<Operation<Process, OperationMetadata>> CreateProcessAsync(string parent, Process process, string processId, CancellationToken cancellationToken)

Creates a new Process in a given project and location.

Parameters
Name Description
parent string

Required. Value for parent.

process Process

Required. The resource being created.

processId string

Required. Id of the requesting object.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
Process process = new Process();
string processId = "";
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.CreateProcessAsync(parent, process, processId);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceCreateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

DeleteAnalysis(AnalysisName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAnalysis(AnalysisName name, CallSettings callSettings = null)

Deletes a single Analysis.

Parameters
Name Description
name AnalysisName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]");
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteAnalysis(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysis(DeleteAnalysisRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAnalysis(DeleteAnalysisRequest request, CallSettings callSettings = null)

Deletes a single Analysis.

Parameters
Name Description
request DeleteAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
DeleteAnalysisRequest request = new DeleteAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteAnalysis(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysis(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAnalysis(string name, CallSettings callSettings = null)

Deletes a single Analysis.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/analyses/[ANALYSIS]";
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteAnalysis(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysisAsync(AnalysisName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAnalysisAsync(AnalysisName name, CallSettings callSettings = null)

Deletes a single Analysis.

Parameters
Name Description
name AnalysisName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]");
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteAnalysisAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysisAsync(AnalysisName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAnalysisAsync(AnalysisName name, CancellationToken cancellationToken)

Deletes a single Analysis.

Parameters
Name Description
name AnalysisName

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]");
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteAnalysisAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysisAsync(DeleteAnalysisRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAnalysisAsync(DeleteAnalysisRequest request, CallSettings callSettings = null)

Deletes a single Analysis.

Parameters
Name Description
request DeleteAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
DeleteAnalysisRequest request = new DeleteAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteAnalysisAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysisAsync(DeleteAnalysisRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAnalysisAsync(DeleteAnalysisRequest request, CancellationToken cancellationToken)

Deletes a single Analysis.

Parameters
Name Description
request DeleteAnalysisRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
DeleteAnalysisRequest request = new DeleteAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteAnalysisAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysisAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAnalysisAsync(string name, CallSettings callSettings = null)

Deletes a single Analysis.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/analyses/[ANALYSIS]";
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteAnalysisAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAnalysisAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAnalysisAsync(string name, CancellationToken cancellationToken)

Deletes a single Analysis.

Parameters
Name Description
name string

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/analyses/[ANALYSIS]";
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteAnalysisAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperator(DeleteOperatorRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteOperator(DeleteOperatorRequest request, CallSettings callSettings = null)

Deletes a single Operator.

Parameters
Name Description
request DeleteOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
DeleteOperatorRequest request = new DeleteOperatorRequest
{
    OperatorName = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteOperator(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperator(OperatorName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteOperator(OperatorName name, CallSettings callSettings = null)

Deletes a single Operator.

Parameters
Name Description
name OperatorName

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
OperatorName name = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]");
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteOperator(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperator(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteOperator(string name, CallSettings callSettings = null)

Deletes a single Operator.

Parameters
Name Description
name string

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/operators/[OPERATOR]";
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteOperator(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperatorAsync(DeleteOperatorRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteOperatorAsync(DeleteOperatorRequest request, CallSettings callSettings = null)

Deletes a single Operator.

Parameters
Name Description
request DeleteOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
DeleteOperatorRequest request = new DeleteOperatorRequest
{
    OperatorName = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteOperatorAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperatorAsync(DeleteOperatorRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteOperatorAsync(DeleteOperatorRequest request, CancellationToken cancellationToken)

Deletes a single Operator.

Parameters
Name Description
request DeleteOperatorRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
DeleteOperatorRequest request = new DeleteOperatorRequest
{
    OperatorName = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteOperatorAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperatorAsync(OperatorName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteOperatorAsync(OperatorName name, CallSettings callSettings = null)

Deletes a single Operator.

Parameters
Name Description
name OperatorName

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
OperatorName name = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]");
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteOperatorAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperatorAsync(OperatorName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteOperatorAsync(OperatorName name, CancellationToken cancellationToken)

Deletes a single Operator.

Parameters
Name Description
name OperatorName

Required. Name of the resource

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
OperatorName name = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]");
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteOperatorAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperatorAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteOperatorAsync(string name, CallSettings callSettings = null)

Deletes a single Operator.

Parameters
Name Description
name string

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/operators/[OPERATOR]";
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteOperatorAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteOperatorAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteOperatorAsync(string name, CancellationToken cancellationToken)

Deletes a single Operator.

Parameters
Name Description
name string

Required. Name of the resource

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/operators/[OPERATOR]";
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteOperatorAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcess(DeleteProcessRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteProcess(DeleteProcessRequest request, CallSettings callSettings = null)

Deletes a single Process.

Parameters
Name Description
request DeleteProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
DeleteProcessRequest request = new DeleteProcessRequest
{
    ProcessName = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteProcess(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcess(ProcessName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteProcess(ProcessName name, CallSettings callSettings = null)

Deletes a single Process.

Parameters
Name Description
name ProcessName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ProcessName name = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]");
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteProcess(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcess(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteProcess(string name, CallSettings callSettings = null)

Deletes a single Process.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/processes/[PROCESS]";
// Make the request
Operation<Empty, OperationMetadata> response = liveVideoAnalyticsClient.DeleteProcess(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceDeleteProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcessAsync(DeleteProcessRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteProcessAsync(DeleteProcessRequest request, CallSettings callSettings = null)

Deletes a single Process.

Parameters
Name Description
request DeleteProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
DeleteProcessRequest request = new DeleteProcessRequest
{
    ProcessName = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcessAsync(DeleteProcessRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteProcessAsync(DeleteProcessRequest request, CancellationToken cancellationToken)

Deletes a single Process.

Parameters
Name Description
request DeleteProcessRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
DeleteProcessRequest request = new DeleteProcessRequest
{
    ProcessName = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcessAsync(ProcessName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteProcessAsync(ProcessName name, CallSettings callSettings = null)

Deletes a single Process.

Parameters
Name Description
name ProcessName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ProcessName name = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]");
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteProcessAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcessAsync(ProcessName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteProcessAsync(ProcessName name, CancellationToken cancellationToken)

Deletes a single Process.

Parameters
Name Description
name ProcessName

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ProcessName name = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]");
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteProcessAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcessAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteProcessAsync(string name, CallSettings callSettings = null)

Deletes a single Process.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/processes/[PROCESS]";
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteProcessAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteProcessAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteProcessAsync(string name, CancellationToken cancellationToken)

Deletes a single Process.

Parameters
Name Description
name string

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/processes/[PROCESS]";
// Make the request
Operation<Empty, OperationMetadata> response = await liveVideoAnalyticsClient.DeleteProcessAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceDeleteProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

GetAnalysis(AnalysisName, CallSettings)

public virtual Analysis GetAnalysis(AnalysisName name, CallSettings callSettings = null)

Gets details of a single Analysis.

Parameters
Name Description
name AnalysisName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Analysis

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]");
// Make the request
Analysis response = liveVideoAnalyticsClient.GetAnalysis(name);

GetAnalysis(GetAnalysisRequest, CallSettings)

public virtual Analysis GetAnalysis(GetAnalysisRequest request, CallSettings callSettings = null)

Gets details of a single Analysis.

Parameters
Name Description
request GetAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Analysis

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
GetAnalysisRequest request = new GetAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]"),
};
// Make the request
Analysis response = liveVideoAnalyticsClient.GetAnalysis(request);

GetAnalysis(string, CallSettings)

public virtual Analysis GetAnalysis(string name, CallSettings callSettings = null)

Gets details of a single Analysis.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Analysis

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/analyses/[ANALYSIS]";
// Make the request
Analysis response = liveVideoAnalyticsClient.GetAnalysis(name);

GetAnalysisAsync(AnalysisName, CallSettings)

public virtual Task<Analysis> GetAnalysisAsync(AnalysisName name, CallSettings callSettings = null)

Gets details of a single Analysis.

Parameters
Name Description
name AnalysisName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]");
// Make the request
Analysis response = await liveVideoAnalyticsClient.GetAnalysisAsync(name);

GetAnalysisAsync(AnalysisName, CancellationToken)

public virtual Task<Analysis> GetAnalysisAsync(AnalysisName name, CancellationToken cancellationToken)

Gets details of a single Analysis.

Parameters
Name Description
name AnalysisName

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
AnalysisName name = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]");
// Make the request
Analysis response = await liveVideoAnalyticsClient.GetAnalysisAsync(name);

GetAnalysisAsync(GetAnalysisRequest, CallSettings)

public virtual Task<Analysis> GetAnalysisAsync(GetAnalysisRequest request, CallSettings callSettings = null)

Gets details of a single Analysis.

Parameters
Name Description
request GetAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
GetAnalysisRequest request = new GetAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]"),
};
// Make the request
Analysis response = await liveVideoAnalyticsClient.GetAnalysisAsync(request);

GetAnalysisAsync(GetAnalysisRequest, CancellationToken)

public virtual Task<Analysis> GetAnalysisAsync(GetAnalysisRequest request, CancellationToken cancellationToken)

Gets details of a single Analysis.

Parameters
Name Description
request GetAnalysisRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
GetAnalysisRequest request = new GetAnalysisRequest
{
    AnalysisName = AnalysisName.FromProjectLocationClusterAnalysis("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[ANALYSIS]"),
};
// Make the request
Analysis response = await liveVideoAnalyticsClient.GetAnalysisAsync(request);

GetAnalysisAsync(string, CallSettings)

public virtual Task<Analysis> GetAnalysisAsync(string name, CallSettings callSettings = null)

Gets details of a single Analysis.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/analyses/[ANALYSIS]";
// Make the request
Analysis response = await liveVideoAnalyticsClient.GetAnalysisAsync(name);

GetAnalysisAsync(string, CancellationToken)

public virtual Task<Analysis> GetAnalysisAsync(string name, CancellationToken cancellationToken)

Gets details of a single Analysis.

Parameters
Name Description
name string

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAnalysis

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/analyses/[ANALYSIS]";
// Make the request
Analysis response = await liveVideoAnalyticsClient.GetAnalysisAsync(name);

GetOperator(GetOperatorRequest, CallSettings)

public virtual Operator GetOperator(GetOperatorRequest request, CallSettings callSettings = null)

Gets details of a single Operator.

Parameters
Name Description
request GetOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Operator

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
GetOperatorRequest request = new GetOperatorRequest
{
    OperatorName = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]"),
};
// Make the request
Operator response = liveVideoAnalyticsClient.GetOperator(request);

GetOperator(OperatorName, CallSettings)

public virtual Operator GetOperator(OperatorName name, CallSettings callSettings = null)

Gets details of a single Operator.

Parameters
Name Description
name OperatorName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Operator

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
OperatorName name = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]");
// Make the request
Operator response = liveVideoAnalyticsClient.GetOperator(name);

GetOperator(string, CallSettings)

public virtual Operator GetOperator(string name, CallSettings callSettings = null)

Gets details of a single Operator.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Operator

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/operators/[OPERATOR]";
// Make the request
Operator response = liveVideoAnalyticsClient.GetOperator(name);

GetOperatorAsync(GetOperatorRequest, CallSettings)

public virtual Task<Operator> GetOperatorAsync(GetOperatorRequest request, CallSettings callSettings = null)

Gets details of a single Operator.

Parameters
Name Description
request GetOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperator

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
GetOperatorRequest request = new GetOperatorRequest
{
    OperatorName = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]"),
};
// Make the request
Operator response = await liveVideoAnalyticsClient.GetOperatorAsync(request);

GetOperatorAsync(GetOperatorRequest, CancellationToken)

public virtual Task<Operator> GetOperatorAsync(GetOperatorRequest request, CancellationToken cancellationToken)

Gets details of a single Operator.

Parameters
Name Description
request GetOperatorRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperator

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
GetOperatorRequest request = new GetOperatorRequest
{
    OperatorName = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]"),
};
// Make the request
Operator response = await liveVideoAnalyticsClient.GetOperatorAsync(request);

GetOperatorAsync(OperatorName, CallSettings)

public virtual Task<Operator> GetOperatorAsync(OperatorName name, CallSettings callSettings = null)

Gets details of a single Operator.

Parameters
Name Description
name OperatorName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperator

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
OperatorName name = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]");
// Make the request
Operator response = await liveVideoAnalyticsClient.GetOperatorAsync(name);

GetOperatorAsync(OperatorName, CancellationToken)

public virtual Task<Operator> GetOperatorAsync(OperatorName name, CancellationToken cancellationToken)

Gets details of a single Operator.

Parameters
Name Description
name OperatorName

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperator

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
OperatorName name = OperatorName.FromProjectLocationOperator("[PROJECT]", "[LOCATION]", "[OPERATOR]");
// Make the request
Operator response = await liveVideoAnalyticsClient.GetOperatorAsync(name);

GetOperatorAsync(string, CallSettings)

public virtual Task<Operator> GetOperatorAsync(string name, CallSettings callSettings = null)

Gets details of a single Operator.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperator

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/operators/[OPERATOR]";
// Make the request
Operator response = await liveVideoAnalyticsClient.GetOperatorAsync(name);

GetOperatorAsync(string, CancellationToken)

public virtual Task<Operator> GetOperatorAsync(string name, CancellationToken cancellationToken)

Gets details of a single Operator.

Parameters
Name Description
name string

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperator

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/operators/[OPERATOR]";
// Make the request
Operator response = await liveVideoAnalyticsClient.GetOperatorAsync(name);

GetProcess(GetProcessRequest, CallSettings)

public virtual Process GetProcess(GetProcessRequest request, CallSettings callSettings = null)

Gets details of a single Process.

Parameters
Name Description
request GetProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Process

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
GetProcessRequest request = new GetProcessRequest
{
    ProcessName = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]"),
};
// Make the request
Process response = liveVideoAnalyticsClient.GetProcess(request);

GetProcess(ProcessName, CallSettings)

public virtual Process GetProcess(ProcessName name, CallSettings callSettings = null)

Gets details of a single Process.

Parameters
Name Description
name ProcessName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Process

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ProcessName name = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]");
// Make the request
Process response = liveVideoAnalyticsClient.GetProcess(name);

GetProcess(string, CallSettings)

public virtual Process GetProcess(string name, CallSettings callSettings = null)

Gets details of a single Process.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Process

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/processes/[PROCESS]";
// Make the request
Process response = liveVideoAnalyticsClient.GetProcess(name);

GetProcessAsync(GetProcessRequest, CallSettings)

public virtual Task<Process> GetProcessAsync(GetProcessRequest request, CallSettings callSettings = null)

Gets details of a single Process.

Parameters
Name Description
request GetProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskProcess

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
GetProcessRequest request = new GetProcessRequest
{
    ProcessName = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]"),
};
// Make the request
Process response = await liveVideoAnalyticsClient.GetProcessAsync(request);

GetProcessAsync(GetProcessRequest, CancellationToken)

public virtual Task<Process> GetProcessAsync(GetProcessRequest request, CancellationToken cancellationToken)

Gets details of a single Process.

Parameters
Name Description
request GetProcessRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskProcess

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
GetProcessRequest request = new GetProcessRequest
{
    ProcessName = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]"),
};
// Make the request
Process response = await liveVideoAnalyticsClient.GetProcessAsync(request);

GetProcessAsync(ProcessName, CallSettings)

public virtual Task<Process> GetProcessAsync(ProcessName name, CallSettings callSettings = null)

Gets details of a single Process.

Parameters
Name Description
name ProcessName

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskProcess

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ProcessName name = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]");
// Make the request
Process response = await liveVideoAnalyticsClient.GetProcessAsync(name);

GetProcessAsync(ProcessName, CancellationToken)

public virtual Task<Process> GetProcessAsync(ProcessName name, CancellationToken cancellationToken)

Gets details of a single Process.

Parameters
Name Description
name ProcessName

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskProcess

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ProcessName name = ProcessName.FromProjectLocationClusterProcess("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[PROCESS]");
// Make the request
Process response = await liveVideoAnalyticsClient.GetProcessAsync(name);

GetProcessAsync(string, CallSettings)

public virtual Task<Process> GetProcessAsync(string name, CallSettings callSettings = null)

Gets details of a single Process.

Parameters
Name Description
name string

Required. Name of the resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskProcess

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/processes/[PROCESS]";
// Make the request
Process response = await liveVideoAnalyticsClient.GetProcessAsync(name);

GetProcessAsync(string, CancellationToken)

public virtual Task<Process> GetProcessAsync(string name, CancellationToken cancellationToken)

Gets details of a single Process.

Parameters
Name Description
name string

Required. Name of the resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskProcess

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]/processes/[PROCESS]";
// Make the request
Process response = await liveVideoAnalyticsClient.GetProcessAsync(name);

ListAnalyses(ClusterName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAnalysesResponse, Analysis> ListAnalyses(ClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Analyses in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Parent value for ListAnalysesRequest

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAnalysesResponseAnalysis

A pageable sequence of Analysis resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
// Make the request
PagedEnumerable<ListAnalysesResponse, Analysis> response = liveVideoAnalyticsClient.ListAnalyses(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Analysis item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAnalysesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Analysis item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Analysis> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Analysis item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAnalyses(ListAnalysesRequest, CallSettings)

public virtual PagedEnumerable<ListAnalysesResponse, Analysis> ListAnalyses(ListAnalysesRequest request, CallSettings callSettings = null)

Lists Analyses in a given project and location.

Parameters
Name Description
request ListAnalysesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAnalysesResponseAnalysis

A pageable sequence of Analysis resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ListAnalysesRequest request = new ListAnalysesRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListAnalysesResponse, Analysis> response = liveVideoAnalyticsClient.ListAnalyses(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Analysis item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAnalysesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Analysis item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Analysis> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Analysis item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAnalyses(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAnalysesResponse, Analysis> ListAnalyses(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Analyses in a given project and location.

Parameters
Name Description
parent string

Required. Parent value for ListAnalysesRequest

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAnalysesResponseAnalysis

A pageable sequence of Analysis resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
// Make the request
PagedEnumerable<ListAnalysesResponse, Analysis> response = liveVideoAnalyticsClient.ListAnalyses(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Analysis item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAnalysesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Analysis item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Analysis> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Analysis item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAnalysesAsync(ClusterName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAnalysesResponse, Analysis> ListAnalysesAsync(ClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Analyses in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Parent value for ListAnalysesRequest

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAnalysesResponseAnalysis

A pageable asynchronous sequence of Analysis resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListAnalysesResponse, Analysis> response = liveVideoAnalyticsClient.ListAnalysesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Analysis item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListAnalysesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Analysis item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Analysis> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Analysis item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAnalysesAsync(ListAnalysesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAnalysesResponse, Analysis> ListAnalysesAsync(ListAnalysesRequest request, CallSettings callSettings = null)

Lists Analyses in a given project and location.

Parameters
Name Description
request ListAnalysesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAnalysesResponseAnalysis

A pageable asynchronous sequence of Analysis resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ListAnalysesRequest request = new ListAnalysesRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListAnalysesResponse, Analysis> response = liveVideoAnalyticsClient.ListAnalysesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Analysis item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListAnalysesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Analysis item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Analysis> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Analysis item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAnalysesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAnalysesResponse, Analysis> ListAnalysesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Analyses in a given project and location.

Parameters
Name Description
parent string

Required. Parent value for ListAnalysesRequest

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAnalysesResponseAnalysis

A pageable asynchronous sequence of Analysis resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListAnalysesResponse, Analysis> response = liveVideoAnalyticsClient.ListAnalysesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Analysis item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListAnalysesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Analysis item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Analysis> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Analysis item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListOperators(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListOperatorsResponse, Operator> ListOperators(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Operators in a given project and location.

Parameters
Name Description
parent LocationName

Required. Parent value for ListOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListOperatorsResponseOperator

A pageable sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListOperators(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListOperators(ListOperatorsRequest, CallSettings)

public virtual PagedEnumerable<ListOperatorsResponse, Operator> ListOperators(ListOperatorsRequest request, CallSettings callSettings = null)

Lists Operators in a given project and location.

Parameters
Name Description
request ListOperatorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListOperatorsResponseOperator

A pageable sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ListOperatorsRequest request = new ListOperatorsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListOperators(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListOperators(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListOperatorsResponse, Operator> ListOperators(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Operators in a given project and location.

Parameters
Name Description
parent string

Required. Parent value for ListOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListOperatorsResponseOperator

A pageable sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListOperators(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListOperatorsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListOperatorsResponse, Operator> ListOperatorsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Operators in a given project and location.

Parameters
Name Description
parent LocationName

Required. Parent value for ListOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListOperatorsResponseOperator

A pageable asynchronous sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListOperatorsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListOperatorsAsync(ListOperatorsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListOperatorsResponse, Operator> ListOperatorsAsync(ListOperatorsRequest request, CallSettings callSettings = null)

Lists Operators in a given project and location.

Parameters
Name Description
request ListOperatorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListOperatorsResponseOperator

A pageable asynchronous sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ListOperatorsRequest request = new ListOperatorsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListOperatorsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListOperatorsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListOperatorsResponse, Operator> ListOperatorsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Operators in a given project and location.

Parameters
Name Description
parent string

Required. Parent value for ListOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListOperatorsResponseOperator

A pageable asynchronous sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListOperatorsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListProcesses(ClusterName, string, int?, CallSettings)

public virtual PagedEnumerable<ListProcessesResponse, Process> ListProcesses(ClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Processes in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Parent value for ListProcessesRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListProcessesResponseProcess

A pageable sequence of Process resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
// Make the request
PagedEnumerable<ListProcessesResponse, Process> response = liveVideoAnalyticsClient.ListProcesses(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Process item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListProcessesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Process item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Process> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Process item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListProcesses(ListProcessesRequest, CallSettings)

public virtual PagedEnumerable<ListProcessesResponse, Process> ListProcesses(ListProcessesRequest request, CallSettings callSettings = null)

Lists Processes in a given project and location.

Parameters
Name Description
request ListProcessesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListProcessesResponseProcess

A pageable sequence of Process resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ListProcessesRequest request = new ListProcessesRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListProcessesResponse, Process> response = liveVideoAnalyticsClient.ListProcesses(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Process item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListProcessesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Process item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Process> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Process item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListProcesses(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListProcessesResponse, Process> ListProcesses(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Processes in a given project and location.

Parameters
Name Description
parent string

Required. Parent value for ListProcessesRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListProcessesResponseProcess

A pageable sequence of Process resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
// Make the request
PagedEnumerable<ListProcessesResponse, Process> response = liveVideoAnalyticsClient.ListProcesses(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Process item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListProcessesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Process item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Process> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Process item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListProcessesAsync(ClusterName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListProcessesResponse, Process> ListProcessesAsync(ClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Processes in a given project and location.

Parameters
Name Description
parent ClusterName

Required. Parent value for ListProcessesRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListProcessesResponseProcess

A pageable asynchronous sequence of Process resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListProcessesResponse, Process> response = liveVideoAnalyticsClient.ListProcessesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Process item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListProcessesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Process item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Process> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Process item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListProcessesAsync(ListProcessesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListProcessesResponse, Process> ListProcessesAsync(ListProcessesRequest request, CallSettings callSettings = null)

Lists Processes in a given project and location.

Parameters
Name Description
request ListProcessesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListProcessesResponseProcess

A pageable asynchronous sequence of Process resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ListProcessesRequest request = new ListProcessesRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationCluster("[PROJECT]", "[LOCATION]", "[CLUSTER]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListProcessesResponse, Process> response = liveVideoAnalyticsClient.ListProcessesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Process item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListProcessesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Process item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Process> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Process item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListProcessesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListProcessesResponse, Process> ListProcessesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Processes in a given project and location.

Parameters
Name Description
parent string

Required. Parent value for ListProcessesRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListProcessesResponseProcess

A pageable asynchronous sequence of Process resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/clusters/[CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListProcessesResponse, Process> response = liveVideoAnalyticsClient.ListProcessesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Process item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListProcessesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Process item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Process> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Process item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListPublicOperators(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListPublicOperatorsResponse, Operator> ListPublicOperators(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

ListPublicOperators returns all the operators in public registry.

Parameters
Name Description
parent LocationName

Required. Parent value for ListPublicOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPublicOperatorsResponseOperator

A pageable sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListPublicOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListPublicOperators(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPublicOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListPublicOperators(ListPublicOperatorsRequest, CallSettings)

public virtual PagedEnumerable<ListPublicOperatorsResponse, Operator> ListPublicOperators(ListPublicOperatorsRequest request, CallSettings callSettings = null)

ListPublicOperators returns all the operators in public registry.

Parameters
Name Description
request ListPublicOperatorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPublicOperatorsResponseOperator

A pageable sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ListPublicOperatorsRequest request = new ListPublicOperatorsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListPublicOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListPublicOperators(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPublicOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListPublicOperators(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListPublicOperatorsResponse, Operator> ListPublicOperators(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

ListPublicOperators returns all the operators in public registry.

Parameters
Name Description
parent string

Required. Parent value for ListPublicOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPublicOperatorsResponseOperator

A pageable sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListPublicOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListPublicOperators(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPublicOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListPublicOperatorsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPublicOperatorsResponse, Operator> ListPublicOperatorsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

ListPublicOperators returns all the operators in public registry.

Parameters
Name Description
parent LocationName

Required. Parent value for ListPublicOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPublicOperatorsResponseOperator

A pageable asynchronous sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListPublicOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListPublicOperatorsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListPublicOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListPublicOperatorsAsync(ListPublicOperatorsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListPublicOperatorsResponse, Operator> ListPublicOperatorsAsync(ListPublicOperatorsRequest request, CallSettings callSettings = null)

ListPublicOperators returns all the operators in public registry.

Parameters
Name Description
request ListPublicOperatorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPublicOperatorsResponseOperator

A pageable asynchronous sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ListPublicOperatorsRequest request = new ListPublicOperatorsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListPublicOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListPublicOperatorsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListPublicOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListPublicOperatorsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPublicOperatorsResponse, Operator> ListPublicOperatorsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

ListPublicOperators returns all the operators in public registry.

Parameters
Name Description
parent string

Required. Parent value for ListPublicOperatorsRequest.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPublicOperatorsResponseOperator

A pageable asynchronous sequence of Operator resources.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListPublicOperatorsResponse, Operator> response = liveVideoAnalyticsClient.ListPublicOperatorsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Operator item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListPublicOperatorsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Operator item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Operator> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Operator item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

PollOnceBatchRunProcess(string, CallSettings)

public virtual Operation<BatchRunProcessResponse, OperationMetadata> PollOnceBatchRunProcess(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of BatchRunProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchRunProcessResponseOperationMetadata

The result of polling the operation.

PollOnceBatchRunProcessAsync(string, CallSettings)

public virtual Task<Operation<BatchRunProcessResponse, OperationMetadata>> PollOnceBatchRunProcessAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of BatchRunProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchRunProcessResponseOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateAnalysis(string, CallSettings)

public virtual Operation<Analysis, OperationMetadata> PollOnceCreateAnalysis(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAnalysis.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The result of polling the operation.

PollOnceCreateAnalysisAsync(string, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> PollOnceCreateAnalysisAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAnalysis.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateOperator(string, CallSettings)

public virtual Operation<Operator, OperationMetadata> PollOnceCreateOperator(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateOperator.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The result of polling the operation.

PollOnceCreateOperatorAsync(string, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> PollOnceCreateOperatorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateOperator.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateProcess(string, CallSettings)

public virtual Operation<Process, OperationMetadata> PollOnceCreateProcess(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The result of polling the operation.

PollOnceCreateProcessAsync(string, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> PollOnceCreateProcessAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAnalysis(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAnalysis(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAnalysis.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAnalysisAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAnalysisAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAnalysis.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteOperator(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteOperator(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteOperator.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteOperatorAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteOperatorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteOperator.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteProcess(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteProcess(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteProcessAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteProcessAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateAnalysis(string, CallSettings)

public virtual Operation<Analysis, OperationMetadata> PollOnceUpdateAnalysis(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateAnalysis.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The result of polling the operation.

PollOnceUpdateAnalysisAsync(string, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> PollOnceUpdateAnalysisAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateAnalysis.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateOperator(string, CallSettings)

public virtual Operation<Operator, OperationMetadata> PollOnceUpdateOperator(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateOperator.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The result of polling the operation.

PollOnceUpdateOperatorAsync(string, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> PollOnceUpdateOperatorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateOperator.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateProcess(string, CallSettings)

public virtual Operation<Process, OperationMetadata> PollOnceUpdateProcess(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The result of polling the operation.

PollOnceUpdateProcessAsync(string, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> PollOnceUpdateProcessAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateProcess.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A task representing the result of polling the operation.

ResolveOperatorInfo(LocationName, IEnumerable<OperatorQuery>, CallSettings)

public virtual ResolveOperatorInfoResponse ResolveOperatorInfo(LocationName parent, IEnumerable<OperatorQuery> queries, CallSettings callSettings = null)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
parent LocationName

Required. Parent value for ResolveOperatorInfoRequest.

queries IEnumerableOperatorQuery

Required. The operator queries.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ResolveOperatorInfoResponse

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
IEnumerable<OperatorQuery> queries = new OperatorQuery[]
{
    new OperatorQuery(),
};
// Make the request
ResolveOperatorInfoResponse response = liveVideoAnalyticsClient.ResolveOperatorInfo(parent, queries);

ResolveOperatorInfo(ResolveOperatorInfoRequest, CallSettings)

public virtual ResolveOperatorInfoResponse ResolveOperatorInfo(ResolveOperatorInfoRequest request, CallSettings callSettings = null)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
request ResolveOperatorInfoRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ResolveOperatorInfoResponse

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
ResolveOperatorInfoRequest request = new ResolveOperatorInfoRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Queries =
    {
        new OperatorQuery(),
    },
};
// Make the request
ResolveOperatorInfoResponse response = liveVideoAnalyticsClient.ResolveOperatorInfo(request);

ResolveOperatorInfo(string, IEnumerable<OperatorQuery>, CallSettings)

public virtual ResolveOperatorInfoResponse ResolveOperatorInfo(string parent, IEnumerable<OperatorQuery> queries, CallSettings callSettings = null)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
parent string

Required. Parent value for ResolveOperatorInfoRequest.

queries IEnumerableOperatorQuery

Required. The operator queries.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ResolveOperatorInfoResponse

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
IEnumerable<OperatorQuery> queries = new OperatorQuery[]
{
    new OperatorQuery(),
};
// Make the request
ResolveOperatorInfoResponse response = liveVideoAnalyticsClient.ResolveOperatorInfo(parent, queries);

ResolveOperatorInfoAsync(LocationName, IEnumerable<OperatorQuery>, CallSettings)

public virtual Task<ResolveOperatorInfoResponse> ResolveOperatorInfoAsync(LocationName parent, IEnumerable<OperatorQuery> queries, CallSettings callSettings = null)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
parent LocationName

Required. Parent value for ResolveOperatorInfoRequest.

queries IEnumerableOperatorQuery

Required. The operator queries.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskResolveOperatorInfoResponse

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
IEnumerable<OperatorQuery> queries = new OperatorQuery[]
{
    new OperatorQuery(),
};
// Make the request
ResolveOperatorInfoResponse response = await liveVideoAnalyticsClient.ResolveOperatorInfoAsync(parent, queries);

ResolveOperatorInfoAsync(LocationName, IEnumerable<OperatorQuery>, CancellationToken)

public virtual Task<ResolveOperatorInfoResponse> ResolveOperatorInfoAsync(LocationName parent, IEnumerable<OperatorQuery> queries, CancellationToken cancellationToken)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
parent LocationName

Required. Parent value for ResolveOperatorInfoRequest.

queries IEnumerableOperatorQuery

Required. The operator queries.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskResolveOperatorInfoResponse

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
IEnumerable<OperatorQuery> queries = new OperatorQuery[]
{
    new OperatorQuery(),
};
// Make the request
ResolveOperatorInfoResponse response = await liveVideoAnalyticsClient.ResolveOperatorInfoAsync(parent, queries);

ResolveOperatorInfoAsync(ResolveOperatorInfoRequest, CallSettings)

public virtual Task<ResolveOperatorInfoResponse> ResolveOperatorInfoAsync(ResolveOperatorInfoRequest request, CallSettings callSettings = null)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
request ResolveOperatorInfoRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskResolveOperatorInfoResponse

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ResolveOperatorInfoRequest request = new ResolveOperatorInfoRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Queries =
    {
        new OperatorQuery(),
    },
};
// Make the request
ResolveOperatorInfoResponse response = await liveVideoAnalyticsClient.ResolveOperatorInfoAsync(request);

ResolveOperatorInfoAsync(ResolveOperatorInfoRequest, CancellationToken)

public virtual Task<ResolveOperatorInfoResponse> ResolveOperatorInfoAsync(ResolveOperatorInfoRequest request, CancellationToken cancellationToken)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
request ResolveOperatorInfoRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskResolveOperatorInfoResponse

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
ResolveOperatorInfoRequest request = new ResolveOperatorInfoRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Queries =
    {
        new OperatorQuery(),
    },
};
// Make the request
ResolveOperatorInfoResponse response = await liveVideoAnalyticsClient.ResolveOperatorInfoAsync(request);

ResolveOperatorInfoAsync(string, IEnumerable<OperatorQuery>, CallSettings)

public virtual Task<ResolveOperatorInfoResponse> ResolveOperatorInfoAsync(string parent, IEnumerable<OperatorQuery> queries, CallSettings callSettings = null)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
parent string

Required. Parent value for ResolveOperatorInfoRequest.

queries IEnumerableOperatorQuery

Required. The operator queries.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskResolveOperatorInfoResponse

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
IEnumerable<OperatorQuery> queries = new OperatorQuery[]
{
    new OperatorQuery(),
};
// Make the request
ResolveOperatorInfoResponse response = await liveVideoAnalyticsClient.ResolveOperatorInfoAsync(parent, queries);

ResolveOperatorInfoAsync(string, IEnumerable<OperatorQuery>, CancellationToken)

public virtual Task<ResolveOperatorInfoResponse> ResolveOperatorInfoAsync(string parent, IEnumerable<OperatorQuery> queries, CancellationToken cancellationToken)

ResolveOperatorInfo returns the operator information based on the request.

Parameters
Name Description
parent string

Required. Parent value for ResolveOperatorInfoRequest.

queries IEnumerableOperatorQuery

Required. The operator queries.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskResolveOperatorInfoResponse

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
IEnumerable<OperatorQuery> queries = new OperatorQuery[]
{
    new OperatorQuery(),
};
// Make the request
ResolveOperatorInfoResponse response = await liveVideoAnalyticsClient.ResolveOperatorInfoAsync(parent, queries);

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
Type Description
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateAnalysis(Analysis, FieldMask, CallSettings)

public virtual Operation<Analysis, OperationMetadata> UpdateAnalysis(Analysis analysis, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Analysis.

Parameters
Name Description
analysis Analysis

Required. The resource being updated.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Analysis resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
Analysis analysis = new Analysis();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Analysis, OperationMetadata> response = liveVideoAnalyticsClient.UpdateAnalysis(analysis, updateMask);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceUpdateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

UpdateAnalysis(UpdateAnalysisRequest, CallSettings)

public virtual Operation<Analysis, OperationMetadata> UpdateAnalysis(UpdateAnalysisRequest request, CallSettings callSettings = null)

Updates the parameters of a single Analysis.

Parameters
Name Description
request UpdateAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnalysisOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
UpdateAnalysisRequest request = new UpdateAnalysisRequest
{
    UpdateMask = new FieldMask(),
    Analysis = new Analysis(),
    RequestId = "",
};
// Make the request
Operation<Analysis, OperationMetadata> response = liveVideoAnalyticsClient.UpdateAnalysis(request);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceUpdateAnalysis(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

UpdateAnalysisAsync(Analysis, FieldMask, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> UpdateAnalysisAsync(Analysis analysis, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Analysis.

Parameters
Name Description
analysis Analysis

Required. The resource being updated.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Analysis resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
Analysis analysis = new Analysis();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateAnalysisAsync(analysis, updateMask);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

UpdateAnalysisAsync(Analysis, FieldMask, CancellationToken)

public virtual Task<Operation<Analysis, OperationMetadata>> UpdateAnalysisAsync(Analysis analysis, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Analysis.

Parameters
Name Description
analysis Analysis

Required. The resource being updated.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Analysis resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
Analysis analysis = new Analysis();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateAnalysisAsync(analysis, updateMask);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

UpdateAnalysisAsync(UpdateAnalysisRequest, CallSettings)

public virtual Task<Operation<Analysis, OperationMetadata>> UpdateAnalysisAsync(UpdateAnalysisRequest request, CallSettings callSettings = null)

Updates the parameters of a single Analysis.

Parameters
Name Description
request UpdateAnalysisRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
UpdateAnalysisRequest request = new UpdateAnalysisRequest
{
    UpdateMask = new FieldMask(),
    Analysis = new Analysis(),
    RequestId = "",
};
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateAnalysisAsync(request);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

UpdateAnalysisAsync(UpdateAnalysisRequest, CancellationToken)

public virtual Task<Operation<Analysis, OperationMetadata>> UpdateAnalysisAsync(UpdateAnalysisRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Analysis.

Parameters
Name Description
request UpdateAnalysisRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAnalysisOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
UpdateAnalysisRequest request = new UpdateAnalysisRequest
{
    UpdateMask = new FieldMask(),
    Analysis = new Analysis(),
    RequestId = "",
};
// Make the request
Operation<Analysis, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateAnalysisAsync(request);

// Poll until the returned long-running operation is complete
Operation<Analysis, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Analysis result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Analysis, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateAnalysisAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Analysis retrievedResult = retrievedResponse.Result;
}

UpdateOperator(Operator, FieldMask, CallSettings)

public virtual Operation<Operator, OperationMetadata> UpdateOperator(Operator @operator, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Operator.

Parameters
Name Description
operator Operator

Required. The resource being updated

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Operator resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
Operator @operator = new Operator();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Operator, OperationMetadata> response = liveVideoAnalyticsClient.UpdateOperator(@operator, updateMask);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceUpdateOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

UpdateOperator(UpdateOperatorRequest, CallSettings)

public virtual Operation<Operator, OperationMetadata> UpdateOperator(UpdateOperatorRequest request, CallSettings callSettings = null)

Updates the parameters of a single Operator.

Parameters
Name Description
request UpdateOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperatorOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
UpdateOperatorRequest request = new UpdateOperatorRequest
{
    UpdateMask = new FieldMask(),
    Operator = new Operator(),
    RequestId = "",
};
// Make the request
Operation<Operator, OperationMetadata> response = liveVideoAnalyticsClient.UpdateOperator(request);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceUpdateOperator(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

UpdateOperatorAsync(Operator, FieldMask, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> UpdateOperatorAsync(Operator @operator, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Operator.

Parameters
Name Description
operator Operator

Required. The resource being updated

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Operator resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
Operator @operator = new Operator();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateOperatorAsync(@operator, updateMask);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

UpdateOperatorAsync(Operator, FieldMask, CancellationToken)

public virtual Task<Operation<Operator, OperationMetadata>> UpdateOperatorAsync(Operator @operator, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Operator.

Parameters
Name Description
operator Operator

Required. The resource being updated

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Operator resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
Operator @operator = new Operator();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateOperatorAsync(@operator, updateMask);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

UpdateOperatorAsync(UpdateOperatorRequest, CallSettings)

public virtual Task<Operation<Operator, OperationMetadata>> UpdateOperatorAsync(UpdateOperatorRequest request, CallSettings callSettings = null)

Updates the parameters of a single Operator.

Parameters
Name Description
request UpdateOperatorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
UpdateOperatorRequest request = new UpdateOperatorRequest
{
    UpdateMask = new FieldMask(),
    Operator = new Operator(),
    RequestId = "",
};
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateOperatorAsync(request);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

UpdateOperatorAsync(UpdateOperatorRequest, CancellationToken)

public virtual Task<Operation<Operator, OperationMetadata>> UpdateOperatorAsync(UpdateOperatorRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Operator.

Parameters
Name Description
request UpdateOperatorRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationOperatorOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
UpdateOperatorRequest request = new UpdateOperatorRequest
{
    UpdateMask = new FieldMask(),
    Operator = new Operator(),
    RequestId = "",
};
// Make the request
Operation<Operator, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateOperatorAsync(request);

// Poll until the returned long-running operation is complete
Operation<Operator, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Operator result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Operator, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateOperatorAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Operator retrievedResult = retrievedResponse.Result;
}

UpdateProcess(Process, FieldMask, CallSettings)

public virtual Operation<Process, OperationMetadata> UpdateProcess(Process process, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Process.

Parameters
Name Description
process Process

Required. The resource being updated.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Process resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
Process process = new Process();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Process, OperationMetadata> response = liveVideoAnalyticsClient.UpdateProcess(process, updateMask);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceUpdateProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

UpdateProcess(UpdateProcessRequest, CallSettings)

public virtual Operation<Process, OperationMetadata> UpdateProcess(UpdateProcessRequest request, CallSettings callSettings = null)

Updates the parameters of a single Process.

Parameters
Name Description
request UpdateProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationProcessOperationMetadata

The RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = LiveVideoAnalyticsClient.Create();
// Initialize request argument(s)
UpdateProcessRequest request = new UpdateProcessRequest
{
    UpdateMask = new FieldMask(),
    Process = new Process(),
    RequestId = "",
};
// Make the request
Operation<Process, OperationMetadata> response = liveVideoAnalyticsClient.UpdateProcess(request);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = liveVideoAnalyticsClient.PollOnceUpdateProcess(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

UpdateProcessAsync(Process, FieldMask, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> UpdateProcessAsync(Process process, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Process.

Parameters
Name Description
process Process

Required. The resource being updated.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Process resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
Process process = new Process();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateProcessAsync(process, updateMask);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

UpdateProcessAsync(Process, FieldMask, CancellationToken)

public virtual Task<Operation<Process, OperationMetadata>> UpdateProcessAsync(Process process, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Process.

Parameters
Name Description
process Process

Required. The resource being updated.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Process resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
Process process = new Process();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateProcessAsync(process, updateMask);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

UpdateProcessAsync(UpdateProcessRequest, CallSettings)

public virtual Task<Operation<Process, OperationMetadata>> UpdateProcessAsync(UpdateProcessRequest request, CallSettings callSettings = null)

Updates the parameters of a single Process.

Parameters
Name Description
request UpdateProcessRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
UpdateProcessRequest request = new UpdateProcessRequest
{
    UpdateMask = new FieldMask(),
    Process = new Process(),
    RequestId = "",
};
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}

UpdateProcessAsync(UpdateProcessRequest, CancellationToken)

public virtual Task<Operation<Process, OperationMetadata>> UpdateProcessAsync(UpdateProcessRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Process.

Parameters
Name Description
request UpdateProcessRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationProcessOperationMetadata

A Task containing the RPC response.

Example
// Create client
LiveVideoAnalyticsClient liveVideoAnalyticsClient = await LiveVideoAnalyticsClient.CreateAsync();
// Initialize request argument(s)
UpdateProcessRequest request = new UpdateProcessRequest
{
    UpdateMask = new FieldMask(),
    Process = new Process(),
    RequestId = "",
};
// Make the request
Operation<Process, OperationMetadata> response = await liveVideoAnalyticsClient.UpdateProcessAsync(request);

// Poll until the returned long-running operation is complete
Operation<Process, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Process result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Process, OperationMetadata> retrievedResponse = await liveVideoAnalyticsClient.PollOnceUpdateProcessAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Process retrievedResult = retrievedResponse.Result;
}