Breaking Changes & Major Interaction API Expansion!
This update introduces significant breaking changes by making several core parameters strictly required and numerous `GenaiVertexV1Interaction` properties read-only. On the feature front, a massive expansion of the `interactions` API enables advanced streaming, tool use (like code execution, file search, Google Maps/Search), and rich content handling for generative AI applications.
aiplatform.v1 (9)Heads up, developers! This is a breaking change release. The parameters 'name', 'locationsId', 'projectsId', and 'parent' are now strictly required for various methods, which may impact existing API calls. Additionally, several properties within the GenaiVertexV1Interaction schema, including created, environmentId, errors, id, status, steps, updated, and usage, are now read-only. The effectiveIdentity property in GoogleCloudAiplatformV1Agent and continuationToken in GoogleCloudAiplatformV1Candidate have also become read-only.
Beyond the breaking changes, this update brings a substantial new surface area for managing and interacting with generative AI models. New methods like interactions.cancel, interactions.getPoll, interactions.getStream, and projects.locations.interactions.create are now available. These methods, along with a plethora of new GenaiVertexV1 schemas, introduce powerful capabilities for streaming interaction events, integrating various tools (e.g., CodeExecution, FileSearch, GoogleMaps, GoogleSearch, Retrieval, UrlContext), and handling diverse content types (audio, document, image, text, video) within your AI workflows. This significantly enhances the ability to build complex, multi-modal, and tool-augmented generative AI applications.
Vertex AI: Generation Continuation & Breaking Changes
This Vertex AI v1beta1 update introduces significant breaking changes, making several properties read-only and altering a schema type. On the feature front, you can now resume long-running content generation with new continuation tokens and access detailed content metadata, including citations and grounding sources.
Developers should be aware of several breaking changes: the effectiveIdentity property in GoogleCloudAiplatformV1beta1Agent and the continuationToken property in GoogleCloudAiplatformV1beta1Candidate are now output-only and immutable. Additionally, the customMetadata property within GenaiVertexV1beta1FileCitation has changed its underlying type from a specific reference to a more generic object, which may impact strongly typed client implementations.
New capabilities include robust support for resuming long-running content generation via continuationToken fields added to GoogleCloudAiplatformV1beta1GenerateContentRequest, GoogleCloudAiplatformV1beta1Candidate, GenaiVertexV1beta1Interaction, and GenaiVertexV1beta1InteractionStatusUpdate. The GoogleCloudAiplatformV1beta1Candidate also gains a CONTINUATION finish reason. You can now retrieve rich contentMetadata (citations, grounding sources) alongside generated content in GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt. Other enhancements include tileSmoothing for improved video super-resolution, a DISABLED network egress mode for GenaiVertexV1beta1EnvironmentConfigEgressRule, and customer-managed encryption keys (CMEK) support for GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope.