Service Client: Google::Cloud::Visionai::V1alpha1::Platform::AppPlatformClient

Client stub representing the remote AppPlatform gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to visionai.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Visionai::V1alpha1::Platform - Compiled Protocol Buffers messages for google/cloud/visionai/v1alpha1/platform.proto

SYNOPSIS

use Google::Cloud::Visionai::V1alpha1::Platform;

my $msg = Google::Cloud::Visionai::V1alpha1::Platform::DeleteApplicationInstancesResponse->new({
});

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Visionai::V1alpha1::Platform::DeleteApplicationInstancesResponse->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/visionai/v1alpha1/platform.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Visionai::V1alpha1::Platform::DeleteApplicationInstancesResponse

Message for DeleteApplicationInstance Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::CreateApplicationInstancesResponse

Message for CreateApplicationInstance Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::UpdateApplicationInstancesResponse

Message for UpdateApplicationInstances Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::CreateApplicationInstancesRequest

Message for adding stream input to an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->application_instances() / $msg->application_instances($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::ApplicationInstance)

    Required. The resources being created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::DeleteApplicationInstancesRequest

Message for removing stream input from an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->instance_ids() / $msg->instance_ids($value)

    Type: String

    Required. Id of the requesting object.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::DeployApplicationResponse

RPC Request Messages. Message for DeployApplication Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::UndeployApplicationResponse

Message for UndeployApplication Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::RemoveApplicationStreamInputResponse

Message for RemoveApplicationStreamInput Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::AddApplicationStreamInputResponse

Message for AddApplicationStreamInput Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::UpdateApplicationStreamInputResponse

Message for AddApplicationStreamInput Response.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::ListApplicationsRequest

Message for requesting list of Applications.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListApplicationsRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Hint for how to order the results.

Google::Cloud::Visionai::V1alpha1::Platform::ListApplicationsResponse

Message for response to listing Applications.

Inherits from Protobuf::Message.

Accessors

  • $msg->applications() / $msg->applications($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Application)

    The list of Application.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Visionai::V1alpha1::Platform::GetApplicationRequest

Message for getting a Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource.

Google::Cloud::Visionai::V1alpha1::Platform::CreateApplicationRequest

Message for creating a Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->application_id() / $msg->application_id($value)

    Type: String

    Required. Id of the requesting object.

  • $msg->application() / $msg->application($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Application)

    Required. The resource being created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::UpdateApplicationRequest

Message for updating an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the Application 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.

  • $msg->application() / $msg->application($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Application)

    Required. The resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::DeleteApplicationRequest

Message for deleting an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any instances and drafts from this application will also be deleted. (Otherwise, the request will only work if the application has no instances and drafts.)

Google::Cloud::Visionai::V1alpha1::Platform::DeployApplicationRequest

Message for deploying an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->validate_only() / $msg->validate_only($value)

    Type: Bool

    If set, validate the request and preview the application graph, but do not actually deploy it.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->enable_monitoring() / $msg->enable_monitoring($value)

    Type: Bool

    Optional. Whether or not to enable monitoring for the application on deployment.

Google::Cloud::Visionai::V1alpha1::Platform::UndeployApplicationRequest

Message for undeploying an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::ApplicationStreamInput

Message about a single stream input config.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::AddApplicationStreamInputRequest

Message for adding stream input to an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->application_stream_inputs() / $msg->application_stream_inputs($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::ApplicationStreamInput)

    The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::UpdateApplicationStreamInputRequest

Message for updating stream input to an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->application_stream_inputs() / $msg->application_stream_inputs($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::ApplicationStreamInput)

    The stream inputs to update, the stream resource name is the key of each StreamInput, and it must be unique within each application.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    If true, UpdateApplicationStreamInput will insert stream input to application even if the target stream is not included in the application.

Google::Cloud::Visionai::V1alpha1::Platform::RemoveApplicationStreamInputRequest

Message for removing stream input from an Application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->target_stream_inputs() / $msg->target_stream_inputs($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::RemoveApplicationStreamInputRequest::TargetStreamInput)

    The target stream to remove.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::ListInstancesRequest

Message for requesting list of Instances.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListInstancesRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Hint for how to order the results.

Google::Cloud::Visionai::V1alpha1::Platform::ListInstancesResponse

Message for response to listing Instances.

Inherits from Protobuf::Message.

Accessors

  • $msg->instances() / $msg->instances($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Instance)

    The list of Instance.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Visionai::V1alpha1::Platform::GetInstanceRequest

Message for getting a Instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource.

