You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instance is the evaluation instance, any fields populated in the instance
1706
1708
are available to the function as instance[field_name].""",
1707
1709
)
1710
+
code_execution_region: Optional[str] = Field(
1711
+
default=None,
1712
+
description="""Optional. The region to use for code execution. If set, the Code Execution Sandbox will be invoked in the specified region regardless of the request's originating region. Must be a region where the Code Execution Sandbox is available. Supported regions: northamerica-northeast1, southamerica-east1, us-central1, us-east1, us-east4, us-west1, us-west4, europe-central2, europe-north1, europe-southwest1, europe-west1, europe-west2, europe-west3, europe-west4, europe-west6, europe-west8, europe-west9, me-west1, asia-east1, asia-east2, asia-northeast1, asia-northeast3, asia-south1, asia-south2, asia-southeast1, australia-southeast2. If unset, the request's originating region is used; requests from regions where the sandbox is unavailable will fail with UNIMPLEMENTED.""",
1713
+
)
1708
1714
1709
1715
1710
1716
class CustomCodeExecutionSpecDict(TypedDict, total=False):
Instance is the evaluation instance, any fields populated in the instance
1725
1731
are available to the function as instance[field_name]."""
1726
1732
1733
+
code_execution_region: Optional[str]
1734
+
"""Optional. The region to use for code execution. If set, the Code Execution Sandbox will be invoked in the specified region regardless of the request's originating region. Must be a region where the Code Execution Sandbox is available. Supported regions: northamerica-northeast1, southamerica-east1, us-central1, us-east1, us-east4, us-west1, us-west4, europe-central2, europe-north1, europe-southwest1, europe-west1, europe-west2, europe-west3, europe-west4, europe-west6, europe-west8, europe-west9, me-west1, asia-east1, asia-east2, asia-northeast1, asia-northeast3, asia-south1, asia-south2, asia-southeast1, australia-southeast2. If unset, the request's originating region is used; requests from regions where the sandbox is unavailable will fail with UNIMPLEMENTED."""
@@ -6665,7 +6674,7 @@ class ReservationAffinity(_common.BaseModel):
6665
6674
)
6666
6675
values: Optional[list[str]] = Field(
6667
6676
default=None,
6668
-
description="""Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservationor reservation block.""",
6677
+
description="""Optional. Corresponds to the label values of a reservation resource. This must be the resource name of the reservation, reservation block, or reservation sub- block.""",
6669
6678
)
6670
6679
6671
6680
@@ -6679,7 +6688,7 @@ class ReservationAffinityDict(TypedDict, total=False):
6679
6688
"""Required. Specifies the reservation affinity type."""
6680
6689
6681
6690
values: Optional[list[str]]
6682
-
"""Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservationor reservation block."""
6691
+
"""Optional. Corresponds to the label values of a reservation resource. This must be the resource name of the reservation, reservation block, or reservation sub- block."""
"""Optional. Represents the structured content of the memory."""
11596
11608
11609
+
context: Optional[str]
11610
+
"""Optional. Represents the context of the memory."""
11611
+
11597
11612
11598
11613
MemoryOrDict = Union[Memory, MemoryDict]
11599
11614
@@ -13281,6 +13296,10 @@ class MemoryRevision(_common.BaseModel):
13281
13296
default=None,
13282
13297
description="""Output only. Represents the structured value of the memory at the time of revision creation.""",
13283
13298
)
13299
+
context: Optional[str] = Field(
13300
+
default=None,
13301
+
description="""Output only. Represents the context of the Memory Revision. The context may include context from both the historical revisions and the extracted content.""",
13302
+
)
13284
13303
13285
13304
13286
13305
class MemoryRevisionDict(TypedDict, total=False):
@@ -13307,6 +13326,9 @@ class MemoryRevisionDict(TypedDict, total=False):
13307
13326
structured_data: Optional[dict[str, Any]]
13308
13327
"""Output only. Represents the structured value of the memory at the time of revision creation."""
13309
13328
13329
+
context: Optional[str]
13330
+
"""Output only. Represents the context of the Memory Revision. The context may include context from both the historical revisions and the extracted content."""
@@ -17551,11 +17581,11 @@ class SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig(_common.Base
17551
17581
)
17552
17582
target_network: Optional[str] = Field(
17553
17583
default=None,
17554
-
description="""Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.""",
17584
+
description="""Required. The VPC network name in the target_project where the DNS zone specified by `domain` is visible.""",
17555
17585
)
17556
17586
target_project: Optional[str] = Field(
17557
17587
default=None,
17558
-
description="""Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.""",
17588
+
description="""Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The Vertex AI Service Agent requires the dns.peer role on this project.""",
17559
17589
)
17560
17590
17561
17591
@@ -17568,10 +17598,10 @@ class SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfigDict(
17568
17598
"""Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot."""
17569
17599
17570
17600
target_network: Optional[str]
17571
-
"""Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible."""
17601
+
"""Required. The VPC network name in the target_project where the DNS zone specified by `domain` is visible."""
17572
17602
17573
17603
target_project: Optional[str]
17574
-
"""Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project."""
17604
+
"""Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The Vertex AI Service Agent requires the dns.peer role on this project."""
@@ -17598,7 +17624,7 @@ class SandboxEnvironmentTemplateEgressControlConfig(_common.BaseModel):
17598
17624
)
17599
17625
network_attachment: Optional[str] = Field(
17600
17626
default=None,
17601
-
description="""Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into the customer VPC for sandbox egress.""",
17627
+
description="""Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into the customer VPC for sandbox egress.""",
17602
17628
)
17603
17629
17604
17630
@@ -17608,16 +17634,13 @@ class SandboxEnvironmentTemplateEgressControlConfigDict(TypedDict, total=False):
17608
17634
internet_access: Optional[bool]
17609
17635
"""Optional. Whether to allow internet access."""
17610
17636
17611
-
customer_vpc_network: Optional[str]
17612
-
"""Optional. The customer VPC network that sandbox egress is routed into."""
@@ -17873,6 +17896,10 @@ class SandboxEnvironmentTemplate(_common.BaseModel):
17873
17896
default=None,
17874
17897
description="""Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox router is exposed privately via a PSC service attachment so VPC-SC customers can connect from their VPC over a private endpoint instead of the public internet. The resulting service attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here: `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress; sandbox egress is configured via `egress_control_config` instead.""",
17875
17898
)
17899
+
use_gke_td: Optional[bool] = Field(
17900
+
default=None,
17901
+
description="""Optional. Immutable. Whether to provision the SandboxEnvironmentTemplate via the GKE TD pool.""",
17902
+
)
17876
17903
17877
17904
17878
17905
class SandboxEnvironmentTemplateDict(TypedDict, total=False):
@@ -17909,6 +17936,9 @@ class SandboxEnvironmentTemplateDict(TypedDict, total=False):
"""Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox router is exposed privately via a PSC service attachment so VPC-SC customers can connect from their VPC over a private endpoint instead of the public internet. The resulting service attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here: `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress; sandbox egress is configured via `egress_control_config` instead."""
17911
17938
17939
+
use_gke_td: Optional[bool]
17940
+
"""Optional. Immutable. Whether to provision the SandboxEnvironmentTemplate via the GKE TD pool."""
@@ -20965,6 +21002,10 @@ class SchemaPromptSpecAppBuilderData(_common.BaseModel):
20965
21002
description="""Linked resources attached to the application by the user.""",
20966
21003
)
20967
21004
)
21005
+
deployed_regions: Optional[list[str]] = Field(
21006
+
default=None,
21007
+
description="""Optional. The Cloud Run regions in which the application is currently deployed. Used to rediscover and redeploy the app in the regions it already runs in, which may differ from the prompt's location.""",
21008
+
)
20968
21009
20969
21010
20970
21011
class SchemaPromptSpecAppBuilderDataDict(TypedDict, total=False):
@@ -20979,6 +21020,9 @@ class SchemaPromptSpecAppBuilderDataDict(TypedDict, total=False):
"""Linked resources attached to the application by the user."""
20981
21022
21023
+
deployed_regions: Optional[list[str]]
21024
+
"""Optional. The Cloud Run regions in which the application is currently deployed. Used to rediscover and redeploy the app in the regions it already runs in, which may differ from the prompt's location."""
@@ -28666,33 +28710,33 @@ class AudioTranscriptionWordInfoDict(TypedDict, total=False):
28666
28710
28667
28711
28668
28712
class AudioTranscription(_common.BaseModel):
28669
-
"""The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate Part with its own AudioTranscription carrying the speaker_label."""
28713
+
"""The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate `Part` with its own `AudioTranscription` carrying the `speaker_label`."""
28670
28714
28671
28715
speaker_label: Optional[str] = Field(
28672
28716
default=None,
28673
-
description="""Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). Present when diarization is set.""",
28717
+
description="""Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). Present when `diarization` is set.""",
28674
28718
)
28675
28719
text: Optional[str] = Field(
28676
28720
default=None,
28677
28721
description="""Required. The transcription text of this audio segment.""",
description="""Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is set.""",
28725
+
description="""Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` is set.""",
28682
28726
)
28683
28727
28684
28728
28685
28729
class AudioTranscriptionDict(TypedDict, total=False):
28686
-
"""The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate Part with its own AudioTranscription carrying the speaker_label."""
28730
+
"""The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate `Part` with its own `AudioTranscription` carrying the `speaker_label`."""
28687
28731
28688
28732
speaker_label: Optional[str]
28689
-
"""Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). Present when diarization is set."""
28733
+
"""Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). Present when `diarization` is set."""
28690
28734
28691
28735
text: Optional[str]
28692
28736
"""Required. The transcription text of this audio segment."""
0 commit comments