Vision AI v1 API - Class AppPlatform.AppPlatformBase (1.0.0-beta01)

[BindServiceMethod(typeof(AppPlatform), "BindService")]
public abstract class AppPlatform.AppPlatformBase

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

Base class for server-side implementations of AppPlatform

Inheritance

object > AppPlatform.AppPlatformBase

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Methods

AddApplicationStreamInput(AddApplicationStreamInputRequest, ServerCallContext)

public virtual Task<Operation> AddApplicationStreamInput(AddApplicationStreamInputRequest request, ServerCallContext context)

Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.

Parameters
Name Description
request AddApplicationStreamInputRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateApplication(CreateApplicationRequest, ServerCallContext)

public virtual Task<Operation> CreateApplication(CreateApplicationRequest request, ServerCallContext context)

Creates a new Application in a given project and location.

Parameters
Name Description
request CreateApplicationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateApplicationInstances(CreateApplicationInstancesRequest, ServerCallContext)

public virtual Task<Operation> CreateApplicationInstances(CreateApplicationInstancesRequest request, ServerCallContext context)

Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.

Parameters
Name Description
request CreateApplicationInstancesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateDraft(CreateDraftRequest, ServerCallContext)

public virtual Task<Operation> CreateDraft(CreateDraftRequest request, ServerCallContext context)

Creates a new Draft in a given project and location.

Parameters
Name Description
request CreateDraftRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateProcessor(CreateProcessorRequest, ServerCallContext)

public virtual Task<Operation> CreateProcessor(CreateProcessorRequest request, ServerCallContext context)

Creates a new Processor in a given project and location.

Parameters
Name Description
request CreateProcessorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteApplication(DeleteApplicationRequest, ServerCallContext)

public virtual Task<Operation> DeleteApplication(DeleteApplicationRequest request, ServerCallContext context)

Deletes a single Application.

Parameters
Name Description
request DeleteApplicationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteApplicationInstances(DeleteApplicationInstancesRequest, ServerCallContext)

public virtual Task<Operation> DeleteApplicationInstances(DeleteApplicationInstancesRequest request, ServerCallContext context)

Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.

Parameters
Name Description
request DeleteApplicationInstancesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteDraft(DeleteDraftRequest, ServerCallContext)

public virtual Task<Operation> DeleteDraft(DeleteDraftRequest request, ServerCallContext context)

Deletes a single Draft.

Parameters
Name Description
request DeleteDraftRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteProcessor(DeleteProcessorRequest, ServerCallContext)

public virtual Task<Operation> DeleteProcessor(DeleteProcessorRequest request, ServerCallContext context)

Deletes a single Processor.

Parameters
Name Description
request DeleteProcessorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeployApplication(DeployApplicationRequest, ServerCallContext)

public virtual Task<Operation> DeployApplication(DeployApplicationRequest request, ServerCallContext context)

Deploys a single Application.

Parameters
Name Description
request DeployApplicationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetApplication(GetApplicationRequest, ServerCallContext)

public virtual Task<Application> GetApplication(GetApplicationRequest request, ServerCallContext context)

Gets details of a single Application.

Parameters
Name Description
request GetApplicationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskApplication

The response to send back to the client (wrapped by a task).

GetDraft(GetDraftRequest, ServerCallContext)

public virtual Task<Draft> GetDraft(GetDraftRequest request, ServerCallContext context)

Gets details of a single Draft.

Parameters
Name Description
request GetDraftRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskDraft

The response to send back to the client (wrapped by a task).

GetInstance(GetInstanceRequest, ServerCallContext)

public virtual Task<Instance> GetInstance(GetInstanceRequest request, ServerCallContext context)

Gets details of a single Instance.

Parameters
Name Description
request GetInstanceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInstance

The response to send back to the client (wrapped by a task).

GetProcessor(GetProcessorRequest, ServerCallContext)

public virtual Task<Processor> GetProcessor(GetProcessorRequest request, ServerCallContext context)