Google::Cloud::Visionai::V1alpha1::Platform::ListDraftsRequest

Message for requesting list of Drafts.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListDraftsRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Hint for how to order the results.

Google::Cloud::Visionai::V1alpha1::Platform::ListDraftsResponse

Message for response to listing Drafts.

Inherits from Protobuf::Message.

Accessors

  • $msg->drafts() / $msg->drafts($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Draft)

    The list of Draft.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Visionai::V1alpha1::Platform::GetDraftRequest

Message for getting a Draft.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource.

Google::Cloud::Visionai::V1alpha1::Platform::CreateDraftRequest

Message for creating a Draft.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->draft_id() / $msg->draft_id($value)

    Type: String

    Required. Id of the requesting object.

  • $msg->draft() / $msg->draft($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Draft)

    Required. The resource being created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::UpdateDraftRequest

Message for updating an Draft.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the Draft 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.

  • $msg->draft() / $msg->draft($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Draft)

    Required. The resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    If true, UpdateDraftRequest will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored.

Google::Cloud::Visionai::V1alpha1::Platform::UpdateApplicationInstancesRequest

Message for updating an ApplicationInstance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

  • $msg->application_instances() / $msg->application_instances($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::UpdateApplicationInstancesRequest::UpdateApplicationInstance)

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->allow_missing() / $msg->allow_missing($value)

    Type: Bool

    If true, Update Request will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored.

Google::Cloud::Visionai::V1alpha1::Platform::DeleteDraftRequest

Message for deleting an Draft.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::ListProcessorsRequest

Message for requesting list of Processors.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListProcessorsRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Hint for how to order the results.

Google::Cloud::Visionai::V1alpha1::Platform::ListProcessorsResponse

Message for response to listing Processors.

Inherits from Protobuf::Message.

Accessors

  • $msg->processors() / $msg->processors($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Processor)

    The list of Processor.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Visionai::V1alpha1::Platform::ListPrebuiltProcessorsRequest

Request Message for listing Prebuilt Processors.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent path.

Google::Cloud::Visionai::V1alpha1::Platform::ListPrebuiltProcessorsResponse

Response Message for listing Prebuilt Processors.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::GetProcessorRequest

Message for getting a Processor.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource.

Google::Cloud::Visionai::V1alpha1::Platform::CreateProcessorRequest

Message for creating a Processor.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->processor_id() / $msg->processor_id($value)

    Type: String

    Required. Id of the requesting object.

  • $msg->processor() / $msg->processor($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Processor)

    Required. The resource being created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::UpdateProcessorRequest

Message for updating a Processor.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the Processor 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.

  • $msg->processor() / $msg->processor($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Processor)

    Required. The resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::DeleteProcessorRequest

Message for deleting a Processor.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the resource

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Visionai::V1alpha1::Platform::Application

Message describing Application object

Inherits from Protobuf::Message.

Accessors

Enum: Application::State

  • STATE_UNSPECIFIED => 0

  • CREATED => 1

  • DEPLOYING => 2

  • DEPLOYED => 3

  • UNDEPLOYING => 4

  • DELETED => 5

  • ERROR => 6

  • CREATING => 7

  • UPDATING => 8

  • DELETING => 9

  • FIXING => 10

Google::Cloud::Visionai::V1alpha1::Platform::ApplicationConfigs

Message storing the graph of the application.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::Node

Message describing node object.

Inherits from Protobuf::Message.

Accessors

  • $msg->output_all_output_channels_to_stream() / $msg->output_all_output_channels_to_stream($value)

    Type: Bool

    By default, the output of the node will only be available to downstream nodes. To consume the direct output from the application node, the output must be sent to Vision AI Streams at first.

    By setting output_all_output_channels_to_stream to true, App Platform will automatically send all the outputs of the current node to Vision AI Stream resources (one stream per output channel). The output stream resource will be created by App Platform automatically during deployment and deleted after application un-deployment. Note that this config applies to all the Application Instances.

    The output stream can be override at instance level by configuring the `output_resources` section of Instance resource. `producer_node` should be current node, `output_resource_binding` should be the output channel name (or leave it blank if there is only 1 output channel of the processor) and `output_resource` should be the target output stream.

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A unique name for the node.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    A user friendly display name for the node.

  • $msg->node_config() / $msg->node_config($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::ProcessorConfig)

    Node config.

  • $msg->processor() / $msg->processor($value)

    Type: String

    Processor name refer to the chosen processor resource.

  • $msg->parents() / $msg->parents($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::Node::InputEdge)

    Parent node. Input node should not have parent node. For V1 Alpha1/Beta only media warehouse node can have multiple parents, other types of nodes will only have one parent.

