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
"""The identity type is unspecified. Use a custom service account if the `service_account` field is set, otherwise use the default Vertex AI Reasoning Engine Service Agent in the project."""
367
+
SERVICE_ACCOUNT="SERVICE_ACCOUNT"
368
+
"""Use a custom service account if the `service_account` field is set, otherwise use the default Vertex AI Reasoning Engine Service Agent in the project."""
369
+
AGENT_IDENTITY="AGENT_IDENTITY"
370
+
"""Use the Agent Identity to access the resources."""
371
+
372
+
363
373
classSamplingConfig(_common.BaseModel):
364
374
"""Sampling config for a BigQuery request set."""
365
375
@@ -4788,7 +4798,15 @@ class ReasoningEngineSpec(_common.BaseModel):
4788
4798
)
4789
4799
service_account: Optional[str] =Field(
4790
4800
default=None,
4791
-
description="""Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.""",
4801
+
description="""Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used. To clear the service account, this field needs to be set to an empty string.""",
4802
+
)
4803
+
identity_type: Optional[IdentityType] =Field(
4804
+
default=None,
4805
+
description="""Optional. The identity type for the Reasoning Engine. If not specified, the default value is `IDENTITY_TYPE_UNSPECIFIED`.""",
4806
+
)
4807
+
effective_identity: Optional[str] =Field(
4808
+
default=None,
4809
+
description="""Output only. The identity to be used for the Reasoning Engine. If not specified, the default value is the service account specified in `service_account` or the Vertex AI Reasoning Engine Service Agent in the project if `service_account` is not specified.""",
4792
4810
)
4793
4811
4794
4812
@@ -4808,8 +4826,13 @@ class ReasoningEngineSpecDict(TypedDict, total=False):
4808
4826
"""Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes."""
4809
4827
4810
4828
service_account: Optional[str]
4811
-
"""Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used."""
4829
+
"""Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used. To clear the service account, this field needs to be set to an empty string."""
4830
+
4831
+
identity_type: Optional[IdentityType]
4832
+
"""Optional. The identity type for the Reasoning Engine. If not specified, the default value is `IDENTITY_TYPE_UNSPECIFIED`."""
4812
4833
4834
+
effective_identity: Optional[str]
4835
+
"""Output only. The identity to be used for the Reasoning Engine. If not specified, the default value is the service account specified in `service_account` or the Vertex AI Reasoning Engine Service Agent in the project if `service_account` is not specified."""
0 commit comments