Gets details of a single Processor.

Parameters
Name Description
request GetProcessorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskProcessor

The response to send back to the client (wrapped by a task).

ListApplications(ListApplicationsRequest, ServerCallContext)

public virtual Task<ListApplicationsResponse> ListApplications(ListApplicationsRequest request, ServerCallContext context)

Lists Applications in a given project and location.

Parameters
Name Description
request ListApplicationsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListApplicationsResponse

The response to send back to the client (wrapped by a task).

ListDrafts(ListDraftsRequest, ServerCallContext)

public virtual Task<ListDraftsResponse> ListDrafts(ListDraftsRequest request, ServerCallContext context)

Lists Drafts in a given project and location.

Parameters
Name Description
request ListDraftsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListDraftsResponse

The response to send back to the client (wrapped by a task).

ListInstances(ListInstancesRequest, ServerCallContext)

public virtual Task<ListInstancesResponse> ListInstances(ListInstancesRequest request, ServerCallContext context)

Lists Instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListInstancesResponse

The response to send back to the client (wrapped by a task).

ListPrebuiltProcessors(ListPrebuiltProcessorsRequest, ServerCallContext)

public virtual Task<ListPrebuiltProcessorsResponse> ListPrebuiltProcessors(ListPrebuiltProcessorsRequest request, ServerCallContext context)

ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt Processors.

Parameters
Name Description
request ListPrebuiltProcessorsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListPrebuiltProcessorsResponse

The response to send back to the client (wrapped by a task).

ListProcessors(ListProcessorsRequest, ServerCallContext)

public virtual Task<ListProcessorsResponse> ListProcessors(ListProcessorsRequest request, ServerCallContext context)

Lists Processors in a given project and location.

Parameters
Name Description
request ListProcessorsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListProcessorsResponse

The response to send back to the client (wrapped by a task).

RemoveApplicationStreamInput(RemoveApplicationStreamInputRequest, ServerCallContext)

public virtual Task<Operation> RemoveApplicationStreamInput(RemoveApplicationStreamInputRequest request, ServerCallContext context)

Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.

Parameters
Name Description
request RemoveApplicationStreamInputRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UndeployApplication(UndeployApplicationRequest, ServerCallContext)

public virtual Task<Operation> UndeployApplication(UndeployApplicationRequest request, ServerCallContext context)

Undeploys a single Application.

Parameters
Name Description
request UndeployApplicationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateApplication(UpdateApplicationRequest, ServerCallContext)

public virtual Task<Operation> UpdateApplication(UpdateApplicationRequest request, ServerCallContext context)

Updates the parameters of a single Application.

Parameters
Name Description
request UpdateApplicationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateApplicationInstances(UpdateApplicationInstancesRequest, ServerCallContext)

public virtual Task<Operation> UpdateApplicationInstances(UpdateApplicationInstancesRequest request, ServerCallContext context)

Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.

Parameters
Name Description
request UpdateApplicationInstancesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateApplicationStreamInput(UpdateApplicationStreamInputRequest, ServerCallContext)

public virtual Task<Operation> UpdateApplicationStreamInput(UpdateApplicationStreamInputRequest request, ServerCallContext context)

Update target stream input to the Application, if the Application is deployed, the corresponding instance based will be deployed. For CreateOrUpdate behavior, set allow_missing to true.

Parameters
Name Description
request UpdateApplicationStreamInputRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateDraft(UpdateDraftRequest, ServerCallContext)

public virtual Task<Operation> UpdateDraft(UpdateDraftRequest request, ServerCallContext context)

Updates the parameters of a single Draft.

Parameters
Name Description
request UpdateDraftRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateProcessor(UpdateProcessorRequest, ServerCallContext)

public virtual Task<Operation> UpdateProcessor(UpdateProcessorRequest request, ServerCallContext context)

Updates the parameters of a single Processor.

Parameters
Name Description
request UpdateProcessorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).