Google::Cloud::Visionai::V1alpha1::Platform::Draft

Message describing Draft object

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::Instance

Message describing Instance object

Inherits from Protobuf::Message.

Accessors

Enum: Instance::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • CREATED => 2

  • DEPLOYING => 3

  • DEPLOYED => 4

  • UNDEPLOYING => 5

  • DELETED => 6

  • ERROR => 7

  • UPDATING => 8

  • DELETING => 9

  • FIXING => 10

Google::Cloud::Visionai::V1alpha1::Platform::ApplicationInstance

Message for creating a Instance.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::Processor

Message describing Processor object. Next ID: 18

Inherits from Protobuf::Message.

Accessors

Enum: Processor::ProcessorType

  • PROCESSOR_TYPE_UNSPECIFIED => 0

  • PRETRAINED => 1

  • CUSTOM => 2

  • CONNECTOR => 3

Enum: Processor::ProcessorState

  • PROCESSOR_STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • FAILED => 4

Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec

Message describing the input / output specifications of a processor.

Inherits from Protobuf::Message.

Accessors

Enum: ProcessorIOSpec::DataType

  • DATA_TYPE_UNSPECIFIED => 0

  • VIDEO => 1

  • PROTO => 2

Google::Cloud::Visionai::V1alpha1::Platform::CustomProcessorSourceInfo

Describes the source info for a custom processor.

Inherits from Protobuf::Message.

Accessors

Enum: CustomProcessorSourceInfo::SourceType

  • SOURCE_TYPE_UNSPECIFIED => 0

  • VERTEX_AUTOML => 1

  • VERTEX_CUSTOM => 2

Google::Cloud::Visionai::V1alpha1::Platform::ProcessorConfig

Next ID: 24

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::StreamWithAnnotation

Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.

Inherits from Protobuf::Message.

Accessors

  • $msg->stream() / $msg->stream($value)

    Type: String

    Vision AI Stream resource name.

  • $msg->application_annotations() / $msg->application_annotations($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Annotations::StreamAnnotation)

    Annotations that will be applied to the whole application.

  • $msg->node_annotations() / $msg->node_annotations($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::StreamWithAnnotation::NodeAnnotation)

    Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

Google::Cloud::Visionai::V1alpha1::Platform::ApplicationNodeAnnotation

Message describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::ResourceAnnotations

Message describing general annotation for resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->application_annotations() / $msg->application_annotations($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Annotations::StreamAnnotation)

    Annotations that will be applied to the whole application.

  • $msg->node_annotations() / $msg->node_annotations($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::ApplicationNodeAnnotation)

    Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

Google::Cloud::Visionai::V1alpha1::Platform::VideoStreamInputConfig

Message describing Video Stream Input Config. This message should only be used as a placeholder for builtin:stream-input processor, actual stream binding should be specified using corresponding API.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::Platform::AIEnabledDevicesInputConfig

Message describing AI-enabled Devices Input Config.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::MediaWarehouseConfig

Message describing MediaWarehouseConfig.

Inherits from Protobuf::Message.

Accessors

  • $msg->corpus() / $msg->corpus($value)

    Type: String

    Resource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}

  • $msg->region() / $msg->region($value)

    Type: String

    Deprecated.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The duration for which all media assets, associated metadata, and search documents can exist.

Google::Cloud::Visionai::V1alpha1::Platform::PersonBlurConfig

Message describing FaceBlurConfig.

Inherits from Protobuf::Message.

Accessors

Enum: PersonBlurConfig::PersonBlurType

  • PERSON_BLUR_TYPE_UNSPECIFIED => 0

  • FULL_OCCULUSION => 1

  • BLUR_FILTER => 2

Google::Cloud::Visionai::V1alpha1::Platform::OccupancyCountConfig

Message describing OccupancyCountConfig.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_people_counting() / $msg->enable_people_counting($value)

    Type: Bool

    Whether to count the appearances of people, output counts have 'people' as the key.

  • $msg->enable_vehicle_counting() / $msg->enable_vehicle_counting($value)

    Type: Bool

    Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

  • $msg->enable_dwelling_time_tracking() / $msg->enable_dwelling_time_tracking($value)

    Type: Bool

    Whether to track each invidual object's loitering time inside the scene or specific zone.

