From bb90521afa836ca2f71630cb75b423146201984e Mon Sep 17 00:00:00 2001
From: Yoshi Automation Instance Methods
Returns the services Resource.
+
+ skills()
+
Returns the skills Resource.
+Close httplib2 connections.
diff --git a/docs/dyn/agentregistry_v1.projects.locations.skills.html b/docs/dyn/agentregistry_v1.projects.locations.skills.html new file mode 100644 index 0000000000..52931437c8 --- /dev/null +++ b/docs/dyn/agentregistry_v1.projects.locations.skills.html @@ -0,0 +1,258 @@ + + + +
+ close()
Close httplib2 connections.
+
+ getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
+
+ setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+
+ testIamPermissions(resource, body=None, x__xgafv=None)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
+close()
+ Close httplib2 connections.+
getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
+ Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
+
+Args:
+ resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
+ options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
+ "auditConfigs": [ # Specifies cloud audit logging configuration for this policy.
+ { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
+ "auditLogConfigs": [ # The configuration for logging of each type of permission.
+ { # Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
+ "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
+ "A String",
+ ],
+ "logType": "A String", # The log type that this config enables.
+ },
+ ],
+ "service": "A String", # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
+ },
+ ],
+ "bindings": [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
+ { # Associates `members`, or principals, with a `role`.
+ "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ "description": "A String", # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
+ "location": "A String", # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
+ "title": "A String", # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
+ },
+ "members": [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
+ "A String",
+ ],
+ "role": "A String", # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
+ },
+ ],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
+ "version": 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+}
+setIamPolicy(resource, body=None, x__xgafv=None)
+ Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+
+Args:
+ resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+ "policy": { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
+ "auditConfigs": [ # Specifies cloud audit logging configuration for this policy.
+ { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
+ "auditLogConfigs": [ # The configuration for logging of each type of permission.
+ { # Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
+ "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
+ "A String",
+ ],
+ "logType": "A String", # The log type that this config enables.
+ },
+ ],
+ "service": "A String", # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
+ },
+ ],
+ "bindings": [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
+ { # Associates `members`, or principals, with a `role`.
+ "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ "description": "A String", # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
+ "location": "A String", # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
+ "title": "A String", # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
+ },
+ "members": [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
+ "A String",
+ ],
+ "role": "A String", # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
+ },
+ ],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
+ "version": 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ },
+ "updateMask": "A String", # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
+ "auditConfigs": [ # Specifies cloud audit logging configuration for this policy.
+ { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
+ "auditLogConfigs": [ # The configuration for logging of each type of permission.
+ { # Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
+ "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
+ "A String",
+ ],
+ "logType": "A String", # The log type that this config enables.
+ },
+ ],
+ "service": "A String", # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
+ },
+ ],
+ "bindings": [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
+ { # Associates `members`, or principals, with a `role`.
+ "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ "description": "A String", # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
+ "location": "A String", # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
+ "title": "A String", # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
+ },
+ "members": [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
+ "A String",
+ ],
+ "role": "A String", # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
+ },
+ ],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
+ "version": 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+}
+testIamPermissions(resource, body=None, x__xgafv=None)
+ Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
+
+Args:
+ resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for `TestIamPermissions` method.
+ "permissions": [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
+ "A String",
+ ],
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message for `TestIamPermissions` method.
+ "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+ "A String",
+ ],
+}
+Returns the indexes Resource.
+
+ interactions()
+
Returns the interactions Resource.
+ diff --git a/docs/dyn/aiplatform_v1.interactions.html b/docs/dyn/aiplatform_v1.interactions.html new file mode 100644 index 0000000000..358ac2c67a --- /dev/null +++ b/docs/dyn/aiplatform_v1.interactions.html @@ -0,0 +1,9648 @@ + + + +Cancels an interaction.
+
+ close()
Close httplib2 connections.
+
+ getPoll(name, lastEventId=None, stream=None, x__xgafv=None)
Fully typed proto, unary version of GetInteraction that returns Interaction proto.
+
+ getStream(name, lastEventId=None, stream=None, x__xgafv=None)
Fully typed proto, streaming version of GetInteraction that returns Interaction proto.
+cancel(name, x__xgafv=None)
+ Cancels an interaction.
+
+Args:
+ name: string, Required. The name of the interaction to cancel. Format: `interactions/{interaction}`. (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response for InteractionService.CreateInteraction.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+}
+close()
+ Close httplib2 connections.+
getPoll(name, lastEventId=None, stream=None, x__xgafv=None)
+ Fully typed proto, unary version of GetInteraction that returns Interaction proto.
+
+Args:
+ name: string, Required. The name of the interaction to retrieve. Format: interactions/{interaction} (required)
+ lastEventId: string, If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.
+ stream: boolean, If true, streams the interaction events as Server-Sent Events.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response for InteractionService.CreateInteraction.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+}
+getStream(name, lastEventId=None, stream=None, x__xgafv=None)
+ Fully typed proto, streaming version of GetInteraction that returns Interaction proto.
+
+Args:
+ name: string, Required. The name of the interaction to retrieve. Format: interactions/{interaction} (required)
+ lastEventId: string, If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.
+ stream: boolean, If true, streams the interaction events as Server-Sent Events.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ {
+ "errorEvent": { # The error event data, used for error events.
+ "error": { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ },
+ "eventId": "A String", # The event_id token to be used to resume the interaction stream, from this event.
+ "interactionCompletedEvent": { # Signals that the Interaction completed. Sent when the Interaction receives Complete/Cancel or naturally terminates. No more input can be sent to the Interaction after this. # The interaction data, used for interaction.completed events. Used when steps are enabled.
+ "interaction": { # Response for InteractionService.CreateInteraction. # Required. Partial completed interaction resource emitted at the end of the stream.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ },
+ "interactionCreatedEvent": { # Server response confirming that a new interaction was created. # The interaction data, used for interaction.created events. Used when steps are enabled.
+ "interaction": { # Response for InteractionService.CreateInteraction. # Required. Partial interaction resource emitted when the stream is created.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ },
+ "interactionStatusUpdate": { # The interaction status data, used for interaction.status_update events.
+ "interactionId": "A String",
+ "status": "A String",
+ "usage": { # Statistics on the interaction request's token usage. # Model usage statistics up to this checkpoint.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ "stepDelta": { # The step delta data, used for step.delta events. Step-based streaming event, used when steps are enabled.
+ "delta": {
+ "argumentsDelta": {
+ "arguments": "A String",
+ },
+ "audio": {
+ "channels": 42, # The number of audio channels.
+ "data": "A String",
+ "mimeType": "A String",
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String",
+ },
+ "document": {
+ "data": "A String",
+ "mimeType": "A String",
+ "uri": "A String",
+ },
+ "functionResult": {
+ "isError": True or False,
+ "name": "A String",
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "image": {
+ "data": "A String",
+ "mimeType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String",
+ },
+ "serverToolCall": {
+ "codeExecutionCall": {
+ "arguments": { # The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": {
+ },
+ "googleMapsCall": {
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": {
+ "arguments": { # The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ },
+ "processingCall": { # Streaming delta for a server-initiated media processing step.
+ },
+ "retrievalCall": { # Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the Retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": {
+ "arguments": { # The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "serverToolResult": {
+ "codeExecutionResult": {
+ "isError": True or False,
+ "result": "A String",
+ },
+ "fileSearchResult": {
+ "result": [
+ { # The result of the File Search.
+ },
+ ],
+ },
+ "googleMapsResult": {
+ "result": [ # The results of the Google Maps.
+ { # The result of the Google Maps.
+ "places": [ # The places that were found.
+ {
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ ],
+ "widgetContextToken": "A String", # Resource name of the Google Maps widget context token.
+ },
+ ],
+ },
+ "googleSearchResult": {
+ "isError": True or False,
+ "result": [
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # Streaming delta for the result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. ToolResultDelta.type
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": {
+ "isError": True or False,
+ "result": [
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "text": {
+ "text": "A String",
+ },
+ "textAnnotationDelta": {
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ },
+ "thoughtSignature": {
+ "signature": "A String", # Signature to match the backend source to be part of the generation.
+ },
+ "thoughtSummary": {
+ "content": { # The content of the response. # A new summary item to be added to the thought.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ },
+ "video": {
+ "data": "A String",
+ "mimeType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String",
+ },
+ },
+ "index": 42,
+ },
+ "stepStart": { # The step start data, used for step.start events. Step-based streaming event, used when steps are enabled.
+ "index": 42,
+ "step": { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ },
+ "stepStop": { # The step stop data, used for step.stop events. Step-based streaming event, used when steps are enabled.
+ "index": 42,
+ "stepUsage": { # Statistics on the interaction request's token usage. # Model usage stats for this specific step.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ "usage": { # Statistics on the interaction request's token usage. # Cumulative model usage stats from the start of the session.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+}
+Returns the indexes Resource.
+
+ interactions()
+
Returns the interactions Resource.
+ + +Returns the interactionsHttp Resource.
+ @@ -971,7 +981,7 @@
+ close()
Close httplib2 connections.
+
+ create(projectsId, locationsId, body=None, x__xgafv=None)
Creates an interaction.
+
+ createStream(projectsId, locationsId, body=None, x__xgafv=None)
Creates an interaction and streams the response.
+ +Deletes an interaction.
+close()
+ Close httplib2 connections.+
create(projectsId, locationsId, body=None, x__xgafv=None)
+ Creates an interaction.
+
+Args:
+ projectsId: string, A parameter (required)
+ locationsId: string, A parameter (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Configuration parameters for creating an interaction.
+ "background": True or False, # Input only. Whether to run the model interaction in the background.
+ "interaction": { # Response for InteractionService.CreateInteraction. # The interaction to create.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ "store": True or False, # Input only. Whether to store the response and request for later retrieval.
+ "stream": True or False, # Input only. Whether the interaction will be streamed.
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response for InteractionService.CreateInteraction.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+}
+createStream(projectsId, locationsId, body=None, x__xgafv=None)
+ Creates an interaction and streams the response.
+
+Args:
+ projectsId: string, A parameter (required)
+ locationsId: string, A parameter (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Configuration parameters for creating an interaction.
+ "background": True or False, # Input only. Whether to run the model interaction in the background.
+ "interaction": { # Response for InteractionService.CreateInteraction. # The interaction to create.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ "store": True or False, # Input only. Whether to store the response and request for later retrieval.
+ "stream": True or False, # Input only. Whether the interaction will be streamed.
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ {
+ "errorEvent": { # The error event data, used for error events.
+ "error": { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ },
+ "eventId": "A String", # The event_id token to be used to resume the interaction stream, from this event.
+ "interactionCompletedEvent": { # Signals that the Interaction completed. Sent when the Interaction receives Complete/Cancel or naturally terminates. No more input can be sent to the Interaction after this. # The interaction data, used for interaction.completed events. Used when steps are enabled.
+ "interaction": { # Response for InteractionService.CreateInteraction. # Required. Partial completed interaction resource emitted at the end of the stream.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ },
+ "interactionCreatedEvent": { # Server response confirming that a new interaction was created. # The interaction data, used for interaction.created events. Used when steps are enabled.
+ "interaction": { # Response for InteractionService.CreateInteraction. # Required. Partial interaction resource emitted when the stream is created.
+ "agentInteraction": { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
+ "agent": "A String", # The name of the `Agent` used for generating the completion.
+ "antigravityConfig": { # Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration. # Antigravity agent configuration. This configuration is session-level settings that are passed to the agent runtime on a per-request basis.
+ "maxTotalTokens": "A String", # Max total tokens for the agent run.
+ "model": "A String", # The model to use for agent reasoning.
+ },
+ "codeMenderConfig": { # Configuration for the CodeMender agent.
+ "findRequest": { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
+ "findingId": "A String", # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability.
+ "mode": "A String", # The mode of the find session.
+ "sourceFiles": [ # A list of source files to provide as context for the scan.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "fixRequest": { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
+ "description": "A String", # Additional context or custom instructions provided by the user to guide the patch generation process.
+ "findingId": "A String", # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
+ "sourceFiles": [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
+ { # Content of a single file in the codebase.
+ "content": "A String", # The UTF-8 encoded text content of the file.
+ "path": "A String", # The relative path of the file from the project root.
+ },
+ ],
+ },
+ "model": "A String", # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
+ "sessionConfig": { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
+ "maxRounds": 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
+ },
+ "sessionId": "A String", # Parameter for grouping multiple interactions that belong to the same CodeMender session.
+ },
+ "deepResearchConfig": { # Configuration for the Deep Research agent.
+ "collaborativePlanning": True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
+ "enableBigqueryTool": True or False, # Enables bigquery tool for the Deep Research agent.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "visualization": "A String", # Whether to include visualizations in the response.
+ },
+ "dynamicConfig": { # Configuration for dynamic agents.
+ "config": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ },
+ "content": { # The content of the response. # The content for the interaction.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment.
+ "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
+ "errors": [ # Output only. Diagnostic faults / platform errors recorded on the interaction.
+ { # Error message from an interaction.
+ "code": "A String", # A URI that identifies the error type.
+ "message": "A String", # A human-readable error message.
+ },
+ ],
+ "id": "A String", # Required. Output only. A unique identifier for the interaction completion.
+ "labels": { # The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
+ "a_key": "A String",
+ },
+ "modelInteraction": { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
+ "generationConfig": { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
+ "maxOutputTokens": 42, # The maximum number of tokens to include in the response.
+ "seed": 42, # Seed used in decoding for reproducibility.
+ "stopSequences": [ # A list of character sequences that will stop output interaction.
+ "A String",
+ ],
+ "structuredSpeechConfig": { # Configuration for multi-speaker and speech generation. # Speech and multi-speaker configuration.
+ "speakers": [ # Individual speaker configurations.
+ { # The configuration for speech interaction.
+ "language": "A String", # The language of the speech.
+ "speaker": "A String", # The speaker's name, it should match the speaker name given in the prompt.
+ "voice": "A String", # The voice of the speaker.
+ },
+ ],
+ },
+ "temperature": 3.14, # Controls the randomness of the output.
+ "thinkingLevel": "A String", # The level of thought tokens that the model should generate.
+ "thinkingSummaries": "A String", # Whether to include thought summaries in the response.
+ "toolChoiceConfig": { # The tool choice configuration containing allowed tools. # The config for the tool choice.
+ "allowedTools": { # The configuration for allowed tools. # The allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ },
+ "toolChoiceMode": "A String", # The mode of the tool choice.
+ "topP": 3.14, # The maximum cumulative probability of tokens to consider when sampling.
+ "transcriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for speech recognition (transcription). If present, ASR is enabled.
+ "adaptationPhrases": [ # Optional. A list of phrases to bias the ASR model towards.
+ "A String",
+ ],
+ "customVocabulary": [ # Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
+ "A String",
+ ],
+ "diarizationMode": "A String", # Optional. Configures speaker diarization. Supported values: "speaker".
+ "languageCodes": [ # Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
+ "A String",
+ ],
+ "timestampGranularities": [ # Optional. The granularity of timestamps to include in the transcription output. Supported values: "word". If empty, no timestamps are generated.
+ "A String",
+ ],
+ },
+ "videoConfig": { # Configuration options for video generation. # Configuration for video generation.
+ "task": "A String", # Optional task mode for video generation. If not specified, the model automatically determines the appropriate mode based on the provided text prompt and input media.
+ },
+ },
+ "model": "A String", # The name of the `Model` used for generating the completion.
+ },
+ "previousInteractionId": "A String", # The ID of the previous interaction, if any.
+ "responseFormatList": {
+ "responseFormats": [
+ {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ ],
+ },
+ "responseFormatSingleton": {
+ "audio": { # Configuration for audio output format.
+ "bitRate": 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
+ "delivery": "A String", # The delivery mode for the audio output.
+ "mimeType": "A String", # The MIME type of the audio output.
+ "sampleRate": 42, # Sample rate in Hz.
+ },
+ "image": { # Configuration for image output format.
+ "aspectRatio": "A String", # The aspect ratio for the image output.
+ "delivery": "A String", # The delivery mode for the image output.
+ "imageSize": "A String", # The size of the image output.
+ "mimeType": "A String", # The MIME type of the image output.
+ },
+ "structValue": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "text": { # Configuration for text output format.
+ "mimeType": "A String", # The MIME type of the text output.
+ "schema": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ },
+ "video": { # Configuration for video output format.
+ "aspectRatio": "A String", # The aspect ratio for the video output.
+ "delivery": "A String", # The delivery mode for the video output.
+ "duration": "A String", # The duration for the video output.
+ "gcsUri": "A String", # The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI.
+ "resolution": "A String", # The video output resolution. Defaults to 720p.
+ },
+ },
+ "safetySettings": [ # Safety settings for the interaction.
+ { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.
+ "method": "A String", # Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
+ "threshold": "A String", # Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
+ "type": "A String", # Required. The type of harm category to be blocked.
+ },
+ ],
+ "serviceTier": "A String", # The service tier for the interaction.
+ "status": "A String", # Required. Output only. The status of the interaction.
+ "stepList": { # A list of Steps. # Input only. The steps for the interaction.
+ "steps": [ # The steps of the list.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ },
+ "steps": [ # Required. Output only. The steps that make up the interaction, when included in the response.
+ { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ ],
+ "stringContent": "A String", # A string input for the interaction, it will be processed as a single text input.
+ "systemInstruction": "A String", # System instruction for the interaction.
+ "tools": [ # A list of tool declarations the model may call during interaction.
+ { # A tool that can be used by the model.
+ "codeExecution": { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
+ },
+ "computerUse": { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
+ "disabledSafetyPolicies": [ # Optional. Disabled safety policies for computer use.
+ "A String",
+ ],
+ "enablePromptInjectionDetection": True or False, # Whether enable the prompt injection detection check on computer-use request.
+ "environment": "A String", # The environment being operated.
+ "excludedPredefinedFunctions": [ # The list of predefined functions that are excluded from the model call.
+ "A String",
+ ],
+ },
+ "fileSearch": { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
+ "fileSearchStoreNames": [ # The file search store names to search.
+ "A String",
+ ],
+ "metadataFilter": "A String", # Metadata filter to apply to the semantic retrieval documents and chunks.
+ "topK": 42, # The number of semantic retrieval chunks to retrieve.
+ },
+ "function": { # A tool that can be used by the model. # A function that can be used by the model.
+ "description": "A String", # A description of the function.
+ "name": "A String", # The name of the function.
+ "parameters": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function's parameters.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMaps": { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
+ "enableWidget": True or False, # Whether to return a widget context token in the tool call result of the response.
+ "latitude": 3.14, # The latitude of the user's location.
+ "longitude": 3.14, # The longitude of the user's location.
+ },
+ "googleSearch": { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
+ "searchTypes": [ # The types of search grounding to enable.
+ "A String",
+ ],
+ },
+ "mcpServer": { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
+ "allowedTools": [ # The allowed tools.
+ { # The configuration for allowed tools.
+ "mode": "A String", # The mode of the tool choice.
+ "tools": [ # The names of the allowed tools.
+ "A String",
+ ],
+ },
+ ],
+ "headers": { # Optional: Fields for authentication headers, timeouts, etc., if needed.
+ "a_key": "A String",
+ },
+ "name": "A String", # The name of the MCPServer.
+ "url": "A String", # The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp"
+ },
+ "retrieval": { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
+ "exaAiSearchConfig": { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
+ "apiKey": "A String", # Required. The API key for ExaAiSearch.
+ "customConfig": { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "parallelAiSearchConfig": { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
+ "apiKey": "A String", # Optional. The API key for ParallelAiSearch.
+ "customConfig": { # Optional. Custom configs for ParallelAiSearch.
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "ragStoreConfig": { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
+ "ragResources": [ # Optional. The representation of the rag source.
+ { # The definition of the Rag resource.
+ "ragCorpus": "A String", # Optional. RagCorpora resource name.
+ "ragFileIds": [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
+ "A String",
+ ],
+ },
+ ],
+ "ragRetrievalConfig": { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
+ "filter": { # Config for filters. # Optional. Config for filters.
+ "metadataFilter": "A String", # Optional. String for metadata filtering.
+ "vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
+ "vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
+ },
+ "hybridSearch": { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
+ "alpha": 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
+ },
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
+ "rankService": { # Config for Rank Service. # Config for Rank Service.
+ "modelName": "A String", # Optional. The model name of the rank service.
+ },
+ },
+ "topK": 42, # Optional. The number of contexts to retrieve.
+ },
+ },
+ "retrievalTypes": [ # The types of file retrieval to enable.
+ "A String",
+ ],
+ "vertexAiSearchConfig": { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
+ "datastores": [ # Optional. Used to specify Vertex AI Search datastores.
+ "A String",
+ ],
+ "engine": "A String", # Optional. Used to specify Vertex AI Search engine.
+ },
+ },
+ "urlContext": { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
+ },
+ },
+ ],
+ "updated": "A String", # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
+ "usage": { # Statistics on the interaction request's token usage. # Output only. Statistics on the interaction request's token usage.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ },
+ "interactionStatusUpdate": { # The interaction status data, used for interaction.status_update events.
+ "interactionId": "A String",
+ "status": "A String",
+ "usage": { # Statistics on the interaction request's token usage. # Model usage statistics up to this checkpoint.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+ "stepDelta": { # The step delta data, used for step.delta events. Step-based streaming event, used when steps are enabled.
+ "delta": {
+ "argumentsDelta": {
+ "arguments": "A String",
+ },
+ "audio": {
+ "channels": 42, # The number of audio channels.
+ "data": "A String",
+ "mimeType": "A String",
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String",
+ },
+ "document": {
+ "data": "A String",
+ "mimeType": "A String",
+ "uri": "A String",
+ },
+ "functionResult": {
+ "isError": True or False,
+ "name": "A String",
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "image": {
+ "data": "A String",
+ "mimeType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String",
+ },
+ "serverToolCall": {
+ "codeExecutionCall": {
+ "arguments": { # The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": {
+ },
+ "googleMapsCall": {
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": {
+ "arguments": { # The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ },
+ "processingCall": { # Streaming delta for a server-initiated media processing step.
+ },
+ "retrievalCall": { # Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the Retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": {
+ "arguments": { # The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "serverToolResult": {
+ "codeExecutionResult": {
+ "isError": True or False,
+ "result": "A String",
+ },
+ "fileSearchResult": {
+ "result": [
+ { # The result of the File Search.
+ },
+ ],
+ },
+ "googleMapsResult": {
+ "result": [ # The results of the Google Maps.
+ { # The result of the Google Maps.
+ "places": [ # The places that were found.
+ {
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ ],
+ "widgetContextToken": "A String", # Resource name of the Google Maps widget context token.
+ },
+ ],
+ },
+ "googleSearchResult": {
+ "isError": True or False,
+ "result": [
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # Streaming delta for the result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. ToolResultDelta.type
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": {
+ "isError": True or False,
+ "result": [
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "text": {
+ "text": "A String",
+ },
+ "textAnnotationDelta": {
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ },
+ "thoughtSignature": {
+ "signature": "A String", # Signature to match the backend source to be part of the generation.
+ },
+ "thoughtSummary": {
+ "content": { # The content of the response. # A new summary item to be added to the thought.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ },
+ "video": {
+ "data": "A String",
+ "mimeType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String",
+ },
+ },
+ "index": 42,
+ },
+ "stepStart": { # The step start data, used for step.start events. Step-based streaming event, used when steps are enabled.
+ "index": 42,
+ "step": { # A step in the interaction.
+ "modelOutput": { # Output generated by the model.
+ "content": [
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ },
+ "thought": { # A thought step.
+ "signature": "A String", # A signature hash for backend validation.
+ "summary": [ # A summary of the thought.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "toolCall": { # Tool call step.
+ "codeExecutionCall": { # Code execution call step.
+ "arguments": { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
+ "code": "A String", # The code to be executed.
+ "language": "A String", # Programming language of the `code`.
+ },
+ },
+ "fileSearchCall": { # File Search call step.
+ },
+ "functionCall": { # A function tool call step.
+ "arguments": { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
+ "fields": [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
+ { # Represents a single field in a struct.
+ "name": "A String",
+ "value": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required. The name of the tool to call.
+ },
+ "googleMapsCall": { # Google Maps call step.
+ "arguments": { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
+ "queries": [ # The queries to be executed.
+ "A String",
+ ],
+ },
+ },
+ "googleSearchCall": { # Google Search call step.
+ "arguments": { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
+ "queries": [ # Web search queries for the following-up web search.
+ "A String",
+ ],
+ },
+ "searchType": "A String", # The type of search grounding enabled.
+ },
+ "id": "A String", # Required. A unique ID for this specific tool call.
+ "processingCall": { # A server-initiated processing step for media analysis (e.g. video understanding).
+ },
+ "retrievalCall": { # Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
+ "arguments": { # The arguments to pass to Retrieval tools. # Required. The arguments to pass to the retrieval tool.
+ "queries": [ # Queries for Retrieval information.
+ "A String",
+ ],
+ },
+ "retrievalType": "A String", # The type of retrieval tools.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextCall": { # URL context call step.
+ "arguments": { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
+ "urls": [ # The URLs to fetch.
+ "A String",
+ ],
+ },
+ },
+ },
+ "toolResult": { # Tool result step.
+ "callId": "A String", # Required. ID to match the ID from the function call block.
+ "codeExecutionResult": { # Code execution result step.
+ "isError": True or False, # Whether the code execution resulted in an error.
+ "result": "A String", # Required. The output of the code execution.
+ },
+ "fileSearchResult": { # File Search result step.
+ },
+ "functionResult": { # Result of a function tool call.
+ "isError": True or False, # Whether the tool call resulted in an error.
+ "name": "A String", # The name of the tool that was called.
+ "result": { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Required. The result of the tool call.
+ "boolValue": True or False, # Represents a boolean value.
+ "contentValue": { # The content of the response. # Represents rich content (text, image, etc.).
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ "listValue": { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
+ "values": [ # Repeated field of dynamically typed values.
+ # Object with schema name: GenaiVertexV1Value
+ ],
+ },
+ "nullValue": "A String", # Represents a null value.
+ "numberValue": 3.14, # Represents a double value.
+ "stringValue": "A String", # Represents a string value.
+ "structValue": # Object with schema name: GenaiVertexV1Struct # Represents a structured value.
+ },
+ },
+ "googleMapsResult": { # Google Maps result step.
+ "result": [
+ { # The result of the Google Maps.
+ "places": [
+ {
+ "name": "A String",
+ "placeId": "A String",
+ "reviewSnippets": [
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String",
+ },
+ ],
+ "widgetContextToken": "A String",
+ },
+ ],
+ },
+ "googleSearchResult": { # Google Search result step.
+ "isError": True or False, # Whether the Google Search resulted in an error.
+ "result": [ # Required. The results of the Google Search.
+ { # The result of the Google Search.
+ "searchSuggestions": "A String", # Web content snippet that can be embedded in a web page or an app webview.
+ },
+ ],
+ },
+ "processingResult": { # The result of a server-initiated media processing step.
+ },
+ "retrievalResult": { # Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
+ "isError": True or False, # Whether the retrieval resulted in an error.
+ },
+ "signature": "A String", # A signature hash for backend validation.
+ "urlContextResult": { # URL context result step.
+ "isError": True or False, # Whether the URL context resulted in an error.
+ "result": [ # Required. The results of the URL context.
+ { # The result of the URL context.
+ "status": "A String", # The status of the URL retrieval.
+ "url": "A String", # The URL that was fetched.
+ },
+ ],
+ },
+ },
+ "userInput": { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
+ "contentList": { # A list of Content. # The content of the step. An array of Content objects.
+ "contents": [ # The contents of the list.
+ { # The content of the response.
+ "audio": { # An audio content block.
+ "channels": 42, # The number of audio channels.
+ "data": "A String", # The audio content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "sampleRate": 42, # The sample rate of the audio.
+ "uri": "A String", # The URI of the audio.
+ },
+ "document": { # A document content block.
+ "data": "A String", # The document content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "uri": "A String", # The URI of the document.
+ },
+ "image": { # An image content block.
+ "data": "A String", # The image content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the image.
+ },
+ "text": { # A text content block.
+ "annotations": [ # Citation information for model-generated content.
+ { # Citation information for model-generated content.
+ "endIndex": 42, # End of the attributed segment, exclusive.
+ "fileCitation": { # A file citation annotation. # A file citation annotation.
+ "customMetadata": { # User provided metadata about the retrieved context.
+ "a_key": "", # Properties of the object.
+ },
+ "documentUri": "A String", # The URI of the file.
+ "fileName": "A String", # The name of the file.
+ "mediaId": "A String", # Media ID in-case of image citations, if applicable.
+ "pageNumber": 42, # Page number of the cited document, if applicable.
+ "source": "A String", # Source attributed for a portion of the text.
+ },
+ "placeCitation": { # A place citation annotation. # A place citation annotation.
+ "name": "A String", # Title of the place.
+ "placeId": "A String", # The ID of the place, in `places/{place_id}` format.
+ "reviewSnippets": [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
+ { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
+ "reviewId": "A String", # The ID of the review snippet.
+ "title": "A String", # Title of the review.
+ "url": "A String", # A link that corresponds to the user review on Google Maps.
+ },
+ ],
+ "url": "A String", # URI reference of the place.
+ },
+ "speechMetadata": { # Speech annotation for text content. # Speech annotation for text content.
+ "speaker": "A String", # The speaker to associate with this turn.
+ "style": "A String", # Style instruction for the speech synthesis.
+ },
+ "startIndex": 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
+ "urlCitation": { # A URL citation annotation. # NOTE: We use these instead of the Citation message for historical reasons. A URL citation annotation.
+ "title": "A String", # The title of the URL.
+ "url": "A String", # The URL.
+ },
+ "wordInfo": { # Word-level ASR annotation for transcription output. Carries the word text, optional timing, and optional speaker attribution. # Word-level ASR annotation with timing and speaker info.
+ "endOffset": "A String", # End offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "speaker": "A String", # Optional. Speaker label for this word (e.g. "spk_1", "spk_2"). Present when diarization_mode is set in TranscriptionConfig.
+ "startOffset": "A String", # Start offset in time of the word relative to the start of the audio. Present when timestamp_granularities contains "word".
+ "text": "A String", # The transcribed word.
+ },
+ },
+ ],
+ "text": "A String", # Required. The text content.
+ },
+ "video": { # A video content block.
+ "data": "A String", # The video content.
+ "mimeTypeString": "A String", # Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key.
+ "name": "A String", # A user-defined name for this content block. Can be referenced by the model in the final response.
+ "processingConfig": {
+ "static": {
+ "endOffset": "A String", # Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
+ "fps": 3.14, # Optional. Video frame-rate sampling density.
+ "startOffset": "A String", # Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
+ },
+ },
+ "processingType": "A String",
+ "resolution": "A String", # The resolution of the media.
+ "uri": "A String", # The URI of the video.
+ },
+ },
+ ],
+ },
+ "contentString": "A String", # The content of the step. A single string.
+ },
+ },
+ },
+ "stepStop": { # The step stop data, used for step.stop events. Step-based streaming event, used when steps are enabled.
+ "index": 42,
+ "stepUsage": { # Statistics on the interaction request's token usage. # Model usage stats for this specific step.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ "usage": { # Statistics on the interaction request's token usage. # Cumulative model usage stats from the start of the session.
+ "cachedTokensByModality": [ # A breakdown of cached token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "groundingToolCount": [ # Grounding tool count.
+ { # The number of grounding tool counts.
+ "count": 42, # The number of grounding tool counts.
+ "type": "A String", # The grounding tool type associated with the count.
+ },
+ ],
+ "inputTokensByModality": [ # A breakdown of input token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "outputTokensByModality": [ # A breakdown of output token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "toolUseTokensByModality": [ # A breakdown of tool-use token usage by modality.
+ { # The token count for a single response modality.
+ "modality": "A String", # The modality associated with the token count.
+ "tokens": 42, # Number of tokens for the modality.
+ },
+ ],
+ "totalCachedTokens": 42, # Number of tokens in the cached part of the prompt (the cached content).
+ "totalInputTokens": 42, # Number of tokens in the prompt (context).
+ "totalOutputTokens": 42, # Total number of tokens across all the generated responses.
+ "totalThoughtTokens": 42, # Number of tokens of thoughts for thinking models.
+ "totalTokens": 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
+ "totalToolUseTokens": 42, # Number of tokens present in tool-use prompt(s).
+ },
+ },
+}
+delete(name, x__xgafv=None)
+ Deletes an interaction.
+
+Args:
+ name: string, Required. The name of the interaction to delete. Format: interactions/{interaction} (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response for InteractionService.DeleteInteraction.
+}
+Cancels an interaction by id. This only applies to background interactions that are still running.
+
+ close()
Close httplib2 connections.
+
+ create(parent, body=None, x__xgafv=None)
Creates a new interaction.
+
+ get(name, lastEventId=None, stream=None, x__xgafv=None)
Retrieves the full details of a single interaction based on its `Interaction.id`.
+cancel(name, x__xgafv=None)
+ Cancels an interaction by id. This only applies to background interactions that are still running.
+
+Args:
+ name: string, Required. The name of the interaction to cancel. Format: `interactions/{interaction}`. (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+ "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+ "data": "A String", # The HTTP request/response body as raw binary.
+ "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+}
+close()
+ Close httplib2 connections.+
create(parent, body=None, x__xgafv=None)
+ Creates a new interaction.
+
+Args:
+ parent: string, Required. The parent resource where this interaction will be created. Format: `projects/{project}/locations/{location}` Supported only by the Vertex API only. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for [InteractionsService.CreateInteractionHttp].
+ "httpBody": { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # Required. The interaction to create.
+ "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+ "data": "A String", # The HTTP request/response body as raw binary.
+ "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ },
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+ "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+ "data": "A String", # The HTTP request/response body as raw binary.
+ "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+}
+get(name, lastEventId=None, stream=None, x__xgafv=None)
+ Retrieves the full details of a single interaction based on its `Interaction.id`.
+
+Args:
+ name: string, Required. The name of the interaction to retrieve. Format: interactions/{interaction} (required)
+ lastEventId: string, If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.
+ stream: boolean, If true, streams the interaction events as Server-Sent Events.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+ "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+ "data": "A String", # The HTTP request/response body as raw binary.
+ "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+}
+Returns the assessmentRules Resource.
- -Returns the assistantSessions Resource.
- @@ -375,6 +370,7 @@
fetchGitAheadBehind(name, remoteBranch=None, x__xgafv=None)
Fetches Git ahead/behind against a remote branch.
+
+ fetchHistory(name, pageSize=None, pageToken=None, x__xgafv=None)
Fetches a Workspace's history of commits.
+
+ fetchHistory_next(previous_request, previous_response)
Retrieves the next page of results.
Fetches a single Workspace.
@@ -477,6 +483,53 @@fetchHistory(name, pageSize=None, pageToken=None, x__xgafv=None)
+ Fetches a Workspace's history of commits.
+
+Args:
+ name: string, Required. The workspace's name. (required)
+ pageSize: integer, Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
+ pageToken: string, Optional. Page token received from a previous `FetchWorkspaceHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchWorkspaceHistory`, with the exception of `page_size`, must match the call that provided the page token.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # `FetchWorkspaceHistory` response message.
+ "commits": [ # A list of commit logs, ordered by 'git log' default order.
+ { # Represents a single commit log.
+ "author": { # Represents the author of a Git commit. # The commit author for this commit log entry.
+ "emailAddress": "A String", # Required. The commit author's email address.
+ "name": "A String", # Required. The commit author's name.
+ },
+ "commitMessage": "A String", # The commit message for this commit log entry.
+ "commitSha": "A String", # The commit SHA for this commit log entry.
+ "commitTime": "A String", # Commit timestamp.
+ },
+ ],
+ "nextPageToken": "A String", # Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+ "reachesShallowBoundary": True or False, # Whether this response reaches the shallow boundary of the repository.
+}
+fetchHistory_next(previous_request, previous_response)
+ Retrieves the next page of results. + +Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + +Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++
get(name, x__xgafv=None)
Fetches a single Workspace. diff --git a/docs/dyn/dataform_v1beta1.projects.locations.teamFolders.html b/docs/dyn/dataform_v1beta1.projects.locations.teamFolders.html index 8ff82df609..ebe5f1481e 100644 --- a/docs/dyn/dataform_v1beta1.projects.locations.teamFolders.html +++ b/docs/dyn/dataform_v1beta1.projects.locations.teamFolders.html @@ -358,6 +358,7 @@Method Details
}, }, "gitRemoteSettings": { # Controls Git remote configuration for a repository. # Optional. If set, configures this repository to be linked to a Git remote. + "accountConnector": "A String", # Optional. Resource name for the Account Connector used for personal authentication. Must be in the format `projects/*/locations/*/accountConnectors/*` "authenticationTokenSecretVersion": "A String", # Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`. "defaultBranch": "A String", # Optional. The Git remote's default branch name. If not set, `main` will be used. "effectiveDefaultBranch": "A String", # Output only. The Git remote's effective default branch name. This is the default branch name of the Git remote if it is set, otherwise it is `main`. diff --git a/googleapiclient/discovery_cache/documents/dataform.v1.json b/googleapiclient/discovery_cache/documents/dataform.v1.json index 9765fa5e6a..819131cd68 100644 --- a/googleapiclient/discovery_cache/documents/dataform.v1.json +++ b/googleapiclient/discovery_cache/documents/dataform.v1.json @@ -3220,7 +3220,7 @@ } } }, -"revision": "20260920", +"revision": "20261011", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -4439,7 +4439,7 @@ "properties": { "endUserAuthConfig": { "$ref": "EndUserAuthenticationConfig", -"description": "Optional. Configuration for end user authentication. Note that this should not be set when `service_account` is used." +"description": "Optional. Configuration for end user authentication. Do not set if `service_account` is used." }, "executionMode": { "description": "Optional. Specifies the execution mode for the workflow invocation.", diff --git a/googleapiclient/discovery_cache/documents/dataform.v1beta1.json b/googleapiclient/discovery_cache/documents/dataform.v1beta1.json index f8051ae51c..de7798dd87 100644 --- a/googleapiclient/discovery_cache/documents/dataform.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/dataform.v1beta1.json @@ -2463,6 +2463,43 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"fetchHistory": { +"description": "Fetches a Workspace's history of commits.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchHistory", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.fetchHistory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `FetchWorkspaceHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchWorkspaceHistory`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:fetchHistory", +"response": { +"$ref": "FetchWorkspaceHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, "get": { "description": "Fetches a single Workspace.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}", @@ -3428,7 +3465,7 @@ } } }, -"revision": "20260920", +"revision": "20261011", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -4446,6 +4483,28 @@ }, "type": "object" }, +"FetchWorkspaceHistoryResponse": { +"description": "`FetchWorkspaceHistory` response message.", +"id": "FetchWorkspaceHistoryResponse", +"properties": { +"commits": { +"description": "A list of commit logs, ordered by 'git log' default order.", +"items": { +"$ref": "CommitLogEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"reachesShallowBoundary": { +"description": "Whether this response reaches the shallow boundary of the repository.", +"type": "boolean" +} +}, +"type": "object" +}, "FileOperation": { "description": "Represents a single file operation to the repository.", "id": "FileOperation", @@ -4590,6 +4649,10 @@ "description": "Controls Git remote configuration for a repository.", "id": "GitRemoteSettings", "properties": { +"accountConnector": { +"description": "Optional. Resource name for the Account Connector used for personal authentication. Must be in the format `projects/*/locations/*/accountConnectors/*`", +"type": "string" +}, "authenticationTokenSecretVersion": { "description": "Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.", "type": "string" @@ -4742,7 +4805,7 @@ "properties": { "endUserAuthConfig": { "$ref": "EndUserAuthenticationConfig", -"description": "Optional. Configuration for end user authentication. Note that this should not be set when `service_account` is used." +"description": "Optional. Configuration for end user authentication. Do not set if `service_account` is used." }, "executionMode": { "description": "Optional. Specifies the execution mode for the workflow invocation.", From ba05d7c86874d121aa17fdcb5f46e49a5ec714bd Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:00 +0000 Subject: [PATCH 11/34] feat(datalineage): update the api #### datalineage:v1 The following keys were added: - schemas.GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters.properties.projects (Total Keys: 2) --- docs/dyn/datalineage_v1.projects.locations.html | 3 +++ .../discovery_cache/documents/datalineage.v1.json | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/dyn/datalineage_v1.projects.locations.html b/docs/dyn/datalineage_v1.projects.locations.html index 0043f77676..fddfe9b17d 100644 --- a/docs/dyn/datalineage_v1.projects.locations.html +++ b/docs/dyn/datalineage_v1.projects.locations.html @@ -213,6 +213,9 @@ Method Details
"A String", ], "entitySet": "A String", # Optional. Entity set restriction. If unspecified, the method returns all entities. + "projects": [ # Optional. Projects to restrict lineage links to. Callers can provide project IDs (for example, `projects/my-project`) or project numbers (for example, `projects/123456789`). If unspecified, lineage is returned from all projects. + "A String", + ], "timeRange": { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Optional. Time interval to search for lineage. If unspecified, all lineage is returned. Currently, at most one of `start_time` and `end_time` can be set. "endTime": "A String", # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. "startTime": "A String", # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. diff --git a/googleapiclient/discovery_cache/documents/datalineage.v1.json b/googleapiclient/discovery_cache/documents/datalineage.v1.json index 3553fcc83f..61b16d6102 100644 --- a/googleapiclient/discovery_cache/documents/datalineage.v1.json +++ b/googleapiclient/discovery_cache/documents/datalineage.v1.json @@ -1279,7 +1279,7 @@ } } }, -"revision": "20260912", +"revision": "20261009", "rootUrl": "https://datalineage.googleapis.com/", "schemas": { "GoogleCloudDatacatalogLineageConfigmanagementV1Config": { @@ -2012,6 +2012,13 @@ ], "type": "string" }, +"projects": { +"description": "Optional. Projects to restrict lineage links to. Callers can provide project IDs (for example, `projects/my-project`) or project numbers (for example, `projects/123456789`). If unspecified, lineage is returned from all projects.", +"items": { +"type": "string" +}, +"type": "array" +}, "timeRange": { "$ref": "GoogleTypeInterval", "description": "Optional. Time interval to search for lineage. If unspecified, all lineage is returned. Currently, at most one of `start_time` and `end_time` can be set." From a8b09a5865b3d8c1f6e403da5276556413c8cd04 Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:00 +0000 Subject: [PATCH 12/34] feat(dataplex): update the api #### dataplex:v1 The following keys were added: - resources.projects.resources.locations.resources.entryGroups.methods.batchChangeMetadata (Total Keys: 12) - resources.projects.resources.locations.resources.entryGroups.methods.requestBatchMetadataChange (Total Keys: 12) - schemas.GoogleCloudDataplexV1BatchChangeMetadataRequest (Total Keys: 13) - schemas.GoogleCloudDataplexV1BatchChangeMetadataResponse (Total Keys: 4) - schemas.GoogleCloudDataplexV1ChangeRequest.properties.batchChangeMetadataRequest.$ref (Total Keys: 1) - schemas.GoogleCloudDataplexV1ChangeRequest.properties.batchChangeMetadataResponse (Total Keys: 2) - schemas.GoogleCloudDataplexV1EntryGroup.properties.changeRequestConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDataplexV1EntryGroupChangeRequestConfig (Total Keys: 4) - schemas.GoogleCloudDataplexV1RequestBatchMetadataChangeRequest (Total Keys: 6) - schemas.GoogleCloudDataplexV1RequestBatchMetadataChangeResponse (Total Keys: 3) - schemas.GoogleCloudDataplexV1UpdateEntryLinkRequest (Total Keys: 6) --- ...lex_v1.projects.locations.aspectTypes.html | 8 +- ..._v1.projects.locations.changeRequests.html | 1194 +++++++++++++++++ ...ex_v1.projects.locations.dataProducts.html | 199 +++ ...lex_v1.projects.locations.entryGroups.html | 466 +++++++ .../documents/dataplex.v1.json | 256 +++- 5 files changed, 2113 insertions(+), 10 deletions(-) diff --git a/docs/dyn/dataplex_v1.projects.locations.aspectTypes.html b/docs/dyn/dataplex_v1.projects.locations.aspectTypes.html index 4b8853b825..cbad55a96e 100644 --- a/docs/dyn/dataplex_v1.projects.locations.aspectTypes.html +++ b/docs/dyn/dataplex_v1.projects.locations.aspectTypes.html @@ -137,7 +137,7 @@ Method Details
"description": "A String", # Optional. Description for a field. "displayName": "A String", # Optional. Display name for a field. "displayOrder": 42, # Optional. Display order for a field. You can use this to reorder where a field is rendered. - "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference. + "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. markdown: The field must be interpreted as a markdown field. url: A fully qualified URL link. resource: A service qualified resource reference. "stringValues": [ # Optional. Suggested hints for string fields. You can use them to suggest values to users through console. "A String", ], @@ -268,7 +268,7 @@Method Details
"description": "A String", # Optional. Description for a field. "displayName": "A String", # Optional. Display name for a field. "displayOrder": 42, # Optional. Display order for a field. You can use this to reorder where a field is rendered. - "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference. + "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. markdown: The field must be interpreted as a markdown field. url: A fully qualified URL link. resource: A service qualified resource reference. "stringValues": [ # Optional. Suggested hints for string fields. You can use them to suggest values to users through console. "A String", ], @@ -387,7 +387,7 @@Method Details
"description": "A String", # Optional. Description for a field. "displayName": "A String", # Optional. Display name for a field. "displayOrder": 42, # Optional. Display order for a field. You can use this to reorder where a field is rendered. - "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference. + "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. markdown: The field must be interpreted as a markdown field. url: A fully qualified URL link. resource: A service qualified resource reference. "stringValues": [ # Optional. Suggested hints for string fields. You can use them to suggest values to users through console. "A String", ], @@ -467,7 +467,7 @@Method Details
"description": "A String", # Optional. Description for a field. "displayName": "A String", # Optional. Display name for a field. "displayOrder": 42, # Optional. Display order for a field. You can use this to reorder where a field is rendered. - "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference. + "stringType": "A String", # Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. markdown: The field must be interpreted as a markdown field. url: A fully qualified URL link. resource: A service qualified resource reference. "stringValues": [ # Optional. Suggested hints for string fields. You can use them to suggest values to users through console. "A String", ], diff --git a/docs/dyn/dataplex_v1.projects.locations.changeRequests.html b/docs/dyn/dataplex_v1.projects.locations.changeRequests.html index ccaf7da4ba..82b5991963 100644 --- a/docs/dyn/dataplex_v1.projects.locations.changeRequests.html +++ b/docs/dyn/dataplex_v1.projects.locations.changeRequests.html @@ -133,6 +133,205 @@Method Details
{ # Represents a proposed change to a metadata resource. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. @@ -443,6 +642,205 @@Method Details
{ # Represents a proposed change to a metadata resource. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. @@ -783,6 +1181,205 @@Method Details
{ # Represents a proposed change to a metadata resource. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. @@ -1084,6 +1681,205 @@Method Details
{ # Represents a proposed change to a metadata resource. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. @@ -1364,6 +2160,205 @@Method Details
{ # Represents a proposed change to a metadata resource. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. @@ -1658,6 +2653,205 @@Method Details
{ # Represents a proposed change to a metadata resource. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. diff --git a/docs/dyn/dataplex_v1.projects.locations.dataProducts.html b/docs/dyn/dataplex_v1.projects.locations.dataProducts.html index 5a16eaa08c..f8bbe09ea1 100644 --- a/docs/dyn/dataplex_v1.projects.locations.dataProducts.html +++ b/docs/dyn/dataplex_v1.projects.locations.dataProducts.html @@ -500,6 +500,205 @@Method Details
"changeRequest": { # Represents a proposed change to a metadata resource. # Required. The change request for the data product access request. "approver": "A String", # Output only. The email address of the user who approved/rejected the ChangeRequest. "author": "A String", # Output only. The email address of the user who created the ChangeRequest. + "batchChangeMetadataRequest": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Payload for executing a batch of catalog changes. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "batchChangeMetadataResponse": { # Response message for BatchChangeMetadata. # Output only. Result of applying a batch change metadata request. + "failedRequests": { # A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. + "a_key": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + }, + }, "changeType": "A String", # Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. "createEntry": { # Create Entry request. # Payload for creating an Entry. "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. diff --git a/docs/dyn/dataplex_v1.projects.locations.entryGroups.html b/docs/dyn/dataplex_v1.projects.locations.entryGroups.html index ab17317755..4dbadeaa2a 100644 --- a/docs/dyn/dataplex_v1.projects.locations.entryGroups.html +++ b/docs/dyn/dataplex_v1.projects.locations.entryGroups.html @@ -84,6 +84,9 @@Instance Methods
Returns the entryLinks Resource.
++
+batchChangeMetadata(name, body=None, x__xgafv=None)Batch changes metadata within an EntryGroup.
Close httplib2 connections.
@@ -108,6 +111,9 @@Instance Methods
patch(name, body=None, updateMask=None, validateOnly=None, x__xgafv=None)Updates an EntryGroup.
++
+requestBatchMetadataChange(name, body=None, x__xgafv=None)Submits a catalog change request for multiple resources within an EntryGroup. This method creates a ChangeRequest resource that must be reviewed and approved before the proposed changes are applied.
setIamPolicy(resource, body=None, x__xgafv=None)Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
@@ -115,6 +121,231 @@Instance Methods
testIamPermissions(resource, body=None, x__xgafv=None)Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
Method Details
+++batchChangeMetadata(name, body=None, x__xgafv=None)+Batch changes metadata within an EntryGroup. + +Args: + name: string, Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} (required) + body: object, The request body. + The object takes the form of: + +{ # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. + "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}++close()Close httplib2 connections.@@ -130,6 +361,11 @@Method Details
The object takes the form of: { # An Entry Group represents a logical grouping of one or more Entries. + "changeRequestConfig": { # Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. # Optional. Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. + "approverEmails": [ # Optional. Specifies the email addresses of users who are potential approvers and are notified when a change request is created for the metadata belonging to the Entry Group. The maximum number of emails allowed is 10. + "A String", + ], + }, "createTime": "A String", # Output only. The time when the EntryGroup was created. "description": "A String", # Optional. Description of the EntryGroup. "displayName": "A String", # Optional. User friendly display name. @@ -225,6 +461,11 @@Method Details
An object of the form: { # An Entry Group represents a logical grouping of one or more Entries. + "changeRequestConfig": { # Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. # Optional. Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. + "approverEmails": [ # Optional. Specifies the email addresses of users who are potential approvers and are notified when a change request is created for the metadata belonging to the Entry Group. The maximum number of emails allowed is 10. + "A String", + ], + }, "createTime": "A String", # Output only. The time when the EntryGroup was created. "description": "A String", # Optional. Description of the EntryGroup. "displayName": "A String", # Optional. User friendly display name. @@ -308,6 +549,11 @@Method Details
{ # List entry groups response. "entryGroups": [ # Entry groups under the given parent location. { # An Entry Group represents a logical grouping of one or more Entries. + "changeRequestConfig": { # Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. # Optional. Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. + "approverEmails": [ # Optional. Specifies the email addresses of users who are potential approvers and are notified when a change request is created for the metadata belonging to the Entry Group. The maximum number of emails allowed is 10. + "A String", + ], + }, "createTime": "A String", # Output only. The time when the EntryGroup was created. "description": "A String", # Optional. Description of the EntryGroup. "displayName": "A String", # Optional. User friendly display name. @@ -352,6 +598,11 @@Method Details
The object takes the form of: { # An Entry Group represents a logical grouping of one or more Entries. + "changeRequestConfig": { # Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. # Optional. Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. + "approverEmails": [ # Optional. Specifies the email addresses of users who are potential approvers and are notified when a change request is created for the metadata belonging to the Entry Group. The maximum number of emails allowed is 10. + "A String", + ], + }, "createTime": "A String", # Output only. The time when the EntryGroup was created. "description": "A String", # Optional. Description of the EntryGroup. "displayName": "A String", # Optional. User friendly display name. @@ -396,6 +647,221 @@Method Details
}++requestBatchMetadataChange(name, body=None, x__xgafv=None)+Submits a catalog change request for multiple resources within an EntryGroup. This method creates a ChangeRequest resource that must be reviewed and approved before the proposed changes are applied. + +Args: + name: string, Required. The resource name of the Entry Group on which the change applies. Format: projects/{project}/locations/{location}/entryGroups/{entry_group} (required) + body: object, The request body. + The object takes the form of: + +{ # Request message for submitting a set of catalog changes proposals. + "changePayload": { # Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types. # Required. The detailed specification of the proposed changes. This payload is intended to be embedded as the change_payload in the resulting ChangeRequest. + "changes": [ # Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. + { # Detailed description of an individual change. + "createEntryLinkRequest": { # Request message for CreateEntryLink. # Payload for creating an EntryLink. + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + "entryLinkId": "A String", # Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. + }, + "createEntryRequest": { # Create Entry request. # Payload for creating an Entry. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "entryId": "A String", # Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + "parent": "A String", # Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}. + }, + "deleteEntryLinkRequest": { # Request message for DeleteEntryLink. # Payload for deleting an EntryLink. + "name": "A String", # Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. + }, + "deleteEntryRequest": { # Delete Entry request. # Payload for deleting an Entry. + "name": "A String", # Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. + }, + "updateEntryLinkRequest": { # Request message for UpdateEntryLink method. # Payload for updating an EntryLink. + "allowMissing": True or False, # Optional. If set to true and the entry link doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "entryLink": { # EntryLink represents a link between two Entries. # Required. Entry Link resource. + "aspects": { # Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the Entry Link was created. + "entryLinkType": "A String", # Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition + "entryReferences": [ # Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. + { # Reference to the Entry that is linked through the Entry Link. + "name": "A String", # Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} + "path": "A String", # Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. + "type": "A String", # Required. Immutable. The reference type of the Entry. + }, + ], + "name": "A String", # Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} + "updateTime": "A String", # Output only. The time when the Entry Link was last updated. + }, + }, + "updateEntryRequest": { # Update Entry request. # Payload for updating an Entry. + "allowMissing": True or False, # Optional. If set to true and the entry doesn't exist, the service will create it. + "aspectKeys": [ # Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + "A String", + ], + "deleteMissingAspects": True or False, # Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. + "entry": { # An entry is a representation of a data resource that can be described by various metadata. # Required. Entry resource. + "aspects": { # Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} + "a_key": { # Represents a single piece of metadata describing an entry or entry link. + "aspectSource": { # Information related to the source system of the aspect. # Optional. Information related to the source system of the aspect. + "createTime": "A String", # The time the aspect was created in the source system. + "dataVersion": "A String", # The version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc). + "updateTime": "A String", # The time the aspect was last updated in the source system. + }, + "aspectType": "A String", # Output only. The resource name of the type used to create this Aspect. + "createTime": "A String", # Output only. The time when the Aspect was created. + "data": { # Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). + "a_key": "", # Properties of the object. + }, + "path": "A String", # Output only. The path in the entry under which the aspect is attached. + "updateTime": "A String", # Output only. The time when the Aspect was last updated. + }, + }, + "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. + "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. + { # Information about individual items in the hierarchy that is associated with the data resource. + "name": "A String", # Optional. The name of the ancestor resource. + "type": "A String", # Optional. The type of the ancestor resource. + }, + ], + "createTime": "A String", # The time when the resource was created in the source system. + "description": "A String", # A description of the data resource. Maximum length is 2,000 characters. + "displayName": "A String", # A user-friendly display name. Maximum length is 500 characters. + "labels": { # User-defined labels. The maximum size of keys and values is 128 characters each. + "a_key": "A String", + }, + "location": "A String", # Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. + "platform": "A String", # The platform containing the source system. Maximum length is 64 characters. + "resource": "A String", # The name of the resource in the source system. Maximum length is 4,000 characters. + "system": "A String", # The name of the source system. Maximum length is 64 characters. + "updateTime": "A String", # The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. + }, + "entryType": "A String", # Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. + "fullyQualifiedName": "A String", # Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. + "name": "A String", # Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "parentEntry": "A String", # Optional. Immutable. The resource name of the parent entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. + "updateTime": "A String", # Output only. The time when the entry was last updated in Dataplex Universal Catalog. + }, + "updateMask": "A String", # Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. + }, + }, + ], + "description": { # Description of the batch change. # Optional. Text description of the batch change. + "content": "A String", # Optional. The text description content. + "job": { # Description of the job that created the batch change. # Optional. The job that created the batch change. + "name": "A String", # Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} + "runTime": "A String", # Optional. The start time of the job run that created the batch change. + }, + }, + "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} + }, + "justification": "A String", # Optional. Justification for the metadata change request. + "labels": { # Optional. User-defined labels for the metadata change request. + "a_key": "A String", + }, +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Response message containing the reference to the created change request. + "changeRequest": "A String", # The resource name of the created ChangeRequest. Format: projects/{project}/locations/{location}/changeRequests/{change_request} +}+@@ -186,10 +186,10 @@setIamPolicy(resource, body=None, x__xgafv=None)Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. diff --git a/googleapiclient/discovery_cache/documents/dataplex.v1.json b/googleapiclient/discovery_cache/documents/dataplex.v1.json index 189a33b8c2..a03407f4ca 100644 --- a/googleapiclient/discovery_cache/documents/dataplex.v1.json +++ b/googleapiclient/discovery_cache/documents/dataplex.v1.json @@ -3486,6 +3486,35 @@ }, "entryGroups": { "methods": { +"batchChangeMetadata": { +"description": "Batch changes metadata within an EntryGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}:batchChangeMetadata", +"httpMethod": "POST", +"id": "dataplex.projects.locations.entryGroups.batchChangeMetadata", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:batchChangeMetadata", +"request": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dataplex.read-write" +] +}, "create": { "description": "Creates an EntryGroup.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups", @@ -3705,6 +3734,35 @@ "https://www.googleapis.com/auth/dataplex.read-write" ] }, +"requestBatchMetadataChange": { +"description": "Submits a catalog change request for multiple resources within an EntryGroup. This method creates a ChangeRequest resource that must be reviewed and approved before the proposed changes are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}:requestBatchMetadataChange", +"httpMethod": "POST", +"id": "dataplex.projects.locations.entryGroups.requestBatchMetadataChange", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Entry Group on which the change applies. Format: projects/{project}/locations/{location}/entryGroups/{entry_group}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:requestBatchMetadataChange", +"request": { +"$ref": "GoogleCloudDataplexV1RequestBatchMetadataChangeRequest" +}, +"response": { +"$ref": "GoogleCloudDataplexV1RequestBatchMetadataChangeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dataplex.read-write" +] +}, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}:setIamPolicy", @@ -7576,7 +7634,7 @@ } } }, -"revision": "20261005", +"revision": "20261012", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -8045,7 +8103,7 @@ "type": "integer" }, "stringType": { -"description": "Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference.", +"description": "Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. markdown: The field must be interpreted as a markdown field. url: A fully qualified URL link. resource: A service qualified resource reference.", "type": "string" }, "stringValues": { @@ -8454,6 +8512,104 @@ }, "type": "object" }, +"GoogleCloudDataplexV1BatchChangeMetadataRequest": { +"description": "Request message for batch changing metadata. Requires permission to perform the underlying change, depending on the type and content of the change. Per operation, required permissions are: - for CreateEntry: dataplex.entries.create - for UpdateEntry: dataplex.entries.update - for DeleteEntry: dataplex.entries.delete - for CreateEntryLink: dataplex.entryLinks.create - for UpdateEntryLink: dataplex.entryLinks.update - for DeleteEntryLink: dataplex.entryLinks.deleteAnd per used type permissions are: - for EntryType: dataplex.entryTypes.use or dataplex.entryGroups.useEntry for reusable built-in types, - for AspectType: dataplex.aspectTypes.use or dataplex.entryGroups.useAspect for reusable built-in types and - for EntryLinkType: dataplex.entryLinkTypes.use or dataplex.entryGroups.useEntryLink for reusable built-in types.", +"id": "GoogleCloudDataplexV1BatchChangeMetadataRequest", +"properties": { +"changes": { +"description": "Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250.", +"items": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequestChange" +}, +"type": "array" +}, +"description": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequestDescription", +"description": "Optional. Text description of the batch change." +}, +"name": { +"description": "Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDataplexV1BatchChangeMetadataRequestChange": { +"description": "Detailed description of an individual change.", +"id": "GoogleCloudDataplexV1BatchChangeMetadataRequestChange", +"properties": { +"createEntryLinkRequest": { +"$ref": "GoogleCloudDataplexV1CreateEntryLinkRequest", +"description": "Payload for creating an EntryLink." +}, +"createEntryRequest": { +"$ref": "GoogleCloudDataplexV1CreateEntryRequest", +"description": "Payload for creating an Entry." +}, +"deleteEntryLinkRequest": { +"$ref": "GoogleCloudDataplexV1DeleteEntryLinkRequest", +"description": "Payload for deleting an EntryLink." +}, +"deleteEntryRequest": { +"$ref": "GoogleCloudDataplexV1DeleteEntryRequest", +"description": "Payload for deleting an Entry." +}, +"updateEntryLinkRequest": { +"$ref": "GoogleCloudDataplexV1UpdateEntryLinkRequest", +"description": "Payload for updating an EntryLink." +}, +"updateEntryRequest": { +"$ref": "GoogleCloudDataplexV1UpdateEntryRequest", +"description": "Payload for updating an Entry." +} +}, +"type": "object" +}, +"GoogleCloudDataplexV1BatchChangeMetadataRequestDescription": { +"description": "Description of the batch change.", +"id": "GoogleCloudDataplexV1BatchChangeMetadataRequestDescription", +"properties": { +"content": { +"description": "Optional. The text description content.", +"type": "string" +}, +"job": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequestDescriptionJob", +"description": "Optional. The job that created the batch change." +} +}, +"type": "object" +}, +"GoogleCloudDataplexV1BatchChangeMetadataRequestDescriptionJob": { +"description": "Description of the job that created the batch change.", +"id": "GoogleCloudDataplexV1BatchChangeMetadataRequestDescriptionJob", +"properties": { +"name": { +"description": "Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id}", +"type": "string" +}, +"runTime": { +"description": "Optional. The start time of the job run that created the batch change.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDataplexV1BatchChangeMetadataResponse": { +"description": "Response message for BatchChangeMetadata.", +"id": "GoogleCloudDataplexV1BatchChangeMetadataResponse", +"properties": { +"failedRequests": { +"additionalProperties": { +"$ref": "GoogleRpcStatus" +}, +"description": "A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty.", +"type": "object" +} +}, +"type": "object" +}, "GoogleCloudDataplexV1BusinessGlossaryEvent": { "description": "Payload associated with Business Glossary related log events.", "id": "GoogleCloudDataplexV1BusinessGlossaryEvent", @@ -8535,6 +8691,15 @@ "readOnly": true, "type": "string" }, +"batchChangeMetadataRequest": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequest", +"description": "Payload for executing a batch of catalog changes." +}, +"batchChangeMetadataResponse": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataResponse", +"description": "Output only. Result of applying a batch change metadata request.", +"readOnly": true +}, "changeType": { "description": "Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof.", "enum": [ @@ -8553,7 +8718,8 @@ "CREATE_GLOSSARY_TERM", "UPDATE_GLOSSARY_TERM", "DELETE_GLOSSARY_TERM", -"REQUEST_DATA_PRODUCT_ACCESS" +"REQUEST_DATA_PRODUCT_ACCESS", +"BATCH_CHANGE_METADATA" ], "enumDescriptions": [ "State unspecified.", @@ -8571,7 +8737,8 @@ "Request to create a GlossaryTerm.", "Request to update a GlossaryTerm.", "Request to delete a GlossaryTerm.", -"Request to request Data Product access." +"Request to request Data Product access.", +"Request to execute a batch of catalog changes." ], "readOnly": true, "type": "string" @@ -8668,7 +8835,9 @@ "APPROVED", "REJECTED", "EXPIRED", -"REVOKED" +"REVOKED", +"APPLYING", +"FAILED" ], "enumDescriptions": [ "State unspecified.", @@ -8676,7 +8845,9 @@ "The change has been approved.", "The change has been rejected.", "The change request has expired.", -"The approved change has been revoked." +"The approved change has been revoked.", +"The change request has been approved and changes are currently being applied.", +"The change request execution failed." ], "readOnly": true, "type": "string" @@ -12164,6 +12335,10 @@ "description": "An Entry Group represents a logical grouping of one or more Entries.", "id": "GoogleCloudDataplexV1EntryGroup", "properties": { +"changeRequestConfig": { +"$ref": "GoogleCloudDataplexV1EntryGroupChangeRequestConfig", +"description": "Optional. Specifies the configuration for requesting changes in the metadata belonging to the Entry Group." +}, "createTime": { "description": "Output only. The time when the EntryGroup was created.", "format": "google-datetime", @@ -12223,6 +12398,20 @@ }, "type": "object" }, +"GoogleCloudDataplexV1EntryGroupChangeRequestConfig": { +"description": "Specifies the configuration for requesting changes in the metadata belonging to the Entry Group.", +"id": "GoogleCloudDataplexV1EntryGroupChangeRequestConfig", +"properties": { +"approverEmails": { +"description": "Optional. Specifies the email addresses of users who are potential approvers and are notified when a change request is created for the metadata belonging to the Entry Group. The maximum number of emails allowed is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudDataplexV1EntryLink": { "description": "EntryLink represents a link between two Entries.", "id": "GoogleCloudDataplexV1EntryLink", @@ -14373,6 +14562,39 @@ }, "type": "object" }, +"GoogleCloudDataplexV1RequestBatchMetadataChangeRequest": { +"description": "Request message for submitting a set of catalog changes proposals.", +"id": "GoogleCloudDataplexV1RequestBatchMetadataChangeRequest", +"properties": { +"changePayload": { +"$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequest", +"description": "Required. The detailed specification of the proposed changes. This payload is intended to be embedded as the change_payload in the resulting ChangeRequest." +}, +"justification": { +"description": "Optional. Justification for the metadata change request.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels for the metadata change request.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDataplexV1RequestBatchMetadataChangeResponse": { +"description": "Response message containing the reference to the created change request.", +"id": "GoogleCloudDataplexV1RequestBatchMetadataChangeResponse", +"properties": { +"changeRequest": { +"description": "The resource name of the created ChangeRequest. Format: projects/{project}/locations/{location}/changeRequests/{change_request}", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDataplexV1RequestDataProductAccessRequest": { "description": "Message for requesting access to a Data Product.", "id": "GoogleCloudDataplexV1RequestDataProductAccessRequest", @@ -15329,6 +15551,28 @@ }, "type": "object" }, +"GoogleCloudDataplexV1UpdateEntryLinkRequest": { +"description": "Request message for UpdateEntryLink method.", +"id": "GoogleCloudDataplexV1UpdateEntryLinkRequest", +"properties": { +"allowMissing": { +"description": "Optional. If set to true and the entry link doesn't exist, the service will create it.", +"type": "boolean" +}, +"aspectKeys": { +"description": "Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"entryLink": { +"$ref": "GoogleCloudDataplexV1EntryLink", +"description": "Required. Entry Link resource." +} +}, +"type": "object" +}, "GoogleCloudDataplexV1UpdateEntryRequest": { "description": "Update Entry request.", "id": "GoogleCloudDataplexV1UpdateEntryRequest", From 001573874d3a0756cb6e67665d71c191256c8cc3 Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:00 +0000 Subject: [PATCH 13/34] feat(dataproc): update the api #### dataproc:v1 The following keys were added: - schemas.ClusterConfig.properties.masterFlexibleConfig.$ref (Total Keys: 1) - schemas.ClusterConfig.properties.secondaryWorkerFlexibleConfig.$ref (Total Keys: 1) - schemas.ClusterConfig.properties.workerFlexibleConfig.$ref (Total Keys: 1) - schemas.FlexibleInstanceGroupConfig (Total Keys: 9) - schemas.SessionTemplate.properties.displayName.type (Total Keys: 1) --- ...1.projects.locations.sessionTemplates.html | 6 + ....projects.locations.workflowTemplates.html | 126 ++++++++++++++++++ ...dataproc_v1.projects.regions.clusters.html | 72 ++++++++++ ...v1.projects.regions.workflowTemplates.html | 126 ++++++++++++++++++ .../documents/dataproc.v1.json | 54 +++++++- 5 files changed, 383 insertions(+), 1 deletion(-) diff --git a/docs/dyn/dataproc_v1.projects.locations.sessionTemplates.html b/docs/dyn/dataproc_v1.projects.locations.sessionTemplates.html index 782ee258bc..79619f32a3 100644 --- a/docs/dyn/dataproc_v1.projects.locations.sessionTemplates.html +++ b/docs/dyn/dataproc_v1.projects.locations.sessionTemplates.html @@ -114,6 +114,7 @@ Method Details
"createTime": "A String", # Output only. The time when the template was created. "creator": "A String", # Output only. The email address of the user who created the template. "description": "A String", # Optional. Brief description of the template. + "displayName": "A String", # Optional. User-friendly display name for the session template. Can be up to 63 characters. "environmentConfig": { # Environment configuration for a workload. # Optional. Environment configuration for session execution. "executionConfig": { # Execution configuration for a workload. # Optional. Execution configuration for a workload. "authenticationConfig": { # Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). # Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). @@ -184,6 +185,7 @@Method Details
"createTime": "A String", # Output only. The time when the template was created. "creator": "A String", # Output only. The email address of the user who created the template. "description": "A String", # Optional. Brief description of the template. + "displayName": "A String", # Optional. User-friendly display name for the session template. Can be up to 63 characters. "environmentConfig": { # Environment configuration for a workload. # Optional. Environment configuration for session execution. "executionConfig": { # Execution configuration for a workload. # Optional. Execution configuration for a workload. "authenticationConfig": { # Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). # Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). @@ -279,6 +281,7 @@Method Details
"createTime": "A String", # Output only. The time when the template was created. "creator": "A String", # Output only. The email address of the user who created the template. "description": "A String", # Optional. Brief description of the template. + "displayName": "A String", # Optional. User-friendly display name for the session template. Can be up to 63 characters. "environmentConfig": { # Environment configuration for a workload. # Optional. Environment configuration for session execution. "executionConfig": { # Execution configuration for a workload. # Optional. Execution configuration for a workload. "authenticationConfig": { # Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). # Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). @@ -362,6 +365,7 @@Method Details
"createTime": "A String", # Output only. The time when the template was created. "creator": "A String", # Output only. The email address of the user who created the template. "description": "A String", # Optional. Brief description of the template. + "displayName": "A String", # Optional. User-friendly display name for the session template. Can be up to 63 characters. "environmentConfig": { # Environment configuration for a workload. # Optional. Environment configuration for session execution. "executionConfig": { # Execution configuration for a workload. # Optional. Execution configuration for a workload. "authenticationConfig": { # Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). # Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). @@ -450,6 +454,7 @@Method Details
"createTime": "A String", # Output only. The time when the template was created. "creator": "A String", # Output only. The email address of the user who created the template. "description": "A String", # Optional. Brief description of the template. + "displayName": "A String", # Optional. User-friendly display name for the session template. Can be up to 63 characters. "environmentConfig": { # Environment configuration for a workload. # Optional. Environment configuration for session execution. "executionConfig": { # Execution configuration for a workload. # Optional. Execution configuration for a workload. "authenticationConfig": { # Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). # Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). @@ -520,6 +525,7 @@Method Details
"createTime": "A String", # Output only. The time when the template was created. "creator": "A String", # Output only. The email address of the user who created the template. "description": "A String", # Optional. Brief description of the template. + "displayName": "A String", # Optional. User-friendly display name for the session template. Can be up to 63 characters. "environmentConfig": { # Environment configuration for a workload. # Optional. Environment configuration for session execution. "executionConfig": { # Execution configuration for a workload. # Optional. Execution configuration for a workload. "authenticationConfig": { # Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). # Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). diff --git a/docs/dyn/dataproc_v1.projects.locations.workflowTemplates.html b/docs/dyn/dataproc_v1.projects.locations.workflowTemplates.html index fcf0fe3347..4405681cca 100644 --- a/docs/dyn/dataproc_v1.projects.locations.workflowTemplates.html +++ b/docs/dyn/dataproc_v1.projects.locations.workflowTemplates.html @@ -724,6 +724,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -818,6 +824,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -944,6 +956,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -1561,6 +1579,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -1655,6 +1679,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -1781,6 +1811,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -2425,6 +2461,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -2519,6 +2561,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -2645,6 +2693,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -3353,6 +3407,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -3447,6 +3507,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -3573,6 +3639,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -4231,6 +4303,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -4325,6 +4403,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -4451,6 +4535,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -5177,6 +5267,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -5271,6 +5367,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -5397,6 +5499,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -6014,6 +6122,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -6108,6 +6222,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -6234,6 +6354,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", diff --git a/docs/dyn/dataproc_v1.projects.regions.clusters.html b/docs/dyn/dataproc_v1.projects.regions.clusters.html index 6b7e32cee3..87df5c1e5e 100644 --- a/docs/dyn/dataproc_v1.projects.regions.clusters.html +++ b/docs/dyn/dataproc_v1.projects.regions.clusters.html @@ -468,6 +468,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -562,6 +568,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -688,6 +700,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. "a_key": "A String", @@ -1255,6 +1273,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -1349,6 +1373,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -1475,6 +1505,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. "a_key": "A String", @@ -2003,6 +2039,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -2097,6 +2139,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -2223,6 +2271,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. "a_key": "A String", @@ -2671,6 +2725,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -2765,6 +2825,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -2891,6 +2957,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. "a_key": "A String", diff --git a/docs/dyn/dataproc_v1.projects.regions.workflowTemplates.html b/docs/dyn/dataproc_v1.projects.regions.workflowTemplates.html index f5e2a2d21c..2cfe1cac09 100644 --- a/docs/dyn/dataproc_v1.projects.regions.workflowTemplates.html +++ b/docs/dyn/dataproc_v1.projects.regions.workflowTemplates.html @@ -724,6 +724,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -818,6 +824,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -944,6 +956,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -1561,6 +1579,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -1655,6 +1679,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -1781,6 +1811,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -2425,6 +2461,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -2519,6 +2561,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -2645,6 +2693,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -3353,6 +3407,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -3447,6 +3507,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -3573,6 +3639,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -4231,6 +4303,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -4325,6 +4403,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -4451,6 +4535,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -5177,6 +5267,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -5271,6 +5367,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -5397,6 +5499,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", @@ -6014,6 +6122,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "masterFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "metastoreConfig": { # Specifies a Metastore configuration. # Optional. Metastore configuration. "dataprocMetastoreService": "A String", # Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] }, @@ -6108,6 +6222,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "secondaryWorkerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config). + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, "securityConfig": { # Security related configuration, including encryption, Kerberos, etc. # Optional. Security settings for the cluster. "identityConfig": { # Identity related configuration, including service account based secure multi-tenancy user mappings. # Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. "enableSsh": True or False, # Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later. @@ -6234,6 +6354,12 @@Method Details
"requiredRegistrationFraction": 3.14, # Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled). }, }, + "workerFlexibleConfig": { # The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state. # Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs. + "bootDiskSizeGb": 42, # Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks. + "coreCount": 42, # Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks. + "hardwareClass": "A String", # Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks. + "numInstances": 42, # Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling. + }, }, "labels": { # Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster. "a_key": "A String", diff --git a/googleapiclient/discovery_cache/documents/dataproc.v1.json b/googleapiclient/discovery_cache/documents/dataproc.v1.json index 309a0542d3..a8d71ae230 100644 --- a/googleapiclient/discovery_cache/documents/dataproc.v1.json +++ b/googleapiclient/discovery_cache/documents/dataproc.v1.json @@ -5503,7 +5503,7 @@ } } }, -"revision": "20260926", +"revision": "20261008", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -6656,6 +6656,10 @@ "$ref": "InstanceGroupConfig", "description": "Optional. The Compute Engine config settings for the cluster's master instance." }, +"masterFlexibleConfig": { +"$ref": "FlexibleInstanceGroupConfig", +"description": "Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set." +}, "metastoreConfig": { "$ref": "MetastoreConfig", "description": "Optional. Metastore configuration." @@ -6664,6 +6668,10 @@ "$ref": "InstanceGroupConfig", "description": "Optional. The Compute Engine config settings for a cluster's secondary worker instances" }, +"secondaryWorkerFlexibleConfig": { +"$ref": "FlexibleInstanceGroupConfig", +"description": "Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config)." +}, "securityConfig": { "$ref": "SecurityConfig", "description": "Optional. Security settings for the cluster." @@ -6679,6 +6687,10 @@ "workerConfig": { "$ref": "InstanceGroupConfig", "description": "Optional. The Compute Engine config settings for the cluster's worker instances." +}, +"workerFlexibleConfig": { +"$ref": "FlexibleInstanceGroupConfig", +"description": "Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs." } }, "type": "object" @@ -7734,6 +7746,42 @@ }, "type": "object" }, +"FlexibleInstanceGroupConfig": { +"description": "The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state.", +"id": "FlexibleInstanceGroupConfig", +"properties": { +"bootDiskSizeGb": { +"description": "Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.", +"format": "int32", +"type": "integer" +}, +"coreCount": { +"description": "Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.", +"format": "int32", +"type": "integer" +}, +"hardwareClass": { +"description": "Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks.", +"enum": [ +"HARDWARE_CLASS_UNSPECIFIED", +"STANDARD", +"PERFORMANCE" +], +"enumDescriptions": [ +"Unspecified hardware class.", +"Standard hardware class. Provides a balanced compute configuration with approximately 4GB of memory per vCPU and standard disk storage tiers.Candidate machine types include n4-standard, n4d-standard, n2-standard, and n2d-standard (Rank 0), and c4-standard and c4d-standard (Rank 1) (for requested core counts 2, 4, 8, 16, 32).Warning: The specific machine families and types selected for this hardware class are subject to change. Users should not take a dependency on the underlying machine type selection.", +"Performance hardware class. Provides a high-performance configuration with approximately 8GB of memory per vCPU (e.g. high-memory machine types) and higher-tier disk configurations (e.g. higher IOPS and throughput).Candidate machine types include n4-highmem, n4d-highmem, n2-highmem, and n2d-highmem (Rank 0), and c4-highmem and c4d-highmem (Rank 1) (for requested core counts 2, 4, 8, 16, 32). n4, n4d, c4, and c4d use Hyperdisk Balanced with provisioned storage, whereas n2 and n2d use SSD persistent disks.Warning: The specific machine families and types selected for this hardware class are subject to change. Users should not take a dependency on the underlying machine type selection." +], +"type": "string" +}, +"numInstances": { +"description": "Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "FlinkJob": { "description": "A Dataproc job for running Apache Flink applications on YARN.", "id": "FlinkJob", @@ -11282,6 +11330,10 @@ "description": "Optional. Brief description of the template.", "type": "string" }, +"displayName": { +"description": "Optional. User-friendly display name for the session template. Can be up to 63 characters.", +"type": "string" +}, "environmentConfig": { "$ref": "EnvironmentConfig", "description": "Optional. Environment configuration for session execution." From a87049916c48b27e61d1efee518fff42de13f4e4 Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:00 +0000 Subject: [PATCH 14/34] feat(devicerun): update the api #### devicerun:v1alpha The following keys were added: - schemas.IssueSummary.properties.metadata (Total Keys: 3) - schemas.Session.properties.createTime (Total Keys: 3) --- ...n_v1alpha.projects.locations.sessions.html | 120 ++++++++++++++---- .../documents/devicerun.v1alpha.json | 44 ++++--- 2 files changed, 121 insertions(+), 43 deletions(-) diff --git a/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html b/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html index d014b44249..826e0f17cd 100644 --- a/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html +++ b/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html @@ -117,6 +117,7 @@ Method Details
{ # Response including the requested sessions. "sessions": [ # The requested sessions, in the same order as the `names` in the request. { # A session resource in the AutomationSession API. At a high level, `Session` describes the configuration of one or multiple jobs, the state transitions it goes through, and the results. + "createTime": "A String", # Output only. The time when the session was created. "name": "A String", # Identifier. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}`. "sessionConfig": { # SessionConfig is used to create a session. # Required. Configuration used to create the session. "displayName": "A String", # Optional. User-settable, human-readable name for the session. Maximum size is 63 bytes when encoded as UTF-8. If set, must match regex: `^A-Za-z0-9*$`. @@ -191,10 +192,10 @@Method Details
"actions": [ # Optional. The actions to be performed on the device. Actions will be executed in the order they are specified in the list. Each action type can at most have 1 instance in the list. { # The action to be performed on a device. "androidBugreport": { # Captures a bugreport from the device. The output will be written to a file named `bugreport.zip` in the execution output directory. # Captures a bugreport from the device unless the test result is pass. - "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is skipped on pass to save time (default behavior). If true, the bugreport is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered. }, "androidDumpsys": { # Captures dumpsys output from the device. The output will be written to a file named `dumpsys.log` in the execution output directory. # Captures a dumpsys from the device. - "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped on pass to save time (default behavior). If true, the dumpsys is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered. }, "androidInstallPackages": { # Installs Android packages on the device. At least one installable is specified when using this device action. Limits: - A maximum of 20 installables in total are allowed. - A maximum of 100 files are allowed in total across all installables. # Installs Android packages on the device. "installables": [ # Optional. Deprecated: use `pre_target_app_installables`, `target_app` and `post_target_app_installables` instead. The Android packages to install on the device. The installation will be performed in the order specified, before the installables of all other fields. @@ -269,7 +270,7 @@Method Details
], }, "androidRecordVideo": { # Records a video of the device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is false. + "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is `false`. }, "androidSwitchLocale": { # Switches the locale (language and region) of the device. # Switches the locale (language and region) of the device. "localeCode": "A String", # Required. The locale (language and region) to switch the device to. The format is `language-region`, e.g. "en-US", "zh-CN", etc. The typical language value is a two or three-letter language code as defined in ISO639. The typical region value is a two-letter ISO 3166 code or a three-digit UN M.49 area code. @@ -306,8 +307,8 @@Method Details
}, ], }, - "iosRecordVideo": { # Records a video of the iOS device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the iOS device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard the video if the test passes. If not specified, the default is false (always keep the video). + "iosRecordVideo": { # Records videos of the iOS device screen, one per UI test case. Each video covers only the execution of its test case, and will be written to `testcases/{test_class}/{test_method}/video.mp4` in the execution output directory. No video is recorded for unit tests, or on devices running a version earlier than iOS 17. # Records videos of the iOS device screen, one per UI test case. + "discardOnPass": True or False, # Optional. Whether to discard the video of a test case when it passes. If not specified, the default is `false` (videos of all test cases are kept). }, "iosSwitchLocale": { # Switches the locale (language and region) of the iOS application. # Switches the locale (language and region) of the iOS application. "localeCode": "A String", # Required. The locale (language and region) to switch the app to. The format is `language-region` or `language`, e.g. "en-US", "zh-CN", "ja", etc. @@ -370,6 +371,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -387,6 +391,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -409,6 +416,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -426,6 +436,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -437,6 +450,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -496,6 +512,7 @@Method Details
The object takes the form of: { # A session resource in the AutomationSession API. At a high level, `Session` describes the configuration of one or multiple jobs, the state transitions it goes through, and the results. + "createTime": "A String", # Output only. The time when the session was created. "name": "A String", # Identifier. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}`. "sessionConfig": { # SessionConfig is used to create a session. # Required. Configuration used to create the session. "displayName": "A String", # Optional. User-settable, human-readable name for the session. Maximum size is 63 bytes when encoded as UTF-8. If set, must match regex: `^A-Za-z0-9*$`. @@ -570,10 +587,10 @@Method Details
"actions": [ # Optional. The actions to be performed on the device. Actions will be executed in the order they are specified in the list. Each action type can at most have 1 instance in the list. { # The action to be performed on a device. "androidBugreport": { # Captures a bugreport from the device. The output will be written to a file named `bugreport.zip` in the execution output directory. # Captures a bugreport from the device unless the test result is pass. - "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is skipped on pass to save time (default behavior). If true, the bugreport is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered. }, "androidDumpsys": { # Captures dumpsys output from the device. The output will be written to a file named `dumpsys.log` in the execution output directory. # Captures a dumpsys from the device. - "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped on pass to save time (default behavior). If true, the dumpsys is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered. }, "androidInstallPackages": { # Installs Android packages on the device. At least one installable is specified when using this device action. Limits: - A maximum of 20 installables in total are allowed. - A maximum of 100 files are allowed in total across all installables. # Installs Android packages on the device. "installables": [ # Optional. Deprecated: use `pre_target_app_installables`, `target_app` and `post_target_app_installables` instead. The Android packages to install on the device. The installation will be performed in the order specified, before the installables of all other fields. @@ -648,7 +665,7 @@Method Details
], }, "androidRecordVideo": { # Records a video of the device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is false. + "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is `false`. }, "androidSwitchLocale": { # Switches the locale (language and region) of the device. # Switches the locale (language and region) of the device. "localeCode": "A String", # Required. The locale (language and region) to switch the device to. The format is `language-region`, e.g. "en-US", "zh-CN", etc. The typical language value is a two or three-letter language code as defined in ISO639. The typical region value is a two-letter ISO 3166 code or a three-digit UN M.49 area code. @@ -685,8 +702,8 @@Method Details
}, ], }, - "iosRecordVideo": { # Records a video of the iOS device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the iOS device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard the video if the test passes. If not specified, the default is false (always keep the video). + "iosRecordVideo": { # Records videos of the iOS device screen, one per UI test case. Each video covers only the execution of its test case, and will be written to `testcases/{test_class}/{test_method}/video.mp4` in the execution output directory. No video is recorded for unit tests, or on devices running a version earlier than iOS 17. # Records videos of the iOS device screen, one per UI test case. + "discardOnPass": True or False, # Optional. Whether to discard the video of a test case when it passes. If not specified, the default is `false` (videos of all test cases are kept). }, "iosSwitchLocale": { # Switches the locale (language and region) of the iOS application. # Switches the locale (language and region) of the iOS application. "localeCode": "A String", # Required. The locale (language and region) to switch the app to. The format is `language-region` or `language`, e.g. "en-US", "zh-CN", "ja", etc. @@ -749,6 +766,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -766,6 +786,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -788,6 +811,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -805,6 +831,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -816,6 +845,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -905,11 +937,11 @@Method Details
Args: name: string, Required. The name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}`. (required) - view: string, Optional. The view of the session to return. If not set, the default BASIC view will be returned. + view: string, Optional. The view of the session to return. If not set, the `FULL` view will be returned. Allowed values - SESSION_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view. - SESSION_VIEW_BASIC - Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included. This is the default value (for GetSession). - SESSION_VIEW_FULL - Include everything. + SESSION_VIEW_UNSPECIFIED - The default / unset value. The API will default to the FULL view. + SESSION_VIEW_BASIC - Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included. + SESSION_VIEW_FULL - Include everything. This is the default value. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -919,6 +951,7 @@Method Details
An object of the form: { # A session resource in the AutomationSession API. At a high level, `Session` describes the configuration of one or multiple jobs, the state transitions it goes through, and the results. + "createTime": "A String", # Output only. The time when the session was created. "name": "A String", # Identifier. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}`. "sessionConfig": { # SessionConfig is used to create a session. # Required. Configuration used to create the session. "displayName": "A String", # Optional. User-settable, human-readable name for the session. Maximum size is 63 bytes when encoded as UTF-8. If set, must match regex: `^A-Za-z0-9*$`. @@ -993,10 +1026,10 @@Method Details
"actions": [ # Optional. The actions to be performed on the device. Actions will be executed in the order they are specified in the list. Each action type can at most have 1 instance in the list. { # The action to be performed on a device. "androidBugreport": { # Captures a bugreport from the device. The output will be written to a file named `bugreport.zip` in the execution output directory. # Captures a bugreport from the device unless the test result is pass. - "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is skipped on pass to save time (default behavior). If true, the bugreport is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered. }, "androidDumpsys": { # Captures dumpsys output from the device. The output will be written to a file named `dumpsys.log` in the execution output directory. # Captures a dumpsys from the device. - "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped on pass to save time (default behavior). If true, the dumpsys is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered. }, "androidInstallPackages": { # Installs Android packages on the device. At least one installable is specified when using this device action. Limits: - A maximum of 20 installables in total are allowed. - A maximum of 100 files are allowed in total across all installables. # Installs Android packages on the device. "installables": [ # Optional. Deprecated: use `pre_target_app_installables`, `target_app` and `post_target_app_installables` instead. The Android packages to install on the device. The installation will be performed in the order specified, before the installables of all other fields. @@ -1071,7 +1104,7 @@Method Details
], }, "androidRecordVideo": { # Records a video of the device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is false. + "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is `false`. }, "androidSwitchLocale": { # Switches the locale (language and region) of the device. # Switches the locale (language and region) of the device. "localeCode": "A String", # Required. The locale (language and region) to switch the device to. The format is `language-region`, e.g. "en-US", "zh-CN", etc. The typical language value is a two or three-letter language code as defined in ISO639. The typical region value is a two-letter ISO 3166 code or a three-digit UN M.49 area code. @@ -1108,8 +1141,8 @@Method Details
}, ], }, - "iosRecordVideo": { # Records a video of the iOS device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the iOS device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard the video if the test passes. If not specified, the default is false (always keep the video). + "iosRecordVideo": { # Records videos of the iOS device screen, one per UI test case. Each video covers only the execution of its test case, and will be written to `testcases/{test_class}/{test_method}/video.mp4` in the execution output directory. No video is recorded for unit tests, or on devices running a version earlier than iOS 17. # Records videos of the iOS device screen, one per UI test case. + "discardOnPass": True or False, # Optional. Whether to discard the video of a test case when it passes. If not specified, the default is `false` (videos of all test cases are kept). }, "iosSwitchLocale": { # Switches the locale (language and region) of the iOS application. # Switches the locale (language and region) of the iOS application. "localeCode": "A String", # Required. The locale (language and region) to switch the app to. The format is `language-region` or `language`, e.g. "en-US", "zh-CN", "ja", etc. @@ -1172,6 +1205,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1189,6 +1225,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1211,6 +1250,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1228,6 +1270,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1239,6 +1284,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1266,11 +1314,11 @@Method Details
orderBy: string, Optional. The order to sort results by. Supported values: `name`, `name desc`, `create_time`, `create_time desc`. Values must use the snake_case field name; `createTime` is not accepted. Ordering by `create_time` is not supported when listing across all locations (`locations/-`). If unspecified, results are returned in an unspecified order. pageSize: integer, Optional. The maximum number of sessions to return. The server may return fewer items than this value. If unspecified, at most 500 sessions will be returned. The maximum value is 1000, values above will be coerced to 1000. pageToken: string, Optional. A page token, received from a previous `ListSessions` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListSessions` must match the call that provided the page token. - view: string, Optional. The view of the sessions to return. If not set, the `BASIC` view will be returned. + view: string, Optional. The view of the sessions to return. If not set, the `FULL` view will be returned. Allowed values - SESSION_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view. - SESSION_VIEW_BASIC - Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included. This is the default value (for GetSession). - SESSION_VIEW_FULL - Include everything. + SESSION_VIEW_UNSPECIFIED - The default / unset value. The API will default to the FULL view. + SESSION_VIEW_BASIC - Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included. + SESSION_VIEW_FULL - Include everything. This is the default value. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -1283,6 +1331,7 @@Method Details
"nextPageToken": "A String", # Token to receive the next page of sessions. This will be absent if the end of the response list has been reached. "sessions": [ # The list of sessions. { # A session resource in the AutomationSession API. At a high level, `Session` describes the configuration of one or multiple jobs, the state transitions it goes through, and the results. + "createTime": "A String", # Output only. The time when the session was created. "name": "A String", # Identifier. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}`. "sessionConfig": { # SessionConfig is used to create a session. # Required. Configuration used to create the session. "displayName": "A String", # Optional. User-settable, human-readable name for the session. Maximum size is 63 bytes when encoded as UTF-8. If set, must match regex: `^A-Za-z0-9*$`. @@ -1357,10 +1406,10 @@Method Details
"actions": [ # Optional. The actions to be performed on the device. Actions will be executed in the order they are specified in the list. Each action type can at most have 1 instance in the list. { # The action to be performed on a device. "androidBugreport": { # Captures a bugreport from the device. The output will be written to a file named `bugreport.zip` in the execution output directory. # Captures a bugreport from the device unless the test result is pass. - "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is skipped on pass to save time (default behavior). If true, the bugreport is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered. }, "androidDumpsys": { # Captures dumpsys output from the device. The output will be written to a file named `dumpsys.log` in the execution output directory. # Captures a dumpsys from the device. - "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped on pass to save time (default behavior). If true, the dumpsys is always delivered. + "collectOnPass": True or False, # Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered. }, "androidInstallPackages": { # Installs Android packages on the device. At least one installable is specified when using this device action. Limits: - A maximum of 20 installables in total are allowed. - A maximum of 100 files are allowed in total across all installables. # Installs Android packages on the device. "installables": [ # Optional. Deprecated: use `pre_target_app_installables`, `target_app` and `post_target_app_installables` instead. The Android packages to install on the device. The installation will be performed in the order specified, before the installables of all other fields. @@ -1435,7 +1484,7 @@Method Details
], }, "androidRecordVideo": { # Records a video of the device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is false. + "discardOnPass": True or False, # Optional. Whether to discard and not upload the recording when the test passes. Default is `false`. }, "androidSwitchLocale": { # Switches the locale (language and region) of the device. # Switches the locale (language and region) of the device. "localeCode": "A String", # Required. The locale (language and region) to switch the device to. The format is `language-region`, e.g. "en-US", "zh-CN", etc. The typical language value is a two or three-letter language code as defined in ISO639. The typical region value is a two-letter ISO 3166 code or a three-digit UN M.49 area code. @@ -1472,8 +1521,8 @@Method Details
}, ], }, - "iosRecordVideo": { # Records a video of the iOS device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory. # Records a video of the iOS device screen during the run. - "discardOnPass": True or False, # Optional. Whether to discard the video if the test passes. If not specified, the default is false (always keep the video). + "iosRecordVideo": { # Records videos of the iOS device screen, one per UI test case. Each video covers only the execution of its test case, and will be written to `testcases/{test_class}/{test_method}/video.mp4` in the execution output directory. No video is recorded for unit tests, or on devices running a version earlier than iOS 17. # Records videos of the iOS device screen, one per UI test case. + "discardOnPass": True or False, # Optional. Whether to discard the video of a test case when it passes. If not specified, the default is `false` (videos of all test cases are kept). }, "iosSwitchLocale": { # Switches the locale (language and region) of the iOS application. # Switches the locale (language and region) of the iOS application. "localeCode": "A String", # Required. The locale (language and region) to switch the app to. The format is `language-region` or `language`, e.g. "en-US", "zh-CN", "ja", etc. @@ -1536,6 +1585,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1553,6 +1605,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1575,6 +1630,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1592,6 +1650,9 @@Method Details
{ # Non-fatal operational anomaly, lint observation, or execution insight. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Detailed warning summary. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, @@ -1603,6 +1664,9 @@Method Details
"cause": { # Describes the cause of the non-passed result occurred during the execution. # Output only. Detailed result cause diagnostics. Set if type is not PASSED. "summary": { # Describes the summary of an issue (error or warning) with structured details. # Output only. Structured cause detail. "message": "A String", # Output only. Human-readable explanation of the issue in English. + "metadata": { # Output only. Additional metadata about the issue. + "a_key": "A String", + }, "reason": "A String", # Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE. "type": "A String", # Output only. The issue classification based on responsibility. }, diff --git a/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json b/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json index db04abb2d4..493b2a3d5b 100644 --- a/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json @@ -527,16 +527,16 @@ "type": "string" }, "view": { -"description": "Optional. The view of the session to return. If not set, the default BASIC view will be returned.", +"description": "Optional. The view of the session to return. If not set, the `FULL` view will be returned.", "enum": [ "SESSION_VIEW_UNSPECIFIED", "SESSION_VIEW_BASIC", "SESSION_VIEW_FULL" ], "enumDescriptions": [ -"The default / unset value. The API will default to the BASIC view.", -"Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included. This is the default value (for GetSession).", -"Include everything." +"The default / unset value. The API will default to the FULL view.", +"Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included.", +"Include everything. This is the default value." ], "location": "query", "type": "string" @@ -588,16 +588,16 @@ "type": "string" }, "view": { -"description": "Optional. The view of the sessions to return. If not set, the `BASIC` view will be returned.", +"description": "Optional. The view of the sessions to return. If not set, the `FULL` view will be returned.", "enum": [ "SESSION_VIEW_UNSPECIFIED", "SESSION_VIEW_BASIC", "SESSION_VIEW_FULL" ], "enumDescriptions": [ -"The default / unset value. The API will default to the BASIC view.", -"Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included. This is the default value (for GetSession).", -"Include everything." +"The default / unset value. The API will default to the FULL view.", +"Include basic view of the session but not the full contents. Only the uid/display_name/status/result of the session and its jobs/executions will be included.", +"Include everything. This is the default value." ], "location": "query", "type": "string" @@ -688,7 +688,7 @@ } } }, -"revision": "20261006", +"revision": "20261013", "rootUrl": "https://devicerun.googleapis.com/", "schemas": { "AllocationConfig": { @@ -710,7 +710,7 @@ "id": "AndroidBugreportDeviceAction", "properties": { "collectOnPass": { -"description": "Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is skipped on pass to save time (default behavior). If true, the bugreport is always delivered.", +"description": "Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered.", "type": "boolean" } }, @@ -721,7 +721,7 @@ "id": "AndroidDumpsysDeviceAction", "properties": { "collectOnPass": { -"description": "Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped on pass to save time (default behavior). If true, the dumpsys is always delivered.", +"description": "Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered.", "type": "boolean" } }, @@ -963,7 +963,7 @@ "id": "AndroidRecordVideoDeviceAction", "properties": { "discardOnPass": { -"description": "Optional. Whether to discard and not upload the recording when the test passes. Default is false.", +"description": "Optional. Whether to discard and not upload the recording when the test passes. Default is `false`.", "type": "boolean" } }, @@ -1537,7 +1537,7 @@ }, "iosRecordVideo": { "$ref": "IosRecordVideoDeviceAction", -"description": "Records a video of the iOS device screen during the run." +"description": "Records videos of the iOS device screen, one per UI test case." }, "iosSwitchLocale": { "$ref": "IosSwitchLocaleDeviceAction", @@ -1834,11 +1834,11 @@ "type": "object" }, "IosRecordVideoDeviceAction": { -"description": "Records a video of the iOS device screen during the run. The video will be written to a file named `video.mp4` in the execution output directory.", +"description": "Records videos of the iOS device screen, one per UI test case. Each video covers only the execution of its test case, and will be written to `testcases/{test_class}/{test_method}/video.mp4` in the execution output directory. No video is recorded for unit tests, or on devices running a version earlier than iOS 17.", "id": "IosRecordVideoDeviceAction", "properties": { "discardOnPass": { -"description": "Optional. Whether to discard the video if the test passes. If not specified, the default is false (always keep the video).", +"description": "Optional. Whether to discard the video of a test case when it passes. If not specified, the default is `false` (videos of all test cases are kept).", "type": "boolean" } }, @@ -1888,6 +1888,14 @@ "readOnly": true, "type": "string" }, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Additional metadata about the issue.", +"readOnly": true, +"type": "object" +}, "reason": { "description": "Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of `A-Z*[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", "readOnly": true, @@ -2281,6 +2289,12 @@ "description": "A session resource in the AutomationSession API. At a high level, `Session` describes the configuration of one or multiple jobs, the state transitions it goes through, and the results.", "id": "Session", "properties": { +"createTime": { +"description": "Output only. The time when the session was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, "name": { "description": "Identifier. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}`.", "type": "string" From 5235405b931954e3c2fddcf5f94b79a3228733eb Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:00 +0000 Subject: [PATCH 15/34] feat(dialogflow): update the api #### dialogflow:v2 The following keys were deleted: - schemas.GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig.properties.modelId.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudDialogflowV2InputAudioConfig.properties.disableInterimInputTranscripts.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.disableInterimInputTranscripts.type (Total Keys: 1) #### dialogflow:v2beta1 The following keys were deleted: - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfigGeminiAsrConfig.properties.modelId.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudDialogflowV2beta1InputAudioConfig.properties.disableInterimInputTranscripts.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.disableInterimInputTranscripts.type (Total Keys: 1) --- ...2.projects.agent.environments.users.sessions.html | 2 +- docs/dyn/dialogflow_v2.projects.agent.sessions.html | 2 +- .../dialogflow_v2.projects.conversationProfiles.html | 12 ++++++------ docs/dyn/dialogflow_v2.projects.conversations.html | 10 +++++----- ...gflow_v2.projects.conversations.participants.html | 2 +- ....locations.agent.environments.users.sessions.html | 2 +- ...logflow_v2.projects.locations.agent.sessions.html | 2 +- ...w_v2.projects.locations.conversationProfiles.html | 12 ++++++------ ...alogflow_v2.projects.locations.conversations.html | 10 +++++----- ...rojects.locations.conversations.participants.html | 2 +- ...dialogflow_v2.projects.locations.suggestions.html | 2 +- docs/dyn/dialogflow_v2.projects.suggestions.html | 2 +- ...1.projects.agent.environments.users.sessions.html | 2 +- .../dialogflow_v2beta1.projects.agent.sessions.html | 2 +- ...ogflow_v2beta1.projects.conversationProfiles.html | 12 ++++++------ .../dialogflow_v2beta1.projects.conversations.html | 10 +++++----- ..._v2beta1.projects.conversations.participants.html | 2 +- ....locations.agent.environments.users.sessions.html | 2 +- ...ow_v2beta1.projects.locations.agent.sessions.html | 2 +- ...eta1.projects.locations.conversationProfiles.html | 12 ++++++------ ...low_v2beta1.projects.locations.conversations.html | 10 +++++----- ...rojects.locations.conversations.participants.html | 2 +- ...gflow_v2beta1.projects.locations.suggestions.html | 2 +- .../dyn/dialogflow_v2beta1.projects.suggestions.html | 2 +- .../discovery_cache/documents/dialogflow.v2.json | 11 +++++++---- .../documents/dialogflow.v2beta1.json | 11 +++++++---- 26 files changed, 74 insertions(+), 68 deletions(-) diff --git a/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html index 06800080c8..893cb25ce1 100644 --- a/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html @@ -155,13 +155,13 @@ Method Details
"queryInput": { "audioConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.agent.sessions.html b/docs/dyn/dialogflow_v2.projects.agent.sessions.html index d41ab5b2b7..72e4bdb8e1 100644 --- a/docs/dyn/dialogflow_v2.projects.agent.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.agent.sessions.html @@ -155,13 +155,13 @@Method Details
"queryInput": { "audioConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.conversationProfiles.html b/docs/dyn/dialogflow_v2.projects.conversationProfiles.html index fea3ccf2c7..97b77a0198 100644 --- a/docs/dyn/dialogflow_v2.projects.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2.projects.conversationProfiles.html @@ -371,10 +371,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -632,10 +632,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -918,10 +918,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1190,10 +1190,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1470,10 +1470,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1732,10 +1732,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.conversations.html b/docs/dyn/dialogflow_v2.projects.conversations.html index 31426a57b2..3f9dc020c5 100644 --- a/docs/dyn/dialogflow_v2.projects.conversations.html +++ b/docs/dyn/dialogflow_v2.projects.conversations.html @@ -364,10 +364,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -675,10 +675,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -985,10 +985,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1301,10 +1301,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1622,10 +1622,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.conversations.participants.html b/docs/dyn/dialogflow_v2.projects.conversations.participants.html index 888968dd2d..d801b26022 100644 --- a/docs/dyn/dialogflow_v2.projects.conversations.participants.html +++ b/docs/dyn/dialogflow_v2.projects.conversations.participants.html @@ -120,13 +120,13 @@Method Details
"audio": "A String", "config": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html index 76da68d446..adbac5f2a8 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html @@ -155,13 +155,13 @@Method Details
"queryInput": { "audioConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html b/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html index 91b91ad892..58b8f9d354 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html @@ -155,13 +155,13 @@Method Details
"queryInput": { "audioConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html b/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html index aa7a4c3600..224b5ead0c 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html @@ -371,10 +371,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -632,10 +632,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -918,10 +918,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1190,10 +1190,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1470,10 +1470,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1732,10 +1732,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversations.html b/docs/dyn/dialogflow_v2.projects.locations.conversations.html index fb35ed4358..36f4d5099b 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversations.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversations.html @@ -367,10 +367,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -678,10 +678,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -988,10 +988,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1304,10 +1304,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1679,10 +1679,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html b/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html index e327d2c1de..d539920bf0 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html @@ -120,13 +120,13 @@Method Details
"audio": "A String", "config": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.locations.suggestions.html b/docs/dyn/dialogflow_v2.projects.locations.suggestions.html index 2171f31e4d..ef89c8ef40 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.suggestions.html +++ b/docs/dyn/dialogflow_v2.projects.locations.suggestions.html @@ -311,10 +311,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2.projects.suggestions.html b/docs/dyn/dialogflow_v2.projects.suggestions.html index 1737af8b1e..11ddb288ac 100644 --- a/docs/dyn/dialogflow_v2.projects.suggestions.html +++ b/docs/dyn/dialogflow_v2.projects.suggestions.html @@ -311,10 +311,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html index fa52cac0bb..25c734c9fd 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html @@ -160,13 +160,13 @@Method Details
"totalDuration": "A String", }, "defaultNoSpeechTimeout": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html index 5c00932d6a..7d087b20a2 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html @@ -160,13 +160,13 @@Method Details
"totalDuration": "A String", }, "defaultNoSpeechTimeout": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html b/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html index 5a3a1b76d0..16cd111a48 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html @@ -363,10 +363,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -617,10 +617,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -896,10 +896,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1161,10 +1161,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1434,10 +1434,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1689,10 +1689,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversations.html b/docs/dyn/dialogflow_v2beta1.projects.conversations.html index abad93b863..f7fb1f1c7f 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversations.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversations.html @@ -356,10 +356,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -660,10 +660,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -963,10 +963,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1272,10 +1272,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1586,10 +1586,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html b/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html index b524e0e111..14e4f299d4 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html @@ -125,13 +125,13 @@Method Details
"totalDuration": "A String", }, "defaultNoSpeechTimeout": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html index 0d58d7986d..fd5b1d5cf7 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html @@ -160,13 +160,13 @@Method Details
"totalDuration": "A String", }, "defaultNoSpeechTimeout": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html index 6f79463a61..2538ee6cd8 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html @@ -160,13 +160,13 @@Method Details
"totalDuration": "A String", }, "defaultNoSpeechTimeout": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html index e724cc4624..d498c84499 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html @@ -363,10 +363,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -617,10 +617,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -896,10 +896,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1161,10 +1161,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1434,10 +1434,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1689,10 +1689,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html index c187f81770..16d5fa4106 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html @@ -359,10 +359,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -663,10 +663,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -966,10 +966,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1275,10 +1275,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", @@ -1643,10 +1643,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html index 4ae69fc567..e1193a4995 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html @@ -125,13 +125,13 @@Method Details
"totalDuration": "A String", }, "defaultNoSpeechTimeout": "A String", + "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, "enableAutomaticPunctuation": True or False, "enableVoiceActivityEvents": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html b/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html index 393f859a89..91df8467c8 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html @@ -303,10 +303,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.suggestions.html b/docs/dyn/dialogflow_v2beta1.projects.suggestions.html index a8375c1e7d..749af48452 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.suggestions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.suggestions.html @@ -303,10 +303,10 @@Method Details
}, "sttConfig": { "audioEncoding": "A String", + "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, "geminiAsrConfig": { "endOfSpeechSensitivity": "A String", - "modelId": "A String", "prefixPaddingMs": 42, "silenceDurationMs": 42, "startOfSpeechSensitivity": "A String", diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v2.json b/googleapiclient/discovery_cache/documents/dialogflow.v2.json index 30995a5290..b06a64ee8f 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v2.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v2.json @@ -8933,7 +8933,7 @@ } } }, -"revision": "20260929", +"revision": "20261015", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -16716,6 +16716,9 @@ true ], "type": "string" }, +"disableInterimInputTranscripts": { +"type": "boolean" +}, "disableNoSpeechRecognizedEvent": { "type": "boolean" }, @@ -19584,6 +19587,9 @@ false ], "type": "string" }, +"disableInterimInputTranscripts": { +"type": "boolean" +}, "enableWordInfo": { "type": "boolean" }, @@ -19646,9 +19652,6 @@ false ], "type": "string" }, -"modelId": { -"type": "string" -}, "prefixPaddingMs": { "format": "int32", "type": "integer" diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json b/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json index 025223f9f0..6e249a9f10 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json @@ -8584,7 +8584,7 @@ } } }, -"revision": "20260929", +"revision": "20261015", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -19123,6 +19123,9 @@ true "format": "google-duration", "type": "string" }, +"disableInterimInputTranscripts": { +"type": "boolean" +}, "disableNoSpeechRecognizedEvent": { "type": "boolean" }, @@ -22385,6 +22388,9 @@ false ], "type": "string" }, +"disableInterimInputTranscripts": { +"type": "boolean" +}, "enableWordInfo": { "type": "boolean" }, @@ -22447,9 +22453,6 @@ false ], "type": "string" }, -"modelId": { -"type": "string" -}, "prefixPaddingMs": { "format": "int32", "type": "integer" From f50f5d902327be81cc16772a822d717d3af636a7 Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:01 +0000 Subject: [PATCH 16/34] feat(discoveryengine): update the api #### discoveryengine:v1 The following keys were added: - schemas.GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1FeedbackConversationInfo.properties.stepSeqNum (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1FeedbackConversationInfo.properties.trajectoryId.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.partialMatchableOption.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.prefixMatchableOption.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) #### discoveryengine:v1alpha The following keys were deleted: - resources.projects.resources.locations.resources.collections.resources.engines.resources.assistants.resources.agents.resources.toolCalls.resources.operations.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.collections.resources.engines.resources.collaborativeProjects.resources.knowledgeSpaces.resources.operations.methods.get (Total Keys: 11) The following keys were added: - resources.projects.resources.locations.resources.knowledgeSpaces.resources.operations.methods.get (Total Keys: 11) - schemas.GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.properties.privateNetworkConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo.properties.stepSeqNum (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo.properties.trajectoryId.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.partialMatchableOption.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.prefixMatchableOption.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) #### discoveryengine:v1beta The following keys were added: - schemas.GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.partialMatchableOption.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.prefixMatchableOption.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.properties.notebooks (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo.properties.stepSeqNum (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo.properties.trajectoryId.type (Total Keys: 1) --- ...ects.locations.collections.dataStores.html | 15 ++ ...collections.dataStores.servingConfigs.html | 8 +- ...ons.collections.dataStores.userEvents.html | 12 +- ....collections.dataStores.widgetConfigs.html | 6 +- ...rojects.locations.collections.engines.html | 10 +- ...ns.collections.engines.servingConfigs.html | 8 +- ...ons.collections.engines.widgetConfigs.html | 6 +- ...gine_v1.projects.locations.dataStores.html | 15 ++ ...s.locations.dataStores.servingConfigs.html | 8 +- ...jects.locations.dataStores.userEvents.html | 12 +- ...ts.locations.dataStores.widgetConfigs.html | 6 +- ...gine_v1.projects.locations.userEvents.html | 12 +- ...pha.projects.locations.authorizations.html | 18 ++ ...ects.locations.collections.dataStores.html | 25 +++ ...ations.collections.dataStores.schemas.html | 8 + ...collections.dataStores.servingConfigs.html | 8 +- ...ons.collections.dataStores.userEvents.html | 12 +- ....collections.dataStores.widgetConfigs.html | 6 +- ...collections.engines.assistants.agents.html | 5 - ...rojects.locations.collections.engines.html | 19 +- ...ns.collections.engines.servingConfigs.html | 8 +- ...ons.collections.engines.widgetConfigs.html | 6 +- ...1alpha.projects.locations.collections.html | 12 + ...v1alpha.projects.locations.dataStores.html | 25 +++ ...projects.locations.dataStores.schemas.html | 8 + ...s.locations.dataStores.servingConfigs.html | 8 +- ...jects.locations.dataStores.userEvents.html | 12 +- ...ts.locations.dataStores.widgetConfigs.html | 6 +- ...1alpha.projects.locations.evaluations.html | 6 +- ...veryengine_v1alpha.projects.locations.html | 9 + ...ha.projects.locations.knowledgeSpaces.html | 91 ++++++++ ....locations.knowledgeSpaces.operations.html | 124 ++++++++++ ...v1alpha.projects.locations.userEvents.html | 12 +- ...ects.locations.collections.dataStores.html | 15 ++ ...collections.dataStores.servingConfigs.html | 8 +- ...ons.collections.dataStores.userEvents.html | 12 +- ...rojects.locations.collections.engines.html | 14 +- ...ns.collections.engines.servingConfigs.html | 8 +- ..._v1beta.projects.locations.dataStores.html | 15 ++ ...s.locations.dataStores.servingConfigs.html | 8 +- ...jects.locations.dataStores.userEvents.html | 12 +- ...v1beta.projects.locations.evaluations.html | 6 +- ..._v1beta.projects.locations.userEvents.html | 12 +- .../documents/discoveryengine.v1.json | 88 ++++++-- .../documents/discoveryengine.v1alpha.json | 212 ++++++++++-------- .../documents/discoveryengine.v1beta.json | 84 ++++++- 46 files changed, 819 insertions(+), 221 deletions(-) create mode 100644 docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.html create mode 100644 docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.operations.html diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.html index 1f4b1dbfa3..26488a8b3e 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.html @@ -355,6 +355,9 @@ Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -605,6 +608,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -846,6 +852,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1040,6 +1049,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1216,6 +1228,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html index d33db79dc1..52c66ba19d 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html @@ -1454,7 +1454,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1706,7 +1708,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2206,7 +2208,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.userEvents.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.userEvents.html index e25b9cf203..1fcdb79d71 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.userEvents.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.userEvents.html @@ -204,7 +204,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -432,7 +434,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -585,7 +589,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.widgetConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.widgetConfigs.html index ad243504c1..9fef14042f 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.widgetConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.widgetConfigs.html @@ -336,7 +336,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -626,7 +626,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -915,7 +915,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.html index 0eeb9254c5..5a76697bf1 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.html @@ -204,7 +204,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -397,7 +397,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -566,7 +566,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -707,7 +707,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -830,7 +830,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html index 356ed95ee4..1c207e8363 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html @@ -1454,7 +1454,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1706,7 +1708,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2206,7 +2208,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.widgetConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.widgetConfigs.html index 92fd7411dd..7b22b083c6 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.widgetConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.widgetConfigs.html @@ -336,7 +336,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -626,7 +626,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -915,7 +915,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.html index 2eebd1ace1..14277d0ba1 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.html @@ -347,6 +347,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -597,6 +600,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -838,6 +844,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1032,6 +1041,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1208,6 +1220,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html index 1407eb2f6e..3ec5022ae8 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html @@ -1454,7 +1454,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1706,7 +1708,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2206,7 +2208,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.userEvents.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.userEvents.html index 2f2aed06f4..89865e0e81 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.userEvents.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.userEvents.html @@ -204,7 +204,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -432,7 +434,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -585,7 +589,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.widgetConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.widgetConfigs.html index 60114178d0..e0546111ab 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.widgetConfigs.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.widgetConfigs.html @@ -336,7 +336,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -626,7 +626,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -915,7 +915,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. diff --git a/docs/dyn/discoveryengine_v1.projects.locations.userEvents.html b/docs/dyn/discoveryengine_v1.projects.locations.userEvents.html index 39ddb5c1e3..60b916f4a5 100644 --- a/docs/dyn/discoveryengine_v1.projects.locations.userEvents.html +++ b/docs/dyn/discoveryengine_v1.projects.locations.userEvents.html @@ -201,7 +201,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -386,7 +388,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -539,7 +543,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.authorizations.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.authorizations.html index e94701714b..6cf0063dc7 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.authorizations.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.authorizations.html @@ -119,6 +119,9 @@Method Details
"clientId": "A String", # Required. The OAuth2 client ID. "clientSecret": "A String", # Required. The OAuth2 client secret. Encrypted at rest. "pkceVerificationEnabled": True or False, # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + "privateNetworkConfig": { # Identifies the instance hosting an OAuth provider that is reachable only over a private network. # Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress. + "instanceResource": "A String", # Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + }, "scopes": [ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization. "A String", ], @@ -144,6 +147,9 @@Method Details
"clientId": "A String", # Required. The OAuth2 client ID. "clientSecret": "A String", # Required. The OAuth2 client secret. Encrypted at rest. "pkceVerificationEnabled": True or False, # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + "privateNetworkConfig": { # Identifies the instance hosting an OAuth provider that is reachable only over a private network. # Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress. + "instanceResource": "A String", # Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + }, "scopes": [ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization. "A String", ], @@ -193,6 +199,9 @@Method Details
"clientId": "A String", # Required. The OAuth2 client ID. "clientSecret": "A String", # Required. The OAuth2 client secret. Encrypted at rest. "pkceVerificationEnabled": True or False, # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + "privateNetworkConfig": { # Identifies the instance hosting an OAuth provider that is reachable only over a private network. # Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress. + "instanceResource": "A String", # Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + }, "scopes": [ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization. "A String", ], @@ -228,6 +237,9 @@Method Details
"clientId": "A String", # Required. The OAuth2 client ID. "clientSecret": "A String", # Required. The OAuth2 client secret. Encrypted at rest. "pkceVerificationEnabled": True or False, # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + "privateNetworkConfig": { # Identifies the instance hosting an OAuth provider that is reachable only over a private network. # Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress. + "instanceResource": "A String", # Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + }, "scopes": [ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization. "A String", ], @@ -271,6 +283,9 @@Method Details
"clientId": "A String", # Required. The OAuth2 client ID. "clientSecret": "A String", # Required. The OAuth2 client secret. Encrypted at rest. "pkceVerificationEnabled": True or False, # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + "privateNetworkConfig": { # Identifies the instance hosting an OAuth provider that is reachable only over a private network. # Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress. + "instanceResource": "A String", # Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + }, "scopes": [ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization. "A String", ], @@ -296,6 +311,9 @@Method Details
"clientId": "A String", # Required. The OAuth2 client ID. "clientSecret": "A String", # Required. The OAuth2 client secret. Encrypted at rest. "pkceVerificationEnabled": True or False, # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/ + "privateNetworkConfig": { # Identifies the instance hosting an OAuth provider that is reachable only over a private network. # Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress. + "instanceResource": "A String", # Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + }, "scopes": [ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization. "A String", ], diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.html index c40072558f..ae49e025a7 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.html @@ -424,6 +424,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -478,6 +481,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -755,6 +760,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -809,6 +817,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1146,6 +1156,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1200,6 +1213,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1374,6 +1389,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1428,6 +1446,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1584,6 +1604,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1638,6 +1661,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.schemas.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.schemas.html index 90043545f4..33e459e199 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.schemas.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.schemas.html @@ -128,6 +128,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -236,6 +238,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -285,6 +289,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -340,6 +346,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html index ec00527f70..3df72b0cf1 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html @@ -1714,7 +1714,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1972,7 +1974,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2658,7 +2660,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.userEvents.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.userEvents.html index 7f4f9b425f..3f8efcd021 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.userEvents.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.userEvents.html @@ -241,7 +241,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -506,7 +508,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -696,7 +700,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.widgetConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.widgetConfigs.html index 56a7d504e1..039ed3d52b 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.widgetConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.widgetConfigs.html @@ -341,7 +341,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -636,7 +636,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -930,7 +930,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html index 87e7cfd28b..b7a136cb07 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.assistants.agents.html @@ -84,11 +84,6 @@Instance Methods
Returns the operations Resource.
--
-toolCalls()-Returns the toolCalls Resource.
-Close httplib2 connections.
diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.html index 021875c790..edba8d626c 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.html @@ -84,11 +84,6 @@Instance Methods
Returns the assistants Resource.
- -Returns the collaborativeProjects Resource.
- @@ -232,7 +227,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -434,7 +429,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -660,7 +655,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -810,7 +805,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -942,7 +937,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -1086,7 +1081,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -1230,7 +1225,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html index 2651c81505..8c7cfbc562 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.servingConfigs.html @@ -1714,7 +1714,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1972,7 +1974,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2658,7 +2660,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.widgetConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.widgetConfigs.html index 94b301326a..009cf6a828 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.widgetConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.engines.widgetConfigs.html @@ -341,7 +341,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -636,7 +636,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -930,7 +930,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html index 32d4f81e84..654aae7962 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.html @@ -321,6 +321,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -602,6 +604,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -922,6 +926,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1217,6 +1223,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1580,6 +1588,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1852,6 +1862,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.html index 700722016c..e0fae4e9d4 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.html @@ -416,6 +416,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -470,6 +473,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -747,6 +752,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -801,6 +809,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1138,6 +1148,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1192,6 +1205,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1366,6 +1381,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1420,6 +1438,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1576,6 +1596,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1630,6 +1653,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.schemas.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.schemas.html index 6cfc352bae..f73b84e7f5 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.schemas.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.schemas.html @@ -123,6 +123,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -231,6 +233,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -280,6 +284,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -335,6 +341,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html index c6745db009..a63a8a7df3 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html @@ -1714,7 +1714,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1972,7 +1974,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2658,7 +2660,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.userEvents.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.userEvents.html index c4ce56645d..3b43f8a839 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.userEvents.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.userEvents.html @@ -241,7 +241,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -506,7 +508,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -696,7 +700,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.widgetConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.widgetConfigs.html index f10fb4fe36..d8dddc88c6 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.widgetConfigs.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.widgetConfigs.html @@ -341,7 +341,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -636,7 +636,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. @@ -930,7 +930,7 @@Method Details
"enableSafeSearch": True or False, # Whether to enable safe search. "enableSearchAsYouType": True or False, # Whether to enable search-as-you-type behavior for the search widget. "enableVisualContentSummary": True or False, # If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. - "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "generativeAnswerConfig": { # Describes configuration for generative answer. # Describes generative answer configuration. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.evaluations.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.evaluations.html index 47e68c3ad9..ee0078f6ec 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.evaluations.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.evaluations.html @@ -217,7 +217,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -566,7 +566,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -891,7 +891,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.html index 11cc2796c5..d663a0b300 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.html @@ -109,6 +109,11 @@Instance Methods
Returns the identityMappingStores Resource.
+ +Returns the knowledgeSpaces Resource.
+ @@ -1233,6 +1238,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished @@ -1535,6 +1542,8 @@Method Details
"indexableOption": "A String", # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error. "keyPropertyType": "A String", # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified. "metatagName": "A String", # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag. + "partialMatchableOption": "A String", # Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error. + "prefixMatchableOption": "A String", # Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error. "recsFilterableOption": "A String", # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned. "retrievableOption": "A String", # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. "schemaOrgPaths": [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.html new file mode 100644 index 0000000000..cd76fc5126 --- /dev/null +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.html @@ -0,0 +1,91 @@ + + + +Discovery Engine API . projects . locations . knowledgeSpaces
+Instance Methods
++
+operations()+Returns the operations Resource.
+ ++
+close()Close httplib2 connections.
+Method Details
+++ + \ No newline at end of file diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.operations.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.operations.html new file mode 100644 index 0000000000..6ecea68e22 --- /dev/null +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.knowledgeSpaces.operations.html @@ -0,0 +1,124 @@ + + + +close()+Close httplib2 connections.+Discovery Engine API . projects . locations . knowledgeSpaces . operations
+Instance Methods
++
+close()Close httplib2 connections.
+ +Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
+Method Details
+++ +close()+Close httplib2 connections.+++ + \ No newline at end of file diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.userEvents.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.userEvents.html index 7174a0a254..38deff94b2 100644 --- a/docs/dyn/discoveryengine_v1alpha.projects.locations.userEvents.html +++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.userEvents.html @@ -238,7 +238,9 @@get(name, x__xgafv=None)+Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + +Args: + name: string, The name of the operation resource. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -460,7 +462,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -650,7 +654,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.html index fd4787fa29..47016ad55f 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.html @@ -350,6 +350,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -606,6 +609,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -853,6 +859,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1053,6 +1062,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1235,6 +1247,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html index 679380e9c2..775c32a68b 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.servingConfigs.html @@ -1551,7 +1551,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1806,7 +1808,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2488,7 +2490,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.userEvents.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.userEvents.html index 30752db899..9bc474b4bf 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.userEvents.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.dataStores.userEvents.html @@ -204,7 +204,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -432,7 +434,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -585,7 +589,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.html index f6f8ce3d11..32bed9edbf 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.html @@ -208,7 +208,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -401,7 +401,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -570,7 +570,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -711,7 +711,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -834,7 +834,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -969,7 +969,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. @@ -1104,7 +1104,7 @@Method Details
], "disableAnalytics": True or False, # Optional. Whether to disable analytics for searches performed on this engine. "displayName": "A String", # Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. - "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` + "features": { # Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` "a_key": "A String", }, "industryVertical": "A String", # Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html index 93339632c8..253a8754c2 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.collections.engines.servingConfigs.html @@ -1551,7 +1551,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1806,7 +1808,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2488,7 +2490,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.html b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.html index 0e77add2a4..8a7b25255f 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.html @@ -342,6 +342,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -598,6 +601,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -845,6 +851,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1045,6 +1054,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. @@ -1227,6 +1239,9 @@Method Details
], }, "notebooklmConfig": { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. + "notebooks": [ # Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one. + "A String", + ], "searchConfig": "A String", # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* }, "thirdPartyOauthConfig": { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html index ef12908aaf..e2d7d8020a 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.servingConfigs.html @@ -1551,7 +1551,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -1806,7 +1808,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -2488,7 +2490,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.userEvents.html b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.userEvents.html index 2ffe557538..b1162b7215 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.userEvents.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.dataStores.userEvents.html @@ -204,7 +204,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -432,7 +434,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -585,7 +589,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.evaluations.html b/docs/dyn/discoveryengine_v1beta.projects.locations.evaluations.html index 53000c2dbc..589d08262a 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.evaluations.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.evaluations.html @@ -214,7 +214,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -559,7 +559,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. @@ -880,7 +880,7 @@Method Details
"A String", ], }, - "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. + "dataStoreSpecs": [ # Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error. { # A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. "boostSpec": { # Boost specification to boost certain documents. # Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) "conditionBoostSpecs": [ # Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. diff --git a/docs/dyn/discoveryengine_v1beta.projects.locations.userEvents.html b/docs/dyn/discoveryengine_v1beta.projects.locations.userEvents.html index b858947e56..3ac3bd5794 100644 --- a/docs/dyn/discoveryengine_v1beta.projects.locations.userEvents.html +++ b/docs/dyn/discoveryengine_v1beta.projects.locations.userEvents.html @@ -201,7 +201,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -386,7 +388,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. @@ -539,7 +543,9 @@Method Details
}, "questionIndex": 42, # The index of the user input within the conversation messages. "session": "A String", # Name of the newly generated or continued session. - "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id} + "stepSeqNum": "A String", # Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply. + "taskName": "A String", # Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task} + "trajectoryId": "A String", # Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. }, "dataTermsAccepted": True or False, # Optional. Whether the customer accepted data use terms. "feedbackSource": "A String", # Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. diff --git a/googleapiclient/discovery_cache/documents/discoveryengine.v1.json b/googleapiclient/discovery_cache/documents/discoveryengine.v1.json index 965da06794..037c88c14a 100644 --- a/googleapiclient/discovery_cache/documents/discoveryengine.v1.json +++ b/googleapiclient/discovery_cache/documents/discoveryengine.v1.json @@ -9902,7 +9902,7 @@ } } }, -"revision": "20261004", +"revision": "20261013", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "A2aV1APIKeySecurityScheme": { @@ -16203,6 +16203,13 @@ "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -16974,7 +16981,7 @@ ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -17441,14 +17448,16 @@ "GOOGLE_CONSOLE", "GOOGLE_WIDGET", "GOOGLE_WEBAPP", -"GOOGLE_AGENTSPACE_MOBILE" +"GOOGLE_AGENTSPACE_MOBILE", +"GOOGLE_AGENTSPACE_DESKTOP" ], "enumDescriptions": [ "Unspecified feedback source.", "Feedback source is Google Console.", "Feedback source is Google Widget.", "Feedback source is Google Webapp.", -"Feedback source is Google AgentSpace Mobile app." +"Feedback source is Google AgentSpace Mobile app.", +"Feedback source is Google AgentSpace Desktop app." ], "type": "string" }, @@ -17529,8 +17538,17 @@ "description": "Name of the newly generated or continued session.", "type": "string" }, +"stepSeqNum": { +"description": "Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.", +"format": "int64", +"type": "string" +}, "taskName": { -"description": "Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}", +"description": "Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}", +"type": "string" +}, +"trajectoryId": { +"description": "Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.", "type": "string" } }, @@ -18337,7 +18355,7 @@ "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -19839,7 +19857,7 @@ "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec" }, @@ -23409,7 +23427,7 @@ false ], "type": "string" }, -"description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "readOnly": true, "type": "object" }, @@ -27292,6 +27310,13 @@ false "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -27905,7 +27930,7 @@ false ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -28624,6 +28649,34 @@ false "description": "Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.", "type": "string" }, +"partialMatchableOption": { +"description": "Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"PARTIAL_MATCHABLE_OPTION_UNSPECIFIED", +"PARTIAL_MATCHABLE_OPTION_ENABLED", +"PARTIAL_MATCHABLE_OPTION_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Partial Matchable option enabled.", +"Partial Matchable option disabled." +], +"type": "string" +}, +"prefixMatchableOption": { +"description": "Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"PREFIX_MATCHABLE_OPTION_UNSPECIFIED", +"PREFIX_MATCHABLE_OPTION_ENABLED", +"PREFIX_MATCHABLE_OPTION_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Prefix Matchable option enabled.", +"Prefix Matchable option disabled." +], +"type": "string" +}, "recsFilterableOption": { "description": "If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.", "enum": [ @@ -29219,7 +29272,7 @@ false "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -30549,7 +30602,7 @@ false "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec" }, @@ -33174,6 +33227,13 @@ false "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -33623,7 +33683,7 @@ false ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -34579,7 +34639,7 @@ false "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -35296,7 +35356,7 @@ false "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec" }, diff --git a/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json b/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json index ef0ee2568a..17e69eec15 100644 --- a/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json @@ -6402,41 +6402,6 @@ ] } } -}, -"toolCalls": { -"resources": { -"operations": { -"methods": { -"get": { -"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/toolCalls/{toolCallsId}/operations/{operationsId}", -"httpMethod": "GET", -"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.toolCalls.operations.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/toolCalls/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1alpha/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite", -"https://www.googleapis.com/auth/discoveryengine.serving.readwrite" -] -} -} -} -} } } }, @@ -6619,45 +6584,6 @@ } } }, -"collaborativeProjects": { -"resources": { -"knowledgeSpaces": { -"resources": { -"operations": { -"methods": { -"get": { -"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/collaborativeProjects/{collaborativeProjectsId}/knowledgeSpaces/{knowledgeSpacesId}/operations/{operationsId}", -"httpMethod": "GET", -"id": "discoveryengine.projects.locations.collections.engines.collaborativeProjects.knowledgeSpaces.operations.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/collaborativeProjects/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1alpha/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/discoveryengine.readwrite", -"https://www.googleapis.com/auth/discoveryengine.serving.readwrite" -] -} -} -} -} -} -} -}, "completionConfig": { "methods": { "completeQuery": { @@ -12164,6 +12090,41 @@ } } }, +"knowledgeSpaces": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/knowledgeSpaces/{knowledgeSpacesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.knowledgeSpaces.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite", +"https://www.googleapis.com/auth/discoveryengine.serving.readwrite" +] +} +} +} +} +}, "licenseConfigs": { "methods": { "create": { @@ -13692,7 +13653,7 @@ } } }, -"revision": "20261004", +"revision": "20261013", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -16046,6 +16007,13 @@ "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -16575,7 +16543,7 @@ ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -17354,7 +17322,7 @@ "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -22114,6 +22082,10 @@ "description": "Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/", "type": "boolean" }, +"privateNetworkConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig", +"description": "Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token exchange has to be routed over the private network the instance is on instead of over public egress. Leaving it unset keeps the exchange on public egress." +}, "scopes": { "description": "Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If omitted, no additional scopes are requested beyond those required by the authorization uri. If set, it will overwrite the scopes in the authorization uri when acquiring user authorization.", "items": { @@ -22128,6 +22100,17 @@ }, "type": "object" }, +"GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig": { +"description": "Identifies the instance hosting an OAuth provider that is reachable only over a private network.", +"id": "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig", +"properties": { +"instanceResource": { +"description": "Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker instance, in the form `projects/{project}/locations/{location}/instances/{instance}`.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDiscoveryengineV1alphaBAPConfig": { "description": "The configuration for the BAP connector.", "id": "GoogleCloudDiscoveryengineV1alphaBAPConfig", @@ -22645,7 +22628,7 @@ "The BillingAccountLicenseConfig is active and being used.", "The BillingAccountLicenseConfig has expired.", "The BillingAccountLicenseConfig has not started yet, and its start date is in the future.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The BillingAccountLicenseConfig is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -25430,6 +25413,13 @@ "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -26307,7 +26297,7 @@ ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -27136,14 +27126,16 @@ "GOOGLE_CONSOLE", "GOOGLE_WIDGET", "GOOGLE_WEBAPP", -"GOOGLE_AGENTSPACE_MOBILE" +"GOOGLE_AGENTSPACE_MOBILE", +"GOOGLE_AGENTSPACE_DESKTOP" ], "enumDescriptions": [ "Unspecified feedback source.", "Feedback source is Google Console.", "Feedback source is Google Widget.", "Feedback source is Google Webapp.", -"Feedback source is Google AgentSpace Mobile app." +"Feedback source is Google AgentSpace Mobile app.", +"Feedback source is Google AgentSpace Desktop app." ], "type": "string" }, @@ -27224,8 +27216,17 @@ "description": "Name of the newly generated or continued session.", "type": "string" }, +"stepSeqNum": { +"description": "Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.", +"format": "int64", +"type": "string" +}, "taskName": { -"description": "Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}", +"description": "Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}", +"type": "string" +}, +"trajectoryId": { +"description": "Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.", "type": "string" } }, @@ -27410,6 +27411,34 @@ "description": "Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.", "type": "string" }, +"partialMatchableOption": { +"description": "Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"PARTIAL_MATCHABLE_OPTION_UNSPECIFIED", +"PARTIAL_MATCHABLE_OPTION_ENABLED", +"PARTIAL_MATCHABLE_OPTION_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Partial Matchable option enabled.", +"Partial Matchable option disabled." +], +"type": "string" +}, +"prefixMatchableOption": { +"description": "Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"PREFIX_MATCHABLE_OPTION_UNSPECIFIED", +"PREFIX_MATCHABLE_OPTION_ENABLED", +"PREFIX_MATCHABLE_OPTION_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Prefix Matchable option enabled.", +"Prefix Matchable option disabled." +], +"type": "string" +}, "recsFilterableOption": { "description": "If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.", "enum": [ @@ -28697,7 +28726,7 @@ "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -31595,7 +31624,7 @@ "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec" }, @@ -35850,7 +35879,7 @@ false ], "type": "string" }, -"description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "readOnly": true, "type": "object" }, @@ -37113,6 +37142,13 @@ false "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -37562,7 +37598,7 @@ false ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -38518,7 +38554,7 @@ false "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -39235,7 +39271,7 @@ false "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec" }, diff --git a/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json b/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json index 9c741581db..5891f2e53a 100644 --- a/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +++ b/googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json @@ -9645,7 +9645,7 @@ } } }, -"revision": "20261004", +"revision": "20261013", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -11999,6 +11999,13 @@ "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -12528,7 +12535,7 @@ ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -13307,7 +13314,7 @@ "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -18264,6 +18271,13 @@ "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -18877,7 +18891,7 @@ ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -19596,6 +19610,34 @@ "description": "Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.", "type": "string" }, +"partialMatchableOption": { +"description": "Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are partial matchable. If partial_matchable_option is unset, the server behavior defaults to PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. For those fields that do not support setting partial matchable options, the server will skip partial matchable option setting, and setting partial_matchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"PARTIAL_MATCHABLE_OPTION_UNSPECIFIED", +"PARTIAL_MATCHABLE_OPTION_ENABLED", +"PARTIAL_MATCHABLE_OPTION_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Partial Matchable option enabled.", +"Partial Matchable option disabled." +], +"type": "string" +}, +"prefixMatchableOption": { +"description": "Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For those fields that do not support setting prefix matchable options, the server will skip prefix matchable option setting, and setting prefix_matchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"PREFIX_MATCHABLE_OPTION_UNSPECIFIED", +"PREFIX_MATCHABLE_OPTION_ENABLED", +"PREFIX_MATCHABLE_OPTION_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Prefix Matchable option enabled.", +"Prefix Matchable option disabled." +], +"type": "string" +}, "recsFilterableOption": { "description": "If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.", "enum": [ @@ -20191,7 +20233,7 @@ "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -21521,7 +21563,7 @@ "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec" }, @@ -27516,6 +27558,13 @@ false "description": "Config for connecting to NotebookLM Enterprise.", "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig", "properties": { +"notebooks": { +"description": "Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour. Each entry is a full notebook resource name, such as `projects/*/locations/*/notebooks/*`. Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.", +"items": { +"type": "string" +}, +"type": "array" +}, "searchConfig": { "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*", "type": "string" @@ -28218,7 +28267,7 @@ false ], "type": "string" }, -"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`", +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`", "type": "object" }, "industryVertical": { @@ -28775,14 +28824,16 @@ false "GOOGLE_CONSOLE", "GOOGLE_WIDGET", "GOOGLE_WEBAPP", -"GOOGLE_AGENTSPACE_MOBILE" +"GOOGLE_AGENTSPACE_MOBILE", +"GOOGLE_AGENTSPACE_DESKTOP" ], "enumDescriptions": [ "Unspecified feedback source.", "Feedback source is Google Console.", "Feedback source is Google Widget.", "Feedback source is Google Webapp.", -"Feedback source is Google AgentSpace Mobile app." +"Feedback source is Google AgentSpace Mobile app.", +"Feedback source is Google AgentSpace Desktop app." ], "type": "string" }, @@ -28863,8 +28914,17 @@ false "description": "Name of the newly generated or continued session.", "type": "string" }, +"stepSeqNum": { +"description": "Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.", +"format": "int64", +"type": "string" +}, "taskName": { -"description": "Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}", +"description": "Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}", +"type": "string" +}, +"trajectoryId": { +"description": "Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.", "type": "string" } }, @@ -29768,7 +29828,7 @@ false "The license config has expired.", "The license config has not started yet, and its start date is in the future.", "This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", -"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +"The license config is in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends." ], "readOnly": true, "type": "string" @@ -31665,7 +31725,7 @@ false "description": "Optional. Optional configuration for the Custom Ranking feature." }, "dataStoreSpecs": { -"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used. On an engine with multiple data stores, this field is optional. If it's empty, all of the engine's data stores are searched (blended search). Unless it specifies exactly one data store, some request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an `INVALID_ARGUMENT` error.", "items": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec" }, From 1a9f01658957c7dfc5f1e1dfa1fe95a346991089 Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDate: Tue, 20 Oct 2026 07:24:01 +0000 Subject: [PATCH 17/34] feat(drive): update the api #### drive:v3 The following keys were deleted: - schemas.Approval.properties.completeTime.readOnly (Total Keys: 1) - schemas.Approval.properties.createTime.readOnly (Total Keys: 1) - schemas.Approval.properties.fileContentChangeBehavior.readOnly (Total Keys: 1) - schemas.Approval.properties.modifyTime.readOnly (Total Keys: 1) - schemas.Approval.properties.status.readOnly (Total Keys: 1) --- docs/dyn/drive_v3.approvals.html | 80 +++++++++---------- .../discovery_cache/documents/drive.v3.json | 17 ++-- 2 files changed, 46 insertions(+), 51 deletions(-) diff --git a/docs/dyn/drive_v3.approvals.html b/docs/dyn/drive_v3.approvals.html index 1526332682..83702c099f 100644 --- a/docs/dyn/drive_v3.approvals.html +++ b/docs/dyn/drive_v3.approvals.html @@ -129,10 +129,10 @@ Method Details
{ # Metadata for an approval. An approval is a review or approve process for a Drive item. "approvalId": "A String", # The approval ID. - "completeTime": "A String", # Output only. The time the approval was completed. - "createTime": "A String", # Output only. The time the approval was created. + "completeTime": "A String", # The time the approval was completed. + "createTime": "A String", # The time the approval was created. "dueTime": "A String", # The time that the approval is due. - "fileContentChangeBehavior": "A String", # Output only. The behavior of the approval when the file content changes. + "fileContentChangeBehavior": "A String", # The behavior of the approval when the file content changes. "initiator": { # Information about a Drive user. # The user that requested the approval. "displayName": "A String", # Output only. A plain text displayable name for this user. "emailAddress": "A String", # Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. @@ -142,7 +142,7 @@Method Details
"photoLink": "A String", # Output only. A link to the user's profile photo, if available. }, "kind": "A String", # This is always drive#approval. - "modifyTime": "A String", # Output only. The most recent time the approval was modified. + "modifyTime": "A String", # The most recent time the approval was modified. "reviewerResponses": [ # The responses made on the approval by reviewers. { # A response on an approval made by a specific reviewer. "kind": "A String", # This is always drive#reviewerResponse. @@ -157,7 +157,7 @@Method Details
}, }, ], - "status": "A String", # Output only. The status of the approval at the time this resource was requested. + "status": "A String", # The status of the approval at the time this resource was requested. "targetFileId": "A String", # Target file id of the approval. }Method Details
{ # Metadata for an approval. An approval is a review or approve process for a Drive item. "approvalId": "A String", # The approval ID. - "completeTime": "A String", # Output only. The time the approval was completed. - "createTime": "A String", # Output only. The time the approval was created. + "completeTime": "A String", # The time the approval was completed. + "createTime": "A String", # The time the approval was created. "dueTime": "A String", # The time that the approval is due. - "fileContentChangeBehavior": "A String", # Output only. The behavior of the approval when the file content changes. + "fileContentChangeBehavior": "A String", # The behavior of the approval when the file content changes. "initiator": { # Information about a Drive user. # The user that requested the approval. "displayName": "A String", # Output only. A plain text displayable name for this user. "emailAddress": "A String", # Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. @@ -199,7 +199,7 @@Method Details
"photoLink": "A String", # Output only. A link to the user's profile photo, if available. }, "kind": "A String", # This is always drive#approval. - "modifyTime": "A String", # Output only. The most recent time the approval was modified. + "modifyTime": "A String", # The most recent time the approval was modified. "reviewerResponses": [ # The responses made on the approval by reviewers. { # A response on an approval made by a specific reviewer. "kind": "A String", # This is always drive#reviewerResponse. @@ -214,7 +214,7 @@Method Details
}, }, ], - "status": "A String", # Output only. The status of the approval at the time this resource was requested. + "status": "A String", # The status of the approval at the time this resource was requested. "targetFileId": "A String", # Target file id of the approval. }
+ close()
Close httplib2 connections.
+ +Gets the specified Automation configuration.
+
+ list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all Automations for the specified service or resource policy.
+
+ list_next(previous_request, previous_response)
Retrieves the next page of results.
+
+ patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the specified Automation.
+close()
+ Close httplib2 connections.+
get(name, x__xgafv=None)
+ Gets the specified Automation configuration.
+
+Args:
+ name: string, Required. The relative resource name of the Automation to retrieve, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ``` (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+}
+list(parent, pageSize=None, pageToken=None, x__xgafv=None)
+ Lists all Automations for the specified service or resource policy.
+
+Args:
+ parent: string, Required. The relative resource name of the parent service or resource policy for which to list each associated Automation, in one of the following formats: ``` projects/{project_number}/services/{service_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` (required)
+ pageSize: integer, The maximum number of Automations to return in the response. Note that a service or resource policy can have at most 10 automations. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
+ pageToken: string, Token returned from a previous call to ListAutomations indicating where in the set of Automations to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAutomations must match the call that provided the page token; if they do not match, the result is undefined.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message for the ListAutomations method.
+ "automations": [ # The Automations retrieved.
+ { # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+ },
+ ],
+ "nextPageToken": "A String", # If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token can be used in a subsequent call to ListAutomations to find the next group of Automations. Page tokens are short-lived and should not be persisted.
+}
+list_next(previous_request, previous_response)
+ Retrieves the next page of results. + +Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + +Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++
patch(name, body=None, updateMask=None, x__xgafv=None)
+ Updates the specified Automation.
+
+Args:
+ name: string, Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ``` (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+}
+
+ updateMask: string, Required. A comma-separated list of names of fields in the Automation to update. Example: `timestamp_condition.enforce_time`.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+}
+
+ automations()
+
Returns the automations Resource.
+ diff --git a/docs/dyn/firebaseappcheck_v1beta.projects.services.resourcePolicies.automations.html b/docs/dyn/firebaseappcheck_v1beta.projects.services.resourcePolicies.automations.html new file mode 100644 index 0000000000..be7833278d --- /dev/null +++ b/docs/dyn/firebaseappcheck_v1beta.projects.services.resourcePolicies.automations.html @@ -0,0 +1,208 @@ + + + +
+ close()
Close httplib2 connections.
+ +Gets the specified Automation configuration.
+
+ list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all Automations for the specified service or resource policy.
+
+ list_next(previous_request, previous_response)
Retrieves the next page of results.
+
+ patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the specified Automation.
+close()
+ Close httplib2 connections.+
get(name, x__xgafv=None)
+ Gets the specified Automation configuration.
+
+Args:
+ name: string, Required. The relative resource name of the Automation to retrieve, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ``` (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+}
+list(parent, pageSize=None, pageToken=None, x__xgafv=None)
+ Lists all Automations for the specified service or resource policy.
+
+Args:
+ parent: string, Required. The relative resource name of the parent service or resource policy for which to list each associated Automation, in one of the following formats: ``` projects/{project_number}/services/{service_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` (required)
+ pageSize: integer, The maximum number of Automations to return in the response. Note that a service or resource policy can have at most 10 automations. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
+ pageToken: string, Token returned from a previous call to ListAutomations indicating where in the set of Automations to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAutomations must match the call that provided the page token; if they do not match, the result is undefined.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message for the ListAutomations method.
+ "automations": [ # The Automations retrieved.
+ { # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+ },
+ ],
+ "nextPageToken": "A String", # If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token can be used in a subsequent call to ListAutomations to find the next group of Automations. Page tokens are short-lived and should not be persisted.
+}
+list_next(previous_request, previous_response)
+ Retrieves the next page of results. + +Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + +Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++
patch(name, body=None, updateMask=None, x__xgafv=None)
+ Updates the specified Automation.
+
+Args:
+ name: string, Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ``` (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+}
+
+ updateMask: string, Required. A comma-separated list of names of fields in the Automation to update. Example: `timestamp_condition.enforce_time`.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.
+ "createTime": "A String", # Output only. Timestamp at which this automation object was created.
+ "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
+ "name": "A String", # Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```
+ "origin": "A String", # Output only. The original creator of this automation object.
+ "state": "A String", # Output only. The state that this automation object is currently in.
+ "triggerTime": "A String", # A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
+ "updateTime": "A String", # Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
+}
+
+ automations()
+
Returns the automations Resource.
+
batchUpdate(parent, body=None, x__xgafv=None)
Atomically updates the specified ResourcePolicy configurations.
diff --git a/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json b/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json index e72a7cb54f..57594a892e 100644 --- a/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +++ b/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json @@ -1525,6 +1525,108 @@ } }, "resources": { +"automations": { +"methods": { +"get": { +"description": "Gets the specified Automation configuration.", +"flatPath": "v1beta/projects/{projectsId}/services/{servicesId}/automations/{automationsId}", +"httpMethod": "GET", +"id": "firebaseappcheck.projects.services.automations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the Automation to retrieve, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```", +"location": "path", +"pattern": "^projects/[^/]+/services/[^/]+/automations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"list": { +"description": "Lists all Automations for the specified service or resource policy.", +"flatPath": "v1beta/projects/{projectsId}/services/{servicesId}/automations", +"httpMethod": "GET", +"id": "firebaseappcheck.projects.services.automations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of Automations to return in the response. Note that a service or resource policy can have at most 10 automations. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned from a previous call to ListAutomations indicating where in the set of Automations to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAutomations must match the call that provided the page token; if they do not match, the result is undefined.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the parent service or resource policy for which to list each associated Automation, in one of the following formats: ``` projects/{project_number}/services/{service_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ```", +"location": "path", +"pattern": "^projects/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/automations", +"response": { +"$ref": "GoogleFirebaseAppcheckV1betaListAutomationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"patch": { +"description": "Updates the specified Automation.", +"flatPath": "v1beta/projects/{projectsId}/services/{servicesId}/automations/{automationsId}", +"httpMethod": "PATCH", +"id": "firebaseappcheck.projects.services.automations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```", +"location": "path", +"pattern": "^projects/[^/]+/services/[^/]+/automations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A comma-separated list of names of fields in the Automation to update. Example: `timestamp_condition.enforce_time`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"response": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +}, "resourcePolicies": { "methods": { "batchUpdate": { @@ -1719,6 +1821,110 @@ "https://www.googleapis.com/auth/firebase" ] } +}, +"resources": { +"automations": { +"methods": { +"get": { +"description": "Gets the specified Automation configuration.", +"flatPath": "v1beta/projects/{projectsId}/services/{servicesId}/resourcePolicies/{resourcePoliciesId}/automations/{automationsId}", +"httpMethod": "GET", +"id": "firebaseappcheck.projects.services.resourcePolicies.automations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the Automation to retrieve, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```", +"location": "path", +"pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"list": { +"description": "Lists all Automations for the specified service or resource policy.", +"flatPath": "v1beta/projects/{projectsId}/services/{servicesId}/resourcePolicies/{resourcePoliciesId}/automations", +"httpMethod": "GET", +"id": "firebaseappcheck.projects.services.resourcePolicies.automations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of Automations to return in the response. Note that a service or resource policy can have at most 10 automations. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned from a previous call to ListAutomations indicating where in the set of Automations to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAutomations must match the call that provided the page token; if they do not match, the result is undefined.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the parent service or resource policy for which to list each associated Automation, in one of the following formats: ``` projects/{project_number}/services/{service_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ```", +"location": "path", +"pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/automations", +"response": { +"$ref": "GoogleFirebaseAppcheckV1betaListAutomationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"patch": { +"description": "Updates the specified Automation.", +"flatPath": "v1beta/projects/{projectsId}/services/{servicesId}/resourcePolicies/{resourcePoliciesId}/automations/{automationsId}", +"httpMethod": "PATCH", +"id": "firebaseappcheck.projects.services.resourcePolicies.automations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```", +"location": "path", +"pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A comma-separated list of names of fields in the Automation to update. Example: `timestamp_condition.enforce_time`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"response": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +} } } } @@ -1726,7 +1932,7 @@ } } }, -"revision": "20260918", +"revision": "20261010", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1betaAppAttestConfig": { @@ -1783,6 +1989,70 @@ }, "type": "object" }, +"GoogleFirebaseAppcheckV1betaAutomation": { +"description": "An **enforcement automation** is useful for automatically enforcing a service or a resource policy within a service when a certain condition is met. For example, you may create an automation that automatically turns on enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an automation object may be created by the system in order to protect sensitive services by default. These *system-created* automations can be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The system will not execute nor modify any suspended automations. Also, system-created automations **cannot** be deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your changes with its own default settings without notice (assuming it has not been suspended). An automation's condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition. While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement action will be executed immediately. Currently, the only enforcement action supported is to **enforce** App Check protections on the associated parent service or parent resource policy. Once executed, the automation becomes immutable, and serves as a historical record of that execution. Its `update_time` field will be populated with the timestamp at which the execution occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by the system can still be deleted. If, during the evaluation or execution of an automation, App Check discovers that it is no longer possible for the service or resource to receive App Check protection, App Check may suspend your automation without warning. For example, if you have disabled a service, or have deleted all resources within a service, and that service does not support storing your App Check preferences while it is in such a state, then an automation created for this service may be suspended. Please ensure that the service or resource is correctly configured and operating normally throughout the lifetime of the automation to avoid suspension.", +"id": "GoogleFirebaseAppcheckV1betaAutomation", +"properties": { +"createTime": { +"description": "Output only. Timestamp at which this automation object was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.", +"type": "string" +}, +"name": { +"description": "Identifier. The relative resource name of the automation object, in one of the following supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} ```", +"type": "string" +}, +"origin": { +"description": "Output only. The original creator of this automation object.", +"enum": [ +"ORIGIN_UNSPECIFIED", +"SYSTEM", +"USER" +], +"enumDescriptions": [ +"A placeholder default value. This value should never appear in actual responses.", +"Indicates that the automation object was created by the service being protected by App Check. These automations cannot be deleted, but can be suspended in order to opt out.", +"Indicates that a user created the automation object." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state that this automation object is currently in.", +"enum": [ +"STATE_UNSPECIFIED", +"EVALUATING", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"A placeholder default value. This value should never appear in actual responses.", +"An automation in this state is being actively evaluated. When its condition is met, its enforcement action will be executed.", +"An automation in this state has already been successfully executed. It serves as a historical record of the execution, and it can no longer be modified in any way except be deleted.", +"An Automation in this state has been paused. Its enforcement action will not be executed, and its conditions will no longer be actively evaluated until it is resumed. System-created automations in this state will no longer be modified by the system." +], +"readOnly": true, +"type": "string" +}, +"triggerTime": { +"description": "A condition that is satisfied if the current time is greater than or equal to the specified timestamp.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse": { "description": "Response message for the BatchGetAppAttestConfigs method.", "id": "GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse", @@ -2227,6 +2497,24 @@ }, "type": "object" }, +"GoogleFirebaseAppcheckV1betaListAutomationsResponse": { +"description": "Response message for the ListAutomations method.", +"id": "GoogleFirebaseAppcheckV1betaListAutomationsResponse", +"properties": { +"automations": { +"description": "The Automations retrieved.", +"items": { +"$ref": "GoogleFirebaseAppcheckV1betaAutomation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token can be used in a subsequent call to ListAutomations to find the next group of Automations. Page tokens are short-lived and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, "GoogleFirebaseAppcheckV1betaListDebugTokensResponse": { "description": "Response message for the ListDebugTokens method.", "id": "GoogleFirebaseAppcheckV1betaListDebugTokensResponse", From 5f59c6cfc6266f3319b350dc097f7f19199ba333 Mon Sep 17 00:00:00 2001 From: Yoshi AutomationDeletes a WorkforcePoolSubject. Subject must not already be in a deleted state. A WorkforcePoolSubject is automatically created the first time an external credential is exchanged for a Google Cloud credential using a mapped `google.subject` attribute. There is no endpoint to manually create a WorkforcePoolSubject. For 30 days after a WorkforcePoolSubject is deleted, using the same `google.subject` attribute in token exchanges with Google Cloud STS fails. Call UndeleteWorkforcePoolSubject to undelete a WorkforcePoolSubject that has been deleted, within within 30 days of deleting it. After 30 days, the WorkforcePoolSubject is permanently deleted. At this point, a token exchange with Google Cloud STS that uses the same mapped `google.subject` attribute automatically creates a new WorkforcePoolSubject that is unrelated to the previously deleted WorkforcePoolSubject but has the same `google.subject` value.
revokeSessions(name, body=None, x__xgafv=None)
Revokes all sessions for a given WorkforcePoolSubject.
+Revokes all sessions for the specified WorkforcePoolSubject. Revoking sessions invalidates all active sessions and previously issued credentials for the subject, requiring the user to re-authenticate with the identity provider.
undelete(name, body=None, x__xgafv=None)
Undeletes a WorkforcePoolSubject, as long as it was deleted fewer than 30 days ago.
@@ -134,10 +134,10 @@revokeSessions(name, body=None, x__xgafv=None)
- Revokes all sessions for a given WorkforcePoolSubject.
+ Revokes all sessions for the specified WorkforcePoolSubject. Revoking sessions invalidates all active sessions and previously issued credentials for the subject, requiring the user to re-authenticate with the identity provider.
Args:
- name: string, Required. The resource name of the WorkforcePoolSubject. Special characters, like `/` and `:`, must be escaped, because all URLs need to conform to the "When to Escape and Unescape" section of [RFC3986](https://www.ietf.org/rfc/rfc2396.txt). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}` (required)
+ name: string, Required. The resource name of the WorkforcePoolSubject. Special characters, such as `/` and `:`, must be escaped, because all URLs must conform to the "When to Escape and Unescape" section of [RFC 3986](https://www.rfc-editor.org/info/rfc3986/). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}` (required)
body: object, The request body.
The object takes the form of:
diff --git a/docs/dyn/iam_v1.projects.locations.workloadIdentityPools.providers.html b/docs/dyn/iam_v1.projects.locations.workloadIdentityPools.providers.html
index e8c4c101b9..41484f877e 100644
--- a/docs/dyn/iam_v1.projects.locations.workloadIdentityPools.providers.html
+++ b/docs/dyn/iam_v1.projects.locations.workloadIdentityPools.providers.html
@@ -124,6 +124,9 @@ Method Details
The object takes the form of:
{ # A configuration for an external identity provider.
+ "actorProviders": [ # Optional. A list of the resource names of WorkloadIdentityPoolProviders in the same pool that are authorized to issue actor tokens for this provider. An actor token represents the identity of the acting party to whom authority is delegated. At most 3 actor providers can be specified.
+ "A String",
+ ],
"attributeCondition": "A String", # Optional. [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the `attribute_condition` expression is 4,096 characters. Providing a condition longer than this will result in an error. If unspecified, all valid authentication credentials are accepted. However, multi-tenant identity providers (such as GitHub or Terraform Cloud) require an `attribute_condition` to prevent token spoofing. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
"attributeMapping": { # Optional. Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.groups`: Groups the external identity belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where `{custom_attribute}` is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB. For AWS providers, if no attribute mapping is defined, the following default mapping applies: ``` { "google.subject":"assertion.arn", "attribute.aws_role": "assertion.arn.contains('assumed-role')" " ? assertion.arn.extract('{account_arn}assumed-role/')" " + 'assumed-role/'" " + assertion.arn.extract('assumed-role/{role_name}/')" " : assertion.arn", } ``` If any custom attribute mappings are defined, they must include a mapping to the `google.subject` attribute. For OIDC providers, you must supply a custom mapping, which must include the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ```
"a_key": "A String",
@@ -140,6 +143,7 @@ Method Details
"allowedAudiences": [ # Optional. Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ```
"A String",
],
+ "discoveryUri": "A String", # Optional. The URL to fetch the OIDC discovery document from, overriding the default URL derived from `issuer_uri`. If not set, `discovery_uri` defaults to `issuer_uri` with `/.well-known/openid-configuration` appended, as per the OpenID Connect Discovery 1.0 specification. If set, `discovery_uri` must meet the following requirements: - Must start with `https://`. - Must not exceed 2000 characters. - The scheme, host, and port must match `issuer_uri`. - The path must contain `/.well-known/` (where `` is not empty, such as `openid-configuration`) and conform to the `issuer_uri` topology: - The well-known path segment is inserted before the issuer path (for example, `https://example.com/.well-known/openid-configuration/tenant1` for issuer `https://example.com/tenant1`), or - The well-known path segment is appended under the issuer path (for example, `https://example.com/tenant1/.well-known/openid-configuration` for issuer `https://example.com/tenant1`).
"issuerUri": "A String", # Required. The OIDC `issuer_uri`. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.
"jwksJson": "A String", # Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] }
},
@@ -244,6 +248,9 @@ Method Details
An object of the form:
{ # A configuration for an external identity provider.
+ "actorProviders": [ # Optional. A list of the resource names of WorkloadIdentityPoolProviders in the same pool that are authorized to issue actor tokens for this provider. An actor token represents the identity of the acting party to whom authority is delegated. At most 3 actor providers can be specified.
+ "A String",
+ ],
"attributeCondition": "A String", # Optional. [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the `attribute_condition` expression is 4,096 characters. Providing a condition longer than this will result in an error. If unspecified, all valid authentication credentials are accepted. However, multi-tenant identity providers (such as GitHub or Terraform Cloud) require an `attribute_condition` to prevent token spoofing. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
"attributeMapping": { # Optional. Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.groups`: Groups the external identity belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where `{custom_attribute}` is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB. For AWS providers, if no attribute mapping is defined, the following default mapping applies: ``` { "google.subject":"assertion.arn", "attribute.aws_role": "assertion.arn.contains('assumed-role')" " ? assertion.arn.extract('{account_arn}assumed-role/')" " + 'assumed-role/'" " + assertion.arn.extract('assumed-role/{role_name}/')" " : assertion.arn", } ``` If any custom attribute mappings are defined, they must include a mapping to the `google.subject` attribute. For OIDC providers, you must supply a custom mapping, which must include the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ```
"a_key": "A String",
@@ -260,6 +267,7 @@ Method Details
"allowedAudiences": [ # Optional. Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ```
"A String",
],
+ "discoveryUri": "A String", # Optional. The URL to fetch the OIDC discovery document from, overriding the default URL derived from `issuer_uri`. If not set, `discovery_uri` defaults to `issuer_uri` with `/.well-known/openid-configuration` appended, as per the OpenID Connect Discovery 1.0 specification. If set, `discovery_uri` must meet the following requirements: - Must start with `https://`. - Must not exceed 2000 characters. - The scheme, host, and port must match `issuer_uri`. - The path must contain `/.well-known/` (where `` is not empty, such as `openid-configuration`) and conform to the `issuer_uri` topology: - The well-known path segment is inserted before the issuer path (for example, `https://example.com/.well-known/openid-configuration/tenant1` for issuer `https://example.com/tenant1`), or - The well-known path segment is appended under the issuer path (for example, `https://example.com/tenant1/.well-known/openid-configuration` for issuer `https://example.com/tenant1`).
"issuerUri": "A String", # Required. The OIDC `issuer_uri`. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.
"jwksJson": "A String", # Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] }
},
@@ -306,6 +314,9 @@ Method Details
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
"workloadIdentityPoolProviders": [ # A list of providers.
{ # A configuration for an external identity provider.
+ "actorProviders": [ # Optional. A list of the resource names of WorkloadIdentityPoolProviders in the same pool that are authorized to issue actor tokens for this provider. An actor token represents the identity of the acting party to whom authority is delegated. At most 3 actor providers can be specified.
+ "A String",
+ ],
"attributeCondition": "A String", # Optional. [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the `attribute_condition` expression is 4,096 characters. Providing a condition longer than this will result in an error. If unspecified, all valid authentication credentials are accepted. However, multi-tenant identity providers (such as GitHub or Terraform Cloud) require an `attribute_condition` to prevent token spoofing. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
"attributeMapping": { # Optional. Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.groups`: Groups the external identity belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where `{custom_attribute}` is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB. For AWS providers, if no attribute mapping is defined, the following default mapping applies: ``` { "google.subject":"assertion.arn", "attribute.aws_role": "assertion.arn.contains('assumed-role')" " ? assertion.arn.extract('{account_arn}assumed-role/')" " + 'assumed-role/'" " + assertion.arn.extract('assumed-role/{role_name}/')" " : assertion.arn", } ``` If any custom attribute mappings are defined, they must include a mapping to the `google.subject` attribute. For OIDC providers, you must supply a custom mapping, which must include the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ```
"a_key": "A String",
@@ -322,6 +333,7 @@ Method Details
"allowedAudiences": [ # Optional. Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ```
"A String",
],
+ "discoveryUri": "A String", # Optional. The URL to fetch the OIDC discovery document from, overriding the default URL derived from `issuer_uri`. If not set, `discovery_uri` defaults to `issuer_uri` with `/.well-known/openid-configuration` appended, as per the OpenID Connect Discovery 1.0 specification. If set, `discovery_uri` must meet the following requirements: - Must start with `https://`. - Must not exceed 2000 characters. - The scheme, host, and port must match `issuer_uri`. - The path must contain `/.well-known/` (where `` is not empty, such as `openid-configuration`) and conform to the `issuer_uri` topology: - The well-known path segment is inserted before the issuer path (for example, `https://example.com/.well-known/openid-configuration/tenant1` for issuer `https://example.com/tenant1`), or - The well-known path segment is appended under the issuer path (for example, `https://example.com/tenant1/.well-known/openid-configuration` for issuer `https://example.com/tenant1`).
"issuerUri": "A String", # Required. The OIDC `issuer_uri`. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.
"jwksJson": "A String", # Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] }
},
@@ -373,6 +385,9 @@ Method Details
The object takes the form of:
{ # A configuration for an external identity provider.
+ "actorProviders": [ # Optional. A list of the resource names of WorkloadIdentityPoolProviders in the same pool that are authorized to issue actor tokens for this provider. An actor token represents the identity of the acting party to whom authority is delegated. At most 3 actor providers can be specified.
+ "A String",
+ ],
"attributeCondition": "A String", # Optional. [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the `attribute_condition` expression is 4,096 characters. Providing a condition longer than this will result in an error. If unspecified, all valid authentication credentials are accepted. However, multi-tenant identity providers (such as GitHub or Terraform Cloud) require an `attribute_condition` to prevent token spoofing. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
"attributeMapping": { # Optional. Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as `subject` and `segment`. Each key must be a string specifying the Google Cloud IAM attribute to map to. The following keys are supported: * `google.subject`: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.groups`: Groups the external identity belongs to. You can grant groups access to resources using an IAM `principalSet` binding; access applies to all members of the group. You can also provide custom attributes by specifying `attribute.{custom_attribute}`, where `{custom_attribute}` is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_]. You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example: * `google.subject`: `principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}` * `google.groups`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}` * `attribute.{custom_attribute}`: `principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}` Each value must be a [Common Expression Language] (https://opensource.google/projects/cel) function that maps an identity provider credential to the normalized attribute specified by the corresponding map key. You can use the `assertion` keyword in the expression to access a JSON representation of the authentication credential issued by the provider. The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB. For AWS providers, if no attribute mapping is defined, the following default mapping applies: ``` { "google.subject":"assertion.arn", "attribute.aws_role": "assertion.arn.contains('assumed-role')" " ? assertion.arn.extract('{account_arn}assumed-role/')" " + 'assumed-role/'" " + assertion.arn.extract('assumed-role/{role_name}/')" " : assertion.arn", } ``` If any custom attribute mappings are defined, they must include a mapping to the `google.subject` attribute. For OIDC providers, you must supply a custom mapping, which must include the `google.subject` attribute. For example, the following maps the `sub` claim of the incoming credential to the `subject` attribute on a Google token: ``` {"google.subject": "assertion.sub"} ```
"a_key": "A String",
@@ -389,6 +404,7 @@ Method Details
"allowedAudiences": [ # Optional. Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ```
"A String",
],
+ "discoveryUri": "A String", # Optional. The URL to fetch the OIDC discovery document from, overriding the default URL derived from `issuer_uri`. If not set, `discovery_uri` defaults to `issuer_uri` with `/.well-known/openid-configuration` appended, as per the OpenID Connect Discovery 1.0 specification. If set, `discovery_uri` must meet the following requirements: - Must start with `https://`. - Must not exceed 2000 characters. - The scheme, host, and port must match `issuer_uri`. - The path must contain `/.well-known/` (where `` is not empty, such as `openid-configuration`) and conform to the `issuer_uri` topology: - The well-known path segment is inserted before the issuer path (for example, `https://example.com/.well-known/openid-configuration/tenant1` for issuer `https://example.com/tenant1`), or - The well-known path segment is appended under the issuer path (for example, `https://example.com/tenant1/.well-known/openid-configuration` for issuer `https://example.com/tenant1`).
"issuerUri": "A String", # Required. The OIDC `issuer_uri`. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.
"jwksJson": "A String", # Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] }
},
diff --git a/googleapiclient/discovery_cache/documents/iam.v1.json b/googleapiclient/discovery_cache/documents/iam.v1.json
index a8f959bf13..25b612ccc9 100644
--- a/googleapiclient/discovery_cache/documents/iam.v1.json
+++ b/googleapiclient/discovery_cache/documents/iam.v1.json
@@ -1334,7 +1334,7 @@
]
},
"revokeSessions": {
-"description": "Revokes all sessions for a given WorkforcePoolSubject.",
+"description": "Revokes all sessions for the specified WorkforcePoolSubject. Revoking sessions invalidates all active sessions and previously issued credentials for the subject, requiring the user to re-authenticate with the identity provider.",
"flatPath": "v1/locations/{locationsId}/workforcePools/{workforcePoolsId}/subjects/{subjectsId}:revokeSessions",
"httpMethod": "POST",
"id": "iam.locations.workforcePools.subjects.revokeSessions",
@@ -1343,7 +1343,7 @@
],
"parameters": {
"name": {
-"description": "Required. The resource name of the WorkforcePoolSubject. Special characters, like `/` and `:`, must be escaped, because all URLs need to conform to the \"When to Escape and Unescape\" section of [RFC3986](https://www.ietf.org/rfc/rfc2396.txt). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}`",
+"description": "Required. The resource name of the WorkforcePoolSubject. Special characters, such as `/` and `:`, must be escaped, because all URLs must conform to the \"When to Escape and Unescape\" section of [RFC 3986](https://www.rfc-editor.org/info/rfc3986/). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}`",
"location": "path",
"pattern": "^locations/[^/]+/workforcePools/[^/]+/subjects/[^/]+$",
"required": true,
@@ -4369,7 +4369,7 @@
}
}
},
-"revision": "20260925",
+"revision": "20261012",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
"AccessRestrictions": {
@@ -5504,6 +5504,10 @@
},
"type": "array"
},
+"discoveryUri": {
+"description": "Optional. The URL to fetch the OIDC discovery document from, overriding the default URL derived from `issuer_uri`. If not set, `discovery_uri` defaults to `issuer_uri` with `/.well-known/openid-configuration` appended, as per the OpenID Connect Discovery 1.0 specification. If set, `discovery_uri` must meet the following requirements: - Must start with `https://`. - Must not exceed 2000 characters. - The scheme, host, and port must match `issuer_uri`. - The path must contain `/.well-known/` (where `` is not empty, such as `openid-configuration`) and conform to the `issuer_uri` topology: - The well-known path segment is inserted before the issuer path (for example, `https://example.com/.well-known/openid-configuration/tenant1` for issuer `https://example.com/tenant1`), or - The well-known path segment is appended under the issuer path (for example, `https://example.com/tenant1/.well-known/openid-configuration` for issuer `https://example.com/tenant1`).",
+"type": "string"
+},
"issuerUri": {
"description": "Required. The OIDC `issuer_uri`. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.",
"type": "string"
@@ -6885,6 +6889,13 @@ false
"description": "A configuration for an external identity provider.",
"id": "WorkloadIdentityPoolProvider",
"properties": {
+"actorProviders": {
+"description": "Optional. A list of the resource names of WorkloadIdentityPoolProviders in the same pool that are authorized to issue actor tokens for this provider. An actor token represents the identity of the acting party to whom authority is delegated. At most 3 actor providers can be specified.",
+"items": {
+"type": "string"
+},
+"type": "array"
+},
"attributeCondition": {
"description": "Optional. [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the `attribute_condition` expression is 4,096 characters. Providing a condition longer than this will result in an error. If unspecified, all valid authentication credentials are accepted. However, multi-tenant identity providers (such as GitHub or Terraform Cloud) require an `attribute_condition` to prevent token spoofing. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ``` \"'admins' in google.groups\" ```",
"type": "string"
From ba84fd8b08e18b43940cc52f9ff1146c57fef84f Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Tue, 20 Oct 2026 07:24:02 +0000
Subject: [PATCH 25/34] feat(networksecurity): update the api
#### networksecurity:v1
The following keys were added:
- schemas.MTLSPolicy.properties.clientValidationRelaxations (Total Keys: 2)
#### networksecurity:v1beta1
The following keys were added:
- schemas.MTLSPolicy.properties.clientValidationRelaxations (Total Keys: 2)
---
....projects.locations.serverTlsPolicies.html | 12 +++++++++
....projects.locations.serverTlsPolicies.html | 12 +++++++++
.../documents/networksecurity.v1.json | 27 ++++++++++++++++---
.../documents/networksecurity.v1beta1.json | 27 ++++++++++++++++---
4 files changed, 72 insertions(+), 6 deletions(-)
diff --git a/docs/dyn/networksecurity_v1.projects.locations.serverTlsPolicies.html b/docs/dyn/networksecurity_v1.projects.locations.serverTlsPolicies.html
index 1a41c989bd..8733f1491a 100644
--- a/docs/dyn/networksecurity_v1.projects.locations.serverTlsPolicies.html
+++ b/docs/dyn/networksecurity_v1.projects.locations.serverTlsPolicies.html
@@ -138,6 +138,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
@@ -250,6 +253,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
@@ -352,6 +358,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
@@ -414,6 +423,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
diff --git a/docs/dyn/networksecurity_v1beta1.projects.locations.serverTlsPolicies.html b/docs/dyn/networksecurity_v1beta1.projects.locations.serverTlsPolicies.html
index 295c525d6f..4219dac8d8 100644
--- a/docs/dyn/networksecurity_v1beta1.projects.locations.serverTlsPolicies.html
+++ b/docs/dyn/networksecurity_v1beta1.projects.locations.serverTlsPolicies.html
@@ -138,6 +138,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
@@ -250,6 +253,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
@@ -352,6 +358,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
@@ -414,6 +423,9 @@ Method Details
},
],
"clientValidationMode": "A String", # When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
+ "clientValidationRelaxations": [ # A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.
+ "A String",
+ ],
"clientValidationTrustConfig": "A String", # Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
},
"name": "A String", # Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
diff --git a/googleapiclient/discovery_cache/documents/networksecurity.v1.json b/googleapiclient/discovery_cache/documents/networksecurity.v1.json
index 9a7a756f1c..75c5f76331 100644
--- a/googleapiclient/discovery_cache/documents/networksecurity.v1.json
+++ b/googleapiclient/discovery_cache/documents/networksecurity.v1.json
@@ -6341,7 +6341,7 @@
}
}
},
-"revision": "20260924",
+"revision": "20261011",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
@@ -9108,15 +9108,36 @@
"enum": [
"CLIENT_VALIDATION_MODE_UNSPECIFIED",
"ALLOW_INVALID_OR_MISSING_CLIENT_CERT",
-"REJECT_INVALID"
+"REJECT_INVALID",
+"ALLOW_VALIDATION_RELAXATIONS"
],
"enumDescriptions": [
"Not allowed.",
"Allow connection even if certificate chain validation of the client certificate failed or no client certificate was presented. The proof of possession of the private key is always checked if client certificate was presented. This mode requires the backend to implement processing of data extracted from a client certificate to authenticate the peer, or to reject connections if the client certificate fingerprint is missing.",
-"Require a client certificate and allow connection to the backend only if validation of the client certificate passed. If set, requires a reference to non-empty TrustConfig specified in `client_validation_trust_config`."
+"Require a client certificate and allow connection to the backend only if validation of the client certificate passed. If set, requires a reference to non-empty TrustConfig specified in `client_validation_trust_config`.",
+"Require a client certificate, but apply the specific validation relaxations requested in `client_validation_relaxations`. All selected relaxations are applied simultaneously."
],
"type": "string"
},
+"clientValidationRelaxations": {
+"description": "A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.",
+"items": {
+"enum": [
+"CLIENT_VALIDATION_RELAXATION_UNSPECIFIED",
+"ALLOW_MISSING_EKU",
+"ALLOW_SHA1_HASHING",
+"ALLOW_EXPIRED_LEAF_CERTIFICATE"
+],
+"enumDescriptions": [
+"Not allowed.",
+"Allows the client certificate to completely omit the Extended Key Usage (EKU) extension. If the EKU extension is present, it must permit the `clientAuth` key purpose (OID 1.3.6.1.5.5.7.3.2). Security Warning: Enabling this option is risky if the customer uses a Root CA that issues certificates for multiple different purposes. Without EKU enforcement, a certificate intended for a non-authentication purpose (like S/MIME or server-only auth) might be accepted for mTLS client authentication. Customers should only use this relaxation if they are using a dedicated Private CA solely for issuing client authentication certificates.",
+"Allows validation of client certificate chains signed using legacy SHA-1 message digests. Enabling this is insecure and should only be used to support legacy clients during migration periods.",
+"Allows validation of an expired client leaf certificate. The certificate will be validated as if the current time was one second before the end of its validity period (the `notAfter` timestamp). This relaxation applies strictly to the leaf certificate and not to the rest of the chain."
+],
+"type": "string"
+},
+"type": "array"
+},
"clientValidationTrustConfig": {
"description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.",
"type": "string"
diff --git a/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json b/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json
index 8b9e218f14..f7b6e50726 100644
--- a/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json
@@ -6528,7 +6528,7 @@
}
}
},
-"revision": "20260924",
+"revision": "20261011",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
@@ -9325,15 +9325,36 @@
"enum": [
"CLIENT_VALIDATION_MODE_UNSPECIFIED",
"ALLOW_INVALID_OR_MISSING_CLIENT_CERT",
-"REJECT_INVALID"
+"REJECT_INVALID",
+"ALLOW_VALIDATION_RELAXATIONS"
],
"enumDescriptions": [
"Not allowed.",
"Allow connection even if certificate chain validation of the client certificate failed or no client certificate was presented. The proof of possession of the private key is always checked if client certificate was presented. This mode requires the backend to implement processing of data extracted from a client certificate to authenticate the peer, or to reject connections if the client certificate fingerprint is missing.",
-"Require a client certificate and allow connection to the backend only if validation of the client certificate passed. If set, requires a reference to non-empty TrustConfig specified in `client_validation_trust_config`."
+"Require a client certificate and allow connection to the backend only if validation of the client certificate passed. If set, requires a reference to non-empty TrustConfig specified in `client_validation_trust_config`.",
+"Require a client certificate, but apply the specific validation relaxations requested in `client_validation_relaxations`. All selected relaxations are applied simultaneously."
],
"type": "string"
},
+"clientValidationRelaxations": {
+"description": "A list of validation relaxations to apply when `client_validation_mode` is set to ALLOW_VALIDATION_RELAXATIONS.",
+"items": {
+"enum": [
+"CLIENT_VALIDATION_RELAXATION_UNSPECIFIED",
+"ALLOW_MISSING_EKU",
+"ALLOW_SHA1_HASHING",
+"ALLOW_EXPIRED_LEAF_CERTIFICATE"
+],
+"enumDescriptions": [
+"Not allowed.",
+"Allows the client certificate to completely omit the Extended Key Usage (EKU) extension. If the EKU extension is present, it must permit the `clientAuth` key purpose (OID 1.3.6.1.5.5.7.3.2). Security Warning: Enabling this option is risky if the customer uses a Root CA that issues certificates for multiple different purposes. Without EKU enforcement, a certificate intended for a non-authentication purpose (like S/MIME or server-only auth) might be accepted for mTLS client authentication. Customers should only use this relaxation if they are using a dedicated Private CA solely for issuing client authentication certificates.",
+"Allows validation of client certificate chains signed using legacy SHA-1 message digests. Enabling this is insecure and should only be used to support legacy clients during migration periods.",
+"Allows validation of an expired client leaf certificate. The certificate will be validated as if the current time was one second before the end of its validity period (the `notAfter` timestamp). This relaxation applies strictly to the leaf certificate and not to the rest of the chain."
+],
+"type": "string"
+},
+"type": "array"
+},
"clientValidationTrustConfig": {
"description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.",
"type": "string"
From b7c10cb48ff921ed0f815b2cc576e54c2304d143 Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Tue, 20 Oct 2026 07:24:02 +0000
Subject: [PATCH 26/34] feat(notebooks): update the api
#### notebooks:v2
The following keys were added:
- schemas.NetworkInterface.properties.internalIp.type (Total Keys: 1)
- schemas.VmImage.properties.imageId (Total Keys: 2)
---
...books_v2.projects.locations.instances.html | 8 ++++
.../documents/notebooks.v2.json | 39 ++++++++++++++++---
2 files changed, 42 insertions(+), 5 deletions(-)
diff --git a/docs/dyn/notebooks_v2.projects.locations.instances.html b/docs/dyn/notebooks_v2.projects.locations.instances.html
index 7ba8969c52..960a6d5a32 100644
--- a/docs/dyn/notebooks_v2.projects.locations.instances.html
+++ b/docs/dyn/notebooks_v2.projects.locations.instances.html
@@ -270,6 +270,7 @@ Method Details
"externalIp": "A String", # Optional. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
+ "internalIp": "A String", # Optional. An internal IP address associated with this instance. Specify an unused static internal IP address available to the subnet this instance is in, or leave this field undefined to use an IP from the subnet's ephemeral range.
"network": "A String", # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
"nicType": "A String", # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
"subnet": "A String", # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -304,6 +305,7 @@ Method Details
"vmImage": { # Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. # Optional. Use a Compute Engine VM image to start the notebook instance.
"family": "A String", # Optional. Use this VM image family to find the image; the newest image in this family will be used.
"imageDescription": "A String", # Output only. A human-readable description of the image running on the instance (for example, "Debian 11, Python 3.10"), derived at read time from the image release configuration (the source of truth). Set to "Custom" for unrecognized boot-disk images.
+ "imageId": "A String", # Output only. The ID of the specific Compute Engine VM image the instance is currently running (for example, "workbench-instances-2603-20260918-2130-rc0").
"name": "A String", # Optional. Use VM image name to find the image.
"project": "A String", # Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`
},
@@ -557,6 +559,7 @@ Method Details
"externalIp": "A String", # Optional. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
+ "internalIp": "A String", # Optional. An internal IP address associated with this instance. Specify an unused static internal IP address available to the subnet this instance is in, or leave this field undefined to use an IP from the subnet's ephemeral range.
"network": "A String", # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
"nicType": "A String", # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
"subnet": "A String", # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -591,6 +594,7 @@ Method Details
"vmImage": { # Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. # Optional. Use a Compute Engine VM image to start the notebook instance.
"family": "A String", # Optional. Use this VM image family to find the image; the newest image in this family will be used.
"imageDescription": "A String", # Output only. A human-readable description of the image running on the instance (for example, "Debian 11, Python 3.10"), derived at read time from the image release configuration (the source of truth). Set to "Custom" for unrecognized boot-disk images.
+ "imageId": "A String", # Output only. The ID of the specific Compute Engine VM image the instance is currently running (for example, "workbench-instances-2603-20260918-2130-rc0").
"name": "A String", # Optional. Use VM image name to find the image.
"project": "A String", # Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`
},
@@ -779,6 +783,7 @@ Method Details
"externalIp": "A String", # Optional. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
+ "internalIp": "A String", # Optional. An internal IP address associated with this instance. Specify an unused static internal IP address available to the subnet this instance is in, or leave this field undefined to use an IP from the subnet's ephemeral range.
"network": "A String", # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
"nicType": "A String", # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
"subnet": "A String", # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -813,6 +818,7 @@ Method Details
"vmImage": { # Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. # Optional. Use a Compute Engine VM image to start the notebook instance.
"family": "A String", # Optional. Use this VM image family to find the image; the newest image in this family will be used.
"imageDescription": "A String", # Output only. A human-readable description of the image running on the instance (for example, "Debian 11, Python 3.10"), derived at read time from the image release configuration (the source of truth). Set to "Custom" for unrecognized boot-disk images.
+ "imageId": "A String", # Output only. The ID of the specific Compute Engine VM image the instance is currently running (for example, "workbench-instances-2603-20260918-2130-rc0").
"name": "A String", # Optional. Use VM image name to find the image.
"project": "A String", # Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`
},
@@ -937,6 +943,7 @@ Method Details
"externalIp": "A String", # Optional. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
+ "internalIp": "A String", # Optional. An internal IP address associated with this instance. Specify an unused static internal IP address available to the subnet this instance is in, or leave this field undefined to use an IP from the subnet's ephemeral range.
"network": "A String", # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
"nicType": "A String", # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
"subnet": "A String", # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -971,6 +978,7 @@ Method Details
"vmImage": { # Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. # Optional. Use a Compute Engine VM image to start the notebook instance.
"family": "A String", # Optional. Use this VM image family to find the image; the newest image in this family will be used.
"imageDescription": "A String", # Output only. A human-readable description of the image running on the instance (for example, "Debian 11, Python 3.10"), derived at read time from the image release configuration (the source of truth). Set to "Custom" for unrecognized boot-disk images.
+ "imageId": "A String", # Output only. The ID of the specific Compute Engine VM image the instance is currently running (for example, "workbench-instances-2603-20260918-2130-rc0").
"name": "A String", # Optional. Use VM image name to find the image.
"project": "A String", # Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`
},
diff --git a/googleapiclient/discovery_cache/documents/notebooks.v2.json b/googleapiclient/discovery_cache/documents/notebooks.v2.json
index bd2a6132c3..00c36bf761 100644
--- a/googleapiclient/discovery_cache/documents/notebooks.v2.json
+++ b/googleapiclient/discovery_cache/documents/notebooks.v2.json
@@ -1002,7 +1002,7 @@
}
}
},
-"revision": "20260909",
+"revision": "20261006",
"rootUrl": "https://notebooks.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -1034,9 +1034,27 @@
"NVIDIA_B200",
"NVIDIA_RTX6000"
],
+"enumDeprecated": [
+false,
+true,
+false,
+false,
+false,
+false,
+false,
+false,
+false,
+false,
+false,
+false,
+true,
+false,
+false,
+false
+],
"enumDescriptions": [
"Accelerator type is not specified.",
-"Accelerator type is Nvidia Tesla P100.",
+"Deprecated: Use `NVIDIA_TESLA_T4` (N1) or `NVIDIA_L4` (G2) instead. The NVIDIA Tesla P100 GPU is being decommissioned fleet-wide by Compute Engine and is no longer available for new instances.",
"Accelerator type is Nvidia Tesla V100.",
"Accelerator type is Nvidia Tesla P4.",
"Accelerator type is Nvidia Tesla T4.",
@@ -1047,7 +1065,7 @@
"Accelerator type is Nvidia Tesla H100 - MEGA 80GB.",
"Accelerator type is Nvidia Tesla H200 - 141GB.",
"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.",
-"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.",
+"Deprecated: Use `NVIDIA_TESLA_T4_VWS` instead. The NVIDIA Tesla P100 GPU (Virtual Workstations) is being decommissioned fleet-wide by Compute Engine and is no longer available for new instances.",
"Accelerator type is NVIDIA Tesla P4 Virtual Workstations.",
"Accelerator type is NVIDIA B200.",
"NVIDIA RTX 6000."
@@ -1761,7 +1779,8 @@
"UPGRADING",
"INITIALIZING",
"SUSPENDING",
-"SUSPENDED"
+"SUSPENDED",
+"ORPHANED"
],
"enumDescriptions": [
"State is not specified.",
@@ -1774,7 +1793,8 @@
"The instance is upgrading.",
"The instance is being created.",
"The instance is suspending.",
-"The instance is suspended."
+"The instance is suspended.",
+"The instance has no VM. An upgrade removed the original and could not create its replacement; the data disk and any snapshots are intact. Retry the upgrade to finish it, or roll the instance back to the snapshot taken before it started."
],
"readOnly": true,
"type": "string"
@@ -1914,6 +1934,10 @@
},
"type": "array"
},
+"internalIp": {
+"description": "Optional. An internal IP address associated with this instance. Specify an unused static internal IP address available to the subnet this instance is in, or leave this field undefined to use an IP from the subnet's ephemeral range.",
+"type": "string"
+},
"network": {
"description": "Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`",
"type": "string"
@@ -2392,6 +2416,11 @@
"readOnly": true,
"type": "string"
},
+"imageId": {
+"description": "Output only. The ID of the specific Compute Engine VM image the instance is currently running (for example, \"workbench-instances-2603-20260918-2130-rc0\").",
+"readOnly": true,
+"type": "string"
+},
"name": {
"description": "Optional. Use VM image name to find the image.",
"type": "string"
From c96e58502cc667d63820b96aff3a2dbffd66aad4 Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Tue, 20 Oct 2026 07:24:02 +0000
Subject: [PATCH 27/34] feat(ondemandscanning): update the api
#### ondemandscanning:v1
The following keys were added:
- schemas.LayerAttribute (Total Keys: 4)
- schemas.LayerDetails.properties.attributes (Total Keys: 2)
#### ondemandscanning:v1beta1
The following keys were added:
- schemas.LayerAttribute (Total Keys: 4)
- schemas.LayerDetails.properties.attributes (Total Keys: 2)
---
...dscanning_v1.projects.locations.scans.html | 12 ++++++++++
...ning_v1beta1.projects.locations.scans.html | 12 ++++++++++
.../documents/ondemandscanning.v1.json | 24 ++++++++++++++++++-
.../documents/ondemandscanning.v1beta1.json | 24 ++++++++++++++++++-
4 files changed, 70 insertions(+), 2 deletions(-)
diff --git a/docs/dyn/ondemandscanning_v1.projects.locations.scans.html b/docs/dyn/ondemandscanning_v1.projects.locations.scans.html
index 9bb0a3ff4a..ac55f498e3 100644
--- a/docs/dyn/ondemandscanning_v1.projects.locations.scans.html
+++ b/docs/dyn/ondemandscanning_v1.projects.locations.scans.html
@@ -136,6 +136,12 @@ Method Details
{ # Indicates the location at which a package was found.
"filePath": "A String", # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
"layerDetails": { # Details about the layer a package was found in.
+ "attributes": [ # Attributes attached to this layer by plugins.
+ { # An attribute attached to a layer by a plugin.
+ "plugin": "A String", # The name of the plugin that generated this attribute.
+ "value": "A String", # The value of the attribute, with a meaning defined by the plugin.
+ },
+ ],
"baseImages": [ # The base images the layer is found within.
{ # BaseImage describes a base image of a container image.
"layerCount": 42, # The number of layers that the base image is composed of.
@@ -161,6 +167,12 @@ Method Details
},
],
"layerDetails": { # Details about the layer a package was found in. # Deprecated: Layer details are captured per file location in FileLocation.layer_details. Top-level layer details is not persisted.
+ "attributes": [ # Attributes attached to this layer by plugins.
+ { # An attribute attached to a layer by a plugin.
+ "plugin": "A String", # The name of the plugin that generated this attribute.
+ "value": "A String", # The value of the attribute, with a meaning defined by the plugin.
+ },
+ ],
"baseImages": [ # The base images the layer is found within.
{ # BaseImage describes a base image of a container image.
"layerCount": 42, # The number of layers that the base image is composed of.
diff --git a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html
index 2cb4175a32..e573566fd1 100644
--- a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html
+++ b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html
@@ -135,6 +135,12 @@ Method Details
{ # Indicates the location at which a package was found.
"filePath": "A String", # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
"layerDetails": { # Details about the layer a package was found in.
+ "attributes": [ # Attributes attached to this layer by plugins.
+ { # An attribute attached to a layer by a plugin.
+ "plugin": "A String", # The name of the plugin that generated this attribute.
+ "value": "A String", # The value of the attribute, with a meaning defined by the plugin.
+ },
+ ],
"baseImages": [ # The base images the layer is found within.
{ # BaseImage describes a base image of a container image.
"layerCount": 42, # The number of layers that the base image is composed of.
@@ -160,6 +166,12 @@ Method Details
},
],
"layerDetails": { # Details about the layer a package was found in. # Deprecated: Layer details are captured per file location in FileLocation.layer_details. Top-level layer details is not persisted.
+ "attributes": [ # Attributes attached to this layer by plugins.
+ { # An attribute attached to a layer by a plugin.
+ "plugin": "A String", # The name of the plugin that generated this attribute.
+ "value": "A String", # The value of the attribute, with a meaning defined by the plugin.
+ },
+ ],
"baseImages": [ # The base images the layer is found within.
{ # BaseImage describes a base image of a container image.
"layerCount": 42, # The number of layers that the base image is composed of.
diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json
index 6a0ff519b2..fca5d54ff5 100644
--- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json
+++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json
@@ -344,7 +344,7 @@
}
}
},
-"revision": "20260925",
+"revision": "20261009",
"rootUrl": "https://ondemandscanning.googleapis.com/",
"schemas": {
"AISkillAnalysisOccurrence": {
@@ -2011,10 +2011,32 @@
},
"type": "object"
},
+"LayerAttribute": {
+"description": "An attribute attached to a layer by a plugin.",
+"id": "LayerAttribute",
+"properties": {
+"plugin": {
+"description": "The name of the plugin that generated this attribute.",
+"type": "string"
+},
+"value": {
+"description": "The value of the attribute, with a meaning defined by the plugin.",
+"type": "string"
+}
+},
+"type": "object"
+},
"LayerDetails": {
"description": "Details about the layer a package was found in.",
"id": "LayerDetails",
"properties": {
+"attributes": {
+"description": "Attributes attached to this layer by plugins.",
+"items": {
+"$ref": "LayerAttribute"
+},
+"type": "array"
+},
"baseImages": {
"description": "The base images the layer is found within.",
"items": {
diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json
index 7eac86a5fd..7139447387 100644
--- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json
@@ -344,7 +344,7 @@
}
}
},
-"revision": "20260925",
+"revision": "20261009",
"rootUrl": "https://ondemandscanning.googleapis.com/",
"schemas": {
"AISkillAnalysisOccurrence": {
@@ -2006,10 +2006,32 @@
},
"type": "object"
},
+"LayerAttribute": {
+"description": "An attribute attached to a layer by a plugin.",
+"id": "LayerAttribute",
+"properties": {
+"plugin": {
+"description": "The name of the plugin that generated this attribute.",
+"type": "string"
+},
+"value": {
+"description": "The value of the attribute, with a meaning defined by the plugin.",
+"type": "string"
+}
+},
+"type": "object"
+},
"LayerDetails": {
"description": "Details about the layer a package was found in.",
"id": "LayerDetails",
"properties": {
+"attributes": {
+"description": "Attributes attached to this layer by plugins.",
+"items": {
+"$ref": "LayerAttribute"
+},
+"type": "array"
+},
"baseImages": {
"description": "The base images the layer is found within.",
"items": {
From 039b8b37a1af4cb3645996a4599adf0bd53441d6 Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Tue, 20 Oct 2026 07:24:02 +0000
Subject: [PATCH 28/34] feat(oracledatabase): update the api
#### oracledatabase:v1
The following keys were added:
- resources.projects.resources.locations.resources.cloudExadataInfrastructures.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.cloudVmClusters.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.dbSystems.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.exascaleDbStorageVaults.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.goldengateConnections.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.goldengateDeployments.methods.patch (Total Keys: 17)
- resources.projects.resources.locations.resources.odbNetworks.resources.odbSubnets.methods.patch (Total Keys: 17)
---
...rojects.locations.autonomousDatabases.html | 16 +-
...locations.cloudExadataInfrastructures.html | 132 ++++-
...v1.projects.locations.cloudVmClusters.html | 176 +++++--
...abase_v1.projects.locations.databases.html | 16 +-
...abase_v1.projects.locations.dbSystems.html | 188 ++++++-
...cts.locations.exascaleDbStorageVaults.html | 104 +++-
...tions.goldengateConnectionAssignments.html | 72 ++-
...jects.locations.goldengateConnections.html | 464 +++++++++++++++++-
...jects.locations.goldengateDeployments.html | 195 +++++++-
...ects.locations.odbNetworks.odbSubnets.html | 66 ++-
.../documents/oracledatabase.v1.json | 410 ++++++++++++++--
11 files changed, 1656 insertions(+), 183 deletions(-)
diff --git a/docs/dyn/oracledatabase_v1.projects.locations.autonomousDatabases.html b/docs/dyn/oracledatabase_v1.projects.locations.autonomousDatabases.html
index b0352f93d5..959e82175d 100644
--- a/docs/dyn/oracledatabase_v1.projects.locations.autonomousDatabases.html
+++ b/docs/dyn/oracledatabase_v1.projects.locations.autonomousDatabases.html
@@ -138,8 +138,8 @@ Method Details
The object takes the form of:
{ # Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
- "adminPassword": "A String", # Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
- "adminPasswordSecretVersion": "A String", # Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPassword": "A String", # Optional. Input only. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPasswordSecretVersion": "A String", # Optional. Input only. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
"cidr": "A String", # Optional. Immutable. The subnet CIDR range for the Autonomous Database.
"createTime": "A String", # Output only. The date and time that the Autonomous Database was created.
"database": "A String", # Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.
@@ -473,8 +473,8 @@ Method Details
An object of the form:
{ # Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
- "adminPassword": "A String", # Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
- "adminPasswordSecretVersion": "A String", # Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPassword": "A String", # Optional. Input only. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPasswordSecretVersion": "A String", # Optional. Input only. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
"cidr": "A String", # Optional. Immutable. The subnet CIDR range for the Autonomous Database.
"createTime": "A String", # Output only. The date and time that the Autonomous Database was created.
"database": "A String", # Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.
@@ -702,8 +702,8 @@ Method Details
{ # The response for `AutonomousDatabase.List`.
"autonomousDatabases": [ # The list of Autonomous Databases.
{ # Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
- "adminPassword": "A String", # Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
- "adminPasswordSecretVersion": "A String", # Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPassword": "A String", # Optional. Input only. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPasswordSecretVersion": "A String", # Optional. Input only. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
"cidr": "A String", # Optional. Immutable. The subnet CIDR range for the Autonomous Database.
"createTime": "A String", # Output only. The date and time that the Autonomous Database was created.
"database": "A String", # Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.
@@ -916,8 +916,8 @@ Method Details
The object takes the form of:
{ # Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
- "adminPassword": "A String", # Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
- "adminPasswordSecretVersion": "A String", # Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPassword": "A String", # Optional. Input only. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
+ "adminPasswordSecretVersion": "A String", # Optional. Input only. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
"cidr": "A String", # Optional. Immutable. The subnet CIDR range for the Autonomous Database.
"createTime": "A String", # Output only. The date and time that the Autonomous Database was created.
"database": "A String", # Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.
diff --git a/docs/dyn/oracledatabase_v1.projects.locations.cloudExadataInfrastructures.html b/docs/dyn/oracledatabase_v1.projects.locations.cloudExadataInfrastructures.html
index cb72b0bf4e..e388f9a291 100644
--- a/docs/dyn/oracledatabase_v1.projects.locations.cloudExadataInfrastructures.html
+++ b/docs/dyn/oracledatabase_v1.projects.locations.cloudExadataInfrastructures.html
@@ -100,6 +100,9 @@ Instance Methods
list_next(previous_request, previous_response)
Retrieves the next page of results.
+
+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)
+Updates the parameters of a single Exadata Infrastructure.
Method Details
close()
@@ -161,14 +164,14 @@ Method Details
{ # Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
"createTime": "A String", # Output only. The date and time that the Exadata Infrastructure was created.
- "displayName": "A String", # Optional. User friendly name for this resource.
+ "displayName": "A String", # Optional. Immutable. User friendly name for this resource.
"entitlementId": "A String", # Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
- "gcpOracleZone": "A String", # Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
+ "gcpOracleZone": "A String", # Optional. Immutable. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
"labels": { # Optional. Labels or tags associated with the resource.
"a_key": "A String",
},
"name": "A String", # Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
- "properties": { # Various properties of Exadata Infrastructure. # Optional. Various properties of the infra.
+ "properties": { # Various properties of Exadata Infrastructure. # Optional. Immutable. Various properties of the infra.
"activatedStorageCount": 42, # Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.
"additionalStorageCount": 42, # Output only. The requested number of additional storage servers for the Exadata Infrastructure.
"availableStorageSizeGb": 42, # Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).
@@ -314,14 +317,14 @@ Method Details
{ # Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
"createTime": "A String", # Output only. The date and time that the Exadata Infrastructure was created.
- "displayName": "A String", # Optional. User friendly name for this resource.
+ "displayName": "A String", # Optional. Immutable. User friendly name for this resource.
"entitlementId": "A String", # Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
- "gcpOracleZone": "A String", # Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
+ "gcpOracleZone": "A String", # Optional. Immutable. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
"labels": { # Optional. Labels or tags associated with the resource.
"a_key": "A String",
},
"name": "A String", # Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
- "properties": { # Various properties of Exadata Infrastructure. # Optional. Various properties of the infra.
+ "properties": { # Various properties of Exadata Infrastructure. # Optional. Immutable. Various properties of the infra.
"activatedStorageCount": 42, # Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.
"additionalStorageCount": 42, # Output only. The requested number of additional storage servers for the Exadata Infrastructure.
"availableStorageSizeGb": 42, # Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).
@@ -406,14 +409,14 @@ Method Details
"cloudExadataInfrastructures": [ # The list of Exadata Infrastructures.
{ # Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
"createTime": "A String", # Output only. The date and time that the Exadata Infrastructure was created.
- "displayName": "A String", # Optional. User friendly name for this resource.
+ "displayName": "A String", # Optional. Immutable. User friendly name for this resource.
"entitlementId": "A String", # Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
- "gcpOracleZone": "A String", # Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
+ "gcpOracleZone": "A String", # Optional. Immutable. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
"labels": { # Optional. Labels or tags associated with the resource.
"a_key": "A String",
},
"name": "A String", # Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
- "properties": { # Various properties of Exadata Infrastructure. # Optional. Various properties of the infra.
+ "properties": { # Various properties of Exadata Infrastructure. # Optional. Immutable. Various properties of the infra.
"activatedStorageCount": 42, # Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.
"additionalStorageCount": 42, # Output only. The requested number of additional storage servers for the Exadata Infrastructure.
"availableStorageSizeGb": 42, # Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).
@@ -496,4 +499,115 @@ Method Details
+
+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)
+ Updates the parameters of a single Exadata Infrastructure.
+
+Args:
+ name: string, Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure} (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
+ "createTime": "A String", # Output only. The date and time that the Exadata Infrastructure was created.
+ "displayName": "A String", # Optional. Immutable. User friendly name for this resource.
+ "entitlementId": "A String", # Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
+ "gcpOracleZone": "A String", # Optional. Immutable. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
+ "labels": { # Optional. Labels or tags associated with the resource.
+ "a_key": "A String",
+ },
+ "name": "A String", # Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
+ "properties": { # Various properties of Exadata Infrastructure. # Optional. Immutable. Various properties of the infra.
+ "activatedStorageCount": 42, # Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.
+ "additionalStorageCount": 42, # Output only. The requested number of additional storage servers for the Exadata Infrastructure.
+ "availableStorageSizeGb": 42, # Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).
+ "computeCount": 42, # Optional. The number of compute servers for the Exadata Infrastructure.
+ "computeModel": "A String", # Output only. The compute model of the Exadata Infrastructure.
+ "cpuCount": 42, # Output only. The number of enabled CPU cores.
+ "customerContacts": [ # Optional. The list of customer contacts.
+ { # The CustomerContact reference as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/CustomerContact
+ "email": "A String", # Required. The email address used by Oracle to send notifications regarding databases and infrastructure.
+ },
+ ],
+ "dataStorageSizeTb": 3.14, # Output only. Size, in terabytes, of the DATA disk group.
+ "databaseServerType": "A String", # Optional. The database server type of the Exadata Infrastructure.
+ "dbNodeStorageSizeGb": 42, # Output only. The local node storage allocated in GBs.
+ "dbServerVersion": "A String", # Output only. The software version of the database servers (dom0) in the Exadata Infrastructure.
+ "exascaleConfig": { # Details of the Exascale configuration for the Exadata Infrastructure. # Output only. The Exascale configuration for the Exadata Infrastructure.
+ "availableStorageSizeGb": 42, # Output only. Available storage size for Exascale in GBs.
+ "availableVmStorageSizeGb": 42, # Output only. Available storage size for VM storage on Exascale in GBs.
+ "totalStorageSizeGb": 42, # Output only. Total storage size needed for Exascale in GBs.
+ "totalVmStorageSizeGb": 42, # Output only. Storage size needed for VM storage on Exascale in GBs.
+ },
+ "maintenanceWindow": { # Maintenance window as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow # Optional. Maintenance window for repair.
+ "customActionTimeoutMins": 42, # Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
+ "daysOfWeek": [ # Optional. Days during the week when maintenance should be performed.
+ "A String",
+ ],
+ "hoursOfDay": [ # Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
+ 42,
+ ],
+ "isCustomActionTimeoutEnabled": True or False, # Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
+ "leadTimeWeek": 42, # Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4.
+ "months": [ # Optional. Months during the year when maintenance should be performed.
+ "A String",
+ ],
+ "patchingMode": "A String", # Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
+ "preference": "A String", # Optional. The maintenance window scheduling preference.
+ "weeksOfMonth": [ # Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
+ 42,
+ ],
+ },
+ "maxCpuCount": 42, # Output only. The total number of CPU cores available.
+ "maxDataStorageTb": 3.14, # Output only. The total available DATA disk group size.
+ "maxDbNodeStorageSizeGb": 42, # Output only. The total local node storage available in GBs.
+ "maxMemoryGb": 42, # Output only. The total memory available in GBs.
+ "memorySizeGb": 42, # Output only. The memory allocated in GBs.
+ "monthlyDbServerVersion": "A String", # Output only. The monthly software version of the database servers (dom0) in the Exadata Infrastructure. Example: 20.1.15
+ "monthlyStorageServerVersion": "A String", # Output only. The monthly software version of the storage servers (cells) in the Exadata Infrastructure. Example: 20.1.15
+ "nextMaintenanceRunId": "A String", # Output only. The OCID of the next maintenance run.
+ "nextMaintenanceRunTime": "A String", # Output only. The time when the next maintenance run will occur.
+ "nextSecurityMaintenanceRunTime": "A String", # Output only. The time when the next security maintenance run will occur.
+ "ociUrl": "A String", # Output only. Deep link to the OCI console to view this resource.
+ "ocid": "A String", # Output only. OCID of created infra. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
+ "shape": "A String", # Required. The shape of the Exadata Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
+ "state": "A String", # Output only. The current lifecycle state of the Exadata Infrastructure.
+ "storageCount": 42, # Optional. The number of Cloud Exadata storage servers for the Exadata Infrastructure.
+ "storageServerType": "A String", # Optional. The storage server type of the Exadata Infrastructure.
+ "storageServerVersion": "A String", # Output only. The software version of the storage servers (cells) in the Exadata Infrastructure.
+ "totalStorageSizeGb": 42, # Optional. The total storage allocated to the Exadata Infrastructure resource, in gigabytes (GB).
+ },
+}
+
+ requestId: string, Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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).
+ updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the Exadata 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 the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the `update_mask`.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # This resource represents a long-running operation that is the result of a network API call.
+ "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
+ "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+}
+
+