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:
StringRequired. 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:
StringOptional. 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:
StringRequired. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"
$msg->instance_ids()/$msg->instance_ids($value)Type:
StringRequired. Id of the requesting object.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. Parent value for ListApplicationsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested 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:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results.
$msg->order_by()/$msg->order_by($value)Type:
StringHint 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. Value for parent.
$msg->application_id()/$msg->application_id($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. Name of the resource.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
BoolOptional. 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:
StringRequired. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf set, validate the request and preview the application graph, but do not actually deploy it.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
BoolOptional. 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:
StringRequired. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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
$msg->stream_with_annotation()/$msg->stream_with_annotation($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::StreamWithAnnotation)
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:
StringRequired. 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:
StringOptional. 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:
StringRequired. 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:
StringOptional. 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:
BoolIf 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:
StringRequired. 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:
StringOptional. 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:
StringRequired. Parent value for ListInstancesRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested 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:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results.
$msg->order_by()/$msg->order_by($value)Type:
StringHint 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. Parent value for ListDraftsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested 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:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results.
$msg->order_by()/$msg->order_by($value)Type:
StringHint 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. Value for parent.
$msg->draft_id()/$msg->draft_id($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
BoolIf 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:
StringRequired. 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:
StringOptional. 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:
BoolIf 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:
StringRequired. Name of the resource.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. Parent value for ListProcessorsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested 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:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results.
$msg->order_by()/$msg->order_by($value)Type:
StringHint 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. Parent path.
Google::Cloud::Visionai::V1alpha1::Platform::ListPrebuiltProcessorsResponse
Response Message for listing Prebuilt Processors.
Inherits from Protobuf::Message.
Accessors
$msg->processors()/$msg->processors($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Processor)The list of Processor.
Google::Cloud::Visionai::V1alpha1::Platform::GetProcessorRequest
Message for getting a Processor.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. Value for parent.
$msg->processor_id()/$msg->processor_id($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. Name of the resource
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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
$msg->name()/$msg->name($value)Type:
Stringname of resource
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Create timestamp
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Update timestamp
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Application::LabelsEntry)Labels as key value pairs
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. A user friendly display name for the solution.
$msg->description()/$msg->description($value)Type:
StringA description for this application.
$msg->application_configs()/$msg->application_configs($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ApplicationConfigs)Application graph configuration.
$msg->runtime_info()/$msg->runtime_info($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Application::ApplicationRuntimeInfo)Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::Application::State)Output only. State of the application.
Enum: Application::State
STATE_UNSPECIFIED=>0CREATED=>1DEPLOYING=>2DEPLOYED=>3UNDEPLOYING=>4DELETED=>5ERROR=>6CREATING=>7UPDATING=>8DELETING=>9FIXING=>10
Google::Cloud::Visionai::V1alpha1::Platform::ApplicationConfigs
Message storing the graph of the application.
Inherits from Protobuf::Message.
Accessors
$msg->nodes()/$msg->nodes($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Node)A list of nodes in the application graph.
$msg->event_delivery_config()/$msg->event_delivery_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ApplicationConfigs::EventDeliveryConfig)Event-related configuration for this application.
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:
BoolBy 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:
StringRequired. A unique name for the node.
$msg->display_name()/$msg->display_name($value)Type:
StringA 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:
StringProcessor 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
$msg->name()/$msg->name($value)Type:
Stringname of resource
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Create timestamp
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Create timestamp
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Draft::LabelsEntry)Labels as key value pairs
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. A user friendly display name for the solution.
$msg->description()/$msg->description($value)Type:
StringA description for this application.
$msg->draft_application_configs()/$msg->draft_application_configs($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ApplicationConfigs)The draft application configs which haven't been updated to an application.
Google::Cloud::Visionai::V1alpha1::Platform::Instance
Message describing Instance object
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. name of resource
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Create timestamp
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Update timestamp
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Instance::LabelsEntry)Labels as key value pairs
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. A user friendly display name for the solution.
$msg->description()/$msg->description($value)Type:
StringA description for this application.
$msg->input_resources()/$msg->input_resources($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Instance::InputResource)The input resources for the current application instance. For example: input_resources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a
$msg->output_resources()/$msg->output_resources($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Instance::OutputResource)All the output resources associated to one application instance.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::Instance::State)State of the instance.
Enum: Instance::State
STATE_UNSPECIFIED=>0CREATING=>1CREATED=>2DEPLOYING=>3DEPLOYED=>4UNDEPLOYING=>5DELETED=>6ERROR=>7UPDATING=>8DELETING=>9FIXING=>10
Google::Cloud::Visionai::V1alpha1::Platform::ApplicationInstance
Message for creating a Instance.
Inherits from Protobuf::Message.
Accessors
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. Id of the requesting object.
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Instance)Required. The resource being created.
Google::Cloud::Visionai::V1alpha1::Platform::Processor
Message describing Processor object. Next ID: 18
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
Stringname of resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Update timestamp.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::Processor::LabelsEntry)Labels as key value pairs.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. A user friendly display name for the processor.
$msg->description()/$msg->description($value)Type:
StringIllustrative sentences for describing the functionality of the processor.
$msg->processor_type()/$msg->processor_type($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::Processor::ProcessorType)Output only. Processor Type.
$msg->model_type()/$msg->model_type($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::ModelType)Model Type.
$msg->custom_processor_source_info()/$msg->custom_processor_source_info($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::CustomProcessorSourceInfo)Source info for customer created processor.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::Processor::ProcessorState)Output only. State of the Processor.
$msg->processor_io_spec()/$msg->processor_io_spec($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec)Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
$msg->configuration_typeurl()/$msg->configuration_typeurl($value)Type:
StringOutput only. The corresponding configuration can be used in the Application to customize the behavior of the processor.
$msg->supported_annotation_types()/$msg->supported_annotation_types($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::StreamAnnotationType)$msg->supports_post_processing()/$msg->supports_post_processing($value)Type:
BoolIndicates if the processor supports post processing.
Enum: Processor::ProcessorType
PROCESSOR_TYPE_UNSPECIFIED=>0PRETRAINED=>1CUSTOM=>2CONNECTOR=>3
Enum: Processor::ProcessorState
PROCESSOR_STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3FAILED=>4
Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec
Message describing the input / output specifications of a processor.
Inherits from Protobuf::Message.
Accessors
$msg->graph_input_channel_specs()/$msg->graph_input_channel_specs($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec::GraphInputChannelSpec)For processors with input_channel_specs, the processor must be explicitly connected to another processor.
$msg->graph_output_channel_specs()/$msg->graph_output_channel_specs($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec::GraphOutputChannelSpec)The output artifact specifications for the current processor.
$msg->instance_resource_input_binding_specs()/$msg->instance_resource_input_binding_specs($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec::InstanceResourceInputBindingSpec)The input resource that needs to be fed from the application instance.
$msg->instance_resource_output_binding_specs()/$msg->instance_resource_output_binding_specs($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::ProcessorIOSpec::InstanceResourceOutputBindingSpec)The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.
Enum: ProcessorIOSpec::DataType
DATA_TYPE_UNSPECIFIED=>0VIDEO=>1PROTO=>2
Google::Cloud::Visionai::V1alpha1::Platform::CustomProcessorSourceInfo
Describes the source info for a custom processor.
Inherits from Protobuf::Message.
Accessors
$msg->vertex_model()/$msg->vertex_model($value)Type:
StringThe resource name original model hosted in the vertex AI platform.
$msg->source_type()/$msg->source_type($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::CustomProcessorSourceInfo::SourceType)The original product which holds the custom processor's functionality.
$msg->additional_info()/$msg->additional_info($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::CustomProcessorSourceInfo::AdditionalInfoEntry)Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
$msg->model_schema()/$msg->model_schema($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::CustomProcessorSourceInfo::ModelSchema)Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.
Enum: CustomProcessorSourceInfo::SourceType
SOURCE_TYPE_UNSPECIFIED=>0VERTEX_AUTOML=>1VERTEX_CUSTOM=>2
Google::Cloud::Visionai::V1alpha1::Platform::ProcessorConfig
Next ID: 24
Inherits from Protobuf::Message.
Accessors
$msg->video_stream_input_config()/$msg->video_stream_input_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::VideoStreamInputConfig)Configs of stream input processor.
$msg->ai_enabled_devices_input_config()/$msg->ai_enabled_devices_input_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::AIEnabledDevicesInputConfig)Config of AI-enabled input devices.
$msg->media_warehouse_config()/$msg->media_warehouse_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::MediaWarehouseConfig)Configs of media warehouse processor.
$msg->person_blur_config()/$msg->person_blur_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::PersonBlurConfig)Configs of person blur processor.
$msg->occupancy_count_config()/$msg->occupancy_count_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::OccupancyCountConfig)Configs of occupancy count processor.
$msg->person_vehicle_detection_config()/$msg->person_vehicle_detection_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::PersonVehicleDetectionConfig)Configs of Person Vehicle Detection processor.
$msg->vertex_automl_vision_config()/$msg->vertex_automl_vision_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::VertexAutoMLVisionConfig)Configs of Vertex AutoML vision processor.
$msg->vertex_automl_video_config()/$msg->vertex_automl_video_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::VertexAutoMLVideoConfig)Configs of Vertex AutoML video processor.
$msg->vertex_custom_config()/$msg->vertex_custom_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::VertexCustomConfig)Configs of Vertex Custom processor.
$msg->general_object_detection_config()/$msg->general_object_detection_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::GeneralObjectDetectionConfig)Configs of General Object Detection processor.
$msg->big_query_config()/$msg->big_query_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::BigQueryConfig)Configs of BigQuery processor.
$msg->personal_protective_equipment_detection_config()/$msg->personal_protective_equipment_detection_config($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::PersonalProtectiveEquipmentDetectionConfig)Configs of personal_protective_equipment_detection_config
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:
StringVision 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
$msg->node()/$msg->node($value)Type:
StringThe node name of the application graph.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Annotations::StreamAnnotation)The node specific stream annotations.
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
$msg->streams()/$msg->streams($value)Type:
String$msg->streams_with_annotation()/$msg->streams_with_annotation($value)Type:
Message(Google::Cloud::Visionai::V1alpha1::Platform::StreamWithAnnotation)
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:
StringResource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
$msg->region()/$msg->region($value)Type:
StringDeprecated.
$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
$msg->person_blur_type()/$msg->person_blur_type($value)Type:
Enum(Google::Cloud::Visionai::V1alpha1::PersonBlurConfig::PersonBlurType)Person blur type.
$msg->faces_only()/$msg->faces_only($value)Type:
BoolWhether only blur faces other than the whole object in the processor.
Enum: PersonBlurConfig::PersonBlurType
PERSON_BLUR_TYPE_UNSPECIFIED=>0FULL_OCCULUSION=>1BLUR_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:
BoolWhether to count the appearances of people, output counts have 'people' as the key.
$msg->enable_vehicle_counting()/$msg->enable_vehicle_counting($value)Type:
BoolWhether 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:
BoolWhether 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:
BoolAt 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:
BoolWhether 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:
BoolWhether to enable face coverage detection.
$msg->enable_head_coverage_detection()/$msg->enable_head_coverage_detection($value)Type:
BoolWhether to enable head coverage detection.
$msg->enable_hands_coverage_detection()/$msg->enable_hands_coverage_detection($value)Type:
BoolWhether 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:
StringBigQuery 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:
BoolIf 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:
FloatOnly 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:
Int32At 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:
FloatOnly 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:
StringLabels specified in this field won't be returned.
$msg->max_predictions()/$msg->max_predictions($value)Type:
Int32At 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:
FloatOnly 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:
Int32The 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:
StringIf 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:
BoolIf 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:
StringImmutable. 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:
Int32The 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:
StringRequired. 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:
Int32The 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:
Int32Required. 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:
Int32Immutable. 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.