Google::Cloud::Visionai::V1alpha1::Platform::PersonVehicleDetectionConfig

Message describing PersonVehicleDetectionConfig.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_people_counting() / $msg->enable_people_counting($value)

    Type: Bool

    At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key.

  • $msg->enable_vehicle_counting() / $msg->enable_vehicle_counting($value)

    Type: Bool

    Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

Google::Cloud::Visionai::V1alpha1::Platform::PersonalProtectiveEquipmentDetectionConfig

Message describing PersonalProtectiveEquipmentDetectionConfig.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_face_coverage_detection() / $msg->enable_face_coverage_detection($value)

    Type: Bool

    Whether to enable face coverage detection.

  • $msg->enable_head_coverage_detection() / $msg->enable_head_coverage_detection($value)

    Type: Bool

    Whether to enable head coverage detection.

  • $msg->enable_hands_coverage_detection() / $msg->enable_hands_coverage_detection($value)

    Type: Bool

    Whether to enable hands coverage detection.

Google::Cloud::Visionai::V1alpha1::Platform::GeneralObjectDetectionConfig

Message of configurations for General Object Detection processor.

Inherits from Protobuf::Message.

Google::Cloud::Visionai::V1alpha1::Platform::BigQueryConfig

Message of configurations for BigQuery processor.

Inherits from Protobuf::Message.

Accessors

  • $msg->table() / $msg->table($value)

    Type: String

    BigQuery table resource for Vision AI Platform to ingest annotations to.

  • $msg->cloud_function_mapping() / $msg->cloud_function_mapping($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::BigQueryConfig::CloudFunctionMappingEntry)

    Data Schema By default, Vision AI Application will try to write annotations to the target BigQuery table using the following schema:

    ingestion_time: TIMESTAMP, the ingestion time of the original data.

    application: STRING, name of the application which produces the annotation.

    instance: STRING, Id of the instance which produces the annotation.

    node: STRING, name of the application graph node which produces the annotation.

    annotation: STRING or JSON, the actual annotation protobuf will be converted to json string with bytes field as 64 encoded string. It can be written to both String or Json type column.

    To forward annotation data to an existing BigQuery table, customer needs to make sure the compatibility of the schema. The map maps application node name to its corresponding cloud function endpoint to transform the annotations directly to the google.cloud.bigquery.storage.v1.AppendRowsRequest (only avro_rows or proto_rows should be set). If configured, annotations produced by corresponding application node will sent to the Cloud Function at first before be forwarded to BigQuery.

    If the default table schema doesn't fit, customer is able to transform the annotation output from Vision AI Application to arbitrary BigQuery table schema with CloudFunction. * The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of Vision AI annotation. * The cloud function should return AppPlatformCloudFunctionResponse with AppendRowsRequest stored in the annotations field. * To drop the annotation, simply clear the annotations field in the returned AppPlatformCloudFunctionResponse.

  • $msg->create_default_table_if_not_exists() / $msg->create_default_table_if_not_exists($value)

    Type: Bool

    If true, App Platform will create the BigQuery DataSet and the BigQuery Table with default schema if the specified table doesn't exist. This doesn't work if any cloud function customized schema is specified since the system doesn't know your desired schema. JSON column will be used in the default table created by App Platform.

Google::Cloud::Visionai::V1alpha1::Platform::VertexAutoMLVisionConfig

Message of configurations of Vertex AutoML Vision Processors.

Inherits from Protobuf::Message.

Accessors

  • $msg->confidence_threshold() / $msg->confidence_threshold($value)

    Type: Float

    Only entities with higher score than the threshold will be returned. Value 0.0 means to return all the detected entities.

  • $msg->max_predictions() / $msg->max_predictions($value)

    Type: Int32

    At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.

Google::Cloud::Visionai::V1alpha1::Platform::VertexAutoMLVideoConfig

Message describing VertexAutoMLVideoConfig.

Inherits from Protobuf::Message.

Accessors

  • $msg->confidence_threshold() / $msg->confidence_threshold($value)

    Type: Float

    Only entities with higher score than the threshold will be returned. Value 0.0 means returns all the detected entities.

  • $msg->blocked_labels() / $msg->blocked_labels($value)

    Type: String

    Labels specified in this field won't be returned.

  • $msg->max_predictions() / $msg->max_predictions($value)

    Type: Int32

    At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.

  • $msg->bounding_box_size_limit() / $msg->bounding_box_size_limit($value)

    Type: Float

    Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.

Google::Cloud::Visionai::V1alpha1::Platform::VertexCustomConfig

Message describing VertexCustomConfig.

Inherits from Protobuf::Message.

Accessors

  • $msg->max_prediction_fps() / $msg->max_prediction_fps($value)

    Type: Int32

    The max prediction frame per second. This attribute sets how fast the operator sends prediction requests to Vertex AI endpoint. Default value is 0, which means there is no max prediction fps limit. The operator sends prediction requests at input fps.

  • $msg->dedicated_resources() / $msg->dedicated_resources($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::DedicatedResources)

    A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.

  • $msg->post_processing_cloud_function() / $msg->post_processing_cloud_function($value)

    Type: String

    If not empty, the prediction result will be sent to the specified cloud function for post processing. * The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of proto PredictResponse. * The cloud function should return AppPlatformCloudFunctionResponse with PredictResponse stored in the annotations field. * To drop the prediction output, simply clear the payload field in the returned AppPlatformCloudFunctionResponse.

  • $msg->attach_application_metadata() / $msg->attach_application_metadata($value)

    Type: Bool

    If true, the prediction request received by custom model will also contain metadata with the following schema: 'appPlatformMetadata': { 'ingestionTime': DOUBLE; (UNIX timestamp) 'application': STRING; 'instanceId': STRING; 'node': STRING; 'processor': STRING; }

Google::Cloud::Visionai::V1alpha1::Platform::MachineSpec

Specification of a single machine.

Inherits from Protobuf::Message.

Accessors

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Immutable. The type of the machine.

    See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)

    See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).

    For [DeployedModel][] this field is optional, and the default value is `n1-standard-2`. For [BatchPredictionJob][] or as part of [WorkerPoolSpec][] this field is required.

  • $msg->accelerator_type() / $msg->accelerator_type($value)

    Type: Enum (Google::Cloud::Visionai::V1alpha1::AcceleratorType)

    Immutable. The type of accelerator(s) that may be attached to the machine as per [accelerator_count][google.cloud.visionai.v1alpha1.MachineSpec.accelerator_count].

  • $msg->accelerator_count() / $msg->accelerator_count($value)

    Type: Int32

    The number of accelerators to attach to the machine.

Google::Cloud::Visionai::V1alpha1::Platform::AutoscalingMetricSpec

The metric specification that defines the target resource utilization (CPU utilization, accelerator's duty cycle, and so on) for calculating the desired replica count.

Inherits from Protobuf::Message.

Accessors

  • $msg->metric_name() / $msg->metric_name($value)

    Type: String

    Required. The resource metric name. Supported metrics:

    * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization`

  • $msg->target() / $msg->target($value)

    Type: Int32

    The target resource utilization in percentage (1% - 100%) for the given metric; once the real usage deviates from the target by a certain percentage, the machine replicas change. The default value is 60 (representing 60%) if not provided.

Google::Cloud::Visionai::V1alpha1::Platform::DedicatedResources

A description of resources that are dedicated to a DeployedModel, and that need a higher degree of manual configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->machine_spec() / $msg->machine_spec($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::MachineSpec)

    Required. Immutable. The specification of a single machine used by the prediction.

  • $msg->min_replica_count() / $msg->min_replica_count($value)

    Type: Int32

    Required. Immutable. The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1.

    If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed.

  • $msg->max_replica_count() / $msg->max_replica_count($value)

    Type: Int32

    Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use [min_replica_count][google.cloud.visionai.v1alpha1.DedicatedResources.min_replica_count] as the default value.

    The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type).

  • $msg->autoscaling_metric_specs() / $msg->autoscaling_metric_specs($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::Platform::AutoscalingMetricSpec)

    Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric.

    If [machine_spec.accelerator_count][google.cloud.visionai.v1alpha1.MachineSpec.accelerator_count] is above 0, the autoscaling will be based on both CPU utilization and accelerator's duty cycle metrics and scale up when either metrics exceeds its target value while scale down if both metrics are under their target value. The default target value is 60 for both metrics.

    If [machine_spec.accelerator_count][google.cloud.visionai.v1alpha1.MachineSpec.accelerator_count] is 0, the autoscaling will be based on CPU utilization metric only with default target value 60 if not explicitly set.

    For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set [autoscaling_metric_specs.metric_name][google.cloud.visionai.v1alpha1.AutoscalingMetricSpec.metric_name] to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and [autoscaling_metric_specs.target][google.cloud.visionai.v1alpha1.AutoscalingMetricSpec.target] to `80`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Visionai::V1alpha1::Platform::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.