{
  "revision": "20261111",
  "ownerDomain": "google.com",
  "parameters": {
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "alt": {
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "location": "query",
      "type": "string",
      "description": "Data format for response.",
      "default": "json",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ]
    },
    "callback": {
      "type": "string",
      "description": "JSONP",
      "location": "query"
    },
    "oauth_token": {
      "location": "query",
      "type": "string",
      "description": "OAuth 2.0 token for the current user."
    },
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "prettyPrint": {
      "location": "query",
      "default": "true",
      "type": "boolean",
      "description": "Returns response with indentations and line breaks."
    },
    "fields": {
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string"
    },
    "key": {
      "location": "query",
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "type": "string"
    },
    "quotaUser": {
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "location": "query",
      "type": "string"
    },
    "$.xgafv": {
      "enum": [
        "1",
        "2"
      ],
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "description": "V1 error format.",
      "location": "query",
      "type": "string"
    },
    "uploadType": {
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "type": "string"
    }
  },
  "servicePath": "",
  "name": "discoveryengine",
  "baseUrl": "https://discoveryengine.googleapis.com/",
  "id": "discoveryengine:v1alpha",
  "title": "Discovery Engine API",
  "ownerName": "Google",
  "batchPath": "batch",
  "documentationLink": "https://cloud.google.com/generative-ai-app-builder/docs/",
  "resources": {
    "projects": {
      "methods": {
        "provision": {
          "parameterOrder": [
            "name"
          ],
          "description": "Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.",
          "flatPath": "v1alpha/projects/{projectsId}:provision",
          "id": "discoveryengine.projects.provision",
          "request": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest"
          },
          "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"
          ],
          "httpMethod": "POST",
          "parameters": {
            "name": {
              "required": true,
              "pattern": "^projects/[^/]+$",
              "description": "Required. Full resource name of a Project, such as `projects/{project_id_or_number}`.",
              "type": "string",
              "location": "path"
            }
          },
          "path": "v1alpha/{+name}:provision"
        },
        "patch": {
          "request": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProject"
          },
          "response": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProject"
          },
          "description": "Updates the editable settings of a Discovery Engine Project.",
          "httpMethod": "PATCH",
          "id": "discoveryengine.projects.patch",
          "parameterOrder": [
            "name"
          ],
          "path": "v1alpha/{+name}",
          "flatPath": "v1alpha/projects/{projectsId}",
          "parameters": {
            "name": {
              "pattern": "^projects/[^/]+$",
              "description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.",
              "type": "string",
              "location": "path",
              "required": true
            },
            "updateMask": {
              "type": "string",
              "location": "query",
              "format": "google-fieldmask",
              "description": "Optional. The list of fields to update. Supported fields: * `customer_provided_config` * `customer_provided_config.notebooklm_config.observability_config`"
            }
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform",
            "https://www.googleapis.com/auth/discoveryengine.readwrite",
            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
          ]
        },
        "reportConsentChange": {
          "description": "Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * [Terms for data use](https://cloud.google.com/retail/data-use-terms)",
          "httpMethod": "POST",
          "id": "discoveryengine.projects.reportConsentChange",
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform",
            "https://www.googleapis.com/auth/discoveryengine.readwrite",
            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
          ],
          "request": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest"
          },
          "parameters": {
            "project": {
              "required": true,
              "location": "path",
              "type": "string",
              "description": "Required. Full resource name of a Project, such as `projects/{project_id_or_number}`.",
              "pattern": "^projects/[^/]+$"
            }
          },
          "parameterOrder": [
            "project"
          ],
          "flatPath": "v1alpha/projects/{projectsId}:reportConsentChange",
          "response": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProject"
          },
          "path": "v1alpha/{+project}:reportConsentChange"
        },
        "get": {
          "flatPath": "v1alpha/projects/{projectsId}",
          "description": "Gets a Project. Returns NOT_FOUND when the project is not yet created.",
          "parameterOrder": [
            "name"
          ],
          "id": "discoveryengine.projects.get",
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform",
            "https://www.googleapis.com/auth/discoveryengine.readwrite",
            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
          ],
          "path": "v1alpha/{+name}",
          "parameters": {
            "name": {
              "pattern": "^projects/[^/]+$",
              "description": "Required. Full resource name of a Project, such as `projects/{project_id_or_number}`.",
              "type": "string",
              "location": "path",
              "required": true
            }
          },
          "httpMethod": "GET",
          "response": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProject"
          }
        }
      },
      "resources": {
        "locations": {
          "methods": {
            "updateCmekConfig": {
              "description": "Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.",
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "id": "discoveryengine.projects.locations.updateCmekConfig",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cmekConfig",
              "parameterOrder": [
                "name"
              ],
              "httpMethod": "PATCH",
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig"
              },
              "parameters": {
                "name": {
                  "description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.",
                  "type": "string",
                  "required": true,
                  "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$",
                  "location": "path"
                },
                "setDefault": {
                  "location": "query",
                  "description": "Set the following CmekConfig as the default to be used for child resources if one is not specified.",
                  "type": "boolean"
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "path": "v1alpha/{+name}"
            },
            "completeExternalIdentities": {
              "id": "discoveryengine.projects.locations.completeExternalIdentities",
              "path": "v1alpha/{+parent}:completeExternalIdentities",
              "parameterOrder": [
                "parent"
              ],
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:completeExternalIdentities",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "parameters": {
                "entityTypeFilter": {
                  "location": "query",
                  "enum": [
                    "ENTITY_TYPE_FILTER_UNSPECIFIED",
                    "USERS",
                    "GROUPS"
                  ],
                  "description": "Optional. The type of entities to fetch. If not set, all entity types will be returned.",
                  "type": "string",
                  "enumDescriptions": [
                    "Unspecified entity type filter.",
                    "Fetch only users.",
                    "Fetch only groups."
                  ]
                },
                "prefixQuery": {
                  "location": "query",
                  "description": "Required. The prefix to search for. The matching is case-insensitive. * Users: * Supported: `primary_email` (SCIM `emails[type=work]` only), `given_name`, and `family_name` by leading prefix, and `display_name` per word. * Not supported: `subject`, `external_id`, and SCIM `userName` (not stored; only used to derive `subject` when `google.subject` maps `user.userName`). * Groups: * Supported: `display_name` per word.",
                  "type": "string"
                },
                "useScimIdentities": {
                  "location": "query",
                  "type": "boolean",
                  "description": "Optional. Whether to use scim identities for external identity completion. If false, we will call the Microsoft graph API to fetch the external identities."
                },
                "maxSuggestions": {
                  "description": "Optional. The maximum number of user and group results to return. The service may return fewer than this value. If unspecified, at most 6 results will be returned. The limit is distributed as evenly as possible across users and groups. For example, if max_suggestions is 7, the service may return 4 users and 3 groups. If there are fewer suggestions of one type than half the limit, the other type may return more suggestions up to the max_suggestions limit.",
                  "format": "int32",
                  "location": "query",
                  "type": "integer"
                },
                "parent": {
                  "type": "string",
                  "location": "path",
                  "description": "Required. The parent location resource name, such as `projects/*/locations/global`.",
                  "required": true,
                  "pattern": "^projects/[^/]+/locations/[^/]+$"
                }
              },
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponse"
              },
              "httpMethod": "GET",
              "description": "This method provides suggestions for users and groups managed in an external identity provider, based on the provided prefix. See CompleteExternalIdentitiesRequest.prefix_query for the fields matched during completion."
            },
            "queryConfigurablePricingUsageStats": {
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "description": "Queries configurable pricing usage stats for a project.",
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse"
              },
              "id": "discoveryengine.projects.locations.queryConfigurablePricingUsageStats",
              "parameterOrder": [
                "project",
                "location"
              ],
              "path": "v1alpha/{+project}/locations/{location}:queryConfigurablePricingUsageStats",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{location}:queryConfigurablePricingUsageStats",
              "parameters": {
                "project": {
                  "pattern": "^projects/[^/]+$",
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "description": "Required. The project to query usage stats for. Format: projects/{project}"
                },
                "metricTypes": {
                  "location": "query",
                  "enumDescriptions": [
                    "Default value.",
                    "Daily median search request QPM.",
                    "Daily min search request QPM.",
                    "Daily max search request QPM.",
                    "Daily search request total.",
                    "Total storage bytes for indexing core."
                  ],
                  "type": "string",
                  "description": "Optional. The metric types to return usage for.",
                  "repeated": true,
                  "enum": [
                    "BILLING_METRIC_TYPE_UNSPECIFIED",
                    "DAILY_MDN_QPM",
                    "DAILY_MIN_QPM",
                    "DAILY_MAX_QPM",
                    "DAILY_SEARCH_REQUEST",
                    "TOTAL_STORAGE"
                  ]
                },
                "location": {
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "description": "Required. The location to query usage stats for."
                },
                "timeRange.endDate.month": {
                  "format": "int32",
                  "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
                  "location": "query",
                  "type": "integer"
                },
                "timeRange.endDate.day": {
                  "location": "query",
                  "type": "integer",
                  "format": "int32",
                  "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
                },
                "timeRange.startDate.month": {
                  "type": "integer",
                  "format": "int32",
                  "location": "query",
                  "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
                },
                "timeRange.startDate.day": {
                  "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
                  "format": "int32",
                  "type": "integer",
                  "location": "query"
                },
                "timeRange.endDate.year": {
                  "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
                  "format": "int32",
                  "type": "integer",
                  "location": "query"
                },
                "timeRange.startDate.year": {
                  "format": "int32",
                  "type": "integer",
                  "location": "query",
                  "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
                }
              },
              "httpMethod": "GET"
            },
            "provision": {
              "description": "Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.",
              "parameters": {
                "name": {
                  "required": true,
                  "description": "Required. Full resource name of a Project, such as `projects/{project_id_or_number}`.",
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "type": "string"
                }
              },
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest"
              },
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:provision",
              "id": "discoveryengine.projects.locations.provision",
              "httpMethod": "POST",
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "parameterOrder": [
                "name"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "path": "v1alpha/{+name}:provision"
            },
            "setUpDataConnector": {
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "id": "discoveryengine.projects.locations.setUpDataConnector",
              "parameterOrder": [
                "parent"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "httpMethod": "POST",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:setUpDataConnector",
              "path": "v1alpha/{+parent}:setUpDataConnector",
              "parameters": {
                "parent": {
                  "required": true,
                  "type": "string",
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "description": "Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`."
                }
              },
              "description": "Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method."
            },
            "getAclConfig": {
              "description": "Gets the AclConfig.",
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/aclConfig",
              "path": "v1alpha/{+name}",
              "httpMethod": "GET",
              "id": "discoveryengine.projects.locations.getAclConfig",
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaAclConfig"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "parameters": {
                "name": {
                  "required": true,
                  "type": "string",
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+/aclConfig$",
                  "description": "Required. Resource name of AclConfig, such as `projects/*/locations/*/aclConfig`. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned."
                }
              }
            },
            "removeDedicatedCrawlRate": {
              "id": "discoveryengine.projects.locations.removeDedicatedCrawlRate",
              "httpMethod": "POST",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:removeDedicatedCrawlRate",
              "parameterOrder": [
                "location"
              ],
              "parameters": {
                "location": {
                  "description": "Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}`",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "required": true,
                  "type": "string",
                  "location": "path"
                }
              },
              "path": "v1alpha/{+location}:removeDedicatedCrawlRate",
              "description": "Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-op.",
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest"
              },
              "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"
              ]
            },
            "obtainCrawlRate": {
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse"
              },
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "parameterOrder": [
                "location"
              ],
              "id": "discoveryengine.projects.locations.obtainCrawlRate",
              "path": "v1alpha/{+location}:obtainCrawlRate",
              "parameters": {
                "location": {
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "description": "Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}`",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series.",
              "httpMethod": "POST",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:obtainCrawlRate"
            },
            "getCmekConfig": {
              "httpMethod": "GET",
              "path": "v1alpha/{+name}",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "parameters": {
                "name": {
                  "description": "Required. Resource name of CmekConfig, such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
                  "required": true,
                  "location": "path",
                  "type": "string",
                  "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$"
                }
              },
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cmekConfig",
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig"
              },
              "parameterOrder": [
                "name"
              ],
              "id": "discoveryengine.projects.locations.getCmekConfig",
              "description": "Gets the CmekConfig."
            },
            "setDedicatedCrawlRate": {
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:setDedicatedCrawlRate",
              "path": "v1alpha/{+location}:setDedicatedCrawlRate",
              "parameterOrder": [
                "location"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "httpMethod": "POST",
              "description": "Sets the dedicated crawl rate for a crawl_rate_scope. If the dedicated crawl rate was not set, this will enable vertex AI's crawl bot to use the new dedicated crawl rate for crawling. If the dedicated crawl rate was set, vertex AI's crawl bot will try to update the rate to the new value. If the new value is too high, the crawl bot may crawl at a lower rate to avoid overloading the user's website.",
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "id": "discoveryengine.projects.locations.setDedicatedCrawlRate",
              "parameters": {
                "location": {
                  "required": true,
                  "type": "string",
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "description": "Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}`"
                }
              }
            },
            "setUpDataConnectorV2": {
              "parameters": {
                "parent": {
                  "type": "string",
                  "required": true,
                  "location": "path",
                  "description": "Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$"
                },
                "collectionId": {
                  "description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                  "location": "query",
                  "type": "string"
                },
                "collectionDisplayName": {
                  "location": "query",
                  "type": "string",
                  "description": "Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters."
                }
              },
              "id": "discoveryengine.projects.locations.setUpDataConnectorV2",
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "httpMethod": "POST",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "path": "v1alpha/{+parent}:setUpDataConnectorV2",
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector"
              },
              "parameterOrder": [
                "parent"
              ],
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:setUpDataConnectorV2",
              "description": "Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method."
            },
            "estimateDataSize": {
              "parameterOrder": [
                "location"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest"
              },
              "description": "Estimates the data size to be used by a customer.",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:estimateDataSize",
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "parameters": {
                "location": {
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "type": "string",
                  "description": "Required. Full resource name of the location, such as `projects/{project}/locations/{location}`.",
                  "required": true,
                  "location": "path"
                }
              },
              "path": "v1alpha/{+location}:estimateDataSize",
              "id": "discoveryengine.projects.locations.estimateDataSize",
              "httpMethod": "POST"
            },
            "updateAclConfig": {
              "id": "discoveryengine.projects.locations.updateAclConfig",
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/aclConfig",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "httpMethod": "PATCH",
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaAclConfig"
              },
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaAclConfig"
              },
              "path": "v1alpha/{+name}",
              "parameterOrder": [
                "name"
              ],
              "description": "Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.",
              "parameters": {
                "name": {
                  "required": true,
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+/aclConfig$",
                  "description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                  "type": "string"
                }
              }
            }
          },
          "resources": {
            "identityMappingStores": {
              "methods": {
                "get": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore"
                  },
                  "description": "Gets the Identity Mapping Store.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "id": "discoveryengine.projects.locations.identityMappingStores.get",
                  "path": "v1alpha/{+name}",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "Required. The name of the Identity Mapping Store to get. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}"
                },
                "create": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores",
                  "parameters": {
                    "disableCmek": {
                      "type": "boolean",
                      "description": "Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.",
                      "location": "query"
                    },
                    "parent": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.",
                      "required": true,
                      "type": "string"
                    },
                    "identityMappingStoreId": {
                      "description": "Required. The ID of the Identity Mapping Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.",
                      "location": "query",
                      "type": "string"
                    },
                    "cmekConfigName": {
                      "description": "Resource name of the CmekConfig to use for protecting this Identity Mapping Store.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore"
                  },
                  "id": "discoveryengine.projects.locations.identityMappingStores.create",
                  "description": "Creates a new Identity Mapping Store.",
                  "path": "v1alpha/{+parent}/identityMappingStores"
                },
                "importIdentityMappings": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}:importIdentityMappings",
                  "id": "discoveryengine.projects.locations.identityMappingStores.importIdentityMappings",
                  "path": "v1alpha/{+identityMappingStore}:importIdentityMappings",
                  "parameters": {
                    "identityMappingStore": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`",
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest"
                  },
                  "parameterOrder": [
                    "identityMappingStore"
                  ],
                  "description": "Imports a list of Identity Mapping Entries to an Identity Mapping Store."
                },
                "list": {
                  "path": "v1alpha/{+parent}/identityMappingStores",
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores",
                  "httpMethod": "GET",
                  "description": "Lists all Identity Mapping Stores.",
                  "id": "discoveryengine.projects.locations.identityMappingStores.list",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "pageSize": {
                      "description": "Maximum number of IdentityMappingStores to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.",
                      "format": "int32",
                      "type": "integer",
                      "location": "query"
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "A page token, received from a previous `ListIdentityMappingStores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappingStores` must match the call that provided the page token.",
                      "type": "string"
                    },
                    "parent": {
                      "description": "Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project}/locations/{location}`.",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "location": "path"
                    }
                  }
                },
                "listIdentityMappings": {
                  "path": "v1alpha/{+identityMappingStore}:listIdentityMappings",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}:listIdentityMappings",
                  "parameterOrder": [
                    "identityMappingStore"
                  ],
                  "id": "discoveryengine.projects.locations.identityMappingStores.listIdentityMappings",
                  "description": "Lists Identity Mappings in an Identity Mapping Store.",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse"
                  },
                  "parameters": {
                    "identityMappingStore": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`",
                      "type": "string"
                    },
                    "pageToken": {
                      "description": "A page token, received from a previous `ListIdentityMappings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappings` must match the call that provided the page token.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageSize": {
                      "description": "Maximum number of IdentityMappings to return. If unspecified, defaults to 2000. The maximum allowed value is 10000. Values above 10000 will be coerced to 10000.",
                      "type": "integer",
                      "format": "int32",
                      "location": "query"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "purgeIdentityMappings": {
                  "description": "Purges specified or all Identity Mapping Entries from an Identity Mapping Store.",
                  "parameterOrder": [
                    "identityMappingStore"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "path": "v1alpha/{+identityMappingStore}:purgeIdentityMappings",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}:purgeIdentityMappings",
                  "id": "discoveryengine.projects.locations.identityMappingStores.purgeIdentityMappings",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest"
                  },
                  "parameters": {
                    "identityMappingStore": {
                      "type": "string",
                      "description": "Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "POST"
                },
                "delete": {
                  "description": "Deletes the Identity Mapping Store.",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the Identity Mapping Store to delete. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "id": "discoveryengine.projects.locations.identityMappingStores.delete",
                  "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"
                  ],
                  "httpMethod": "DELETE",
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}"
                }
              },
              "resources": {
                "operations": {
                  "methods": {
                    "get": {
                      "path": "v1alpha/{+name}",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}/operations/{operationsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "location": "path",
                          "required": true,
                          "description": "The name of the operation resource.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+/operations/[^/]+$",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "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.",
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.identityMappingStores.operations.get",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "list": {
                      "path": "v1alpha/{+name}/operations",
                      "response": {
                        "$ref": "GoogleLongrunningListOperationsResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "pageSize": {
                          "location": "query",
                          "description": "The standard list page size.",
                          "format": "int32",
                          "type": "integer"
                        },
                        "returnPartialSuccess": {
                          "type": "boolean",
                          "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                          "location": "query"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "The standard list page token."
                        },
                        "filter": {
                          "location": "query",
                          "description": "The standard list filter.",
                          "type": "string"
                        },
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$",
                          "description": "The name of the operation's parent resource."
                        }
                      },
                      "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                      "id": "discoveryengine.projects.locations.identityMappingStores.operations.list",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}/operations",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET"
                    }
                  }
                }
              }
            },
            "licenseConfigs": {
              "methods": {
                "patch": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.licenseConfigs.patch",
                  "parameters": {
                    "updateMask": {
                      "type": "string",
                      "format": "google-fieldmask",
                      "location": "query",
                      "description": "Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned."
                    },
                    "name": {
                      "description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`",
                      "pattern": "^projects/[^/]+/locations/[^/]+/licenseConfigs/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "description": "Updates the LicenseConfig",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
                  },
                  "path": "v1alpha/{+name}",
                  "httpMethod": "PATCH",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
                  }
                },
                "create": {
                  "description": "Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or Gemini Enterprise free trial licenses.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/licenseConfigs",
                  "id": "discoveryengine.projects.locations.licenseConfigs.create",
                  "parameterOrder": [
                    "parent"
                  ],
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
                  },
                  "path": "v1alpha/{+parent}/licenseConfigs",
                  "parameters": {
                    "parent": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`."
                    },
                    "licenseConfigId": {
                      "description": "Optional. The ID to use for the LicenseConfig, which will become the final component of the LicenseConfig's resource name. We are using the tier (product edition) name as the license config id such as `search` or `search_and_assistant`.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "list": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "pageToken": {
                      "description": "Optional. Not supported.",
                      "type": "string",
                      "location": "query"
                    },
                    "pageSize": {
                      "format": "int32",
                      "description": "Optional. Not supported.",
                      "location": "query",
                      "type": "integer"
                    },
                    "filter": {
                      "type": "string",
                      "description": "Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.",
                      "location": "query"
                    },
                    "parent": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.",
                      "type": "string"
                    }
                  },
                  "id": "discoveryengine.projects.locations.licenseConfigs.list",
                  "description": "Lists all the LicenseConfigs associated with the project.",
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1alpha/{+parent}/licenseConfigs",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/licenseConfigs"
                },
                "get": {
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
                  },
                  "httpMethod": "GET",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}",
                  "id": "discoveryengine.projects.locations.licenseConfigs.get",
                  "path": "v1alpha/{+name}",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/licenseConfigs/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "description": "Required. Full resource name of LicenseConfig, such as `projects/{project}/locations/{location}/licenseConfigs/*`. If the caller does not have permission to access the LicenseConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested LicenseConfig does not exist, a NOT_FOUND error is returned."
                    }
                  },
                  "description": "Gets a LicenseConfig."
                }
              }
            },
            "operations": {
              "methods": {
                "get": {
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "path": "v1alpha/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "The name of the operation resource.",
                      "type": "string"
                    }
                  },
                  "id": "discoveryengine.projects.locations.operations.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.",
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}"
                },
                "list": {
                  "path": "v1alpha/{+name}/operations",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningListOperationsResponse"
                  },
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "The name of the operation's parent resource."
                    },
                    "filter": {
                      "location": "query",
                      "type": "string",
                      "description": "The standard list filter."
                    },
                    "pageSize": {
                      "type": "integer",
                      "description": "The standard list page size.",
                      "location": "query",
                      "format": "int32"
                    },
                    "returnPartialSuccess": {
                      "location": "query",
                      "type": "boolean",
                      "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                    },
                    "pageToken": {
                      "type": "string",
                      "description": "The standard list page token.",
                      "location": "query"
                    }
                  },
                  "id": "discoveryengine.projects.locations.operations.list",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations"
                }
              }
            },
            "userStores": {
              "resources": {
                "userAvailability": {
                  "methods": {
                    "update": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userAvailability:update",
                      "path": "v1alpha/{+parent}/userAvailability:update",
                      "parameters": {
                        "parent": {
                          "description": "Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest"
                      },
                      "id": "discoveryengine.projects.locations.userStores.userAvailability.update",
                      "httpMethod": "POST",
                      "description": "Updates a UserAvailability.",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaUserAvailability"
                      },
                      "parameterOrder": [
                        "parent"
                      ]
                    }
                  }
                },
                "userLicenses": {
                  "methods": {
                    "list": {
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userLicenses",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                          "location": "path",
                          "required": true
                        },
                        "pageSize": {
                          "format": "int32",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
                          "location": "query",
                          "type": "integer"
                        },
                        "filter": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. Filter for the list request. Supported fields: * `license_assignment_state` * `user_principal` * Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. * `user_principal = user1@example.com` to list user license for `user1@example.com`."
                        },
                        "pageToken": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token."
                        },
                        "orderBy": {
                          "type": "string",
                          "description": "Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a \" desc\" suffix. Redundant space characters in the syntax are insignificant. Supported fields (only `user_principal` is supported for now): * `user_principal` If not set, the default ordering is by `user_principal`. Examples: * `user_principal` to order by `user_principal` in ascending order. * `user_principal desc` to order by `user_principal` in descending order.",
                          "location": "query"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Lists the User Licenses.",
                      "path": "v1alpha/{+parent}/userLicenses",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse"
                      },
                      "id": "discoveryengine.projects.locations.userStores.userLicenses.list"
                    },
                    "export": {
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse"
                      },
                      "description": "Exports all the UserLicenses under the parent UserStore as a single CSV document. This is the backend for the admin console \"Download as CSV\" action: it reuses the ListUserLicenses read path so admins can sort/filter offline in Excel or Sheets. The response carries the full CSV (header row followed by data rows) inline in ExportUserLicensesResponse.csv_data.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userLicenses:export",
                      "id": "discoveryengine.projects.locations.userStores.userLicenses.export",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                          "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. All UserLicenses under this UserStore are exported.",
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "path": "v1alpha/{+parent}/userLicenses:export",
                      "httpMethod": "POST"
                    }
                  }
                },
                "licenseConfigsUsageStats": {
                  "methods": {
                    "list": {
                      "id": "discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/licenseConfigsUsageStats",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Lists all the LicenseConfigUsageStatss associated with the project.",
                      "path": "v1alpha/{+parent}/licenseConfigsUsageStats",
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse"
                      },
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                          "location": "path"
                        }
                      }
                    }
                  }
                },
                "operations": {
                  "methods": {
                    "list": {
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}/operations",
                      "parameters": {
                        "pageSize": {
                          "location": "query",
                          "format": "int32",
                          "type": "integer",
                          "description": "The standard list page size."
                        },
                        "name": {
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "The name of the operation's parent resource.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$"
                        },
                        "filter": {
                          "location": "query",
                          "type": "string",
                          "description": "The standard list filter."
                        },
                        "returnPartialSuccess": {
                          "type": "boolean",
                          "location": "query",
                          "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                        },
                        "pageToken": {
                          "type": "string",
                          "description": "The standard list page token.",
                          "location": "query"
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/operations",
                      "response": {
                        "$ref": "GoogleLongrunningListOperationsResponse"
                      },
                      "id": "discoveryengine.projects.locations.userStores.operations.list",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`."
                    },
                    "get": {
                      "parameters": {
                        "name": {
                          "description": "The name of the operation resource.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+/operations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "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}/userStores/{userStoresId}/operations/{operationsId}",
                      "id": "discoveryengine.projects.locations.userStores.operations.get"
                    }
                  }
                },
                "userAvailabilities": {
                  "methods": {
                    "list": {
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse"
                      },
                      "path": "v1alpha/{+parent}/userAvailabilities",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                          "type": "string",
                          "location": "path"
                        },
                        "filter": {
                          "description": "Optional. Filter for the list request. Supported fields (only `user_principal` is supported for now): * `user_principal` (will be normalized for matching) Examples: * `user_principal = \"user1@example.com\"` to list user availability for `user1@example.com`.",
                          "type": "string",
                          "location": "query"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. A page token, received from a previous `ListUserAvailabilities` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserAvailabilities` must match the call that provided the page token."
                        },
                        "pageSize": {
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
                          "type": "integer",
                          "format": "int32",
                          "location": "query"
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userAvailabilities",
                      "description": "Lists the UserAvailabilitys.",
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.userStores.userAvailabilities.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "batchUpdate": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userAvailabilities:batchUpdate",
                      "description": "Updates multiple UserAvailabilitys.",
                      "id": "discoveryengine.projects.locations.userStores.userAvailabilities.batchUpdate",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "POST",
                      "path": "v1alpha/{+parent}/userAvailabilities:batchUpdate",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse"
                      },
                      "parameters": {
                        "parent": {
                          "required": true,
                          "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$"
                        }
                      }
                    }
                  }
                }
              },
              "methods": {
                "patch": {
                  "path": "v1alpha/{+name}",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore"
                  },
                  "httpMethod": "PATCH",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                      "required": true,
                      "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                      "type": "string"
                    },
                    "updateMask": {
                      "format": "google-fieldmask",
                      "type": "string",
                      "description": "Optional. The list of fields to update.",
                      "location": "query"
                    }
                  },
                  "id": "discoveryengine.projects.locations.userStores.patch",
                  "description": "Updates the User Store."
                },
                "batchUpdateUserLicenses": {
                  "parameters": {
                    "parent": {
                      "location": "path",
                      "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest"
                  },
                  "httpMethod": "POST",
                  "id": "discoveryengine.projects.locations.userStores.batchUpdateUserLicenses",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}:batchUpdateUserLicenses",
                  "path": "v1alpha/{+parent}:batchUpdateUserLicenses",
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "description": "Updates the User License. This method is used for batch assign/unassign licenses to users.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "get": {
                  "description": "Gets the User Store.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}",
                  "id": "discoveryengine.projects.locations.userStores.get",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+name}",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore"
                  }
                }
              }
            },
            "podcasts": {
              "resources": {
                "operations": {
                  "methods": {
                    "get": {
                      "path": "v1alpha/{+name}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/podcasts/{podcastsId}/operations/{operationsId}",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "description": "The name of the operation resource.",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/podcasts/[^/]+/operations/[^/]+$",
                          "required": true
                        }
                      },
                      "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.",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "id": "discoveryengine.projects.locations.podcasts.operations.get",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ]
                    }
                  }
                }
              }
            },
            "userEvents": {
              "methods": {
                "import": {
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "description": "Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:import",
                  "id": "discoveryengine.projects.locations.userEvents.import",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "parent": {
                      "type": "string",
                      "required": true,
                      "description": "Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1alpha/{+parent}/userEvents:import",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest"
                  }
                },
                "write": {
                  "path": "v1alpha/{+parent}/userEvents:write",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:write",
                  "id": "discoveryengine.projects.locations.userEvents.write",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Writes a single user event.",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
                  },
                  "parameters": {
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.",
                      "type": "string",
                      "required": true
                    },
                    "writeAsync": {
                      "type": "boolean",
                      "location": "query",
                      "description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write."
                    }
                  }
                },
                "collect": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:collect",
                  "id": "discoveryengine.projects.locations.userEvents.collect",
                  "parameters": {
                    "ets": {
                      "location": "query",
                      "description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.",
                      "type": "string",
                      "format": "int64"
                    },
                    "parent": {
                      "description": "Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.",
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "uri": {
                      "location": "query",
                      "description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.",
                      "type": "string"
                    },
                    "userEvent": {
                      "type": "string",
                      "location": "query",
                      "description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters."
                    }
                  },
                  "response": {
                    "$ref": "GoogleApiHttpBody"
                  },
                  "path": "v1alpha/{+parent}/userEvents:collect",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameterOrder": [
                    "parent"
                  ],
                  "httpMethod": "GET",
                  "description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly."
                }
              }
            },
            "requirements": {
              "methods": {
                "checkRequirement": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/requirements:checkRequirement",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Check a particular requirement.",
                  "id": "discoveryengine.projects.locations.requirements.checkRequirement",
                  "path": "v1alpha/{+location}/requirements:checkRequirement",
                  "parameterOrder": [
                    "location"
                  ],
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest"
                  },
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse"
                  },
                  "parameters": {
                    "location": {
                      "type": "string",
                      "description": "Required. Full resource name of the location. Format `projects/{project_number_or_id}/locations/{location}`",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    }
                  }
                }
              }
            },
            "cmekConfigs": {
              "methods": {
                "get": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cmekConfigs/{cmekConfigsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Gets the CmekConfig.",
                  "path": "v1alpha/{+name}",
                  "id": "discoveryengine.projects.locations.cmekConfigs.get",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfigs/[^/]+$",
                      "required": true,
                      "description": "Required. Resource name of CmekConfig, such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
                      "type": "string"
                    }
                  },
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "list": {
                  "path": "v1alpha/{+parent}/cmekConfigs",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Lists all the CmekConfigs with the project.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cmekConfigs",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse"
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path"
                    }
                  },
                  "id": "discoveryengine.projects.locations.cmekConfigs.list",
                  "httpMethod": "GET"
                },
                "patch": {
                  "description": "Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.",
                  "path": "v1alpha/{+name}",
                  "id": "discoveryengine.projects.locations.cmekConfigs.patch",
                  "parameters": {
                    "setDefault": {
                      "location": "query",
                      "type": "boolean",
                      "description": "Set the following CmekConfig as the default to be used for child resources if one is not specified."
                    },
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfigs/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`."
                    }
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig"
                  },
                  "httpMethod": "PATCH",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cmekConfigs/{cmekConfigsId}",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "delete": {
                  "httpMethod": "DELETE",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "id": "discoveryengine.projects.locations.cmekConfigs.delete",
                  "path": "v1alpha/{+name}",
                  "description": "De-provisions a CmekConfig.",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfigs/[^/]+$",
                      "location": "path",
                      "description": "Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.",
                      "type": "string",
                      "required": true
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cmekConfigs/{cmekConfigsId}"
                }
              }
            },
            "authorizations": {
              "methods": {
                "delete": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.authorizations.delete",
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "path": "v1alpha/{+name}",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations/{authorizationsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. Resource name of Authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` If the caller does not have permission to delete the authorization, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the authorization to delete does not exist, a `NOT_FOUND` error is returned.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizations/[^/]+$"
                    }
                  },
                  "description": "Deletes an Authorization.",
                  "httpMethod": "DELETE"
                },
                "get": {
                  "description": "Gets an Authorization.",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorization"
                  },
                  "id": "discoveryengine.projects.locations.authorizations.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "Required. Resource name of Authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}`",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1alpha/{+name}",
                  "httpMethod": "GET",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations/{authorizationsId}"
                },
                "patch": {
                  "path": "v1alpha/{+name}",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizations/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Identifier. Resource name of the authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` It must be a UTF-8 encoded string with a length limit of 1024 characters.",
                      "location": "path"
                    },
                    "updateMask": {
                      "location": "query",
                      "format": "google-fieldmask",
                      "description": "The list of fields to update.",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations/{authorizationsId}",
                  "httpMethod": "PATCH",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Updates an Authorization",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorization"
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorization"
                  },
                  "id": "discoveryengine.projects.locations.authorizations.patch"
                },
                "list": {
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Lists all Authorizations under an Engine.",
                  "parameters": {
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "location": "query",
                      "description": "Maximum number of Authorizations to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000."
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "A page token ListAuthorizationsResponse.next_page_token, received from a previous AuthorizationService.ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token."
                    },
                    "parent": {
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}`"
                    }
                  },
                  "id": "discoveryengine.projects.locations.authorizations.list",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse"
                  },
                  "path": "v1alpha/{+parent}/authorizations",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations"
                },
                "create": {
                  "id": "discoveryengine.projects.locations.authorizations.create",
                  "parameters": {
                    "parent": {
                      "location": "path",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}`"
                    },
                    "authorizationId": {
                      "type": "string",
                      "description": "Required. The ID to use for the authorization, which will become the final component of the resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.",
                      "location": "query"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations",
                  "parameterOrder": [
                    "parent"
                  ],
                  "httpMethod": "POST",
                  "description": "Creates an Authorization.",
                  "path": "v1alpha/{+parent}/authorizations",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorization"
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorization"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                }
              }
            },
            "collections": {
              "methods": {
                "get": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1alpha/{+name}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "required": true,
                      "description": "Required. The full resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}`.",
                      "type": "string",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                    }
                  },
                  "description": "Gets a Collection.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.collections.get",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCollection"
                  }
                },
                "delete": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "httpMethod": "DELETE",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Required. The full resource name of the Collection, in the format of `projects/{project}/locations/{location}/collections/{collection}`."
                    }
                  },
                  "id": "discoveryengine.projects.locations.collections.delete",
                  "path": "v1alpha/{+name}",
                  "description": "Deletes a Collection."
                },
                "setIamPolicy": {
                  "response": {
                    "$ref": "GoogleIamV1Policy"
                  },
                  "id": "discoveryengine.projects.locations.collections.setIamPolicy",
                  "request": {
                    "$ref": "GoogleIamV1SetIamPolicyRequest"
                  },
                  "parameterOrder": [
                    "resource"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+resource}:setIamPolicy",
                  "description": "Sets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a Collection resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging.",
                  "parameters": {
                    "resource": {
                      "description": "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.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "httpMethod": "POST",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:setIamPolicy"
                },
                "list": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListCollectionsResponse"
                  },
                  "path": "v1alpha/{+parent}/collections",
                  "id": "discoveryengine.projects.locations.collections.list",
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Gets a list of Collections.",
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "pageSize": {
                      "type": "integer",
                      "description": "The maximum number of Collections to return. The service may return fewer than this value. If unspecified, at most 100 Collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
                      "location": "query",
                      "format": "int32"
                    },
                    "pageToken": {
                      "type": "string",
                      "location": "query",
                      "description": "A page token, received from a previous CollectionService.ListCollections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CollectionService.ListCollections must match the call that provided the page token."
                    },
                    "filter": {
                      "type": "string",
                      "location": "query",
                      "description": "Filter returned collections by associated data connector data sources. For example: `filter = 'data_source:jira confluence'`. If the filter is empty, we return all collections under a project and location."
                    },
                    "parent": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}`.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections"
                },
                "getIamPolicy": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:getIamPolicy",
                  "id": "discoveryengine.projects.locations.collections.getIamPolicy",
                  "parameterOrder": [
                    "resource"
                  ],
                  "path": "v1alpha/{+resource}:getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "GET",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "description": "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.",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "options.requestedPolicyVersion": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "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)."
                    }
                  },
                  "response": {
                    "$ref": "GoogleIamV1Policy"
                  },
                  "description": "Gets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it."
                },
                "updateDataConnector": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector"
                  },
                  "httpMethod": "PATCH",
                  "path": "v1alpha/{+name}",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "updateMask": {
                      "type": "string",
                      "description": "Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error.",
                      "format": "google-fieldmask",
                      "location": "query"
                    },
                    "name": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.collections.updateDataConnector",
                  "description": "Updates a DataConnector."
                },
                "patch": {
                  "id": "discoveryengine.projects.locations.collections.patch",
                  "path": "v1alpha/{+name}",
                  "description": "Updates a Collection.",
                  "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"
                  ],
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCollection"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "httpMethod": "PATCH",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "updateMask": {
                      "type": "string",
                      "description": "Optional. The list of fields to be updated.",
                      "format": "google-fieldmask",
                      "location": "query"
                    },
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Immutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
                    }
                  }
                },
                "getDataConnector": {
                  "path": "v1alpha/{+name}",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "GET",
                  "id": "discoveryengine.projects.locations.collections.getDataConnector",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$",
                      "type": "string",
                      "description": "Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested DataConnector does not exist, a `NOT_FOUND` error is returned.",
                      "location": "path",
                      "required": true
                    }
                  },
                  "description": "Gets the DataConnector. DataConnector is a singleton resource for each Collection."
                }
              },
              "resources": {
                "dataStores": {
                  "methods": {
                    "getIamPolicy": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.getIamPolicy",
                      "path": "v1alpha/{+resource}:getIamPolicy",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:getIamPolicy",
                      "parameterOrder": [
                        "resource"
                      ],
                      "description": "Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.",
                      "httpMethod": "GET",
                      "response": {
                        "$ref": "GoogleIamV1Policy"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "resource": {
                          "description": "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.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true
                        },
                        "options.requestedPolicyVersion": {
                          "type": "integer",
                          "format": "int32",
                          "description": "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).",
                          "location": "query"
                        }
                      }
                    },
                    "delete": {
                      "description": "Deletes a DataStore.",
                      "httpMethod": "DELETE",
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "required": true,
                          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned.",
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}",
                      "id": "discoveryengine.projects.locations.collections.dataStores.delete"
                    },
                    "setIamPolicy": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:setIamPolicy",
                      "description": "Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+resource}:setIamPolicy",
                      "request": {
                        "$ref": "GoogleIamV1SetIamPolicyRequest"
                      },
                      "parameters": {
                        "resource": {
                          "description": "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": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "location": "path"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.dataStores.setIamPolicy",
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "resource"
                      ],
                      "response": {
                        "$ref": "GoogleIamV1Policy"
                      }
                    },
                    "removePatientFilter": {
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameters": {
                        "dataStore": {
                          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Removes a group of patient IDs from the patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the list of patient IDs to remove will be constructed from the direct members of the group which are Patient resources.",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest"
                      },
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "dataStore"
                      ],
                      "id": "discoveryengine.projects.locations.collections.dataStores.removePatientFilter",
                      "path": "v1alpha/{+dataStore}:removePatientFilter",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:removePatientFilter"
                    },
                    "getCompletionConfig": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.getCompletionConfig",
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionConfig",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/completionConfig$",
                          "description": "Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`"
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "description": "Gets a CompletionConfig",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                      },
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "addPatientFilter": {
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameterOrder": [
                        "dataStore"
                      ],
                      "path": "v1alpha/{+dataStore}:addPatientFilter",
                      "description": "Adds a group of patient IDs as a patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.",
                      "parameters": {
                        "dataStore": {
                          "location": "path",
                          "type": "string",
                          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "required": true
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.dataStores.addPatientFilter",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:addPatientFilter"
                    },
                    "updateDocumentProcessingConfig": {
                      "path": "v1alpha/{+name}",
                      "description": "Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleton resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. The `update_mask` query parameter is not supported; if it is set the request returns an error. To update mutable fields, omit `update_mask` and send the full DocumentProcessingConfig as the request body. The entire resource is overwritten, so include all values you want to retain. For example, to update the layout parser, set DocumentProcessingConfig.default_parsing_config (or DocumentProcessingConfig.parsing_config_overrides) and omit `update_mask`. Some fields, such as DocumentProcessingConfig.chunking_config, are immutable and return an error if changed.",
                      "id": "discoveryengine.projects.locations.collections.dataStores.updateDocumentProcessingConfig",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/documentProcessingConfig",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig"
                      },
                      "httpMethod": "PATCH",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/documentProcessingConfig$",
                          "type": "string",
                          "location": "path",
                          "description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`."
                        },
                        "updateMask": {
                          "description": "Not supported. If `update_mask` is set, the request returns an `UnsupportedFieldError`. To update mutable fields, omit `update_mask`; the full DocumentProcessingConfig in the request body then overwrites the existing resource. See the method description for details.",
                          "type": "string",
                          "location": "query",
                          "format": "google-fieldmask"
                        }
                      }
                    },
                    "updateCompletionConfig": {
                      "description": "Updates the CompletionConfigs.",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "PATCH",
                      "path": "v1alpha/{+name}",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                      },
                      "parameters": {
                        "updateMask": {
                          "format": "google-fieldmask",
                          "type": "string",
                          "location": "query",
                          "description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated."
                        },
                        "name": {
                          "description": "Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`",
                          "required": true,
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/completionConfig$"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.dataStores.updateCompletionConfig",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionConfig",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "patch": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                      },
                      "httpMethod": "PATCH",
                      "parameters": {
                        "updateMask": {
                          "location": "query",
                          "description": "Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
                          "type": "string",
                          "format": "google-fieldmask"
                        },
                        "name": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "required": true,
                          "type": "string",
                          "description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.dataStores.patch",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}",
                      "description": "Updates a DataStore"
                    },
                    "list": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.list",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListDataStoresResponse"
                      },
                      "path": "v1alpha/{+parent}/dataStores",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Lists all the DataStores associated with the project.",
                      "parameters": {
                        "filter": {
                          "description": "Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`",
                          "type": "string",
                          "location": "query"
                        },
                        "pageSize": {
                          "type": "integer",
                          "location": "query",
                          "format": "int32",
                          "description": "Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned."
                        },
                        "parent": {
                          "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "location": "path",
                          "type": "string"
                        },
                        "pageToken": {
                          "description": "A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
                          "location": "query",
                          "type": "string"
                        },
                        "view": {
                          "location": "query",
                          "enum": [
                            "DATA_STORE_VIEW_UNSPECIFIED",
                            "DATA_STORE_VIEW_BASIC",
                            "DATA_STORE_VIEW_FULL"
                          ],
                          "description": "Optional. The view to apply to the returned DataStores. Defaults to DataStoreView.DATA_STORE_VIEW_BASIC if unspecified. DataStoreView.DATA_STORE_VIEW_FULL additionally populates DataStore.icon_uri for connector-backed data stores. Resolving connector icons requires extra lookups, so request it only when the caller renders the icons.",
                          "type": "string",
                          "enumDescriptions": [
                            "The default / unset value. The API defaults to DataStoreView.DATA_STORE_VIEW_BASIC.",
                            "Does not populate DataStore.icon_uri. This is the default view.",
                            "Additionally populates DataStore.icon_uri for connector-backed data stores. Resolving connector icons requires extra lookups, so request this view only when the icons are rendered."
                          ]
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores"
                    },
                    "getSiteSearchEngine": {
                      "parameters": {
                        "name": {
                          "description": "Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
                          "required": true,
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.dataStores.getSiteSearchEngine",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine",
                      "path": "v1alpha/{+name}",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine"
                      },
                      "description": "Gets the SiteSearchEngine."
                    },
                    "trainCustomModel": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.trainCustomModel",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:trainCustomModel",
                      "description": "Trains a custom model.",
                      "parameters": {
                        "dataStore": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "description": "Required. The resource name of the Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models.",
                          "type": "string",
                          "location": "path",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "dataStore"
                      ],
                      "path": "v1alpha/{+dataStore}:trainCustomModel",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest"
                      }
                    },
                    "deletePatientFilter": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.deletePatientFilter",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "POST",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:deletePatientFilter",
                      "path": "v1alpha/{+dataStore}:deletePatientFilter",
                      "description": "Deletes the entire patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter.",
                      "parameters": {
                        "dataStore": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "dataStore"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      }
                    },
                    "create": {
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores",
                      "path": "v1alpha/{+parent}/dataStores",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameters": {
                        "skipDefaultSchemaCreation": {
                          "type": "boolean",
                          "location": "query",
                          "description": "A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified."
                        },
                        "dataStoreId": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned."
                        },
                        "parent": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "location": "path",
                          "required": true,
                          "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`."
                        },
                        "disableCmek": {
                          "description": "DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.",
                          "type": "boolean",
                          "location": "query"
                        },
                        "createAdvancedSiteSearch": {
                          "type": "boolean",
                          "location": "query",
                          "description": "A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored."
                        },
                        "cmekConfigName": {
                          "type": "string",
                          "description": "Resource name of the CmekConfig to use for protecting this DataStore.",
                          "location": "query"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.dataStores.create",
                      "httpMethod": "POST"
                    },
                    "get": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.get",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                      },
                      "description": "Gets a DataStore.",
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                        },
                        "view": {
                          "description": "Optional. The view to apply to the returned DataStore. Defaults to DataStoreView.DATA_STORE_VIEW_BASIC if unspecified. DataStoreView.DATA_STORE_VIEW_FULL additionally populates DataStore.icon_uri for a connector-backed data store. Resolving the connector icon requires extra lookups, so request it only when the caller renders the icon.",
                          "type": "string",
                          "location": "query",
                          "enum": [
                            "DATA_STORE_VIEW_UNSPECIFIED",
                            "DATA_STORE_VIEW_BASIC",
                            "DATA_STORE_VIEW_FULL"
                          ],
                          "enumDescriptions": [
                            "The default / unset value. The API defaults to DataStoreView.DATA_STORE_VIEW_BASIC.",
                            "Does not populate DataStore.icon_uri. This is the default view.",
                            "Additionally populates DataStore.icon_uri for connector-backed data stores. Resolving connector icons requires extra lookups, so request this view only when the icons are rendered."
                          ]
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}"
                    },
                    "getDocumentProcessingConfig": {
                      "id": "discoveryengine.projects.locations.collections.dataStores.getDocumentProcessingConfig",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/documentProcessingConfig",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig"
                      },
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "description": "Required. Full DocumentProcessingConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/documentProcessingConfig$"
                        }
                      },
                      "description": "Gets a DocumentProcessingConfig.",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "replacePatientFilter": {
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "httpMethod": "POST",
                      "path": "v1alpha/{+dataStore}:replacePatientFilter",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "dataStore": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest"
                      },
                      "description": "Replaces the patient filter for the data store. This method is essentially a combination of DeletePatientFilters and AddPatientFilter. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.",
                      "parameterOrder": [
                        "dataStore"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:replacePatientFilter",
                      "id": "discoveryengine.projects.locations.collections.dataStores.replacePatientFilter"
                    },
                    "completeQuery": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "queryModel": {
                          "location": "query",
                          "type": "string",
                          "description": "Specifies the autocomplete data model. This overrides any model specified in the Configuration \u003e Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores."
                        },
                        "includeTailSuggestions": {
                          "description": "Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.",
                          "location": "query",
                          "type": "boolean"
                        },
                        "userPseudoId": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned."
                        },
                        "dataStore": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                          "description": "Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "query": {
                          "location": "query",
                          "description": "Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.",
                          "type": "string"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.dataStores.completeQuery",
                      "parameterOrder": [
                        "dataStore"
                      ],
                      "httpMethod": "GET",
                      "description": "Completes the specified user input with keyword suggestions.",
                      "path": "v1alpha/{+dataStore}:completeQuery",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:completeQuery"
                    }
                  },
                  "resources": {
                    "completionConfig": {
                      "methods": {
                        "completeQuery": {
                          "parameterOrder": [
                            "completionConfig"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionConfig:completeQuery",
                          "id": "discoveryengine.projects.locations.collections.dataStores.completionConfig.completeQuery",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse"
                          },
                          "httpMethod": "POST",
                          "description": "Completes the user input with advanced keyword suggestions.",
                          "path": "v1alpha/{+completionConfig}:completeQuery",
                          "parameters": {
                            "completionConfig": {
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/completionConfig$",
                              "description": "Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.",
                              "type": "string"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/cloud_search.query",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        }
                      }
                    },
                    "operations": {
                      "methods": {
                        "get": {
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.operations.get",
                          "httpMethod": "GET",
                          "parameterOrder": [
                            "name"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/operations/{operationsId}",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/operations/[^/]+$",
                              "description": "The name of the operation resource."
                            }
                          },
                          "path": "v1alpha/{+name}",
                          "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."
                        },
                        "list": {
                          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/operations",
                          "response": {
                            "$ref": "GoogleLongrunningListOperationsResponse"
                          },
                          "parameters": {
                            "name": {
                              "description": "The name of the operation's parent resource.",
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "required": true
                            },
                            "pageSize": {
                              "description": "The standard list page size.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "filter": {
                              "type": "string",
                              "description": "The standard list filter.",
                              "location": "query"
                            },
                            "returnPartialSuccess": {
                              "type": "boolean",
                              "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                              "location": "query"
                            },
                            "pageToken": {
                              "description": "The standard list page token.",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.operations.list",
                          "httpMethod": "GET",
                          "path": "v1alpha/{+name}/operations",
                          "parameterOrder": [
                            "name"
                          ]
                        }
                      }
                    },
                    "sessions": {
                      "methods": {
                        "list": {
                          "parameterOrder": [
                            "parent"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataStores.sessions.list",
                          "path": "v1alpha/{+parent}/sessions",
                          "description": "Lists all Sessions by their parent DataStore.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse"
                          },
                          "httpMethod": "GET",
                          "parameters": {
                            "pageSize": {
                              "format": "int32",
                              "type": "integer",
                              "location": "query",
                              "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000."
                            },
                            "filter": {
                              "description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \u003e \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`",
                              "location": "query",
                              "type": "string"
                            },
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "location": "path",
                              "type": "string",
                              "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                              "required": true
                            },
                            "pageToken": {
                              "description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.",
                              "location": "query",
                              "type": "string"
                            },
                            "orderBy": {
                              "type": "string",
                              "location": "query",
                              "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time."
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions"
                        },
                        "create": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions",
                          "parameters": {
                            "parent": {
                              "required": true,
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "location": "path",
                              "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`"
                            },
                            "sessionId": {
                              "description": "Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "parent"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.sessions.create",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "path": "v1alpha/{+parent}/sessions"
                        },
                        "get": {
                          "httpMethod": "GET",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "includeAnswerDetails": {
                              "location": "query",
                              "type": "boolean",
                              "description": "Optional. If set to true, the full session including all answer details will be returned."
                            },
                            "name": {
                              "type": "string",
                              "required": true,
                              "location": "path",
                              "description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+$"
                            }
                          },
                          "path": "v1alpha/{+name}",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}",
                          "id": "discoveryengine.projects.locations.collections.dataStores.sessions.get",
                          "description": "Gets a Session."
                        },
                        "patch": {
                          "id": "discoveryengine.projects.locations.collections.dataStores.sessions.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}",
                          "httpMethod": "PATCH",
                          "parameterOrder": [
                            "name"
                          ],
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+$",
                              "type": "string",
                              "location": "path",
                              "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`",
                              "required": true
                            },
                            "updateMask": {
                              "format": "google-fieldmask",
                              "description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.",
                              "location": "query",
                              "type": "string"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "description": "Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "path": "v1alpha/{+name}"
                        },
                        "delete": {
                          "parameterOrder": [
                            "name"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}",
                          "id": "discoveryengine.projects.locations.collections.dataStores.sessions.delete",
                          "path": "v1alpha/{+name}",
                          "parameters": {
                            "name": {
                              "description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`",
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+$"
                            }
                          },
                          "description": "Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "httpMethod": "DELETE"
                        }
                      },
                      "resources": {
                        "answers": {
                          "methods": {
                            "get": {
                              "httpMethod": "GET",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameters": {
                                "name": {
                                  "description": "Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`",
                                  "required": true,
                                  "type": "string",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+/answers/[^/]+$",
                                  "location": "path"
                                }
                              },
                              "path": "v1alpha/{+name}",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer"
                              },
                              "description": "Gets a Answer.",
                              "id": "discoveryengine.projects.locations.collections.dataStores.sessions.answers.get",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}/answers/{answersId}",
                              "parameterOrder": [
                                "name"
                              ]
                            }
                          }
                        }
                      }
                    },
                    "suggestionDenyListEntries": {
                      "methods": {
                        "purge": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:purge",
                          "path": "v1alpha/{+parent}/suggestionDenyListEntries:purge",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "parent"
                          ],
                          "description": "Permanently deletes all SuggestionDenyListEntry for a DataStore.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.suggestionDenyListEntries.purge",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest"
                          },
                          "parameters": {
                            "parent": {
                              "location": "path",
                              "required": true,
                              "description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                            }
                          },
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          }
                        },
                        "import": {
                          "description": "Imports all SuggestionDenyListEntry for a DataStore.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:import",
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "location": "path",
                              "required": true,
                              "description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "httpMethod": "POST",
                          "path": "v1alpha/{+parent}/suggestionDenyListEntries:import",
                          "id": "discoveryengine.projects.locations.collections.dataStores.suggestionDenyListEntries.import",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        }
                      }
                    },
                    "servingConfigs": {
                      "methods": {
                        "create": {
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "location": "path",
                              "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                              "type": "string",
                              "required": true
                            },
                            "servingConfigId": {
                              "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "path": "v1alpha/{+parent}/servingConfigs",
                          "httpMethod": "POST",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.create",
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs"
                        },
                        "patch": {
                          "description": "Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.",
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "required": true,
                              "type": "string",
                              "description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`",
                              "location": "path"
                            },
                            "updateMask": {
                              "location": "query",
                              "description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.",
                              "type": "string",
                              "format": "google-fieldmask"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}",
                          "path": "v1alpha/{+name}",
                          "httpMethod": "PATCH",
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.patch",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          }
                        },
                        "get": {
                          "parameters": {
                            "name": {
                              "description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "path": "v1alpha/{+name}",
                          "description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.",
                          "httpMethod": "GET",
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.get",
                          "parameterOrder": [
                            "name"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}"
                        },
                        "searchLite": {
                          "description": "Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:searchLite",
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.searchLite",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
                          },
                          "parameters": {
                            "servingConfig": {
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "type": "string",
                              "location": "path"
                            }
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse"
                          },
                          "path": "v1alpha/{+servingConfig}:searchLite",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "httpMethod": "POST"
                        },
                        "recommend": {
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.recommend",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponse"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendRequest"
                          },
                          "parameters": {
                            "servingConfig": {
                              "location": "path",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "description": "Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests.",
                              "type": "string"
                            }
                          },
                          "description": "Makes a recommendation, which requires a contextual user event.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:recommend",
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "path": "v1alpha/{+servingConfig}:recommend",
                          "httpMethod": "POST"
                        },
                        "search": {
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "httpMethod": "POST",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
                          },
                          "path": "v1alpha/{+servingConfig}:search",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "servingConfig": {
                              "location": "path",
                              "type": "string",
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:search",
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.search",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse"
                          },
                          "description": "Performs a search."
                        },
                        "delete": {
                          "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.",
                          "parameterOrder": [
                            "name"
                          ],
                          "parameters": {
                            "name": {
                              "description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "location": "path",
                              "required": true
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "httpMethod": "DELETE",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+name}"
                        },
                        "streamAnswer": {
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest"
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse"
                          },
                          "description": "Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.",
                          "path": "v1alpha/{+servingConfig}:streamAnswer",
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.streamAnswer",
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:streamAnswer",
                          "parameters": {
                            "servingConfig": {
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. Or the resource name of the agent engine serving config, such as: `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. (use when `enable_agent_invocation` set to true, and you have custom `AI_MODE` agent engine configured) This field is used to identify the serving configuration name, set of models used to make the search.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "location": "path",
                              "type": "string",
                              "required": true
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "servingConfig"
                          ]
                        },
                        "answer": {
                          "parameters": {
                            "servingConfig": {
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. Or the resource name of the agent engine serving config, such as: `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. (use when `enable_agent_invocation` set to true, and you have custom `AI_MODE` agent engine configured) This field is used to identify the serving configuration name, set of models used to make the search.",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "path": "v1alpha/{+servingConfig}:answer",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest"
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse"
                          },
                          "httpMethod": "POST",
                          "description": "Answer query method.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:answer"
                        },
                        "list": {
                          "path": "v1alpha/{+parent}/servingConfigs",
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs",
                          "description": "Lists all ServingConfigs linked to this dataStore.",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "pageSize": {
                              "type": "integer",
                              "location": "query",
                              "format": "int32",
                              "description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned."
                            },
                            "parent": {
                              "required": true,
                              "description": "Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "type": "string"
                            },
                            "pageToken": {
                              "type": "string",
                              "location": "query",
                              "description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page."
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.list",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        }
                      }
                    },
                    "branches": {
                      "methods": {
                        "list": {
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListBranchesResponse"
                          },
                          "parameters": {
                            "view": {
                              "enum": [
                                "BRANCH_VIEW_UNSPECIFIED",
                                "BRANCH_VIEW_BASIC",
                                "BRANCH_VIEW_FULL"
                              ],
                              "type": "string",
                              "enumDescriptions": [
                                "The value when it's unspecified. This defaults to the BASIC view.",
                                "Includes basic metadata about the branch, but not statistical fields. See documentation of individual fields of Branch to know what is excluded.",
                                "Includes all fields of a Branch."
                              ],
                              "location": "query",
                              "description": "The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified."
                            },
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "description": "Required. The parent data store resource name.",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches",
                          "path": "v1alpha/{+parent}/branches",
                          "id": "discoveryengine.projects.locations.collections.dataStores.branches.list",
                          "description": "Lists all Branchs under the specified parent DataStore."
                        },
                        "get": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaBranch"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "path": "v1alpha/{+name}",
                          "parameters": {
                            "view": {
                              "enum": [
                                "BRANCH_VIEW_UNSPECIFIED",
                                "BRANCH_VIEW_BASIC",
                                "BRANCH_VIEW_FULL"
                              ],
                              "description": "The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.",
                              "enumDescriptions": [
                                "The value when it's unspecified. This defaults to the BASIC view.",
                                "Includes basic metadata about the branch, but not statistical fields. See documentation of individual fields of Branch to know what is excluded.",
                                "Includes all fields of a Branch."
                              ],
                              "location": "query",
                              "type": "string"
                            },
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                              "required": true,
                              "description": "Required. The name of the branch to retrieve. Format: `projects/*/locations/global/dataStores/default_data_store/branches/some_branch_id`. \"default_branch\" can be used as a special branch_id, it returns the default branch that has been set for the document.",
                              "location": "path"
                            }
                          },
                          "description": "Retrieves a Branch.",
                          "parameterOrder": [
                            "name"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}",
                          "id": "discoveryengine.projects.locations.collections.dataStores.branches.get"
                        },
                        "batchGetDocumentsMetadata": {
                          "path": "v1alpha/{+parent}/batchGetDocumentsMetadata",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse"
                          },
                          "description": "Gets index freshness metadata for Documents. Supported for website search only.",
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                              "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.",
                              "location": "path",
                              "required": true
                            },
                            "matcher.fhirMatcher.fhirResources": {
                              "type": "string",
                              "repeated": true,
                              "description": "Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}",
                              "location": "query"
                            },
                            "matcher.urisMatcher.uris": {
                              "repeated": true,
                              "type": "string",
                              "location": "query",
                              "description": "The exact URIs to match by."
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.branches.batchGetDocumentsMetadata",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/batchGetDocumentsMetadata",
                          "parameterOrder": [
                            "parent"
                          ]
                        }
                      },
                      "resources": {
                        "operations": {
                          "methods": {
                            "list": {
                              "response": {
                                "$ref": "GoogleLongrunningListOperationsResponse"
                              },
                              "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameterOrder": [
                                "name"
                              ],
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.operations.list",
                              "httpMethod": "GET",
                              "path": "v1alpha/{+name}/operations",
                              "parameters": {
                                "filter": {
                                  "location": "query",
                                  "description": "The standard list filter.",
                                  "type": "string"
                                },
                                "returnPartialSuccess": {
                                  "type": "boolean",
                                  "location": "query",
                                  "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                                },
                                "name": {
                                  "description": "The name of the operation's parent resource.",
                                  "type": "string",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$"
                                },
                                "pageSize": {
                                  "location": "query",
                                  "type": "integer",
                                  "format": "int32",
                                  "description": "The standard list page size."
                                },
                                "pageToken": {
                                  "type": "string",
                                  "description": "The standard list page token.",
                                  "location": "query"
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations"
                            },
                            "get": {
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "path": "v1alpha/{+name}",
                              "parameterOrder": [
                                "name"
                              ],
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.operations.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.",
                              "httpMethod": "GET",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameters": {
                                "name": {
                                  "description": "The name of the operation resource.",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$",
                                  "type": "string"
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}"
                            },
                            "cancel": {
                              "response": {
                                "$ref": "GoogleProtobufEmpty"
                              },
                              "httpMethod": "POST",
                              "parameterOrder": [
                                "name"
                              ],
                              "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
                              "path": "v1alpha/{+name}:cancel",
                              "parameters": {
                                "name": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$",
                                  "location": "path",
                                  "description": "The name of the operation resource to be cancelled.",
                                  "type": "string",
                                  "required": true
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}:cancel",
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.operations.cancel",
                              "request": {
                                "$ref": "GoogleLongrunningCancelOperationRequest"
                              }
                            }
                          }
                        },
                        "documents": {
                          "methods": {
                            "patch": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}",
                              "path": "v1alpha/{+name}",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                              },
                              "httpMethod": "PATCH",
                              "parameters": {
                                "updateMask": {
                                  "description": "Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.",
                                  "type": "string",
                                  "format": "google-fieldmask",
                                  "location": "query"
                                },
                                "name": {
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                                  "required": true,
                                  "description": "Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
                                },
                                "allowMissing": {
                                  "description": "If set to `true` and the Document is not found, a new Document is be created.",
                                  "location": "query",
                                  "type": "boolean"
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.patch",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "description": "Updates a Document."
                            },
                            "get": {
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.get",
                              "description": "Gets a Document.",
                              "parameterOrder": [
                                "name"
                              ],
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}",
                              "path": "v1alpha/{+name}",
                              "parameters": {
                                "name": {
                                  "description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.",
                                  "type": "string",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$"
                                }
                              },
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                              },
                              "httpMethod": "GET"
                            },
                            "create": {
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.create",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                              },
                              "httpMethod": "POST",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameterOrder": [
                                "parent"
                              ],
                              "parameters": {
                                "documentId": {
                                  "description": "Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                                  "type": "string",
                                  "location": "query"
                                },
                                "parent": {
                                  "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.",
                                  "required": true,
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$"
                                }
                              },
                              "path": "v1alpha/{+parent}/documents",
                              "description": "Creates a Document.",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents"
                            },
                            "import": {
                              "path": "v1alpha/{+parent}/documents:import",
                              "parameterOrder": [
                                "parent"
                              ],
                              "parameters": {
                                "parent": {
                                  "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission.",
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                                  "required": true
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:import",
                              "httpMethod": "POST",
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "description": "Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.",
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.import",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest"
                              }
                            },
                            "delete": {
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleProtobufEmpty"
                              },
                              "parameters": {
                                "name": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                                  "type": "string",
                                  "location": "path",
                                  "description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.",
                                  "required": true
                                }
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.delete",
                              "path": "v1alpha/{+name}",
                              "description": "Deletes a Document.",
                              "httpMethod": "DELETE",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}",
                              "parameterOrder": [
                                "name"
                              ]
                            },
                            "getProcessedDocument": {
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.getProcessedDocument",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaProcessedDocument"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "httpMethod": "GET",
                              "parameterOrder": [
                                "name"
                              ],
                              "path": "v1alpha/{+name}:getProcessedDocument",
                              "parameters": {
                                "name": {
                                  "required": true,
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                                  "description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned."
                                },
                                "imageId": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "Optional. Specifies config for IMAGE_BYTES."
                                },
                                "processedDocumentFormat": {
                                  "enumDescriptions": [
                                    "Default value.",
                                    "Output format is a JSON string representation of processed document."
                                  ],
                                  "description": "What format output should be. If unspecified, defaults to JSON.",
                                  "enum": [
                                    "PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED",
                                    "JSON"
                                  ],
                                  "location": "query",
                                  "type": "string"
                                },
                                "processedDocumentType": {
                                  "enumDescriptions": [
                                    "Default value.",
                                    "Available for all data store parsing configs.",
                                    "Only available if ChunkingConfig is enabled on the data store.",
                                    "Returns the converted Image bytes (as JPEG or PNG) if available.",
                                    "Return image bytes in base64 encoded format if image_id of a document is provided, only supported for enabling shareholder-structure in layout parsing config for now."
                                  ],
                                  "enum": [
                                    "PROCESSED_DOCUMENT_TYPE_UNSPECIFIED",
                                    "PARSED_DOCUMENT",
                                    "CHUNKED_DOCUMENT",
                                    "IMAGE_CONVERTED_DOCUMENT",
                                    "IMAGE_BYTES"
                                  ],
                                  "location": "query",
                                  "type": "string",
                                  "description": "Required. What type of processing to return."
                                }
                              },
                              "description": "Gets the parsed layout information for a Document.",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}:getProcessedDocument"
                            },
                            "list": {
                              "httpMethod": "GET",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameterOrder": [
                                "parent"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents",
                              "parameters": {
                                "parent": {
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                                  "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned.",
                                  "required": true,
                                  "type": "string"
                                },
                                "pageSize": {
                                  "location": "query",
                                  "type": "integer",
                                  "format": "int32",
                                  "description": "Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 are set to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned."
                                },
                                "pageToken": {
                                  "description": "A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                                  "type": "string",
                                  "location": "query"
                                }
                              },
                              "path": "v1alpha/{+parent}/documents",
                              "description": "Gets a list of Documents.",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListDocumentsResponse"
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.list"
                            },
                            "purge": {
                              "parameters": {
                                "parent": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                                  "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.",
                                  "type": "string",
                                  "location": "path",
                                  "required": true
                                }
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.purge",
                              "httpMethod": "POST",
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:purge",
                              "path": "v1alpha/{+parent}/documents:purge",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "description": "Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false.",
                              "parameterOrder": [
                                "parent"
                              ]
                            }
                          },
                          "resources": {
                            "chunks": {
                              "methods": {
                                "get": {
                                  "description": "Gets a Document.",
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}/chunks/{chunksId}",
                                  "path": "v1alpha/{+name}",
                                  "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.chunks.get",
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "parameters": {
                                    "name": {
                                      "location": "path",
                                      "required": true,
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+/chunks/[^/]+$",
                                      "description": "Required. Full resource name of Chunk, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}`. If the caller does not have permission to access the Chunk, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Chunk does not exist, a `NOT_FOUND` error is returned.",
                                      "type": "string"
                                    }
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "response": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaChunk"
                                  },
                                  "httpMethod": "GET"
                                },
                                "list": {
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "path": "v1alpha/{+parent}/chunks",
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}/chunks",
                                  "parameterOrder": [
                                    "parent"
                                  ],
                                  "response": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaListChunksResponse"
                                  },
                                  "id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.chunks.list",
                                  "httpMethod": "GET",
                                  "description": "Gets a list of Chunks.",
                                  "parameters": {
                                    "pageSize": {
                                      "format": "int32",
                                      "type": "integer",
                                      "description": "Maximum number of Chunks to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
                                      "location": "query"
                                    },
                                    "pageToken": {
                                      "type": "string",
                                      "description": "A page token ListChunksResponse.next_page_token, received from a previous ChunkService.ListChunks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ChunkService.ListChunks must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                                      "location": "query"
                                    },
                                    "parent": {
                                      "location": "path",
                                      "required": true,
                                      "type": "string",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                                      "description": "Required. The parent document resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to list Chunks under this document, regardless of whether or not this document exists, a `PERMISSION_DENIED` error is returned."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "completionSuggestions": {
                      "methods": {
                        "purge": {
                          "httpMethod": "POST",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.completionSuggestions.purge",
                          "path": "v1alpha/{+parent}/completionSuggestions:purge",
                          "description": "Permanently deletes all CompletionSuggestions for a DataStore.",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "parent": {
                              "location": "path",
                              "required": true,
                              "description": "Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionSuggestions:purge"
                        },
                        "import": {
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "description": "Imports CompletionSuggestions for a DataStore.",
                          "parameterOrder": [
                            "parent"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.completionSuggestions.import",
                          "parameters": {
                            "parent": {
                              "required": true,
                              "description": "Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*`",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "type": "string"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+parent}/completionSuggestions:import",
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionSuggestions:import"
                        }
                      }
                    },
                    "userEvents": {
                      "methods": {
                        "write": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
                          },
                          "description": "Writes a single user event.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "writeAsync": {
                              "location": "query",
                              "description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.",
                              "type": "boolean"
                            },
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.",
                              "location": "path",
                              "type": "string",
                              "required": true
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.userEvents.write",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
                          },
                          "path": "v1alpha/{+parent}/userEvents:write",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:write"
                        },
                        "purge": {
                          "path": "v1alpha/{+parent}/userEvents:purge",
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:purge",
                          "description": "Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.userEvents.purge",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "POST",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest"
                          },
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "type": "string",
                              "description": "Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`.",
                              "location": "path",
                              "required": true
                            }
                          }
                        },
                        "import": {
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:import",
                          "id": "discoveryengine.projects.locations.collections.dataStores.userEvents.import",
                          "path": "v1alpha/{+parent}/userEvents:import",
                          "description": "Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.",
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "location": "path",
                              "required": true,
                              "description": "Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest"
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        },
                        "collect": {
                          "path": "v1alpha/{+parent}/userEvents:collect",
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:collect",
                          "description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.userEvents.collect",
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "type": "string",
                              "location": "path",
                              "description": "Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.",
                              "required": true
                            },
                            "userEvent": {
                              "description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.",
                              "location": "query",
                              "type": "string"
                            },
                            "ets": {
                              "location": "query",
                              "format": "int64",
                              "type": "string",
                              "description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes."
                            },
                            "uri": {
                              "location": "query",
                              "description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.",
                              "type": "string"
                            }
                          },
                          "response": {
                            "$ref": "GoogleApiHttpBody"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET"
                        }
                      }
                    },
                    "schemas": {
                      "methods": {
                        "delete": {
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.schemas.delete",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "DELETE",
                          "description": "Deletes a Schema.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}",
                          "path": "v1alpha/{+name}",
                          "parameters": {
                            "name": {
                              "description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                              "location": "path",
                              "type": "string",
                              "required": true
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "patch": {
                          "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"
                          ],
                          "httpMethod": "PATCH",
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                              "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                              "required": true,
                              "location": "path",
                              "type": "string"
                            },
                            "allowMissing": {
                              "location": "query",
                              "description": "If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored.",
                              "type": "boolean"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
                          },
                          "path": "v1alpha/{+name}",
                          "description": "Updates a Schema.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.schemas.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}"
                        },
                        "list": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas",
                          "description": "Gets a list of Schemas.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.schemas.list",
                          "parameters": {
                            "pageSize": {
                              "description": "The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000.",
                              "format": "int32",
                              "type": "integer",
                              "location": "query"
                            },
                            "pageToken": {
                              "location": "query",
                              "description": "A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.",
                              "type": "string"
                            },
                            "parent": {
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "type": "string",
                              "description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`."
                            }
                          },
                          "path": "v1alpha/{+parent}/schemas",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListSchemasResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "parent"
                          ],
                          "httpMethod": "GET"
                        },
                        "get": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataStores.schemas.get",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Gets a Schema.",
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}",
                          "path": "v1alpha/{+name}",
                          "parameters": {
                            "name": {
                              "type": "string",
                              "description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                              "location": "path",
                              "required": true
                            }
                          }
                        },
                        "create": {
                          "path": "v1alpha/{+parent}/schemas",
                          "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"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.schemas.create",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.",
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                            },
                            "schemaId": {
                              "type": "string",
                              "description": "Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.",
                              "location": "query"
                            }
                          },
                          "description": "Creates a Schema.",
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas",
                          "parameterOrder": [
                            "parent"
                          ]
                        }
                      },
                      "resources": {
                        "operations": {
                          "methods": {
                            "list": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}/operations",
                              "parameterOrder": [
                                "name"
                              ],
                              "parameters": {
                                "returnPartialSuccess": {
                                  "type": "boolean",
                                  "location": "query",
                                  "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                                },
                                "pageToken": {
                                  "description": "The standard list page token.",
                                  "location": "query",
                                  "type": "string"
                                },
                                "filter": {
                                  "location": "query",
                                  "description": "The standard list filter.",
                                  "type": "string"
                                },
                                "name": {
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                                  "description": "The name of the operation's parent resource.",
                                  "type": "string"
                                },
                                "pageSize": {
                                  "type": "integer",
                                  "format": "int32",
                                  "location": "query",
                                  "description": "The standard list page size."
                                }
                              },
                              "path": "v1alpha/{+name}/operations",
                              "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                              "httpMethod": "GET",
                              "response": {
                                "$ref": "GoogleLongrunningListOperationsResponse"
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.schemas.operations.list",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ]
                            },
                            "get": {
                              "httpMethod": "GET",
                              "id": "discoveryengine.projects.locations.collections.dataStores.schemas.operations.get",
                              "parameterOrder": [
                                "name"
                              ],
                              "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.",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameters": {
                                "name": {
                                  "location": "path",
                                  "type": "string",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+/operations/[^/]+$",
                                  "required": true,
                                  "description": "The name of the operation resource."
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}/operations/{operationsId}",
                              "path": "v1alpha/{+name}",
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              }
                            }
                          }
                        }
                      }
                    },
                    "widgetConfigs": {
                      "methods": {
                        "get": {
                          "path": "v1alpha/{+name}",
                          "description": "Gets a WidgetConfig.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "name"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataStores.widgetConfigs.get",
                          "parameters": {
                            "name": {
                              "description": "Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`",
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$",
                              "required": true
                            },
                            "languageCode": {
                              "description": "Optional. BCP-47 language tag (e.g. \"en\", \"fr-CA\"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English).",
                              "location": "query",
                              "type": "string"
                            },
                            "acceptCache": {
                              "location": "query",
                              "description": "Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.",
                              "type": "boolean"
                            },
                            "getWidgetConfigRequestOption.turnOffCollectionComponents": {
                              "description": "Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.",
                              "location": "query",
                              "type": "boolean"
                            },
                            "modelInfoView": {
                              "location": "query",
                              "enum": [
                                "MODEL_INFO_VIEW_UNSPECIFIED",
                                "END_USER_WEB",
                                "ADMIN",
                                "END_USER_MOBILE"
                              ],
                              "enumDescriptions": [
                                "Not specified.",
                                "The end-user web model selector view.",
                                "The Cloud Console admin \"Feature Control\" view that displays model toggles. Returns admin-surfaced models with `ResolvedModel.admin_view` populated.",
                                "The end-user model selector view for the Gemini Enterprise mobile app. Returns only mobile-surfaced models, with the mobile default selected. Set explicitly by the mobile client."
                              ],
                              "description": "Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin \"Feature Management\" page to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.",
                              "type": "string"
                            }
                          },
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}"
                        },
                        "patch": {
                          "description": "Update a WidgetConfig.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.widgetConfigs.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}",
                          "path": "v1alpha/{+name}",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "parameters": {
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$",
                              "description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                              "location": "path",
                              "required": true
                            },
                            "updateMask": {
                              "format": "google-fieldmask",
                              "location": "query",
                              "type": "string",
                              "description": "Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated."
                            }
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "PATCH"
                        }
                      }
                    },
                    "siteSearchEngine": {
                      "resources": {
                        "sitemaps": {
                          "methods": {
                            "fetch": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps:fetch",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "description": "Fetch Sitemaps in a DataStore.",
                              "parameterOrder": [
                                "parent"
                              ],
                              "path": "v1alpha/{+parent}/sitemaps:fetch",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.fetch",
                              "httpMethod": "GET",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse"
                              },
                              "parameters": {
                                "matcher.urisMatcher.uris": {
                                  "description": "The Sitemap uris.",
                                  "type": "string",
                                  "repeated": true,
                                  "location": "query"
                                },
                                "parent": {
                                  "required": true,
                                  "location": "path",
                                  "description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                                  "type": "string"
                                }
                              }
                            },
                            "create": {
                              "parameterOrder": [
                                "parent"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps",
                              "httpMethod": "POST",
                              "parameters": {
                                "parent": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string",
                                  "description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`."
                                }
                              },
                              "description": "Creates a Sitemap.",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.create",
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "path": "v1alpha/{+parent}/sitemaps",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaSitemap"
                              }
                            },
                            "delete": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps/{sitemapsId}",
                              "path": "v1alpha/{+name}",
                              "parameters": {
                                "name": {
                                  "description": "Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned.",
                                  "type": "string",
                                  "required": true,
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/sitemaps/[^/]+$",
                                  "location": "path"
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "httpMethod": "DELETE",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.delete",
                              "description": "Deletes a Sitemap."
                            }
                          }
                        },
                        "operations": {
                          "methods": {
                            "get": {
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.operations.get",
                              "httpMethod": "GET",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameters": {
                                "name": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/operations/[^/]+$",
                                  "location": "path",
                                  "description": "The name of the operation resource.",
                                  "type": "string",
                                  "required": true
                                }
                              },
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/operations/{operationsId}",
                              "path": "v1alpha/{+name}",
                              "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.",
                              "parameterOrder": [
                                "name"
                              ]
                            },
                            "list": {
                              "parameters": {
                                "pageToken": {
                                  "description": "The standard list page token.",
                                  "location": "query",
                                  "type": "string"
                                },
                                "filter": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "The standard list filter."
                                },
                                "pageSize": {
                                  "type": "integer",
                                  "description": "The standard list page size.",
                                  "format": "int32",
                                  "location": "query"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The name of the operation's parent resource.",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$"
                                },
                                "returnPartialSuccess": {
                                  "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                                  "type": "boolean",
                                  "location": "query"
                                }
                              },
                              "path": "v1alpha/{+name}/operations",
                              "httpMethod": "GET",
                              "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                              "response": {
                                "$ref": "GoogleLongrunningListOperationsResponse"
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.operations.list",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/operations",
                              "parameterOrder": [
                                "name"
                              ]
                            }
                          }
                        },
                        "targetSites": {
                          "methods": {
                            "batchCreate": {
                              "path": "v1alpha/{+parent}/targetSites:batchCreate",
                              "httpMethod": "POST",
                              "description": "Creates TargetSite in a batch.",
                              "parameters": {
                                "parent": {
                                  "type": "string",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                                  "required": true,
                                  "description": "Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field.",
                                  "location": "path"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites:batchCreate",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest"
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.batchCreate"
                            },
                            "delete": {
                              "description": "Deletes a TargetSite.",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.delete",
                              "parameters": {
                                "name": {
                                  "required": true,
                                  "type": "string",
                                  "location": "path",
                                  "description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$"
                                }
                              },
                              "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"
                              ],
                              "path": "v1alpha/{+name}",
                              "parameterOrder": [
                                "name"
                              ],
                              "httpMethod": "DELETE"
                            },
                            "get": {
                              "parameters": {
                                "name": {
                                  "description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.",
                                  "required": true,
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$"
                                }
                              },
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameterOrder": [
                                "name"
                              ],
                              "httpMethod": "GET",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.get",
                              "description": "Gets a TargetSite.",
                              "path": "v1alpha/{+name}",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}"
                            },
                            "create": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites",
                              "description": "Creates a TargetSite.",
                              "parameterOrder": [
                                "parent"
                              ],
                              "path": "v1alpha/{+parent}/targetSites",
                              "httpMethod": "POST",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.create",
                              "parameters": {
                                "parent": {
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                                  "description": "Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              }
                            },
                            "patch": {
                              "path": "v1alpha/{+name}",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "description": "Updates a TargetSite.",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.patch",
                              "parameters": {
                                "name": {
                                  "location": "path",
                                  "required": true,
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$",
                                  "type": "string",
                                  "description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated."
                                }
                              },
                              "httpMethod": "PATCH",
                              "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"
                              ]
                            },
                            "list": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites",
                              "parameters": {
                                "pageToken": {
                                  "description": "A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token.",
                                  "location": "query",
                                  "type": "string"
                                },
                                "parent": {
                                  "type": "string",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                                  "location": "path",
                                  "required": true,
                                  "description": "Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned."
                                },
                                "pageSize": {
                                  "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
                                  "format": "int32",
                                  "type": "integer",
                                  "location": "query"
                                }
                              },
                              "description": "Gets a list of TargetSites.",
                              "httpMethod": "GET",
                              "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.list",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "path": "v1alpha/{+parent}/targetSites",
                              "parameterOrder": [
                                "parent"
                              ],
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse"
                              }
                            }
                          },
                          "resources": {
                            "operations": {
                              "methods": {
                                "list": {
                                  "path": "v1alpha/{+name}/operations",
                                  "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.list",
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/operations",
                                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                                  "parameters": {
                                    "filter": {
                                      "location": "query",
                                      "description": "The standard list filter.",
                                      "type": "string"
                                    },
                                    "name": {
                                      "location": "path",
                                      "type": "string",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites$",
                                      "required": true,
                                      "description": "The name of the operation's parent resource."
                                    },
                                    "pageSize": {
                                      "description": "The standard list page size.",
                                      "type": "integer",
                                      "format": "int32",
                                      "location": "query"
                                    },
                                    "pageToken": {
                                      "description": "The standard list page token.",
                                      "type": "string",
                                      "location": "query"
                                    },
                                    "returnPartialSuccess": {
                                      "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                                      "location": "query",
                                      "type": "boolean"
                                    }
                                  },
                                  "response": {
                                    "$ref": "GoogleLongrunningListOperationsResponse"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "httpMethod": "GET"
                                },
                                "get": {
                                  "parameters": {
                                    "name": {
                                      "type": "string",
                                      "location": "path",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/operations/[^/]+$",
                                      "required": true,
                                      "description": "The name of the operation resource."
                                    }
                                  },
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/operations/{operationsId}",
                                  "httpMethod": "GET",
                                  "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.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.",
                                  "response": {
                                    "$ref": "GoogleLongrunningOperation"
                                  },
                                  "path": "v1alpha/{+name}",
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "parameterOrder": [
                                    "name"
                                  ]
                                }
                              }
                            }
                          }
                        }
                      },
                      "methods": {
                        "getUriPatternDocumentData": {
                          "parameters": {
                            "siteSearchEngine": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                              "location": "path",
                              "required": true
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:getUriPatternDocumentData",
                          "description": "Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.",
                          "httpMethod": "GET",
                          "parameterOrder": [
                            "siteSearchEngine"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.getUriPatternDocumentData",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+siteSearchEngine}:getUriPatternDocumentData"
                        },
                        "enableAdvancedSiteSearch": {
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+siteSearchEngine}:enableAdvancedSiteSearch",
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.enableAdvancedSiteSearch",
                          "description": "Upgrade from basic site search to advanced site search.",
                          "parameters": {
                            "siteSearchEngine": {
                              "required": true,
                              "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.",
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:enableAdvancedSiteSearch",
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "siteSearchEngine"
                          ]
                        },
                        "setUriPatternDocumentData": {
                          "parameterOrder": [
                            "siteSearchEngine"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:setUriPatternDocumentData",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest"
                          },
                          "httpMethod": "POST",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "path": "v1alpha/{+siteSearchEngine}:setUriPatternDocumentData",
                          "parameters": {
                            "siteSearchEngine": {
                              "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "location": "path"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.setUriPatternDocumentData",
                          "description": "Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore."
                        },
                        "batchVerifyTargetSites": {
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource shared by all TargetSites being verified. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "required": true,
                              "location": "path",
                              "type": "string"
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.batchVerifyTargetSites",
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:batchVerifyTargetSites",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "path": "v1alpha/{+parent}:batchVerifyTargetSites"
                        },
                        "disableAdvancedSiteSearch": {
                          "httpMethod": "POST",
                          "parameters": {
                            "siteSearchEngine": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "location": "path",
                              "required": true,
                              "type": "string",
                              "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`."
                            }
                          },
                          "parameterOrder": [
                            "siteSearchEngine"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:disableAdvancedSiteSearch",
                          "description": "Downgrade from advanced site search to basic site search.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest"
                          },
                          "path": "v1alpha/{+siteSearchEngine}:disableAdvancedSiteSearch",
                          "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"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.disableAdvancedSiteSearch"
                        },
                        "recrawlUris": {
                          "parameterOrder": [
                            "siteSearchEngine"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.recrawlUris",
                          "parameters": {
                            "siteSearchEngine": {
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "location": "path",
                              "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                              "type": "string"
                            }
                          },
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "path": "v1alpha/{+siteSearchEngine}:recrawlUris",
                          "description": "Request on-demand recrawl for a list of URIs.",
                          "httpMethod": "POST"
                        },
                        "fetchDomainVerificationStatus": {
                          "parameterOrder": [
                            "siteSearchEngine"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse"
                          },
                          "path": "v1alpha/{+siteSearchEngine}:fetchDomainVerificationStatus",
                          "description": "Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.",
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:fetchDomainVerificationStatus",
                          "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.fetchDomainVerificationStatus",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "pageSize": {
                              "type": "integer",
                              "location": "query",
                              "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
                              "format": "int32"
                            },
                            "siteSearchEngine": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "type": "string",
                              "description": "Required. The site search engine resource under which we fetch all the domain verification status. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.",
                              "location": "path",
                              "required": true
                            },
                            "pageToken": {
                              "location": "query",
                              "type": "string",
                              "description": "A page token, received from a previous `FetchDomainVerificationStatus` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchDomainVerificationStatus` must match the call that provided the page token."
                            }
                          }
                        }
                      }
                    },
                    "conversations": {
                      "methods": {
                        "get": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}",
                          "id": "discoveryengine.projects.locations.collections.dataStores.conversations.get",
                          "httpMethod": "GET",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "name": {
                              "type": "string",
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$",
                              "description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`"
                            }
                          },
                          "path": "v1alpha/{+name}",
                          "description": "Gets a Conversation.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "create": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "description": "Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.",
                          "path": "v1alpha/{+parent}/conversations",
                          "id": "discoveryengine.projects.locations.collections.dataStores.conversations.create",
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "parent": {
                              "required": true,
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`"
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations"
                        },
                        "list": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Lists all Conversations by their parent DataStore.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.conversations.list",
                          "path": "v1alpha/{+parent}/conversations",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "parent": {
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "required": true,
                              "type": "string",
                              "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`"
                            },
                            "filter": {
                              "type": "string",
                              "location": "query",
                              "description": "A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: \"user_pseudo_id = some_id\""
                            },
                            "pageToken": {
                              "type": "string",
                              "description": "A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.",
                              "location": "query"
                            },
                            "pageSize": {
                              "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                              "type": "integer",
                              "location": "query",
                              "format": "int32"
                            },
                            "orderBy": {
                              "type": "string",
                              "location": "query",
                              "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: \"update_time desc\" \"create_time\""
                            }
                          },
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse"
                          }
                        },
                        "patch": {
                          "path": "v1alpha/{+name}",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$",
                              "type": "string"
                            },
                            "updateMask": {
                              "format": "google-fieldmask",
                              "location": "query",
                              "type": "string",
                              "description": "Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated."
                            }
                          },
                          "httpMethod": "PATCH",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.conversations.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "delete": {
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "httpMethod": "DELETE",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "name": {
                              "type": "string",
                              "required": true,
                              "description": "Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.conversations.delete",
                          "description": "Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.",
                          "path": "v1alpha/{+name}"
                        },
                        "converse": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse"
                          },
                          "description": "Converses a conversation.",
                          "path": "v1alpha/{+name}:converse",
                          "parameterOrder": [
                            "name"
                          ],
                          "parameters": {
                            "name": {
                              "description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$",
                              "type": "string",
                              "location": "path",
                              "required": true
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.dataStores.conversations.converse",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationRequest"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}:converse",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "POST"
                        }
                      }
                    },
                    "customModels": {
                      "methods": {
                        "list": {
                          "id": "discoveryengine.projects.locations.collections.dataStores.customModels.list",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/customModels",
                          "parameterOrder": [
                            "dataStore"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Gets a list of all the custom models.",
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse"
                          },
                          "path": "v1alpha/{+dataStore}/customModels",
                          "parameters": {
                            "dataStore": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "description": "Required. The resource name of the parent Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to fetch the models from.",
                              "type": "string",
                              "location": "path",
                              "required": true
                            }
                          }
                        }
                      }
                    },
                    "controls": {
                      "methods": {
                        "delete": {
                          "description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls/{controlsId}",
                          "id": "discoveryengine.projects.locations.collections.dataStores.controls.delete",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "name"
                          ],
                          "httpMethod": "DELETE",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "parameters": {
                            "name": {
                              "required": true,
                              "description": "Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/controls/[^/]+$",
                              "type": "string"
                            }
                          },
                          "path": "v1alpha/{+name}"
                        },
                        "patch": {
                          "parameters": {
                            "name": {
                              "description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`",
                              "type": "string",
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/controls/[^/]+$"
                            },
                            "updateMask": {
                              "description": "Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.",
                              "type": "string",
                              "format": "google-fieldmask",
                              "location": "query"
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "PATCH",
                          "id": "discoveryengine.projects.locations.collections.dataStores.controls.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls/{controlsId}",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "description": "Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.",
                          "parameterOrder": [
                            "name"
                          ],
                          "path": "v1alpha/{+name}"
                        },
                        "get": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "id": "discoveryengine.projects.locations.collections.dataStores.controls.get",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "parameters": {
                            "name": {
                              "required": true,
                              "description": "Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`",
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/controls/[^/]+$"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls/{controlsId}",
                          "description": "Gets a Control.",
                          "path": "v1alpha/{+name}",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "list": {
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls",
                          "description": "Lists all Controls by their parent DataStore.",
                          "id": "discoveryengine.projects.locations.collections.dataStores.controls.list",
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
                              "required": true,
                              "location": "path",
                              "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.",
                              "type": "string"
                            },
                            "pageToken": {
                              "location": "query",
                              "type": "string",
                              "description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page."
                            },
                            "pageSize": {
                              "type": "integer",
                              "location": "query",
                              "format": "int32",
                              "description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000."
                            },
                            "filter": {
                              "description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "path": "v1alpha/{+parent}/controls",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListControlsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET"
                        },
                        "create": {
                          "httpMethod": "POST",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+parent}/controls",
                          "description": "Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls",
                          "id": "discoveryengine.projects.locations.collections.dataStores.controls.create",
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "location": "path",
                              "required": true,
                              "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$"
                            },
                            "controlId": {
                              "type": "string",
                              "description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.",
                              "location": "query"
                            }
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          }
                        }
                      }
                    },
                    "models": {
                      "resources": {
                        "operations": {
                          "methods": {
                            "list": {
                              "path": "v1alpha/{+name}/operations",
                              "parameters": {
                                "name": {
                                  "description": "The name of the operation's parent resource.",
                                  "type": "string",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/models/[^/]+$"
                                },
                                "pageSize": {
                                  "location": "query",
                                  "description": "The standard list page size.",
                                  "type": "integer",
                                  "format": "int32"
                                },
                                "filter": {
                                  "description": "The standard list filter.",
                                  "type": "string",
                                  "location": "query"
                                },
                                "pageToken": {
                                  "description": "The standard list page token.",
                                  "type": "string",
                                  "location": "query"
                                },
                                "returnPartialSuccess": {
                                  "location": "query",
                                  "type": "boolean",
                                  "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/models/{modelsId}/operations",
                              "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                              "httpMethod": "GET",
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleLongrunningListOperationsResponse"
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.models.operations.list",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ]
                            },
                            "get": {
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "id": "discoveryengine.projects.locations.collections.dataStores.models.operations.get",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameterOrder": [
                                "name"
                              ],
                              "path": "v1alpha/{+name}",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/models/{modelsId}/operations/{operationsId}",
                              "parameters": {
                                "name": {
                                  "type": "string",
                                  "required": true,
                                  "description": "The name of the operation resource.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/models/[^/]+/operations/[^/]+$",
                                  "location": "path"
                                }
                              },
                              "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.",
                              "httpMethod": "GET"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "dataConnector": {
                  "resources": {
                    "connectorRuns": {
                      "methods": {
                        "list": {
                          "id": "discoveryengine.projects.locations.collections.dataConnector.connectorRuns.list",
                          "parameters": {
                            "pageToken": {
                              "description": "A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token.",
                              "location": "query",
                              "type": "string"
                            },
                            "pageSize": {
                              "location": "query",
                              "description": "Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
                              "type": "integer",
                              "format": "int32"
                            },
                            "parent": {
                              "required": true,
                              "type": "string",
                              "location": "path",
                              "description": "Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a `PERMISSION_DENIED` error is returned.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$"
                            }
                          },
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse"
                          },
                          "path": "v1alpha/{+parent}/connectorRuns",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Lists the ConnectorRuns of a DataConnector.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/connectorRuns",
                          "parameterOrder": [
                            "parent"
                          ]
                        }
                      }
                    },
                    "operations": {
                      "methods": {
                        "get": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "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.",
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/operations/{operationsId}",
                          "parameterOrder": [
                            "name"
                          ],
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector/operations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string",
                              "description": "The name of the operation resource."
                            }
                          },
                          "path": "v1alpha/{+name}",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "id": "discoveryengine.projects.locations.collections.dataConnector.operations.get"
                        },
                        "list": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                          "response": {
                            "$ref": "GoogleLongrunningListOperationsResponse"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/operations",
                          "parameterOrder": [
                            "name"
                          ],
                          "id": "discoveryengine.projects.locations.collections.dataConnector.operations.list",
                          "httpMethod": "GET",
                          "parameters": {
                            "pageToken": {
                              "description": "The standard list page token.",
                              "location": "query",
                              "type": "string"
                            },
                            "returnPartialSuccess": {
                              "location": "query",
                              "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                              "type": "boolean"
                            },
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$",
                              "description": "The name of the operation's parent resource.",
                              "location": "path",
                              "required": true
                            },
                            "pageSize": {
                              "type": "integer",
                              "location": "query",
                              "format": "int32",
                              "description": "The standard list page size."
                            },
                            "filter": {
                              "description": "The standard list filter.",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "path": "v1alpha/{+name}/operations"
                        }
                      }
                    }
                  },
                  "methods": {
                    "getConnectorSecret": {
                      "id": "discoveryengine.projects.locations.collections.dataConnector.getConnectorSecret",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:getConnectorSecret",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse"
                      },
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}:getConnectorSecret",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$",
                          "location": "path",
                          "required": true,
                          "description": "Required. The full resource name of the associated data connector."
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Get the secret for the associated connector."
                    },
                    "acquireAccessToken": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse"
                      },
                      "httpMethod": "POST",
                      "path": "v1alpha/{+name}:acquireAccessToken",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "description": "Required. The resource name of the connector for which a token is queried.",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$",
                          "location": "path"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.dataConnector.acquireAccessToken",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:acquireAccessToken",
                      "description": "Uses the per-user refresh token minted with AcquireAndStoreRefreshToken to generate and return a new access token and its details. Takes the access token from cache if available. Rotates the stored refresh token if needed. Uses the end user identity to return the user specific access token. Does *not* return the credentials configured by the administrator. Used by action execution and UI.",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest"
                      }
                    },
                    "invokeConnectorMcp": {
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Required. DataConnector resource. The data connector used for making the MCP call.",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$",
                          "type": "string"
                        }
                      },
                      "path": "v1alpha/{+name}:invokeConnectorMcp",
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Makes a call to an MCP connector.",
                      "id": "discoveryengine.projects.locations.collections.dataConnector.invokeConnectorMcp",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:invokeConnectorMcp"
                    },
                    "mcp": {
                      "httpMethod": "DELETE",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.dataConnector.mcp",
                      "response": {
                        "$ref": "GoogleApiHttpBody"
                      },
                      "parameters": {
                        "contentType": {
                          "description": "The HTTP Content-Type header value specifying the content type of the body.",
                          "type": "string",
                          "location": "query"
                        },
                        "projectsId": {
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "data": {
                          "location": "query",
                          "format": "byte",
                          "description": "The HTTP request/response body as raw binary.",
                          "type": "string"
                        },
                        "locationsId": {
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "extensions": {
                          "additionalProperties": {
                            "type": "any",
                            "description": "Properties of the object. Contains field @type with type URL."
                          },
                          "description": "Application specific response metadata. Must be set in the first response for streaming APIs.",
                          "type": "object",
                          "repeated": true,
                          "location": "query"
                        },
                        "collectionsId": {
                          "required": true,
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/mcp",
                      "path": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/mcp",
                      "description": "ServeMcpDeleteRequest serves a MCP DELETE request.",
                      "parameterOrder": [
                        "projectsId",
                        "locationsId",
                        "collectionsId"
                      ]
                    },
                    "startConnectorRun": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:startConnectorRun",
                      "description": "Starts an immediate synchronization process for a DataConnector. Third Party Connector Users must specify which entities should be synced. FHIR Connectors must provide a timestamp to indicate the point in time from which data should be synced.",
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.dataConnector.startConnectorRun",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "location": "path",
                          "description": "Required. Connector name of the form `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$"
                        }
                      },
                      "path": "v1alpha/{+parent}:startConnectorRun",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRun"
                      }
                    },
                    "checkRefreshToken": {
                      "deprecated": true,
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:checkRefreshToken",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Deprecated: Checks the existence of a refresh token for the EUC user for a given connection and returns its details. Use AcquireAccessToken instead and then check the validity of the returned token by asking the 3rd party system. There's no way to know for sure if a refresh token is valid without asking the 3rd party system.",
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Required. The resource name of the connector for which a token is queried.",
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.dataConnector.checkRefreshToken",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}:checkRefreshToken",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse"
                      }
                    }
                  }
                },
                "operations": {
                  "methods": {
                    "get": {
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "description": "The name of the operation resource.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/operations/[^/]+$",
                          "location": "path"
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "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}/operations/{operationsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.collections.operations.get",
                      "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"
                      ]
                    },
                    "list": {
                      "parameters": {
                        "returnPartialSuccess": {
                          "type": "boolean",
                          "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                          "location": "query"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "The standard list page token."
                        },
                        "filter": {
                          "description": "The standard list filter.",
                          "location": "query",
                          "type": "string"
                        },
                        "pageSize": {
                          "type": "integer",
                          "location": "query",
                          "format": "int32",
                          "description": "The standard list page size."
                        },
                        "name": {
                          "required": true,
                          "description": "The name of the operation's parent resource.",
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "path": "v1alpha/{+name}/operations",
                      "httpMethod": "GET",
                      "response": {
                        "$ref": "GoogleLongrunningListOperationsResponse"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/operations",
                      "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "discoveryengine.projects.locations.collections.operations.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    }
                  }
                },
                "engines": {
                  "methods": {
                    "getWorkspaceSettings": {
                      "description": "Get Workspace settings for the end user.",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "required": true,
                          "description": "Required. Full Engine resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`",
                          "location": "path"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaWorkspaceSettings"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:getWorkspaceSettings",
                      "id": "discoveryengine.projects.locations.collections.engines.getWorkspaceSettings",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}:getWorkspaceSettings"
                    },
                    "pause": {
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the engine to pause. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaPauseEngineRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}:pause",
                      "httpMethod": "POST",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:pause",
                      "description": "Pauses the training of an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
                      },
                      "id": "discoveryengine.projects.locations.collections.engines.pause"
                    },
                    "setIamPolicy": {
                      "id": "discoveryengine.projects.locations.collections.engines.setIamPolicy",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleIamV1Policy"
                      },
                      "path": "v1alpha/{+resource}:setIamPolicy",
                      "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:setIamPolicy",
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "resource"
                      ],
                      "request": {
                        "$ref": "GoogleIamV1SetIamPolicyRequest"
                      },
                      "parameters": {
                        "resource": {
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "required": true,
                          "description": "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."
                        }
                      }
                    },
                    "list": {
                      "path": "v1alpha/{+parent}/engines",
                      "id": "discoveryengine.projects.locations.collections.engines.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Lists all the Engines associated with the project.",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListEnginesResponse"
                      },
                      "parameters": {
                        "filter": {
                          "type": "string",
                          "description": "Optional. Filter by solution type. For example: solution_type=SOLUTION_TYPE_SEARCH",
                          "location": "query"
                        },
                        "pageSize": {
                          "location": "query",
                          "type": "integer",
                          "format": "int32",
                          "description": "Optional. Not supported."
                        },
                        "pageToken": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. Not supported."
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true,
                          "location": "path",
                          "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`.",
                          "type": "string"
                        }
                      },
                      "httpMethod": "GET"
                    },
                    "getIamPolicy": {
                      "description": "Gets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:getIamPolicy",
                      "response": {
                        "$ref": "GoogleIamV1Policy"
                      },
                      "id": "discoveryengine.projects.locations.collections.engines.getIamPolicy",
                      "parameterOrder": [
                        "resource"
                      ],
                      "parameters": {
                        "resource": {
                          "description": "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.",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "location": "path",
                          "required": true
                        },
                        "options.requestedPolicyVersion": {
                          "type": "integer",
                          "format": "int32",
                          "description": "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).",
                          "location": "query"
                        }
                      },
                      "path": "v1alpha/{+resource}:getIamPolicy",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET"
                    },
                    "delete": {
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "required": true,
                          "description": "Required. Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. If the caller does not have permission to delete the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to delete does not exist, a NOT_FOUND error is returned."
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}",
                      "httpMethod": "DELETE",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "description": "Deletes an Engine.",
                      "path": "v1alpha/{+name}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.engines.delete"
                    },
                    "resume": {
                      "description": "Resumes the training of an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.collections.engines.resume",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:resume",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaResumeEngineRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
                      },
                      "httpMethod": "POST",
                      "path": "v1alpha/{+name}:resume",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the engine to resume. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$"
                        }
                      }
                    },
                    "checkFeaturePolicyMembers": {
                      "parameters": {
                        "name": {
                          "description": "Required. The engine resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.engines.checkFeaturePolicyMembers",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:checkFeaturePolicyMembers",
                      "httpMethod": "POST",
                      "path": "v1alpha/{+name}:checkFeaturePolicyMembers",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponse"
                      },
                      "description": "Checks members for Engine.feature_policies against the project's directory, as EngineService.UpdateEngine does when it saves them, and saves nothing."
                    },
                    "get": {
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1alpha/{+name}",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
                      },
                      "parameters": {
                        "name": {
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "description": "Required. Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.",
                          "type": "string"
                        }
                      },
                      "id": "discoveryengine.projects.locations.collections.engines.get",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}",
                      "description": "Gets an Engine.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "getCompletionConfig": {
                      "id": "discoveryengine.projects.locations.collections.engines.getCompletionConfig",
                      "description": "Gets a CompletionConfig",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                      },
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "type": "string",
                          "description": "Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/completionConfig$",
                          "required": true
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/completionConfig",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "updateCompletionConfig": {
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "PATCH",
                      "id": "discoveryengine.projects.locations.collections.engines.updateCompletionConfig",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/completionConfig",
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "description": "Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/completionConfig$",
                          "required": true,
                          "location": "path"
                        },
                        "updateMask": {
                          "format": "google-fieldmask",
                          "type": "string",
                          "location": "query",
                          "description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated."
                        }
                      },
                      "description": "Updates the CompletionConfigs.",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "tune": {
                      "httpMethod": "POST",
                      "description": "Tunes an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
                      "path": "v1alpha/{+name}:tune",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "type": "string",
                          "description": "Required. The resource name of the engine to tune. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:tune",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaTuneEngineRequest"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "discoveryengine.projects.locations.collections.engines.tune"
                    },
                    "patch": {
                      "id": "discoveryengine.projects.locations.collections.engines.patch",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "updateMask": {
                          "format": "google-fieldmask",
                          "location": "query",
                          "description": "Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
                          "type": "string"
                        },
                        "name": {
                          "location": "path",
                          "description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "description": "Updates an Engine",
                      "httpMethod": "PATCH",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
                      }
                    },
                    "create": {
                      "id": "discoveryengine.projects.locations.collections.engines.create",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines",
                      "description": "Creates an Engine.",
                      "path": "v1alpha/{+parent}/engines",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
                      },
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "required": true,
                          "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string"
                        },
                        "engineId": {
                          "description": "Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "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"
                      ],
                      "parameterOrder": [
                        "parent"
                      ]
                    }
                  },
                  "resources": {
                    "operations": {
                      "methods": {
                        "list": {
                          "httpMethod": "GET",
                          "parameterOrder": [
                            "name"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/operations",
                          "parameters": {
                            "pageToken": {
                              "type": "string",
                              "description": "The standard list page token.",
                              "location": "query"
                            },
                            "filter": {
                              "type": "string",
                              "description": "The standard list filter.",
                              "location": "query"
                            },
                            "pageSize": {
                              "location": "query",
                              "type": "integer",
                              "description": "The standard list page size.",
                              "format": "int32"
                            },
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "description": "The name of the operation's parent resource."
                            },
                            "returnPartialSuccess": {
                              "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                              "location": "query",
                              "type": "boolean"
                            }
                          },
                          "path": "v1alpha/{+name}/operations",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.operations.list",
                          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                          "response": {
                            "$ref": "GoogleLongrunningListOperationsResponse"
                          }
                        },
                        "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.",
                          "path": "v1alpha/{+name}",
                          "parameters": {
                            "name": {
                              "type": "string",
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/operations/[^/]+$",
                              "description": "The name of the operation resource."
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.operations.get",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/operations/{operationsId}",
                          "httpMethod": "GET",
                          "parameterOrder": [
                            "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"
                          ]
                        }
                      }
                    },
                    "widgetConfigs": {
                      "methods": {
                        "get": {
                          "path": "v1alpha/{+name}",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                          },
                          "description": "Gets a WidgetConfig.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.widgetConfigs.get",
                          "parameters": {
                            "modelInfoView": {
                              "description": "Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin \"Feature Management\" page to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.",
                              "enumDescriptions": [
                                "Not specified.",
                                "The end-user web model selector view.",
                                "The Cloud Console admin \"Feature Control\" view that displays model toggles. Returns admin-surfaced models with `ResolvedModel.admin_view` populated.",
                                "The end-user model selector view for the Gemini Enterprise mobile app. Returns only mobile-surfaced models, with the mobile default selected. Set explicitly by the mobile client."
                              ],
                              "enum": [
                                "MODEL_INFO_VIEW_UNSPECIFIED",
                                "END_USER_WEB",
                                "ADMIN",
                                "END_USER_MOBILE"
                              ],
                              "location": "query",
                              "type": "string"
                            },
                            "languageCode": {
                              "location": "query",
                              "type": "string",
                              "description": "Optional. BCP-47 language tag (e.g. \"en\", \"fr-CA\"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English)."
                            },
                            "getWidgetConfigRequestOption.turnOffCollectionComponents": {
                              "description": "Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.",
                              "location": "query",
                              "type": "boolean"
                            },
                            "name": {
                              "description": "Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`",
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/widgetConfigs/[^/]+$"
                            },
                            "acceptCache": {
                              "type": "boolean",
                              "location": "query",
                              "description": "Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development."
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/widgetConfigs/{widgetConfigsId}",
                          "httpMethod": "GET"
                        },
                        "patch": {
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                          },
                          "description": "Update a WidgetConfig.",
                          "parameterOrder": [
                            "name"
                          ],
                          "httpMethod": "PATCH",
                          "path": "v1alpha/{+name}",
                          "id": "discoveryengine.projects.locations.collections.engines.widgetConfigs.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/widgetConfigs/{widgetConfigsId}",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/widgetConfigs/[^/]+$",
                              "description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
                            },
                            "updateMask": {
                              "location": "query",
                              "description": "Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated.",
                              "type": "string",
                              "format": "google-fieldmask"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        }
                      }
                    },
                    "conversations": {
                      "methods": {
                        "delete": {
                          "parameters": {
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$",
                              "required": true,
                              "description": "Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`",
                              "location": "path"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "DELETE",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.conversations.delete",
                          "description": "Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.",
                          "path": "v1alpha/{+name}",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "converse": {
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationRequest"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}:converse",
                          "description": "Converses a conversation.",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$",
                              "description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session."
                            }
                          },
                          "path": "v1alpha/{+name}:converse",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse"
                          },
                          "httpMethod": "POST",
                          "id": "discoveryengine.projects.locations.collections.engines.conversations.converse"
                        },
                        "get": {
                          "path": "v1alpha/{+name}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.conversations.get",
                          "description": "Gets a Conversation.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "create": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations",
                          "description": "Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "location": "path"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "POST",
                          "path": "v1alpha/{+parent}/conversations",
                          "id": "discoveryengine.projects.locations.collections.engines.conversations.create",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          }
                        },
                        "list": {
                          "id": "discoveryengine.projects.locations.collections.engines.conversations.list",
                          "description": "Lists all Conversations by their parent DataStore.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse"
                          },
                          "path": "v1alpha/{+parent}/conversations",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "parent"
                          ],
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations",
                          "parameters": {
                            "orderBy": {
                              "type": "string",
                              "location": "query",
                              "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: \"update_time desc\" \"create_time\""
                            },
                            "pageToken": {
                              "description": "A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.",
                              "location": "query",
                              "type": "string"
                            },
                            "parent": {
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                              "location": "path"
                            },
                            "filter": {
                              "type": "string",
                              "location": "query",
                              "description": "A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: \"user_pseudo_id = some_id\""
                            },
                            "pageSize": {
                              "location": "query",
                              "format": "int32",
                              "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                              "type": "integer"
                            }
                          }
                        },
                        "patch": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "parameters": {
                            "name": {
                              "location": "path",
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$",
                              "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`."
                            },
                            "updateMask": {
                              "description": "Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.",
                              "location": "query",
                              "type": "string",
                              "format": "google-fieldmask"
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                          },
                          "httpMethod": "PATCH",
                          "description": "Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.",
                          "parameterOrder": [
                            "name"
                          ],
                          "path": "v1alpha/{+name}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.conversations.patch",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}"
                        }
                      }
                    },
                    "completionConfig": {
                      "methods": {
                        "removeSuggestion": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/completionConfig:removeSuggestion",
                          "parameterOrder": [
                            "completionConfig"
                          ],
                          "path": "v1alpha/{+completionConfig}:removeSuggestion",
                          "description": "Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again.",
                          "httpMethod": "POST",
                          "id": "discoveryengine.projects.locations.collections.engines.completionConfig.removeSuggestion",
                          "parameters": {
                            "completionConfig": {
                              "location": "path",
                              "description": "Required. The completion_config of the parent engine resource name for which the search history suggestion is to be removed, such as `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/completionConfig$",
                              "type": "string",
                              "required": true
                            }
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        },
                        "completeQuery": {
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest"
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse"
                          },
                          "description": "Completes the user input with advanced keyword suggestions.",
                          "path": "v1alpha/{+completionConfig}:completeQuery",
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "completionConfig"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/cloud_search.query",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/completionConfig:completeQuery",
                          "parameters": {
                            "completionConfig": {
                              "location": "path",
                              "type": "string",
                              "description": "Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/completionConfig$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.completionConfig.completeQuery"
                        }
                      }
                    },
                    "analytics": {
                      "methods": {
                        "updateConfig": {
                          "description": "Updates the AnalyticsConfig for analytics.",
                          "id": "discoveryengine.projects.locations.collections.engines.analytics.updateConfig",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnalyticsConfig"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnalyticsConfig"
                          },
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "description": "Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config`",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/analytics/config$",
                              "type": "string"
                            },
                            "updateMask": {
                              "type": "string",
                              "description": "The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement.",
                              "location": "query",
                              "format": "google-fieldmask"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/analytics/config",
                          "httpMethod": "PATCH",
                          "path": "v1alpha/{+name}",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "exportMetrics": {
                          "description": "Exports metrics.",
                          "path": "v1alpha/{+analytics}:exportMetrics",
                          "parameters": {
                            "analytics": {
                              "location": "path",
                              "required": true,
                              "type": "string",
                              "description": "Required. The analytics resource name under the engine where the metrics are created. The format is `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/analytics`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/analytics$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.analytics.exportMetrics",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/analytics:exportMetrics",
                          "httpMethod": "POST",
                          "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"
                          ],
                          "parameterOrder": [
                            "analytics"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaExportMetricsRequest"
                          }
                        },
                        "getConfig": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Gets the AnalyticsConfig.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnalyticsConfig"
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.analytics.getConfig",
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/analytics/config",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "description": "Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config`",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/analytics/config$"
                            }
                          },
                          "path": "v1alpha/{+name}",
                          "parameterOrder": [
                            "name"
                          ]
                        }
                      }
                    },
                    "sessions": {
                      "resources": {
                        "answers": {
                          "methods": {
                            "get": {
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "description": "Gets a Answer.",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/answers/{answersId}",
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.answers.get",
                              "parameterOrder": [
                                "name"
                              ],
                              "path": "v1alpha/{+name}",
                              "httpMethod": "GET",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer"
                              },
                              "parameters": {
                                "name": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/answers/[^/]+$",
                                  "description": "Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`",
                                  "type": "string",
                                  "location": "path",
                                  "required": true
                                }
                              }
                            }
                          }
                        },
                        "files": {
                          "methods": {
                            "list": {
                              "parameterOrder": [
                                "parent"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/files",
                              "description": "Lists metadata for all files in the current session.",
                              "parameters": {
                                "orderBy": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "Optional. Specifies the order in which files are returned. The value is a comma-separated string of fields to sort by. For ascending order - just the field name is used. For descending order - the field name is suffixed with ` desc`. Sorting is stable and applied sequentially according to the order of fields provided in the string. Supported fields for ordering: * `upload_time`: The time the file was uploaded. * `file_name`: The name of the file. * `mime_type`: The MIME type of the file. * `session_name`: The name of the session the file belongs to. Default Behavior: If the `order_by` field is not specified, files will be returned sorted by creation time in descending order. Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by upload time in descending order: `upload_time desc` 3. Sort by file name (ascending), then by content type (MIME type) (descending), and finally by upload time (ascending): `file_name, mime_type desc, upload_time`"
                                },
                                "pageSize": {
                                  "location": "query",
                                  "description": "Optional. The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. If user specifies a value less than or equal to 0 - the request will be rejected with an INVALID_ARGUMENT error.",
                                  "format": "int32",
                                  "type": "integer"
                                },
                                "pageToken": {
                                  "type": "string",
                                  "location": "query",
                                  "description": "Optional. A page token received from a previous `ListFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFiles` must match the call that provided the page token (except `page_size`, which may differ)."
                                },
                                "parent": {
                                  "description": "Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` Name of the session resource to which the file belong.",
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$",
                                  "required": true
                                },
                                "filter": {
                                  "description": "Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the files being filtered. Filter expression is case-sensitive. Currently supported field names are: * upload_time * last_add_time * last_use_time * file_name * mime_type Some examples of filters would be: * \"file_name = 'file_1'\" * \"file_name = 'file_1' AND mime_type = 'text/plain'\" * \"last_use_time \u003e '2025-06-14T12:00:00Z'\" For a full description of the filter format, please see https://google.aip.dev/160.",
                                  "type": "string",
                                  "location": "query"
                                }
                              },
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListFilesResponse"
                              },
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.files.list",
                              "path": "v1alpha/{+parent}/files",
                              "httpMethod": "GET",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ]
                            }
                          }
                        },
                        "operations": {
                          "methods": {
                            "get": {
                              "httpMethod": "GET",
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "parameters": {
                                "name": {
                                  "location": "path",
                                  "required": true,
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/operations/[^/]+$",
                                  "type": "string",
                                  "description": "The name of the operation resource."
                                }
                              },
                              "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}/sessions/{sessionsId}/operations/{operationsId}",
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.operations.get",
                              "path": "v1alpha/{+name}",
                              "parameterOrder": [
                                "name"
                              ],
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ]
                            }
                          }
                        },
                        "alphaEvolveExperiments": {
                          "resources": {
                            "alphaEvolvePrograms": {
                              "methods": {
                                "create": {
                                  "parameterOrder": [
                                    "parent"
                                  ],
                                  "path": "v1alpha/{+parent}/alphaEvolvePrograms",
                                  "response": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram"
                                  },
                                  "description": "Creates a new AlphaEvolveProgram.",
                                  "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.alphaEvolvePrograms.create",
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "request": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram"
                                  },
                                  "httpMethod": "POST",
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}/alphaEvolvePrograms",
                                  "parameters": {
                                    "parent": {
                                      "required": true,
                                      "type": "string",
                                      "location": "path",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                      "description": "Required. The parent resource name (AlphaEvolveExperiment) of the AlphaEvolveProgram. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`"
                                    }
                                  }
                                },
                                "list": {
                                  "parameters": {
                                    "stateFilter": {
                                      "description": "Optional. Filter to apply to the programs. Examples: \"state_filter = \\'COMPLETED\\'\" \"state_filter = \\'INITIALIZED\\' OR \"state_filter = \\'EVALUATING\\'\" If empty, the behavior defaults to listing programs in REGISTRATION_COMPLETE state or processing state is NULL.",
                                      "enumDescriptions": [
                                        "Default value. This value is unused.",
                                        "The program is initialized.",
                                        "The program is in generation.",
                                        "The program is pending evaluation.",
                                        "The program is completed."
                                      ],
                                      "type": "string",
                                      "location": "query",
                                      "enum": [
                                        "PROGRAM_STATE_UNSPECIFIED",
                                        "INITIALIZED",
                                        "GENERATING",
                                        "EVALUATING",
                                        "COMPLETED"
                                      ]
                                    },
                                    "pageToken": {
                                      "description": "Optional. A page token, received from a previous `ListAlphaEvolvePrograms` call. Provide this to retrieve the subsequent page.",
                                      "location": "query",
                                      "type": "string"
                                    },
                                    "parent": {
                                      "location": "path",
                                      "description": "Required. The parent resource name (AlphaEvolveExperiment) of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`",
                                      "required": true,
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                      "type": "string"
                                    },
                                    "pageSize": {
                                      "location": "query",
                                      "type": "integer",
                                      "description": "Optional. The maximum number of programs to return. The service may return fewer than this value.",
                                      "format": "int32"
                                    },
                                    "orderBy": {
                                      "type": "string",
                                      "description": "Optional. Sorting criterion for the programs. Comma separated list of metrics to sort by and optionally sort order, e.g. \"score1 desc, score2\". The criteria are applied in the order listed in the field. An implicit criterion of sorting by create_time descending is always applied as the final tie-breaker after all other specified criteria.",
                                      "location": "query"
                                    }
                                  },
                                  "description": "List all AlphaEvolvePrograms in a given experiment that follow the criteria provided in the request.",
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}/alphaEvolvePrograms",
                                  "httpMethod": "GET",
                                  "path": "v1alpha/{+parent}/alphaEvolvePrograms",
                                  "response": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "parameterOrder": [
                                    "parent"
                                  ],
                                  "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.alphaEvolvePrograms.list"
                                },
                                "get": {
                                  "description": "Gets an existing AlphaEvolveProgram.",
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}/alphaEvolvePrograms/{alphaEvolveProgramsId}",
                                  "parameters": {
                                    "name": {
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+/alphaEvolvePrograms/[^/]+$",
                                      "location": "path",
                                      "description": "Required. The full resource name of the program. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}`",
                                      "required": true,
                                      "type": "string"
                                    }
                                  },
                                  "path": "v1alpha/{+name}",
                                  "httpMethod": "GET",
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.alphaEvolvePrograms.get",
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "response": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram"
                                  }
                                }
                              }
                            },
                            "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.",
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}/operations/{operationsId}",
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "httpMethod": "GET",
                                  "path": "v1alpha/{+name}",
                                  "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.operations.get",
                                  "response": {
                                    "$ref": "GoogleLongrunningOperation"
                                  },
                                  "parameters": {
                                    "name": {
                                      "required": true,
                                      "location": "path",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+/operations/[^/]+$",
                                      "type": "string",
                                      "description": "The name of the operation resource."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "methods": {
                            "delete": {
                              "path": "v1alpha/{+name}",
                              "description": "Deletes an experiment provided the experiment is in an end state (e.g. created, failed, succeeded).",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}",
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.delete",
                              "httpMethod": "DELETE",
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleProtobufEmpty"
                              },
                              "parameters": {
                                "name": {
                                  "required": true,
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                  "description": "Required. The full resource name of the experiment to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`"
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ]
                            },
                            "get": {
                              "path": "v1alpha/{+name}",
                              "parameters": {
                                "name": {
                                  "description": "Required. The full resource name of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                  "type": "string"
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "httpMethod": "GET",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment"
                              },
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.get",
                              "description": "Get an existing AlphaEvolveExperiment.",
                              "parameterOrder": [
                                "name"
                              ]
                            },
                            "start": {
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "httpMethod": "POST",
                              "parameterOrder": [
                                "name"
                              ],
                              "description": "Starts a workflow to process the AlphaEvolveExperiment.",
                              "parameters": {
                                "name": {
                                  "required": true,
                                  "location": "path",
                                  "type": "string",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                  "description": "Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`"
                                }
                              },
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.start",
                              "path": "v1alpha/{+name}:start",
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}:start",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaStartExperimentRequest"
                              }
                            },
                            "list": {
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse"
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "description": "List all AlphaEvolveExperiments in a given session.",
                              "httpMethod": "GET",
                              "path": "v1alpha/{+parent}/alphaEvolveExperiments",
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.list",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameters": {
                                "pageToken": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "Optional. A page token, received from a previous `ListAlphaEvolveExperiments` call. Provide this to retrieve the subsequent page."
                                },
                                "parent": {
                                  "type": "string",
                                  "location": "path",
                                  "description": "Required. The parent resource name (Session) of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$",
                                  "required": true
                                },
                                "pageSize": {
                                  "format": "int32",
                                  "description": "Optional. The maximum number of experiments to return. The service may return fewer than this value.",
                                  "type": "integer",
                                  "location": "query"
                                }
                              }
                            },
                            "submitProgramsEvaluations": {
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.submitProgramsEvaluations",
                              "description": "Adds an AlphaEvolveProgramEvaluation to the experiment.",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse"
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}:submitProgramsEvaluations",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest"
                              },
                              "httpMethod": "POST",
                              "path": "v1alpha/{+parent}:submitProgramsEvaluations",
                              "parameterOrder": [
                                "parent"
                              ],
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "parameters": {
                                "parent": {
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                  "required": true,
                                  "type": "string",
                                  "description": "Required. The parent resource name (AlphaEvolveExperiment) of the Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`"
                                }
                              }
                            },
                            "resume": {
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.resume",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest"
                              },
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "description": "Resumes a workflow to process the AlphaEvolveExperiment.",
                              "path": "v1alpha/{+name}:resume",
                              "parameters": {
                                "name": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                  "description": "Required. Experiment to resume. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`",
                                  "location": "path",
                                  "type": "string",
                                  "required": true
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}:resume",
                              "httpMethod": "POST"
                            },
                            "acquirePrograms": {
                              "httpMethod": "POST",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse"
                              },
                              "description": "Acquires one or more AlphaEvolveProgram from the generated queue of programs for evaluation.",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest"
                              },
                              "parameters": {
                                "parent": {
                                  "description": "Required. The parent resource name (AlphaEvolveExperiment) of the AlphaEvolveExperiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`",
                                  "required": true,
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/alphaEvolveExperiments/[^/]+$",
                                  "type": "string",
                                  "location": "path"
                                }
                              },
                              "path": "v1alpha/{+parent}:acquirePrograms",
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.acquirePrograms",
                              "parameterOrder": [
                                "parent"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments/{alphaEvolveExperimentsId}:acquirePrograms",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ]
                            },
                            "create": {
                              "id": "discoveryengine.projects.locations.collections.engines.sessions.alphaEvolveExperiments.create",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/alphaEvolveExperiments",
                              "description": "Creates a new AlphaEvolveExperiment.",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "path": "v1alpha/{+parent}/alphaEvolveExperiments",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment"
                              },
                              "parameters": {
                                "parent": {
                                  "required": true,
                                  "description": "Required. The parent resource name (Session) of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`",
                                  "type": "string",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment"
                              },
                              "httpMethod": "POST"
                            }
                          }
                        }
                      },
                      "methods": {
                        "list": {
                          "parameterOrder": [
                            "parent"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse"
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.sessions.list",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+parent}/sessions",
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string",
                              "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`"
                            },
                            "pageToken": {
                              "type": "string",
                              "description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.",
                              "location": "query"
                            },
                            "filter": {
                              "location": "query",
                              "description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \u003e \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`",
                              "type": "string"
                            },
                            "orderBy": {
                              "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.",
                              "type": "string",
                              "location": "query"
                            },
                            "pageSize": {
                              "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                              "format": "int32",
                              "location": "query",
                              "type": "integer"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions",
                          "description": "Lists all Sessions by their parent DataStore.",
                          "httpMethod": "GET"
                        },
                        "delete": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}",
                          "path": "v1alpha/{+name}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.sessions.delete",
                          "parameters": {
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$",
                              "location": "path",
                              "description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`",
                              "required": true
                            }
                          },
                          "description": "Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "httpMethod": "DELETE",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "create": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "sessionId": {
                              "type": "string",
                              "location": "query",
                              "description": "Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated."
                            },
                            "parent": {
                              "required": true,
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                              "location": "path"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "POST",
                          "id": "discoveryengine.projects.locations.collections.engines.sessions.create",
                          "description": "Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "path": "v1alpha/{+parent}/sessions"
                        },
                        "get": {
                          "path": "v1alpha/{+name}",
                          "parameterOrder": [
                            "name"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}",
                          "parameters": {
                            "name": {
                              "required": true,
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$",
                              "description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`"
                            },
                            "includeAnswerDetails": {
                              "description": "Optional. If set to true, the full session including all answer details will be returned.",
                              "location": "query",
                              "type": "boolean"
                            }
                          },
                          "description": "Gets a Session.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "id": "discoveryengine.projects.locations.collections.engines.sessions.get"
                        },
                        "patch": {
                          "httpMethod": "PATCH",
                          "path": "v1alpha/{+name}",
                          "id": "discoveryengine.projects.locations.collections.engines.sessions.patch",
                          "parameters": {
                            "name": {
                              "required": true,
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$",
                              "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`"
                            },
                            "updateMask": {
                              "format": "google-fieldmask",
                              "description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.",
                              "location": "query",
                              "type": "string"
                            }
                          },
                          "description": "Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                          }
                        }
                      }
                    },
                    "assistants": {
                      "methods": {
                        "patch": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}",
                          "parameterOrder": [
                            "name"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "PATCH",
                          "path": "v1alpha/{+name}",
                          "id": "discoveryengine.projects.locations.collections.engines.assistants.patch",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant"
                          },
                          "parameters": {
                            "name": {
                              "description": "Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$",
                              "type": "string",
                              "location": "path",
                              "required": true
                            },
                            "updateMask": {
                              "description": "The list of fields to update.",
                              "format": "google-fieldmask",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "description": "Updates an Assistant"
                        },
                        "list": {
                          "parameters": {
                            "pageSize": {
                              "description": "Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.",
                              "format": "int32",
                              "type": "integer",
                              "location": "query"
                            },
                            "parent": {
                              "required": true,
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`"
                            },
                            "pageToken": {
                              "location": "query",
                              "description": "A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.",
                              "type": "string"
                            }
                          },
                          "path": "v1alpha/{+parent}/assistants",
                          "httpMethod": "GET",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListAssistantsResponse"
                          },
                          "description": "Lists all Assistants under an Engine.",
                          "id": "discoveryengine.projects.locations.collections.engines.assistants.list",
                          "parameterOrder": [
                            "parent"
                          ]
                        },
                        "delete": {
                          "httpMethod": "DELETE",
                          "description": "Deletes an Assistant.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}",
                          "parameterOrder": [
                            "name"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.assistants.delete",
                          "parameters": {
                            "name": {
                              "description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+name}"
                        },
                        "get": {
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}",
                          "parameters": {
                            "name": {
                              "location": "path",
                              "required": true,
                              "description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.assistants.get",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Gets an Assistant.",
                          "path": "v1alpha/{+name}"
                        },
                        "create": {
                          "description": "Creates an Assistant.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant"
                          },
                          "parameters": {
                            "parent": {
                              "location": "path",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                              "type": "string"
                            },
                            "assistantId": {
                              "type": "string",
                              "location": "query",
                              "description": "Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters."
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants",
                          "httpMethod": "POST",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant"
                          },
                          "path": "v1alpha/{+parent}/assistants",
                          "id": "discoveryengine.projects.locations.collections.engines.assistants.create",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        },
                        "streamAssist": {
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequest"
                          },
                          "path": "v1alpha/{+name}:streamAssist",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Assists the user with a query in a streaming fashion.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponse"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}:streamAssist",
                          "httpMethod": "POST",
                          "id": "discoveryengine.projects.locations.collections.engines.assistants.streamAssist",
                          "parameters": {
                            "name": {
                              "description": "Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$",
                              "type": "string",
                              "location": "path"
                            }
                          }
                        }
                      },
                      "resources": {
                        "agents": {
                          "resources": {
                            "operations": {
                              "methods": {
                                "get": {
                                  "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"
                                  ],
                                  "path": "v1alpha/{+name}",
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.operations.get",
                                  "httpMethod": "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}/operations/{operationsId}",
                                  "parameters": {
                                    "name": {
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$",
                                      "location": "path",
                                      "type": "string",
                                      "required": true,
                                      "description": "The name of the operation resource."
                                    }
                                  }
                                }
                              }
                            },
                            "files": {
                              "methods": {
                                "import": {
                                  "description": "Imports a file to an Agent. Currently only No-Code agents are supported.",
                                  "response": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform",
                                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                                  ],
                                  "httpMethod": "POST",
                                  "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.files.import",
                                  "parameters": {
                                    "parent": {
                                      "required": true,
                                      "type": "string",
                                      "location": "path",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$",
                                      "description": "Required. The resource name of the Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}`"
                                    }
                                  },
                                  "path": "v1alpha/{+parent}/files:import",
                                  "request": {
                                    "$ref": "GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest"
                                  },
                                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/files:import",
                                  "parameterOrder": [
                                    "parent"
                                  ]
                                }
                              }
                            }
                          },
                          "methods": {
                            "delete": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}",
                              "parameters": {
                                "name": {
                                  "required": true,
                                  "type": "string",
                                  "description": "Required. Resource name of Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` If the caller does not have permission to delete the agent, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the agent to delete does not exist, a `NOT_FOUND` error is returned.",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$"
                                }
                              },
                              "httpMethod": "DELETE",
                              "description": "Deletes an Agent.",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "path": "v1alpha/{+name}",
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.delete",
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleLongrunningOperation"
                              }
                            },
                            "get": {
                              "description": "Gets an Agent.",
                              "path": "v1alpha/{+name}",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAgent"
                              },
                              "httpMethod": "GET",
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.get",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}",
                              "parameterOrder": [
                                "name"
                              ],
                              "parameters": {
                                "name": {
                                  "description": "Required. Resource name of Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}`",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$",
                                  "location": "path",
                                  "type": "string",
                                  "required": true
                                }
                              }
                            },
                            "list": {
                              "description": "Lists all Agents under an Assistant which were created by the caller.",
                              "parameterOrder": [
                                "parent"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents",
                              "path": "v1alpha/{+parent}/agents",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.list",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListAgentsResponse"
                              },
                              "parameters": {
                                "pageToken": {
                                  "type": "string",
                                  "description": "Optional. A page token ListAgentsResponse.next_page_token, received from a previous AgentService.ListAgents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAgents must match the call that provided the page token.",
                                  "location": "query"
                                },
                                "filter": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "Optional. Filters the Agents list. Supported fields: * `display_name`: display name of the agent. Supports `=`, `:`. * `id`: ID of the agent. Supports `=`. * `state`: state of the agent. Supports `=`. * `create_time`: timestamp when the agent was created. Supports `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=`. * `update_time`: timestamp when the agent was last updated. Supports `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=`. Examples: * `display_name = \"My Agent\"` * `create_time \u003e \"2023-01-01T00:00:00Z\"`"
                                },
                                "pageSize": {
                                  "location": "query",
                                  "description": "Optional. Maximum number of Agents to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.",
                                  "format": "int32",
                                  "type": "integer"
                                },
                                "parent": {
                                  "required": true,
                                  "location": "path",
                                  "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$",
                                  "type": "string"
                                },
                                "orderBy": {
                                  "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `is_pinned` Example: * \"update_time desc\" * \"is_pinned desc,update_time desc\": list agents by is_pinned first, then by update_time.",
                                  "location": "query",
                                  "type": "string"
                                }
                              },
                              "httpMethod": "GET"
                            },
                            "create": {
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAgent"
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "description": "Creates an Agent.",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "path": "v1alpha/{+parent}/agents",
                              "httpMethod": "POST",
                              "parameters": {
                                "parent": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$",
                                  "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`",
                                  "location": "path",
                                  "type": "string",
                                  "required": true
                                }
                              },
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.create",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAgent"
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents"
                            },
                            "patch": {
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAgent"
                              },
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaAgent"
                              },
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.patch",
                              "description": "Updates an Agent",
                              "parameterOrder": [
                                "name"
                              ],
                              "parameters": {
                                "updateMask": {
                                  "location": "query",
                                  "description": "Optional. The list of fields to update.",
                                  "format": "google-fieldmask",
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$",
                                  "description": "Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}`"
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}",
                              "path": "v1alpha/{+name}",
                              "httpMethod": "PATCH"
                            }
                          }
                        },
                        "cannedQueries": {
                          "methods": {
                            "delete": {
                              "description": "Deletes a CannedQuery.",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/cannedQueries/{cannedQueriesId}",
                              "parameterOrder": [
                                "name"
                              ],
                              "path": "v1alpha/{+name}",
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.delete",
                              "httpMethod": "DELETE",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleProtobufEmpty"
                              },
                              "parameters": {
                                "name": {
                                  "type": "string",
                                  "description": "Required. Resource name of CannedQuery. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` If the caller does not have permission to delete the canned query, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the canned query to delete does not exist, a `NOT_FOUND` error is returned.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/cannedQueries/[^/]+$",
                                  "required": true,
                                  "location": "path"
                                }
                              }
                            },
                            "get": {
                              "parameters": {
                                "name": {
                                  "type": "string",
                                  "required": true,
                                  "description": "Required. Resource name of CannedQuery. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}`",
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/cannedQueries/[^/]+$"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.get",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuery"
                              },
                              "httpMethod": "GET",
                              "description": "Gets a CannedQuery.",
                              "path": "v1alpha/{+name}",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/cannedQueries/{cannedQueriesId}"
                            },
                            "patch": {
                              "httpMethod": "PATCH",
                              "description": "Updates a CannedQuery.",
                              "parameters": {
                                "name": {
                                  "type": "string",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/cannedQueries/[^/]+$",
                                  "description": "Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters."
                                },
                                "updateMask": {
                                  "type": "string",
                                  "format": "google-fieldmask",
                                  "description": "The list of fields to update.",
                                  "location": "query"
                                }
                              },
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/cannedQueries/{cannedQueriesId}",
                              "parameterOrder": [
                                "name"
                              ],
                              "path": "v1alpha/{+name}",
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.patch",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuery"
                              },
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuery"
                              }
                            },
                            "list": {
                              "parameters": {
                                "filter": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "Optional. The filter expression. Supported fields: * `enabled` * `google_defined` Examples: * `enabled=true` * `google_defined=true` * `enabled=true AND google_defined=true`"
                                },
                                "pageToken": {
                                  "type": "string",
                                  "description": "A page token received from a previous CannedQueryService.ListCannedQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CannedQueryService.ListCannedQueries must match the call that provided the page token.",
                                  "location": "query"
                                },
                                "pageSize": {
                                  "format": "int32",
                                  "location": "query",
                                  "type": "integer",
                                  "description": "Maximum number of canned queries to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000."
                                },
                                "parent": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string",
                                  "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "httpMethod": "GET",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/cannedQueries",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse"
                              },
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.list",
                              "description": "Lists all CannedQuerys under an Assistant.",
                              "path": "v1alpha/{+parent}/cannedQueries"
                            },
                            "create": {
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/cannedQueries",
                              "parameterOrder": [
                                "parent"
                              ],
                              "id": "discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.create",
                              "description": "Creates a CannedQuery.",
                              "parameters": {
                                "cannedQueryId": {
                                  "location": "query",
                                  "type": "string",
                                  "description": "Required. The ID to use for the canned query, which will become the final component of the canned query's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters."
                                },
                                "parent": {
                                  "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`",
                                  "type": "string",
                                  "required": true,
                                  "location": "path",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$"
                                }
                              },
                              "path": "v1alpha/{+parent}/cannedQueries",
                              "request": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuery"
                              },
                              "httpMethod": "POST",
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuery"
                              }
                            }
                          }
                        }
                      }
                    },
                    "servingConfigs": {
                      "methods": {
                        "get": {
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "path": "v1alpha/{+name}",
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.get",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`",
                              "location": "path"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}",
                          "description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        },
                        "answer": {
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:answer",
                          "path": "v1alpha/{+servingConfig}:answer",
                          "parameters": {
                            "servingConfig": {
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. Or the resource name of the agent engine serving config, such as: `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. (use when `enable_agent_invocation` set to true, and you have custom `AI_MODE` agent engine configured) This field is used to identify the serving configuration name, set of models used to make the search.",
                              "type": "string",
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.answer",
                          "description": "Answer query method.",
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest"
                          }
                        },
                        "streamAnswer": {
                          "parameters": {
                            "servingConfig": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. Or the resource name of the agent engine serving config, such as: `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. (use when `enable_agent_invocation` set to true, and you have custom `AI_MODE` agent engine configured) This field is used to identify the serving configuration name, set of models used to make the search."
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.streamAnswer",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:streamAnswer",
                          "httpMethod": "POST",
                          "description": "Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.",
                          "path": "v1alpha/{+servingConfig}:streamAnswer",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse"
                          },
                          "parameterOrder": [
                            "servingConfig"
                          ]
                        },
                        "search": {
                          "description": "Performs a search.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse"
                          },
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.search",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "servingConfig": {
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "location": "path",
                              "required": true
                            }
                          },
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:search",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
                          },
                          "path": "v1alpha/{+servingConfig}:search"
                        },
                        "delete": {
                          "parameters": {
                            "name": {
                              "type": "string",
                              "description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "location": "path",
                              "required": true
                            }
                          },
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.",
                          "parameterOrder": [
                            "name"
                          ],
                          "httpMethod": "DELETE",
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.delete",
                          "path": "v1alpha/{+name}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}"
                        },
                        "searchLite": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse"
                          },
                          "httpMethod": "POST",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
                          },
                          "parameters": {
                            "servingConfig": {
                              "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "required": true,
                              "type": "string",
                              "location": "path"
                            }
                          },
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "description": "Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.",
                          "path": "v1alpha/{+servingConfig}:searchLite",
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.searchLite",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:searchLite"
                        },
                        "list": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Lists all ServingConfigs linked to this dataStore.",
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.list",
                          "path": "v1alpha/{+parent}/servingConfigs",
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse"
                          },
                          "parameters": {
                            "pageToken": {
                              "description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.",
                              "location": "query",
                              "type": "string"
                            },
                            "pageSize": {
                              "type": "integer",
                              "description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.",
                              "location": "query",
                              "format": "int32"
                            },
                            "parent": {
                              "description": "Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                              "type": "string",
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ]
                        },
                        "patch": {
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "description": "Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.",
                          "path": "v1alpha/{+name}",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "PATCH",
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.patch",
                          "parameters": {
                            "updateMask": {
                              "type": "string",
                              "location": "query",
                              "format": "google-fieldmask",
                              "description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated."
                            },
                            "name": {
                              "required": true,
                              "description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "type": "string"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "recommend": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:recommend",
                          "description": "Makes a recommendation, which requires a contextual user event.",
                          "path": "v1alpha/{+servingConfig}:recommend",
                          "parameterOrder": [
                            "servingConfig"
                          ],
                          "parameters": {
                            "servingConfig": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$",
                              "description": "Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests.",
                              "location": "path",
                              "type": "string",
                              "required": true
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.recommend",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponse"
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendRequest"
                          },
                          "httpMethod": "POST",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        },
                        "create": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "path": "v1alpha/{+parent}/servingConfigs",
                          "parameters": {
                            "servingConfigId": {
                              "location": "query",
                              "type": "string",
                              "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/."
                            },
                            "parent": {
                              "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "location": "path"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs",
                          "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.create",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                          },
                          "httpMethod": "POST",
                          "parameterOrder": [
                            "parent"
                          ]
                        }
                      }
                    },
                    "controls": {
                      "methods": {
                        "get": {
                          "path": "v1alpha/{+name}",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls/{controlsId}",
                          "description": "Gets a Control.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/controls/[^/]+$",
                              "description": "Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.controls.get",
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "httpMethod": "GET"
                        },
                        "delete": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+name}",
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls/{controlsId}",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "httpMethod": "DELETE",
                          "id": "discoveryengine.projects.locations.collections.engines.controls.delete",
                          "parameters": {
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/controls/[^/]+$",
                              "location": "path",
                              "description": "Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`",
                              "required": true
                            }
                          }
                        },
                        "create": {
                          "id": "discoveryengine.projects.locations.collections.engines.controls.create",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.",
                          "parameterOrder": [
                            "parent"
                          ],
                          "httpMethod": "POST",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "path": "v1alpha/{+parent}/controls",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "type": "string",
                              "location": "path",
                              "required": true,
                              "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`."
                            },
                            "controlId": {
                              "type": "string",
                              "location": "query",
                              "description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/."
                            }
                          }
                        },
                        "list": {
                          "parameters": {
                            "pageToken": {
                              "description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.",
                              "location": "query",
                              "type": "string"
                            },
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
                              "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.",
                              "type": "string",
                              "location": "path",
                              "required": true
                            },
                            "filter": {
                              "location": "query",
                              "type": "string",
                              "description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported."
                            },
                            "pageSize": {
                              "description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                              "type": "integer",
                              "format": "int32",
                              "location": "query"
                            }
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.controls.list",
                          "httpMethod": "GET",
                          "description": "Lists all Controls by their parent DataStore.",
                          "path": "v1alpha/{+parent}/controls",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListControlsResponse"
                          },
                          "parameterOrder": [
                            "parent"
                          ]
                        },
                        "patch": {
                          "httpMethod": "PATCH",
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls/{controlsId}",
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/controls/[^/]+$",
                              "type": "string",
                              "description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`",
                              "required": true,
                              "location": "path"
                            },
                            "updateMask": {
                              "description": "Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.",
                              "format": "google-fieldmask",
                              "type": "string",
                              "location": "query"
                            }
                          },
                          "path": "v1alpha/{+name}",
                          "description": "Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                          },
                          "id": "discoveryengine.projects.locations.collections.engines.controls.patch"
                        }
                      }
                    }
                  }
                }
              }
            },
            "notebooks": {
              "methods": {
                "listRecentlyViewed": {
                  "description": "Lists the notebooks ordered by last view time.",
                  "id": "discoveryengine.projects.locations.notebooks.listRecentlyViewed",
                  "response": {
                    "$ref": "GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse"
                  },
                  "path": "v1alpha/{+parent}/notebooks:listRecentlyViewed",
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks:listRecentlyViewed",
                  "parameters": {
                    "pageSize": {
                      "format": "int32",
                      "description": "Optional. Maximum number of Notebooks to return. If unspecified, defaults to \"500\". The maximum allowed value is \"500\". If this field is negative, will use the default value.",
                      "location": "query",
                      "type": "integer"
                    },
                    "pageToken": {
                      "description": "Optional. The page token, provide this to retrieve the subsequent page.",
                      "location": "query",
                      "type": "string"
                    },
                    "parent": {
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.",
                      "location": "path"
                    }
                  },
                  "httpMethod": "GET"
                },
                "get": {
                  "path": "v1alpha/{+name}",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleCloudNotebooklmV1alphaNotebook"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.notebooks.get",
                  "description": "Gets a notebook.",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$",
                      "description": "Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`."
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ]
                },
                "create": {
                  "parameters": {
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`."
                    }
                  },
                  "request": {
                    "$ref": "GoogleCloudNotebooklmV1alphaNotebook"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks",
                  "id": "discoveryengine.projects.locations.notebooks.create",
                  "httpMethod": "POST",
                  "description": "Creates a notebook.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleCloudNotebooklmV1alphaNotebook"
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1alpha/{+parent}/notebooks"
                },
                "share": {
                  "description": "Shares a notebook to other accounts.",
                  "response": {
                    "$ref": "GoogleCloudNotebooklmV1alphaShareNotebookResponse"
                  },
                  "request": {
                    "$ref": "GoogleCloudNotebooklmV1alphaShareNotebookRequest"
                  },
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$",
                      "description": "Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`.",
                      "location": "path"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "discoveryengine.projects.locations.notebooks.share",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "POST",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}:share",
                  "path": "v1alpha/{+name}:share"
                },
                "batchDelete": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "request": {
                    "$ref": "GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest"
                  },
                  "description": "Batch deletes Notebooks.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks:batchDelete",
                  "id": "discoveryengine.projects.locations.notebooks.batchDelete",
                  "path": "v1alpha/{+parent}/notebooks:batchDelete",
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "parameters": {
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.",
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ]
                }
              },
              "resources": {
                "audioOverviews": {
                  "methods": {
                    "create": {
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.notebooks.audioOverviews.create",
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse"
                      },
                      "parameters": {
                        "parent": {
                          "required": true,
                          "description": "Required. The parent resource where this notebook will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook}",
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$"
                        }
                      },
                      "description": "Generates a new audio overview.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/audioOverviews",
                      "request": {
                        "$ref": "GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest"
                      },
                      "path": "v1alpha/{+parent}/audioOverviews"
                    },
                    "delete": {
                      "parameters": {
                        "name": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+/audioOverviews/[^/]+$",
                          "required": true,
                          "description": "Required. The full resource name of the AudioOverview, such as `projects/{project}/locations/{location}/notebooks/{notebook}/audioOverviews/{audio_overview_id}`.",
                          "type": "string"
                        }
                      },
                      "id": "discoveryengine.projects.locations.notebooks.audioOverviews.delete",
                      "path": "v1alpha/{+name}",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/audioOverviews/{audioOverviewsId}",
                      "httpMethod": "DELETE",
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Deletes an audio overview."
                    }
                  }
                },
                "sources": {
                  "methods": {
                    "get": {
                      "response": {
                        "$ref": "GoogleCloudNotebooklmV1alphaSource"
                      },
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.notebooks.sources.get",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+/sources/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true,
                          "description": "Required. The resource name for source Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source}"
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Gets a Source.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/sources/{sourcesId}"
                    },
                    "batchCreate": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest"
                      },
                      "id": "discoveryengine.projects.locations.notebooks.sources.batchCreate",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/sources:batchCreate",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$",
                          "type": "string",
                          "description": "Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook}",
                          "location": "path"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse"
                      },
                      "description": "Creates a list of Sources.",
                      "path": "v1alpha/{+parent}/sources:batchCreate"
                    },
                    "batchDelete": {
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "description": "Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook}",
                          "required": true
                        }
                      },
                      "path": "v1alpha/{+parent}/sources:batchDelete",
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "httpMethod": "POST",
                      "id": "discoveryengine.projects.locations.notebooks.sources.batchDelete",
                      "description": "Deletes multiple sources",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "request": {
                        "$ref": "GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/sources:batchDelete",
                      "parameterOrder": [
                        "parent"
                      ]
                    }
                  }
                }
              }
            },
            "groundingConfigs": {
              "methods": {
                "check": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/groundingConfigs/{groundingConfigsId}:check",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest"
                  },
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "groundingConfig"
                  ],
                  "description": "Performs a grounding check.",
                  "id": "discoveryengine.projects.locations.groundingConfigs.check",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+groundingConfig}:check",
                  "parameters": {
                    "groundingConfig": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/groundingConfigs/[^/]+$",
                      "location": "path",
                      "description": "Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse"
                  }
                }
              }
            },
            "rankingConfigs": {
              "methods": {
                "rank": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rankingConfigs/{rankingConfigsId}:rank",
                  "description": "Ranks a list of text records based on the given input query.",
                  "path": "v1alpha/{+rankingConfig}:rank",
                  "parameterOrder": [
                    "rankingConfig"
                  ],
                  "parameters": {
                    "rankingConfig": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/rankingConfigs/[^/]+$",
                      "description": "Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`."
                    }
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaRankRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.rankingConfigs.rank",
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaRankResponse"
                  }
                }
              }
            },
            "dataStores": {
              "resources": {
                "servingConfigs": {
                  "methods": {
                    "recommend": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:recommend",
                      "parameterOrder": [
                        "servingConfig"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendRequest"
                      },
                      "path": "v1alpha/{+servingConfig}:recommend",
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponse"
                      },
                      "description": "Makes a recommendation, which requires a contextual user event.",
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.recommend",
                      "parameters": {
                        "servingConfig": {
                          "description": "Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests.",
                          "required": true,
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$"
                        }
                      }
                    },
                    "create": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs",
                      "parameterOrder": [
                        "parent"
                      ],
                      "path": "v1alpha/{+parent}/servingConfigs",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.create",
                      "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.",
                      "parameters": {
                        "servingConfigId": {
                          "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.",
                          "location": "query",
                          "type": "string"
                        },
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "type": "string",
                          "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                          "location": "path"
                        }
                      },
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                      }
                    },
                    "streamAnswer": {
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.streamAnswer",
                      "parameterOrder": [
                        "servingConfig"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:streamAnswer",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "POST",
                      "description": "Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.",
                      "parameters": {
                        "servingConfig": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. Or the resource name of the agent engine serving config, such as: `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. (use when `enable_agent_invocation` set to true, and you have custom `AI_MODE` agent engine configured) This field is used to identify the serving configuration name, set of models used to make the search."
                        }
                      },
                      "path": "v1alpha/{+servingConfig}:streamAnswer"
                    },
                    "search": {
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse"
                      },
                      "description": "Performs a search.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "servingConfig": {
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                          "type": "string",
                          "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search."
                        }
                      },
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.search",
                      "parameterOrder": [
                        "servingConfig"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:search",
                      "path": "v1alpha/{+servingConfig}:search"
                    },
                    "delete": {
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.delete",
                      "path": "v1alpha/{+name}",
                      "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}",
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$"
                        }
                      },
                      "httpMethod": "DELETE"
                    },
                    "get": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1alpha/{+name}",
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.get",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                          "description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`",
                          "type": "string",
                          "location": "path",
                          "required": true
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}",
                      "description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "list": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs",
                      "path": "v1alpha/{+parent}/servingConfigs",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Lists all ServingConfigs linked to this dataStore.",
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.list",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page."
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "description": "Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`",
                          "type": "string",
                          "location": "path",
                          "required": true
                        },
                        "pageSize": {
                          "type": "integer",
                          "location": "query",
                          "format": "int32",
                          "description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned."
                        }
                      }
                    },
                    "searchLite": {
                      "httpMethod": "POST",
                      "description": "Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:searchLite",
                      "parameterOrder": [
                        "servingConfig"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
                      },
                      "parameters": {
                        "servingConfig": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                          "required": true,
                          "type": "string",
                          "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search."
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse"
                      },
                      "path": "v1alpha/{+servingConfig}:searchLite",
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.searchLite"
                    },
                    "answer": {
                      "parameterOrder": [
                        "servingConfig"
                      ],
                      "description": "Answer query method.",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:answer",
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.answer",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse"
                      },
                      "httpMethod": "POST",
                      "path": "v1alpha/{+servingConfig}:answer",
                      "parameters": {
                        "servingConfig": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$",
                          "required": true,
                          "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. Or the resource name of the agent engine serving config, such as: `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. (use when `enable_agent_invocation` set to true, and you have custom `AI_MODE` agent engine configured) This field is used to identify the serving configuration name, set of models used to make the search.",
                          "location": "path"
                        }
                      }
                    },
                    "patch": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`",
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$"
                        },
                        "updateMask": {
                          "description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.",
                          "format": "google-fieldmask",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
                      },
                      "id": "discoveryengine.projects.locations.dataStores.servingConfigs.patch",
                      "path": "v1alpha/{+name}",
                      "httpMethod": "PATCH",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}"
                    }
                  }
                },
                "operations": {
                  "methods": {
                    "list": {
                      "path": "v1alpha/{+name}/operations",
                      "parameters": {
                        "filter": {
                          "type": "string",
                          "description": "The standard list filter.",
                          "location": "query"
                        },
                        "name": {
                          "description": "The name of the operation's parent resource.",
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$"
                        },
                        "pageToken": {
                          "type": "string",
                          "description": "The standard list page token.",
                          "location": "query"
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "The standard list page size.",
                          "format": "int32",
                          "location": "query"
                        },
                        "returnPartialSuccess": {
                          "type": "boolean",
                          "location": "query",
                          "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/operations",
                      "httpMethod": "GET",
                      "response": {
                        "$ref": "GoogleLongrunningListOperationsResponse"
                      },
                      "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.operations.list",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "get": {
                      "id": "discoveryengine.projects.locations.dataStores.operations.get",
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "path": "v1alpha/{+name}",
                      "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.",
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/operations/{operationsId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "name": {
                          "description": "The name of the operation resource.",
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/operations/[^/]+$",
                          "location": "path"
                        }
                      }
                    }
                  }
                },
                "schemas": {
                  "methods": {
                    "create": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.schemas.create",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas",
                      "description": "Creates a Schema.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
                      },
                      "parameters": {
                        "schemaId": {
                          "description": "Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.",
                          "type": "string",
                          "location": "query"
                        },
                        "parent": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`."
                        }
                      },
                      "path": "v1alpha/{+parent}/schemas",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      }
                    },
                    "get": {
                      "id": "discoveryengine.projects.locations.dataStores.schemas.get",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Gets a Schema.",
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                          "required": true,
                          "description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.",
                          "location": "path"
                        }
                      },
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas/{schemasId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "patch": {
                      "description": "Updates a Schema.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas/{schemasId}",
                      "id": "discoveryengine.projects.locations.dataStores.schemas.patch",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                          "location": "path",
                          "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                          "required": true,
                          "type": "string"
                        },
                        "allowMissing": {
                          "type": "boolean",
                          "description": "If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored.",
                          "location": "query"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
                      },
                      "httpMethod": "PATCH",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "path": "v1alpha/{+name}"
                    },
                    "list": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas",
                      "description": "Gets a list of Schemas.",
                      "httpMethod": "GET",
                      "path": "v1alpha/{+parent}/schemas",
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.schemas.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListSchemasResponse"
                      },
                      "parameters": {
                        "pageSize": {
                          "location": "query",
                          "format": "int32",
                          "description": "The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000.",
                          "type": "integer"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token."
                        },
                        "parent": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.",
                          "location": "path"
                        }
                      }
                    },
                    "delete": {
                      "id": "discoveryengine.projects.locations.dataStores.schemas.delete",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas/{schemasId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Deletes a Schema.",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "httpMethod": "DELETE",
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/schemas/[^/]+$",
                          "location": "path",
                          "required": true,
                          "description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`."
                        }
                      }
                    }
                  }
                },
                "completionConfig": {
                  "methods": {
                    "completeQuery": {
                      "id": "discoveryengine.projects.locations.dataStores.completionConfig.completeQuery",
                      "description": "Completes the user input with advanced keyword suggestions.",
                      "parameterOrder": [
                        "completionConfig"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionConfig:completeQuery",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/cloud_search.query",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "completionConfig": {
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/completionConfig$",
                          "description": "Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`."
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse"
                      },
                      "path": "v1alpha/{+completionConfig}:completeQuery",
                      "httpMethod": "POST"
                    }
                  }
                },
                "controls": {
                  "methods": {
                    "delete": {
                      "parameters": {
                        "name": {
                          "description": "Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/controls/[^/]+$",
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.",
                      "httpMethod": "DELETE",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls/{controlsId}",
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1alpha/{+name}",
                      "id": "discoveryengine.projects.locations.dataStores.controls.delete"
                    },
                    "patch": {
                      "httpMethod": "PATCH",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls/{controlsId}",
                      "parameters": {
                        "updateMask": {
                          "type": "string",
                          "description": "Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.",
                          "location": "query",
                          "format": "google-fieldmask"
                        },
                        "name": {
                          "description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`",
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/controls/[^/]+$"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.controls.patch",
                      "path": "v1alpha/{+name}",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                      },
                      "description": "Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "list": {
                      "path": "v1alpha/{+parent}/controls",
                      "id": "discoveryengine.projects.locations.dataStores.controls.list",
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListControlsResponse"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls",
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.",
                          "required": true,
                          "type": "string"
                        },
                        "pageSize": {
                          "location": "query",
                          "format": "int32",
                          "description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                          "type": "integer"
                        },
                        "pageToken": {
                          "description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.",
                          "location": "query",
                          "type": "string"
                        },
                        "filter": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported."
                        }
                      },
                      "httpMethod": "GET",
                      "description": "Lists all Controls by their parent DataStore.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "create": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.controls.create",
                      "httpMethod": "POST",
                      "path": "v1alpha/{+parent}/controls",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                      },
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "required": true,
                          "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.",
                          "type": "string"
                        },
                        "controlId": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/."
                        }
                      }
                    },
                    "get": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.controls.get",
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "description": "Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/controls/[^/]+$",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls/{controlsId}",
                      "httpMethod": "GET",
                      "description": "Gets a Control."
                    }
                  }
                },
                "userEvents": {
                  "methods": {
                    "collect": {
                      "description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.",
                      "id": "discoveryengine.projects.locations.dataStores.userEvents.collect",
                      "response": {
                        "$ref": "GoogleApiHttpBody"
                      },
                      "path": "v1alpha/{+parent}/userEvents:collect",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:collect",
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "uri": {
                          "type": "string",
                          "description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.",
                          "location": "query"
                        },
                        "ets": {
                          "type": "string",
                          "description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.",
                          "location": "query",
                          "format": "int64"
                        },
                        "userEvent": {
                          "description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.",
                          "type": "string",
                          "location": "query"
                        },
                        "parent": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "description": "Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`."
                        }
                      }
                    },
                    "import": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:import",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "location": "path",
                          "type": "string",
                          "description": "Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.userEvents.import",
                      "path": "v1alpha/{+parent}/userEvents:import",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      }
                    },
                    "write": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
                      },
                      "httpMethod": "POST",
                      "description": "Writes a single user event.",
                      "parameters": {
                        "writeAsync": {
                          "location": "query",
                          "type": "boolean",
                          "description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write."
                        },
                        "parent": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`."
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.userEvents.write",
                      "path": "v1alpha/{+parent}/userEvents:write",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:write",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
                      }
                    },
                    "purge": {
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "description": "Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.",
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:purge",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.userEvents.purge",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest"
                      },
                      "path": "v1alpha/{+parent}/userEvents:purge"
                    }
                  }
                },
                "models": {
                  "resources": {
                    "operations": {
                      "methods": {
                        "list": {
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/models/{modelsId}/operations",
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleLongrunningListOperationsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "pageSize": {
                              "description": "The standard list page size.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "returnPartialSuccess": {
                              "location": "query",
                              "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                              "type": "boolean"
                            },
                            "filter": {
                              "description": "The standard list filter.",
                              "location": "query",
                              "type": "string"
                            },
                            "pageToken": {
                              "description": "The standard list page token.",
                              "location": "query",
                              "type": "string"
                            },
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/models/[^/]+$",
                              "description": "The name of the operation's parent resource."
                            }
                          },
                          "id": "discoveryengine.projects.locations.dataStores.models.operations.list",
                          "path": "v1alpha/{+name}/operations"
                        },
                        "get": {
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "id": "discoveryengine.projects.locations.dataStores.models.operations.get",
                          "path": "v1alpha/{+name}",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/models/[^/]+/operations/[^/]+$",
                              "description": "The name of the operation resource."
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/models/{modelsId}/operations/{operationsId}",
                          "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."
                        }
                      }
                    }
                  }
                },
                "completionSuggestions": {
                  "methods": {
                    "import": {
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Imports CompletionSuggestions for a DataStore.",
                      "path": "v1alpha/{+parent}/completionSuggestions:import",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*`"
                        }
                      },
                      "id": "discoveryengine.projects.locations.dataStores.completionSuggestions.import",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionSuggestions:import",
                      "httpMethod": "POST"
                    },
                    "purge": {
                      "description": "Permanently deletes all CompletionSuggestions for a DataStore.",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "description": "Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*."
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionSuggestions:purge",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest"
                      },
                      "httpMethod": "POST",
                      "id": "discoveryengine.projects.locations.dataStores.completionSuggestions.purge",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+parent}/completionSuggestions:purge"
                    }
                  }
                },
                "suggestionDenyListEntries": {
                  "methods": {
                    "purge": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:purge",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/.*$"
                        }
                      },
                      "path": "v1alpha/{+parent}/suggestionDenyListEntries:purge",
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.suggestionDenyListEntries.purge",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest"
                      },
                      "description": "Permanently deletes all SuggestionDenyListEntry for a DataStore.",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      }
                    },
                    "import": {
                      "id": "discoveryengine.projects.locations.dataStores.suggestionDenyListEntries.import",
                      "description": "Imports all SuggestionDenyListEntry for a DataStore.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "POST",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:import",
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "path": "v1alpha/{+parent}/suggestionDenyListEntries:import",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      }
                    }
                  }
                },
                "sessions": {
                  "methods": {
                    "get": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.sessions.get",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                      },
                      "path": "v1alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "parameters": {
                        "includeAnswerDetails": {
                          "description": "Optional. If set to true, the full session including all answer details will be returned.",
                          "type": "boolean",
                          "location": "query"
                        },
                        "name": {
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+$",
                          "type": "string",
                          "description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`"
                        }
                      },
                      "description": "Gets a Session."
                    },
                    "patch": {
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+$",
                          "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`",
                          "location": "path"
                        },
                        "updateMask": {
                          "description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.",
                          "type": "string",
                          "format": "google-fieldmask",
                          "location": "query"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}",
                      "id": "discoveryengine.projects.locations.dataStores.sessions.patch",
                      "httpMethod": "PATCH",
                      "path": "v1alpha/{+name}",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                      }
                    },
                    "create": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
                      },
                      "httpMethod": "POST",
                      "parameters": {
                        "sessionId": {
                          "location": "query",
                          "description": "Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.",
                          "type": "string"
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "location": "path",
                          "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "id": "discoveryengine.projects.locations.dataStores.sessions.create",
                      "path": "v1alpha/{+parent}/sessions",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions"
                    },
                    "delete": {
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "path": "v1alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+$",
                          "location": "path",
                          "description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "description": "Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}",
                      "id": "discoveryengine.projects.locations.dataStores.sessions.delete"
                    },
                    "list": {
                      "path": "v1alpha/{+parent}/sessions",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions",
                      "description": "Lists all Sessions by their parent DataStore.",
                      "parameters": {
                        "pageToken": {
                          "location": "query",
                          "description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.",
                          "type": "string"
                        },
                        "orderBy": {
                          "location": "query",
                          "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.",
                          "type": "string"
                        },
                        "pageSize": {
                          "type": "integer",
                          "format": "int32",
                          "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                          "location": "query"
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "filter": {
                          "type": "string",
                          "location": "query",
                          "description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \u003e \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET",
                      "id": "discoveryengine.projects.locations.dataStores.sessions.list"
                    }
                  },
                  "resources": {
                    "answers": {
                      "methods": {
                        "get": {
                          "id": "discoveryengine.projects.locations.dataStores.sessions.answers.get",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "description": "Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+/answers/[^/]+$"
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer"
                          },
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}/answers/{answersId}",
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Gets a Answer.",
                          "path": "v1alpha/{+name}"
                        }
                      }
                    }
                  }
                },
                "conversations": {
                  "methods": {
                    "get": {
                      "description": "Gets a Conversation.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}",
                      "path": "v1alpha/{+name}",
                      "id": "discoveryengine.projects.locations.dataStores.conversations.get",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$",
                          "required": true,
                          "location": "path",
                          "description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "patch": {
                      "id": "discoveryengine.projects.locations.dataStores.conversations.patch",
                      "httpMethod": "PATCH",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.",
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$"
                        },
                        "updateMask": {
                          "description": "Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.",
                          "format": "google-fieldmask",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}",
                      "description": "Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "list": {
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.conversations.list",
                      "path": "v1alpha/{+parent}/conversations",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations",
                      "parameters": {
                        "pageSize": {
                          "location": "query",
                          "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
                          "type": "integer",
                          "format": "int32"
                        },
                        "filter": {
                          "description": "A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: \"user_pseudo_id = some_id\"",
                          "location": "query",
                          "type": "string"
                        },
                        "orderBy": {
                          "type": "string",
                          "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: \"update_time desc\" \"create_time\"",
                          "location": "query"
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "required": true,
                          "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                          "type": "string",
                          "location": "path"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page."
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Lists all Conversations by their parent DataStore.",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse"
                      }
                    },
                    "create": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                      },
                      "description": "Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.",
                      "path": "v1alpha/{+parent}/conversations",
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
                      },
                      "id": "discoveryengine.projects.locations.dataStores.conversations.create",
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      }
                    },
                    "delete": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}",
                      "id": "discoveryengine.projects.locations.dataStores.conversations.delete",
                      "description": "Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.",
                      "parameters": {
                        "name": {
                          "required": true,
                          "location": "path",
                          "type": "string",
                          "description": "Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$"
                        }
                      },
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "DELETE"
                    },
                    "converse": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}:converse",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationRequest"
                      },
                      "description": "Converses a conversation.",
                      "path": "v1alpha/{+name}:converse",
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$",
                          "description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.",
                          "location": "path"
                        }
                      },
                      "id": "discoveryengine.projects.locations.dataStores.conversations.converse"
                    }
                  }
                },
                "widgetConfigs": {
                  "methods": {
                    "get": {
                      "description": "Gets a WidgetConfig.",
                      "path": "v1alpha/{+name}",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                      },
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.widgetConfigs.get",
                      "parameters": {
                        "languageCode": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. BCP-47 language tag (e.g. \"en\", \"fr-CA\"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English)."
                        },
                        "modelInfoView": {
                          "location": "query",
                          "type": "string",
                          "enumDescriptions": [
                            "Not specified.",
                            "The end-user web model selector view.",
                            "The Cloud Console admin \"Feature Control\" view that displays model toggles. Returns admin-surfaced models with `ResolvedModel.admin_view` populated.",
                            "The end-user model selector view for the Gemini Enterprise mobile app. Returns only mobile-surfaced models, with the mobile default selected. Set explicitly by the mobile client."
                          ],
                          "enum": [
                            "MODEL_INFO_VIEW_UNSPECIFIED",
                            "END_USER_WEB",
                            "ADMIN",
                            "END_USER_MOBILE"
                          ],
                          "description": "Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin \"Feature Management\" page to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector."
                        },
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$",
                          "description": "Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`",
                          "location": "path",
                          "required": true
                        },
                        "acceptCache": {
                          "location": "query",
                          "description": "Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.",
                          "type": "boolean"
                        },
                        "getWidgetConfigRequestOption.turnOffCollectionComponents": {
                          "description": "Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.",
                          "type": "boolean",
                          "location": "query"
                        }
                      }
                    },
                    "patch": {
                      "path": "v1alpha/{+name}",
                      "description": "Update a WidgetConfig.",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.dataStores.widgetConfigs.patch",
                      "httpMethod": "PATCH",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true
                        },
                        "updateMask": {
                          "location": "query",
                          "format": "google-fieldmask",
                          "type": "string",
                          "description": "Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated."
                        }
                      }
                    }
                  }
                },
                "siteSearchEngine": {
                  "methods": {
                    "recrawlUris": {
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "siteSearchEngine"
                      ],
                      "parameters": {
                        "siteSearchEngine": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                          "type": "string",
                          "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                          "location": "path",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris",
                      "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.recrawlUris",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest"
                      },
                      "description": "Request on-demand recrawl for a list of URIs.",
                      "path": "v1alpha/{+siteSearchEngine}:recrawlUris"
                    },
                    "enableAdvancedSiteSearch": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "POST",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:enableAdvancedSiteSearch",
                      "path": "v1alpha/{+siteSearchEngine}:enableAdvancedSiteSearch",
                      "parameters": {
                        "siteSearchEngine": {
                          "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                          "location": "path",
                          "required": true
                        }
                      },
                      "description": "Upgrade from basic site search to advanced site search.",
                      "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.enableAdvancedSiteSearch",
                      "parameterOrder": [
                        "siteSearchEngine"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest"
                      }
                    },
                    "disableAdvancedSiteSearch": {
                      "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.disableAdvancedSiteSearch",
                      "path": "v1alpha/{+siteSearchEngine}:disableAdvancedSiteSearch",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameterOrder": [
                        "siteSearchEngine"
                      ],
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:disableAdvancedSiteSearch",
                      "description": "Downgrade from advanced site search to basic site search.",
                      "parameters": {
                        "siteSearchEngine": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                          "required": true,
                          "location": "path",
                          "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.",
                          "type": "string"
                        }
                      }
                    }
                  },
                  "resources": {
                    "sitemaps": {
                      "methods": {
                        "create": {
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaSitemap"
                          },
                          "path": "v1alpha/{+parent}/sitemaps",
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.create",
                          "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"
                          ],
                          "parameterOrder": [
                            "parent"
                          ],
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps",
                          "description": "Creates a Sitemap.",
                          "parameters": {
                            "parent": {
                              "description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                              "location": "path",
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$"
                            }
                          }
                        },
                        "fetch": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps:fetch",
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.fetch",
                          "description": "Fetch Sitemaps in a DataStore.",
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse"
                          },
                          "parameters": {
                            "matcher.urisMatcher.uris": {
                              "repeated": true,
                              "description": "The Sitemap uris.",
                              "type": "string",
                              "location": "query"
                            },
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "location": "path",
                              "required": true,
                              "description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
                              "type": "string"
                            }
                          },
                          "path": "v1alpha/{+parent}/sitemaps:fetch"
                        },
                        "delete": {
                          "parameters": {
                            "name": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/sitemaps/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string",
                              "description": "Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned."
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "httpMethod": "DELETE",
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.delete",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps/{sitemapsId}",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "path": "v1alpha/{+name}",
                          "description": "Deletes a Sitemap."
                        }
                      }
                    },
                    "targetSites": {
                      "methods": {
                        "get": {
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Gets a TargetSite.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
                          },
                          "parameters": {
                            "name": {
                              "description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.",
                              "required": true,
                              "type": "string",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$"
                            }
                          },
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.get",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}",
                          "path": "v1alpha/{+name}"
                        },
                        "patch": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+name}",
                          "parameterOrder": [
                            "name"
                          ],
                          "httpMethod": "PATCH",
                          "description": "Updates a TargetSite.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
                          },
                          "parameters": {
                            "name": {
                              "required": true,
                              "description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$",
                              "type": "string"
                            }
                          },
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.patch",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          }
                        },
                        "delete": {
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.delete",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "parameters": {
                            "name": {
                              "description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.",
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$",
                              "type": "string"
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "description": "Deletes a TargetSite.",
                          "path": "v1alpha/{+name}",
                          "httpMethod": "DELETE",
                          "parameterOrder": [
                            "name"
                          ]
                        },
                        "create": {
                          "httpMethod": "POST",
                          "description": "Creates a TargetSite.",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "parameters": {
                            "parent": {
                              "location": "path",
                              "description": "Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "required": true
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites",
                          "path": "v1alpha/{+parent}/targetSites",
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.create"
                        },
                        "batchCreate": {
                          "httpMethod": "POST",
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.batchCreate",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest"
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites:batchCreate",
                          "description": "Creates TargetSite in a batch.",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "type": "string",
                              "location": "path",
                              "required": true
                            }
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "path": "v1alpha/{+parent}/targetSites:batchCreate",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          }
                        },
                        "list": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites",
                          "path": "v1alpha/{+parent}/targetSites",
                          "description": "Gets a list of TargetSites.",
                          "httpMethod": "GET",
                          "parameters": {
                            "pageToken": {
                              "type": "string",
                              "location": "query",
                              "description": "A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token."
                            },
                            "pageSize": {
                              "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
                              "location": "query",
                              "format": "int32",
                              "type": "integer"
                            },
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                              "type": "string",
                              "location": "path",
                              "description": "Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.",
                              "required": true
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse"
                          },
                          "id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.list"
                        }
                      }
                    }
                  }
                },
                "branches": {
                  "resources": {
                    "operations": {
                      "methods": {
                        "get": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameters": {
                            "name": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$",
                              "description": "The name of the operation resource.",
                              "location": "path",
                              "required": true
                            }
                          },
                          "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.",
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "path": "v1alpha/{+name}",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}",
                          "parameterOrder": [
                            "name"
                          ],
                          "id": "discoveryengine.projects.locations.dataStores.branches.operations.get"
                        },
                        "list": {
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations",
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "description": "The name of the operation's parent resource.",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$"
                            },
                            "pageToken": {
                              "type": "string",
                              "location": "query",
                              "description": "The standard list page token."
                            },
                            "pageSize": {
                              "type": "integer",
                              "description": "The standard list page size.",
                              "format": "int32",
                              "location": "query"
                            },
                            "filter": {
                              "description": "The standard list filter.",
                              "location": "query",
                              "type": "string"
                            },
                            "returnPartialSuccess": {
                              "location": "query",
                              "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                              "type": "boolean"
                            }
                          },
                          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                          "parameterOrder": [
                            "name"
                          ],
                          "path": "v1alpha/{+name}/operations",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleLongrunningListOperationsResponse"
                          },
                          "id": "discoveryengine.projects.locations.dataStores.branches.operations.list"
                        },
                        "cancel": {
                          "request": {
                            "$ref": "GoogleLongrunningCancelOperationRequest"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "parameterOrder": [
                            "name"
                          ],
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}:cancel",
                          "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
                          "parameters": {
                            "name": {
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$",
                              "description": "The name of the operation resource to be cancelled.",
                              "location": "path"
                            }
                          },
                          "id": "discoveryengine.projects.locations.dataStores.branches.operations.cancel",
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "httpMethod": "POST",
                          "path": "v1alpha/{+name}:cancel"
                        }
                      }
                    },
                    "documents": {
                      "resources": {
                        "chunks": {
                          "methods": {
                            "list": {
                              "httpMethod": "GET",
                              "path": "v1alpha/{+parent}/chunks",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}/chunks",
                              "parameters": {
                                "pageSize": {
                                  "type": "integer",
                                  "description": "Maximum number of Chunks to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
                                  "location": "query",
                                  "format": "int32"
                                },
                                "pageToken": {
                                  "description": "A page token ListChunksResponse.next_page_token, received from a previous ChunkService.ListChunks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ChunkService.ListChunks must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                                  "type": "string",
                                  "location": "query"
                                },
                                "parent": {
                                  "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                                  "location": "path",
                                  "description": "Required. The parent document resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to list Chunks under this document, regardless of whether or not this document exists, a `PERMISSION_DENIED` error is returned.",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "description": "Gets a list of Chunks.",
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaListChunksResponse"
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "id": "discoveryengine.projects.locations.dataStores.branches.documents.chunks.list"
                            },
                            "get": {
                              "response": {
                                "$ref": "GoogleCloudDiscoveryengineV1alphaChunk"
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                              ],
                              "path": "v1alpha/{+name}",
                              "parameters": {
                                "name": {
                                  "type": "string",
                                  "required": true,
                                  "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+/chunks/[^/]+$",
                                  "description": "Required. Full resource name of Chunk, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}`. If the caller does not have permission to access the Chunk, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Chunk does not exist, a `NOT_FOUND` error is returned.",
                                  "location": "path"
                                }
                              },
                              "id": "discoveryengine.projects.locations.dataStores.branches.documents.chunks.get",
                              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}/chunks/{chunksId}",
                              "httpMethod": "GET",
                              "description": "Gets a Document."
                            }
                          }
                        }
                      },
                      "methods": {
                        "get": {
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.get",
                          "description": "Gets a Document.",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "parameters": {
                            "name": {
                              "type": "string",
                              "description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                              "location": "path",
                              "required": true
                            }
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}",
                          "path": "v1alpha/{+name}"
                        },
                        "patch": {
                          "parameters": {
                            "updateMask": {
                              "description": "Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.",
                              "type": "string",
                              "location": "query",
                              "format": "google-fieldmask"
                            },
                            "allowMissing": {
                              "description": "If set to `true` and the Document is not found, a new Document is be created.",
                              "location": "query",
                              "type": "boolean"
                            },
                            "name": {
                              "required": true,
                              "type": "string",
                              "description": "Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                              "location": "path",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$"
                            }
                          },
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}",
                          "httpMethod": "PATCH",
                          "description": "Updates a Document.",
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.patch",
                          "parameterOrder": [
                            "name"
                          ],
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                          },
                          "path": "v1alpha/{+name}"
                        },
                        "create": {
                          "path": "v1alpha/{+parent}/documents",
                          "parameterOrder": [
                            "parent"
                          ],
                          "parameters": {
                            "documentId": {
                              "type": "string",
                              "description": "Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                              "location": "query"
                            },
                            "parent": {
                              "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "httpMethod": "POST",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                          },
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
                          },
                          "description": "Creates a Document.",
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.create",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        },
                        "import": {
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:import",
                          "description": "Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest"
                          },
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                              "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission.",
                              "required": true,
                              "location": "path"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "path": "v1alpha/{+parent}/documents:import",
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "httpMethod": "POST",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.import"
                        },
                        "purge": {
                          "parameterOrder": [
                            "parent"
                          ],
                          "description": "Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false.",
                          "parameters": {
                            "parent": {
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                              "type": "string",
                              "location": "path",
                              "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.",
                              "required": true
                            }
                          },
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.purge",
                          "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"
                          ],
                          "httpMethod": "POST",
                          "request": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest"
                          },
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:purge",
                          "path": "v1alpha/{+parent}/documents:purge"
                        },
                        "delete": {
                          "parameters": {
                            "name": {
                              "required": true,
                              "location": "path",
                              "type": "string",
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                              "description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned."
                            }
                          },
                          "description": "Deletes a Document.",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}",
                          "httpMethod": "DELETE",
                          "parameterOrder": [
                            "name"
                          ],
                          "path": "v1alpha/{+name}",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.delete"
                        },
                        "list": {
                          "parameterOrder": [
                            "parent"
                          ],
                          "path": "v1alpha/{+parent}/documents",
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.list",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ],
                          "httpMethod": "GET",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaListDocumentsResponse"
                          },
                          "parameters": {
                            "parent": {
                              "type": "string",
                              "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned.",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                              "location": "path"
                            },
                            "pageSize": {
                              "format": "int32",
                              "location": "query",
                              "type": "integer",
                              "description": "Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 are set to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned."
                            },
                            "pageToken": {
                              "location": "query",
                              "type": "string",
                              "description": "A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned."
                            }
                          },
                          "description": "Gets a list of Documents."
                        },
                        "getProcessedDocument": {
                          "path": "v1alpha/{+name}:getProcessedDocument",
                          "httpMethod": "GET",
                          "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}:getProcessedDocument",
                          "parameters": {
                            "processedDocumentFormat": {
                              "description": "What format output should be. If unspecified, defaults to JSON.",
                              "type": "string",
                              "location": "query",
                              "enum": [
                                "PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED",
                                "JSON"
                              ],
                              "enumDescriptions": [
                                "Default value.",
                                "Output format is a JSON string representation of processed document."
                              ]
                            },
                            "name": {
                              "description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.",
                              "type": "string",
                              "required": true,
                              "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$",
                              "location": "path"
                            },
                            "processedDocumentType": {
                              "location": "query",
                              "type": "string",
                              "description": "Required. What type of processing to return.",
                              "enum": [
                                "PROCESSED_DOCUMENT_TYPE_UNSPECIFIED",
                                "PARSED_DOCUMENT",
                                "CHUNKED_DOCUMENT",
                                "IMAGE_CONVERTED_DOCUMENT",
                                "IMAGE_BYTES"
                              ],
                              "enumDescriptions": [
                                "Default value.",
                                "Available for all data store parsing configs.",
                                "Only available if ChunkingConfig is enabled on the data store.",
                                "Returns the converted Image bytes (as JPEG or PNG) if available.",
                                "Return image bytes in base64 encoded format if image_id of a document is provided, only supported for enabling shareholder-structure in layout parsing config for now."
                              ]
                            },
                            "imageId": {
                              "location": "query",
                              "type": "string",
                              "description": "Optional. Specifies config for IMAGE_BYTES."
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "description": "Gets the parsed layout information for a Document.",
                          "id": "discoveryengine.projects.locations.dataStores.branches.documents.getProcessedDocument",
                          "response": {
                            "$ref": "GoogleCloudDiscoveryengineV1alphaProcessedDocument"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/discoveryengine.readwrite",
                            "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                          ]
                        }
                      }
                    }
                  },
                  "methods": {
                    "get": {
                      "id": "discoveryengine.projects.locations.dataStores.branches.get",
                      "path": "v1alpha/{+name}",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the branch to retrieve. Format: `projects/*/locations/global/dataStores/default_data_store/branches/some_branch_id`. \"default_branch\" can be used as a special branch_id, it returns the default branch that has been set for the document.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true
                        },
                        "view": {
                          "enum": [
                            "BRANCH_VIEW_UNSPECIFIED",
                            "BRANCH_VIEW_BASIC",
                            "BRANCH_VIEW_FULL"
                          ],
                          "location": "query",
                          "enumDescriptions": [
                            "The value when it's unspecified. This defaults to the BASIC view.",
                            "Includes basic metadata about the branch, but not statistical fields. See documentation of individual fields of Branch to know what is excluded.",
                            "Includes all fields of a Branch."
                          ],
                          "description": "The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.",
                          "type": "string"
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaBranch"
                      },
                      "description": "Retrieves a Branch.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    },
                    "batchGetDocumentsMetadata": {
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true,
                          "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`."
                        },
                        "matcher.urisMatcher.uris": {
                          "location": "query",
                          "description": "The exact URIs to match by.",
                          "repeated": true,
                          "type": "string"
                        },
                        "matcher.fhirMatcher.fhirResources": {
                          "repeated": true,
                          "location": "query",
                          "type": "string",
                          "description": "Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}"
                        }
                      },
                      "description": "Gets index freshness metadata for Documents. Supported for website search only.",
                      "id": "discoveryengine.projects.locations.dataStores.branches.batchGetDocumentsMetadata",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/batchGetDocumentsMetadata",
                      "path": "v1alpha/{+parent}/batchGetDocumentsMetadata"
                    },
                    "list": {
                      "id": "discoveryengine.projects.locations.dataStores.branches.list",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListBranchesResponse"
                      },
                      "description": "Lists all Branchs under the specified parent DataStore.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "path": "v1alpha/{+parent}/branches",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches",
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "description": "Required. The parent data store resource name.",
                          "required": true
                        },
                        "view": {
                          "enum": [
                            "BRANCH_VIEW_UNSPECIFIED",
                            "BRANCH_VIEW_BASIC",
                            "BRANCH_VIEW_FULL"
                          ],
                          "enumDescriptions": [
                            "The value when it's unspecified. This defaults to the BASIC view.",
                            "Includes basic metadata about the branch, but not statistical fields. See documentation of individual fields of Branch to know what is excluded.",
                            "Includes all fields of a Branch."
                          ],
                          "location": "query",
                          "description": "The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.",
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "methods": {
                "getSiteSearchEngine": {
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned."
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+name}",
                  "description": "Gets the SiteSearchEngine.",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine"
                  },
                  "id": "discoveryengine.projects.locations.dataStores.getSiteSearchEngine",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "patch": {
                  "path": "v1alpha/{+name}",
                  "id": "discoveryengine.projects.locations.dataStores.patch",
                  "description": "Updates a DataStore",
                  "httpMethod": "PATCH",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                  },
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
                    },
                    "updateMask": {
                      "format": "google-fieldmask",
                      "type": "string",
                      "description": "Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
                      "location": "query"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "getIamPolicy": {
                  "parameterOrder": [
                    "resource"
                  ],
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleIamV1Policy"
                  },
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "description": "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": true,
                      "location": "path",
                      "type": "string"
                    },
                    "options.requestedPolicyVersion": {
                      "format": "int32",
                      "type": "integer",
                      "description": "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).",
                      "location": "query"
                    }
                  },
                  "id": "discoveryengine.projects.locations.dataStores.getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:getIamPolicy",
                  "path": "v1alpha/{+resource}:getIamPolicy"
                },
                "addPatientFilter": {
                  "path": "v1alpha/{+dataStore}:addPatientFilter",
                  "parameterOrder": [
                    "dataStore"
                  ],
                  "parameters": {
                    "dataStore": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "type": "string",
                      "required": true,
                      "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned."
                    }
                  },
                  "id": "discoveryengine.projects.locations.dataStores.addPatientFilter",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:addPatientFilter",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Adds a group of patient IDs as a patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources."
                },
                "delete": {
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned."
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.dataStores.delete",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Deletes a DataStore.",
                  "path": "v1alpha/{+name}"
                },
                "setIamPolicy": {
                  "response": {
                    "$ref": "GoogleIamV1Policy"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "POST",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "type": "string",
                      "required": true,
                      "description": "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.",
                      "location": "path"
                    }
                  },
                  "request": {
                    "$ref": "GoogleIamV1SetIamPolicyRequest"
                  },
                  "id": "discoveryengine.projects.locations.dataStores.setIamPolicy",
                  "parameterOrder": [
                    "resource"
                  ],
                  "path": "v1alpha/{+resource}:setIamPolicy",
                  "description": "Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:setIamPolicy"
                },
                "getCompletionConfig": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/completionConfig$",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`"
                    }
                  },
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                  },
                  "path": "v1alpha/{+name}",
                  "id": "discoveryengine.projects.locations.dataStores.getCompletionConfig",
                  "httpMethod": "GET",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionConfig",
                  "description": "Gets a CompletionConfig",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "list": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores",
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1alpha/{+parent}/dataStores",
                  "id": "discoveryengine.projects.locations.dataStores.list",
                  "description": "Lists all the DataStores associated with the project.",
                  "parameters": {
                    "parent": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "pageSize": {
                      "description": "Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.",
                      "type": "integer",
                      "location": "query",
                      "format": "int32"
                    },
                    "filter": {
                      "type": "string",
                      "description": "Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`",
                      "location": "query"
                    },
                    "view": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. The view to apply to the returned DataStores. Defaults to DataStoreView.DATA_STORE_VIEW_BASIC if unspecified. DataStoreView.DATA_STORE_VIEW_FULL additionally populates DataStore.icon_uri for connector-backed data stores. Resolving connector icons requires extra lookups, so request it only when the caller renders the icons.",
                      "enumDescriptions": [
                        "The default / unset value. The API defaults to DataStoreView.DATA_STORE_VIEW_BASIC.",
                        "Does not populate DataStore.icon_uri. This is the default view.",
                        "Additionally populates DataStore.icon_uri for connector-backed data stores. Resolving connector icons requires extra lookups, so request this view only when the icons are rendered."
                      ],
                      "enum": [
                        "DATA_STORE_VIEW_UNSPECIFIED",
                        "DATA_STORE_VIEW_BASIC",
                        "DATA_STORE_VIEW_FULL"
                      ]
                    },
                    "pageToken": {
                      "description": "A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
                      "type": "string",
                      "location": "query"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListDataStoresResponse"
                  }
                },
                "updateDocumentProcessingConfig": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/documentProcessingConfig",
                  "id": "discoveryengine.projects.locations.dataStores.updateDocumentProcessingConfig",
                  "path": "v1alpha/{+name}",
                  "httpMethod": "PATCH",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig"
                  },
                  "description": "Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleton resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. The `update_mask` query parameter is not supported; if it is set the request returns an error. To update mutable fields, omit `update_mask` and send the full DocumentProcessingConfig as the request body. The entire resource is overwritten, so include all values you want to retain. For example, to update the layout parser, set DocumentProcessingConfig.default_parsing_config (or DocumentProcessingConfig.parsing_config_overrides) and omit `update_mask`. Some fields, such as DocumentProcessingConfig.chunking_config, are immutable and return an error if changed.",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/documentProcessingConfig$",
                      "location": "path",
                      "required": true,
                      "description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
                      "type": "string"
                    },
                    "updateMask": {
                      "type": "string",
                      "format": "google-fieldmask",
                      "description": "Not supported. If `update_mask` is set, the request returns an `UnsupportedFieldError`. To update mutable fields, omit `update_mask`; the full DocumentProcessingConfig in the request body then overwrites the existing resource. See the method description for details.",
                      "location": "query"
                    }
                  }
                },
                "completeQuery": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:completeQuery",
                  "parameterOrder": [
                    "dataStore"
                  ],
                  "description": "Completes the specified user input with keyword suggestions.",
                  "httpMethod": "GET",
                  "id": "discoveryengine.projects.locations.dataStores.completeQuery",
                  "path": "v1alpha/{+dataStore}:completeQuery",
                  "parameters": {
                    "query": {
                      "location": "query",
                      "description": "Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.",
                      "type": "string"
                    },
                    "userPseudoId": {
                      "location": "query",
                      "description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                      "type": "string"
                    },
                    "dataStore": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "location": "path",
                      "type": "string",
                      "description": "Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.",
                      "required": true
                    },
                    "includeTailSuggestions": {
                      "location": "query",
                      "type": "boolean",
                      "description": "Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned."
                    },
                    "queryModel": {
                      "location": "query",
                      "type": "string",
                      "description": "Specifies the autocomplete data model. This overrides any model specified in the Configuration \u003e Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores."
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse"
                  }
                },
                "removePatientFilter": {
                  "id": "discoveryengine.projects.locations.dataStores.removePatientFilter",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+dataStore}:removePatientFilter",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:removePatientFilter",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest"
                  },
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "parameters": {
                    "dataStore": {
                      "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "parameterOrder": [
                    "dataStore"
                  ],
                  "description": "Removes a group of patient IDs from the patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the list of patient IDs to remove will be constructed from the direct members of the group which are Patient resources."
                },
                "get": {
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Gets a DataStore.",
                  "parameters": {
                    "view": {
                      "location": "query",
                      "enum": [
                        "DATA_STORE_VIEW_UNSPECIFIED",
                        "DATA_STORE_VIEW_BASIC",
                        "DATA_STORE_VIEW_FULL"
                      ],
                      "enumDescriptions": [
                        "The default / unset value. The API defaults to DataStoreView.DATA_STORE_VIEW_BASIC.",
                        "Does not populate DataStore.icon_uri. This is the default view.",
                        "Additionally populates DataStore.icon_uri for connector-backed data stores. Resolving connector icons requires extra lookups, so request this view only when the icons are rendered."
                      ],
                      "type": "string",
                      "description": "Optional. The view to apply to the returned DataStore. Defaults to DataStoreView.DATA_STORE_VIEW_BASIC if unspecified. DataStoreView.DATA_STORE_VIEW_FULL additionally populates DataStore.icon_uri for a connector-backed data store. Resolving the connector icon requires extra lookups, so request it only when the caller renders the icon."
                    },
                    "name": {
                      "required": true,
                      "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "location": "path"
                    }
                  },
                  "path": "v1alpha/{+name}",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}",
                  "id": "discoveryengine.projects.locations.dataStores.get"
                },
                "replacePatientFilter": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:replacePatientFilter",
                  "id": "discoveryengine.projects.locations.dataStores.replacePatientFilter",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+dataStore}:replacePatientFilter",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest"
                  },
                  "parameterOrder": [
                    "dataStore"
                  ],
                  "parameters": {
                    "dataStore": {
                      "location": "path",
                      "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "description": "Replaces the patient filter for the data store. This method is essentially a combination of DeletePatientFilters and AddPatientFilter. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources."
                },
                "create": {
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
                  },
                  "id": "discoveryengine.projects.locations.dataStores.create",
                  "path": "v1alpha/{+parent}/dataStores",
                  "parameters": {
                    "dataStoreId": {
                      "description": "Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
                      "type": "string",
                      "location": "query"
                    },
                    "parent": {
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "location": "path",
                      "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`."
                    },
                    "skipDefaultSchemaCreation": {
                      "location": "query",
                      "description": "A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.",
                      "type": "boolean"
                    },
                    "createAdvancedSiteSearch": {
                      "type": "boolean",
                      "location": "query",
                      "description": "A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored."
                    },
                    "disableCmek": {
                      "location": "query",
                      "description": "DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.",
                      "type": "boolean"
                    },
                    "cmekConfigName": {
                      "type": "string",
                      "location": "query",
                      "description": "Resource name of the CmekConfig to use for protecting this DataStore."
                    }
                  },
                  "description": "Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.",
                  "parameterOrder": [
                    "parent"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores",
                  "httpMethod": "POST"
                },
                "getDocumentProcessingConfig": {
                  "path": "v1alpha/{+name}",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/documentProcessingConfig",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "GET",
                  "description": "Gets a DocumentProcessingConfig.",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "description": "Required. Full DocumentProcessingConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/documentProcessingConfig$"
                    }
                  },
                  "id": "discoveryengine.projects.locations.dataStores.getDocumentProcessingConfig",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig"
                  }
                },
                "deletePatientFilter": {
                  "description": "Deletes the entire patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter.",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:deletePatientFilter",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "path": "v1alpha/{+dataStore}:deletePatientFilter",
                  "parameterOrder": [
                    "dataStore"
                  ],
                  "parameters": {
                    "dataStore": {
                      "type": "string",
                      "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
                      "location": "path"
                    }
                  },
                  "httpMethod": "POST",
                  "id": "discoveryengine.projects.locations.dataStores.deletePatientFilter"
                },
                "updateCompletionConfig": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "httpMethod": "PATCH",
                  "path": "v1alpha/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                  },
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/completionConfig$",
                      "description": "Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`",
                      "location": "path"
                    },
                    "updateMask": {
                      "location": "query",
                      "description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated.",
                      "format": "google-fieldmask",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionConfig",
                  "description": "Updates the CompletionConfigs.",
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionConfig"
                  },
                  "id": "discoveryengine.projects.locations.dataStores.updateCompletionConfig"
                }
              }
            },
            "knowledgeSpaces": {
              "resources": {
                "operations": {
                  "methods": {
                    "get": {
                      "id": "discoveryengine.projects.locations.knowledgeSpaces.operations.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.",
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$",
                          "required": true,
                          "description": "The name of the operation resource."
                        }
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/knowledgeSpaces/{knowledgeSpacesId}/operations/{operationsId}",
                      "parameterOrder": [
                        "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"
                      ]
                    }
                  }
                }
              }
            },
            "sampleQuerySets": {
              "resources": {
                "operations": {
                  "methods": {
                    "get": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}",
                      "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.",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "The name of the operation resource.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/operations/[^/]+$"
                        }
                      },
                      "id": "discoveryengine.projects.locations.sampleQuerySets.operations.get",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/operations/{operationsId}",
                      "parameterOrder": [
                        "name"
                      ]
                    }
                  }
                },
                "sampleQueries": {
                  "methods": {
                    "create": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries",
                      "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.create",
                      "path": "v1alpha/{+parent}/sampleQueries",
                      "parameters": {
                        "sampleQueryId": {
                          "description": "Required. The ID to use for the SampleQuery, which will become the final component of the SampleQuery.name. If the caller does not have permission to create the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerys with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                          "type": "string",
                          "location": "query"
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
                          "type": "string",
                          "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.",
                          "required": true,
                          "location": "path"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
                      },
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
                      },
                      "description": "Creates a SampleQuery"
                    },
                    "import": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries:import",
                      "description": "Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.",
                      "path": "v1alpha/{+parent}/sampleQueries:import",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.import",
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned."
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "httpMethod": "POST"
                    },
                    "get": {
                      "parameters": {
                        "name": {
                          "description": "Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/sampleQueries/[^/]+$",
                          "required": true,
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "path": "v1alpha/{+name}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "httpMethod": "GET",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries/{sampleQueriesId}",
                      "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.get",
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
                      },
                      "description": "Gets a SampleQuery."
                    },
                    "patch": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "path": "v1alpha/{+name}",
                      "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.patch",
                      "description": "Updates a SampleQuery.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries/{sampleQueriesId}",
                      "request": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
                      },
                      "parameters": {
                        "updateMask": {
                          "type": "string",
                          "location": "query",
                          "description": "Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.",
                          "format": "google-fieldmask"
                        },
                        "name": {
                          "type": "string",
                          "description": "Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/sampleQueries/[^/]+$",
                          "location": "path",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
                      },
                      "httpMethod": "PATCH",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "delete": {
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "path": "v1alpha/{+name}",
                      "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.delete",
                      "httpMethod": "DELETE",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries/{sampleQueriesId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned.",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/sampleQueries/[^/]+$",
                          "type": "string"
                        }
                      },
                      "description": "Deletes a SampleQuery."
                    },
                    "list": {
                      "response": {
                        "$ref": "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse"
                      },
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "required": true,
                          "description": "Required. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned."
                        },
                        "pageToken": {
                          "description": "A page token ListSampleQueriesResponse.next_page_token, received from a previous SampleQueryService.ListSampleQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQueryService.ListSampleQueries must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                          "location": "query",
                          "type": "string"
                        },
                        "pageSize": {
                          "format": "int32",
                          "type": "integer",
                          "location": "query",
                          "description": "Maximum number of SampleQuerys to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned."
                        }
                      },
                      "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.list",
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "GET",
                      "description": "Gets a list of SampleQuerys.",
                      "path": "v1alpha/{+parent}/sampleQueries",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ]
                    }
                  }
                }
              },
              "methods": {
                "create": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
                  },
                  "id": "discoveryengine.projects.locations.sampleQuerySets.create",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "parent": {
                      "required": true,
                      "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string"
                    },
                    "sampleQuerySetId": {
                      "location": "query",
                      "type": "string",
                      "description": "Required. The ID to use for the SampleQuerySet, which will become the final component of the SampleQuerySet.name. If the caller does not have permission to create the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerySets with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned."
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets",
                  "path": "v1alpha/{+parent}/sampleQuerySets",
                  "description": "Creates a SampleQuerySet",
                  "httpMethod": "POST"
                },
                "get": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
                  },
                  "description": "Gets a SampleQuerySet.",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
                      "description": "Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "id": "discoveryengine.projects.locations.sampleQuerySets.get",
                  "path": "v1alpha/{+name}"
                },
                "list": {
                  "httpMethod": "GET",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets",
                  "path": "v1alpha/{+parent}/sampleQuerySets",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list SampleQuerySets under this location, regardless of whether or not this location exists, a `PERMISSION_DENIED` error is returned.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true
                    },
                    "pageToken": {
                      "description": "A page token ListSampleQuerySetsResponse.next_page_token, received from a previous SampleQuerySetService.ListSampleQuerySets call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQuerySetService.ListSampleQuerySets must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageSize": {
                      "format": "int32",
                      "location": "query",
                      "description": "Maximum number of SampleQuerySets to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
                      "type": "integer"
                    }
                  },
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse"
                  },
                  "description": "Gets a list of SampleQuerySets.",
                  "id": "discoveryengine.projects.locations.sampleQuerySets.list",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameterOrder": [
                    "parent"
                  ]
                },
                "delete": {
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "id": "discoveryengine.projects.locations.sampleQuerySets.delete",
                  "httpMethod": "DELETE",
                  "path": "v1alpha/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "description": "Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned.",
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "description": "Deletes a SampleQuerySet.",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}"
                },
                "patch": {
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}",
                  "id": "discoveryengine.projects.locations.sampleQuerySets.patch",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
                    },
                    "updateMask": {
                      "format": "google-fieldmask",
                      "type": "string",
                      "location": "query",
                      "description": "Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields."
                    }
                  },
                  "path": "v1alpha/{+name}",
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
                  },
                  "httpMethod": "PATCH",
                  "description": "Updates a SampleQuerySet."
                }
              }
            },
            "evaluations": {
              "resources": {
                "operations": {
                  "methods": {
                    "get": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/operations/{operationsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/discoveryengine.readwrite",
                        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                      ],
                      "id": "discoveryengine.projects.locations.evaluations.operations.get",
                      "httpMethod": "GET",
                      "path": "v1alpha/{+name}",
                      "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.",
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "The name of the operation resource.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/operations/[^/]+$"
                        }
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      }
                    }
                  }
                }
              },
              "methods": {
                "listResults": {
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "evaluation"
                  ],
                  "description": "Gets a list of results for a given a Evaluation.",
                  "path": "v1alpha/{+evaluation}:listResults",
                  "parameters": {
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "description": "Optional. Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
                      "location": "query"
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A page token ListEvaluationResultsResponse.next_page_token, received from a previous EvaluationService.ListEvaluationResults call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluationResults must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned."
                    },
                    "evaluation": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Required. The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list ListEvaluationResultsResponse.EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned."
                    }
                  },
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "id": "discoveryengine.projects.locations.evaluations.listResults",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}:listResults"
                },
                "list": {
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse"
                  },
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "parameters": {
                    "pageToken": {
                      "type": "string",
                      "description": "Optional. A page token ListEvaluationsResponse.next_page_token, received from a previous EvaluationService.ListEvaluations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluations must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
                      "location": "query"
                    },
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "description": "Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list Evaluations under this location, regardless of whether or not this location exists, a `PERMISSION_DENIED` error is returned."
                    },
                    "pageSize": {
                      "description": "Optional. Maximum number of Evaluations to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
                      "type": "integer",
                      "format": "int32",
                      "location": "query"
                    }
                  },
                  "description": "Gets a list of Evaluations.",
                  "parameterOrder": [
                    "parent"
                  ],
                  "id": "discoveryengine.projects.locations.evaluations.list",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations",
                  "path": "v1alpha/{+parent}/evaluations"
                },
                "create": {
                  "parameters": {
                    "parent": {
                      "required": true,
                      "location": "path",
                      "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    }
                  },
                  "path": "v1alpha/{+parent}/evaluations",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations",
                  "httpMethod": "POST",
                  "description": "Creates a Evaluation. Upon creation, the evaluation will be automatically triggered and begin execution.",
                  "id": "discoveryengine.projects.locations.evaluations.create",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "request": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation"
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.assist.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ]
                },
                "get": {
                  "description": "Gets a Evaluation.",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$",
                      "description": "Required. Full resource name of Evaluation, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to access the Evaluation, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Evaluation does not exist, a NOT_FOUND error is returned.",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/discoveryengine.readwrite",
                    "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
                  ],
                  "response": {
                    "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation"
                  },
                  "httpMethod": "GET",
                  "path": "v1alpha/{+name}",
                  "id": "discoveryengine.projects.locations.evaluations.get",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}",
                  "parameterOrder": [
                    "name"
                  ]
                }
              }
            }
          }
        },
        "operations": {
          "methods": {
            "list": {
              "path": "v1alpha/{+name}/operations",
              "id": "discoveryengine.projects.operations.list",
              "httpMethod": "GET",
              "response": {
                "$ref": "GoogleLongrunningListOperationsResponse"
              },
              "parameters": {
                "filter": {
                  "description": "The standard list filter.",
                  "location": "query",
                  "type": "string"
                },
                "name": {
                  "required": true,
                  "type": "string",
                  "location": "path",
                  "description": "The name of the operation's parent resource.",
                  "pattern": "^projects/[^/]+$"
                },
                "pageSize": {
                  "type": "integer",
                  "location": "query",
                  "description": "The standard list page size.",
                  "format": "int32"
                },
                "pageToken": {
                  "location": "query",
                  "type": "string",
                  "description": "The standard list page token."
                },
                "returnPartialSuccess": {
                  "location": "query",
                  "type": "boolean",
                  "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1alpha/projects/{projectsId}/operations"
            },
            "get": {
              "id": "discoveryengine.projects.operations.get",
              "parameterOrder": [
                "name"
              ],
              "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.",
              "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"
              ],
              "path": "v1alpha/{+name}",
              "httpMethod": "GET",
              "flatPath": "v1alpha/projects/{projectsId}/operations/{operationsId}",
              "parameters": {
                "name": {
                  "type": "string",
                  "pattern": "^projects/[^/]+/operations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "description": "The name of the operation resource."
                }
              }
            }
          }
        }
      }
    },
    "billingAccounts": {
      "resources": {
        "billingAccountLicenseConfigs": {
          "methods": {
            "list": {
              "path": "v1alpha/{+parent}/billingAccountLicenseConfigs",
              "httpMethod": "GET",
              "parameters": {
                "pageToken": {
                  "location": "query",
                  "type": "string",
                  "description": "Optional. Not supported."
                },
                "parent": {
                  "required": true,
                  "location": "path",
                  "type": "string",
                  "pattern": "^billingAccounts/[^/]+$",
                  "description": "Required. Format: `billingAccounts/{billing_account}`."
                },
                "pageSize": {
                  "format": "int32",
                  "type": "integer",
                  "location": "query",
                  "description": "Optional. Not supported."
                }
              },
              "flatPath": "v1alpha/billingAccounts/{billingAccountsId}/billingAccountLicenseConfigs",
              "id": "discoveryengine.billingAccounts.billingAccountLicenseConfigs.list",
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse"
              },
              "description": "Lists all BillingAccountLicenseConfigs for a given billing account.",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "parameterOrder": [
                "parent"
              ]
            },
            "retractLicenseConfig": {
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse"
              },
              "parameterOrder": [
                "billingAccountLicenseConfig"
              ],
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest"
              },
              "parameters": {
                "billingAccountLicenseConfig": {
                  "type": "string",
                  "description": "Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.",
                  "required": true,
                  "location": "path",
                  "pattern": "^billingAccounts/[^/]+/billingAccountLicenseConfigs/[^/]+$"
                }
              },
              "path": "v1alpha/{+billingAccountLicenseConfig}:retractLicenseConfig",
              "httpMethod": "POST",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "description": "This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account.",
              "id": "discoveryengine.billingAccounts.billingAccountLicenseConfigs.retractLicenseConfig",
              "flatPath": "v1alpha/billingAccounts/{billingAccountsId}/billingAccountLicenseConfigs/{billingAccountLicenseConfigsId}:retractLicenseConfig"
            },
            "distributeLicenseConfig": {
              "flatPath": "v1alpha/billingAccounts/{billingAccountsId}/billingAccountLicenseConfigs/{billingAccountLicenseConfigsId}:distributeLicenseConfig",
              "parameters": {
                "billingAccountLicenseConfig": {
                  "type": "string",
                  "required": true,
                  "location": "path",
                  "pattern": "^billingAccounts/[^/]+/billingAccountLicenseConfigs/[^/]+$",
                  "description": "Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`."
                }
              },
              "description": "Distributes a LicenseConfig from billing account level to project level.",
              "parameterOrder": [
                "billingAccountLicenseConfig"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "httpMethod": "POST",
              "path": "v1alpha/{+billingAccountLicenseConfig}:distributeLicenseConfig",
              "id": "discoveryengine.billingAccounts.billingAccountLicenseConfigs.distributeLicenseConfig",
              "request": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest"
              },
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse"
              }
            },
            "get": {
              "flatPath": "v1alpha/billingAccounts/{billingAccountsId}/billingAccountLicenseConfigs/{billingAccountLicenseConfigsId}",
              "description": "Gets a BillingAccountLicenseConfig.",
              "path": "v1alpha/{+name}",
              "httpMethod": "GET",
              "id": "discoveryengine.billingAccounts.billingAccountLicenseConfigs.get",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/discoveryengine.readwrite",
                "https://www.googleapis.com/auth/discoveryengine.serving.readwrite"
              ],
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig"
              },
              "parameters": {
                "name": {
                  "pattern": "^billingAccounts/[^/]+/billingAccountLicenseConfigs/[^/]+$",
                  "description": "Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.",
                  "type": "string",
                  "location": "path",
                  "required": true
                }
              }
            }
          }
        }
      }
    }
  },
  "version": "v1alpha",
  "canonicalName": "Discovery Engine",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/discoveryengine.assist.readwrite": {
          "description": "View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf. Also view the artifacts you access through NotebookLM Enterprise."
        },
        "https://www.googleapis.com/auth/discoveryengine.readwrite": {
          "description": "View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data."
        },
        "https://www.googleapis.com/auth/cloud_search.query": {
          "description": "Search your organization's data in the Cloud Search index"
        },
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        },
        "https://www.googleapis.com/auth/discoveryengine.serving.readwrite": {
          "description": "Interact with Discovery Engine API products, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, on your behalf. It will also allow the app to view all data that you have access to when you use or interact with a Discovery Engine API product."
        }
      }
    }
  },
  "discoveryVersion": "v1",
  "kind": "discovery#restDescription",
  "endpoints": [
    {
      "description": "Regional Endpoint",
      "location": "us",
      "endpointUrl": "https://discoveryengine.us.rep.googleapis.com/"
    }
  ],
  "version_module": true,
  "mtlsRootUrl": "https://discoveryengine.mtls.googleapis.com/",
  "protocol": "rest",
  "schemas": {
    "GoogleCloudDiscoveryengineV1alphaUserAvailability": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaUserAvailability",
      "description": "Tracks whether a resource is available for a given user (distinct from whether the user is allowed to use that resource by licensing, etc).",
      "properties": {
        "observeTime": {
          "type": "string",
          "format": "google-datetime",
          "deprecated": true,
          "description": "Optional. Deprecated: use `update_time` only."
        },
        "userPrincipal": {
          "description": "Required. Immutable. User principal (IdP subject for Workforce Identity, email for Google sign-in).",
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "ACTIVE",
            "INACTIVE"
          ],
          "enumDescriptions": [
            "Unspecified state (defaults to active).",
            "Active state.",
            "Inactive state."
          ],
          "description": "Optional. Whether the user can currently use the resource. Set by the caller on update. If unspecified, defaults to `ACTIVE`."
        },
        "updateTime": {
          "type": "string",
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. Timestamp when the most recent update to `state` was saved."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaRecommendRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaRecommendRequest",
      "properties": {
        "userEvent": {
          "description": "Required. Context about the user, what they are looking at and what action they took to trigger the Recommend request. Note that this user event detail won't be ingested to userEvent logs. Thus, a separate userEvent write request is required for event logging. Don't set UserEvent.user_pseudo_id or UserEvent.user_info.user_id to the same fixed ID for different users. If you are trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserEvent.user_pseudo_id to a random unique ID and leave UserEvent.user_info.user_id unset.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
        },
        "pageSize": {
          "type": "integer",
          "description": "Maximum number of results to return. Set this property to the number of recommendation results needed. If zero, the service chooses a reasonable default. The maximum allowed value is 100. Values above 100 are set to 100.",
          "format": "int32"
        },
        "filter": {
          "type": "string",
          "description": "Filter for restricting recommendation results with a length limit of 5,000 characters. Currently, only filter expressions on the `filter_tags` attribute is supported. Examples: * `(filter_tags: ANY(\"Red\", \"Blue\") OR filter_tags: ANY(\"Hot\", \"Cold\"))` * `(filter_tags: ANY(\"Red\", \"Blue\")) AND NOT (filter_tags: ANY(\"Green\"))` If `attributeFilteringSyntax` is set to true under the `params` field, then attribute-based expressions are expected instead of the above described tag-based syntax. Examples: * (language: ANY(\"en\", \"es\")) AND NOT (categories: ANY(\"Movie\")) * (available: true) AND (language: ANY(\"en\", \"es\")) OR (categories: ANY(\"Movie\")) If your filter blocks all results, the API returns generic (unfiltered) popular Documents. If you only want results strictly matching the filters, set `strictFiltering` to `true` in RecommendRequest.params to receive empty results instead. Note that the API never returns Documents with `storageStatus` as `EXPIRED` or `DELETED` regardless of filter choices."
        },
        "params": {
          "additionalProperties": {
            "type": "any"
          },
          "description": "Additional domain specific parameters for the recommendations. Allowed values: * `returnDocument`: Boolean. If set to `true`, the associated Document object is returned in RecommendResponse.RecommendationResult.document. * `returnScore`: Boolean. If set to true, the recommendation score corresponding to each returned Document is set in RecommendResponse.RecommendationResult.metadata. The given score indicates the probability of a Document conversion given the user's context and history. * `strictFiltering`: Boolean. True by default. If set to `false`, the service returns generic (unfiltered) popular Documents instead of empty if your filter blocks all recommendation results. * `diversityLevel`: String. Default empty. If set to be non-empty, then it needs to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` This gives request-level control and adjusts recommendation results based on Document category. * `attributeFilteringSyntax`: Boolean. False by default. If set to true, the `filter` field is interpreted according to the new, attribute-based syntax.",
          "type": "object"
        },
        "validateOnly": {
          "description": "Use validate only mode for this recommendation query. If set to `true`, a fake model is used that returns arbitrary Document IDs. Note that the validate only mode should only be used for testing the API, or if the model is not ready.",
          "type": "boolean"
        },
        "userLabels": {
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "description": "Request message for Recommend method."
    },
    "GoogleCloudDiscoveryengineV1alphaConversation": {
      "id": "GoogleCloudDiscoveryengineV1alphaConversation",
      "description": "External conversation proto definition.",
      "properties": {
        "endTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The time the conversation finished.",
          "type": "string"
        },
        "userPseudoId": {
          "type": "string",
          "description": "A unique identifier for tracking users."
        },
        "state": {
          "enumDescriptions": [
            "Unknown.",
            "Conversation is currently open.",
            "Conversation has been completed."
          ],
          "description": "The state of the Conversation.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "IN_PROGRESS",
            "COMPLETED"
          ]
        },
        "messages": {
          "type": "array",
          "description": "Conversation messages.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaConversationMessage"
          }
        },
        "startTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The time the conversation started.",
          "format": "google-datetime"
        },
        "name": {
          "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig": {
      "description": "Configuration data for advance site search.",
      "type": "object",
      "properties": {
        "disableInitialIndex": {
          "type": "boolean",
          "description": "If set true, initial indexing is disabled for the DataStore."
        },
        "disableAutomaticRefresh": {
          "description": "If set true, automatic refresh is disabled for the DataStore.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig"
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig": {
      "description": "The digital parsing configurations for documents.",
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill": {
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill",
      "properties": {
        "name": {
          "description": "The resource name of the skill.",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the skill."
        }
      },
      "type": "object",
      "description": "Represents a skill used during the assist call."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec": {
      "description": "A specification for configuring the extractive content in a search response.",
      "type": "object",
      "properties": {
        "numPreviousSegments": {
          "type": "integer",
          "format": "int32",
          "description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments."
        },
        "numNextSegments": {
          "format": "int32",
          "type": "integer",
          "description": "Return at most `num_next_segments` segments after each selected segments."
        },
        "maxExtractiveSegmentCount": {
          "format": "int32",
          "description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`.",
          "type": "integer"
        },
        "returnExtractiveSegmentScore": {
          "description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.",
          "type": "boolean"
        },
        "maxExtractiveAnswerCount": {
          "description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": {
      "type": "object",
      "properties": {
        "streamingError": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError",
          "description": "Optional. Streaming error details."
        },
        "realtimeSyncSecret": {
          "description": "Optional. The ID of the Secret Manager secret used for webhook secret.",
          "type": "string"
        },
        "webhookUri": {
          "type": "string",
          "description": "Optional. Webhook url for the connector to specify additional params for realtime sync."
        }
      },
      "description": "The configuration for realtime sync to store additional params for realtime sync.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource",
      "properties": {
        "referenceIndex": {
          "type": "string",
          "description": "Document reference index from SummaryWithMetadata.references. It is 0-indexed and the value will be zero if the reference_index is not set explicitly.",
          "format": "int64"
        }
      },
      "type": "object",
      "description": "Citation source."
    },
    "GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse",
      "type": "object",
      "properties": {},
      "description": "Response message for AlphaEvolveService.SubmitProgramsEvaluations."
    },
    "GoogleCloudDiscoveryengineV1alphaStartExperimentRequest": {
      "description": "Request message for AlphaEvolveService.StartExperiment.",
      "properties": {
        "name": {
          "description": "Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStartExperimentRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest",
      "description": "Request message for the DataConnectorService.AcquireAccessToken method.",
      "properties": {
        "scope": {
          "description": "Optional. The scope to request for the access token. Scope will override default scope if specified.",
          "type": "string"
        },
        "action": {
          "description": "Optional. The tool/action name being executed. If provided, the server will check the required scopes of the action and dynamically trigger incremental authorization if they are missing.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseConnectorAuthError": {
      "properties": {
        "dataConnector": {
          "type": "string",
          "description": "Resource name of the data connector that failed authentication."
        },
        "errorMessage": {
          "type": "string",
          "description": "Human-readable error message describing the auth failure."
        }
      },
      "description": "Describes an authentication error for a specific data connector.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseConnectorAuthError"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo": {
      "type": "object",
      "description": "Unstructured document information.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo",
      "properties": {
        "documentContexts": {
          "type": "array",
          "description": "List of document contexts. The content will be used for Answer Generation. This is supposed to be the main content of the document that can be long and comprehensive.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext"
          }
        },
        "document": {
          "description": "Document resource name.",
          "type": "string"
        },
        "uri": {
          "description": "URI for the document.",
          "type": "string"
        },
        "extractiveAnswers": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer"
          },
          "deprecated": true,
          "type": "array",
          "description": "Deprecated: This field is deprecated and will have no effect on the Answer generation. Please use document_contexts and extractive_segments fields. List of extractive answers."
        },
        "title": {
          "type": "string",
          "description": "Title."
        },
        "extractiveSegments": {
          "description": "List of extractive segments.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec": {
      "properties": {
        "temperature": {
          "type": "number",
          "format": "double",
          "description": "Optional. The temperature value to be used for the user defined classifier."
        },
        "enableUserDefinedClassifier": {
          "description": "Optional. Whether or not to enable and include user defined classifier.",
          "type": "boolean"
        },
        "topK": {
          "format": "int64",
          "type": "string",
          "description": "Optional. The top-k value to be used for the user defined classifier."
        },
        "seed": {
          "description": "Optional. The seed value to be used for the user defined classifier.",
          "type": "integer",
          "format": "int32"
        },
        "topP": {
          "description": "Optional. The top-p value to be used for the user defined classifier.",
          "type": "number",
          "format": "double"
        },
        "taskMarker": {
          "type": "string",
          "description": "Optional. The task marker to be used for the user defined classifier."
        },
        "modelId": {
          "type": "string",
          "description": "Optional. The model id to be used for the user defined classifier."
        },
        "preamble": {
          "description": "Optional. The preamble to be used for the user defined classifier.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec",
      "description": "The specification for user defined classifier."
    },
    "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "failureCount": {
          "format": "int64",
          "type": "string",
          "description": "Count of user licenses that failed to be updated."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        },
        "successCount": {
          "type": "string",
          "description": "Count of user licenses successfully updated.",
          "format": "int64"
        },
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig": {
      "id": "GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig",
      "description": "Third party IDP Config.",
      "properties": {
        "workforcePoolName": {
          "type": "string",
          "description": "Workforce pool name. Example: \"locations/global/workforcePools/pool_id\""
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaBranch": {
      "properties": {
        "isDefault": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Indicates whether this branch is set as the default branch of its parent data store."
        },
        "name": {
          "description": "Immutable. Full resource name of the branch, such as `projects/*/locations/global/dataStores/data_store/branches/branch_id`.",
          "type": "string"
        },
        "lastDocumentImportTime": {
          "description": "Output only. Timestamp of last import through DocumentService.ImportDocuments. Empty value means no import has been made to this branch.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "displayName": {
          "readOnly": true,
          "description": "Output only. Human readable name of the branch to display in the UI.",
          "type": "string"
        },
        "branchStats": {
          "description": "Output only. Statistics describing a branch. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaBranchBranchStats"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaBranch",
      "description": "A data branch that stores Documents.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus": {
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus",
      "type": "object",
      "description": "Index status of the document.",
      "properties": {
        "errorSamples": {
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors."
        },
        "pendingMessage": {
          "description": "Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.",
          "type": "string"
        },
        "indexTime": {
          "description": "The time when the document was indexed. If this field is populated, it means the document has been indexed. While documents typically become searchable within seconds of indexing, it can sometimes take up to a few hours.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings",
      "description": "Generation settings for the experiment.",
      "type": "object",
      "properties": {
        "models": {
          "type": "array",
          "description": "Optional. Per-model configuration. See `ModelConfig` for details. If left unset, the server selects a default model.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig"
          }
        },
        "context": {
          "type": "string",
          "description": "Optional. Additional user-provided context to be used during generation."
        },
        "includeFullProgramInPrompt": {
          "description": "Optional. When true, the LLM prompt includes the full program text (both mutable EVOLVE-BLOCK regions and immutable boilerplate). When false (default), only the mutable EVOLVE-BLOCK regions are shown, saving context window.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding": {
      "description": "Specifies a samples query and bind its result to a variable which will be used in the `condition`.",
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "Description of this sample binding. Used by the UI to render user friendly descriptions for each requirement condition. Should be less than 128 characters long."
        },
        "sampleFilter": {
          "type": "string",
          "description": "The filter string used for samples query. Example: \"sample.type = \\\"retail.googleapis.com/user_event\\\" AND \" \"sample.labels.event_type = \\\"PURCHASE\\\" \""
        },
        "variableId": {
          "description": "The variable id to be referenced in `condition`.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding"
    },
    "GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination": {
      "id": "GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination",
      "description": "Defines a target endpoint",
      "type": "object",
      "properties": {
        "port": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Target port number accepted by the destination."
        },
        "host": {
          "description": "Publicly routable host.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaConnectorRun": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaConnectorRun",
      "properties": {
        "stateUpdateTime": {
          "description": "Timestamp at which the connector run sync state was last updated.",
          "type": "string",
          "format": "google-datetime"
        },
        "latestPauseTime": {
          "type": "string",
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The time when the connector run was most recently paused."
        },
        "state": {
          "type": "string",
          "description": "Output only. The state of the sync run.",
          "enumDescriptions": [
            "Default value.",
            "The data sync is ongoing.",
            "The data sync is finished.",
            "The data sync is failed.",
            "Data sync has been running longer than expected and is still running at the time the next run is supposed to start.",
            "Data sync was scheduled but has been cancelled.",
            "Data sync is about to start.",
            "The data sync completed with non-fatal errors.",
            "An ongoing connector run has been running longer than expected, causing this run to be skipped."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "RUNNING",
            "SUCCEEDED",
            "FAILED",
            "OVERRUN",
            "CANCELLED",
            "PENDING",
            "WARNING",
            "SKIPPED"
          ],
          "readOnly": true
        },
        "startTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. The time when the connector run started."
        },
        "errors": {
          "description": "Contains info about errors incurred during the sync. Only exist if running into an error state. Contains error code and error message. Use with the `state` field.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "entityRuns": {
          "description": "Output only. The details of the entities synced at the ConnectorRun. Each ConnectorRun consists of syncing one or more entities.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun"
          },
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Output only. The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated.",
          "readOnly": true
        },
        "trigger": {
          "type": "string",
          "enumDescriptions": [
            "Default value.",
            "ConnectorRun triggered by scheduler if connector has PERIODIC sync mode.",
            "ConnectorRun auto triggered by connector initialization.",
            "ConnectorRun auto triggered by resuming connector.",
            "ConnectorRun triggered by user manually."
          ],
          "readOnly": true,
          "description": "Output only. The trigger for this ConnectorRun.",
          "enum": [
            "TRIGGER_UNSPECIFIED",
            "SCHEDULER",
            "INITIALIZATION",
            "RESUME",
            "MANUAL"
          ]
        },
        "endTime": {
          "description": "Output only. The time when the connector run ended.",
          "type": "string",
          "format": "google-datetime",
          "readOnly": true
        }
      },
      "description": "A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the moment. //"
    },
    "GoogleCloudDiscoveryengineV1alphaSampleQuerySet": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "displayName": {
          "description": "Required. The sample query set display name. This field must be a UTF-8 encoded string with a length limit of 128 characters.",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "description": "Output only. Timestamp the SampleQuerySet was created at.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "description": {
          "description": "The description of the SampleQuerySet.",
          "type": "string"
        }
      },
      "description": "A SampleQuerySet is the parent resource of SampleQuery, and contains the configurations shared by all SampleQuery under it.",
      "id": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
    },
    "GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting": {
      "id": "GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting",
      "description": "Agent Gateway setting, which may be attached to Gemini Enterprise resources for egress control of Gemini Enterprise agents to agents and tools outside of Gemini Enterprise.",
      "type": "object",
      "properties": {
        "defaultEgressAgentGateway": {
          "description": "Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource. The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo": {
      "description": "Unstructured document information.",
      "properties": {
        "structData": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.",
          "type": "object"
        },
        "uri": {
          "description": "URI for the document.",
          "type": "string"
        },
        "chunkContents": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent"
          },
          "description": "List of cited chunk contents derived from document content."
        },
        "title": {
          "description": "Title.",
          "type": "string"
        },
        "document": {
          "description": "Document resource name.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo"
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion": {
      "description": "Suggestions as content.",
      "type": "object",
      "properties": {
        "score": {
          "type": "number",
          "description": "The score of each suggestion. The score is in the range of [0, 1].",
          "format": "double"
        },
        "destinationUri": {
          "description": "The destination uri of the content suggestion.",
          "type": "string"
        },
        "document": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocument",
          "description": "The document data snippet in the suggestion. Only a subset of fields will be populated."
        },
        "suggestion": {
          "type": "string",
          "description": "The suggestion for the query."
        },
        "dataStore": {
          "description": "The name of the dataStore that this suggestion belongs to.",
          "type": "string"
        },
        "iconUri": {
          "type": "string",
          "description": "The icon uri of the content suggestion."
        },
        "contentType": {
          "enumDescriptions": [
            "Default value.",
            "The suggestion is from a Google Workspace source.",
            "The suggestion is from a third party source."
          ],
          "description": "The type of the content suggestion.",
          "type": "string",
          "enum": [
            "CONTENT_TYPE_UNSPECIFIED",
            "GOOGLE_WORKSPACE",
            "THIRD_PARTY"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion"
    },
    "GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata": {
      "properties": {
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        },
        "totalCount": {
          "type": "string",
          "description": "Total count of entries that were processed.",
          "format": "int64"
        },
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        },
        "failureCount": {
          "description": "Count of entries that encountered errors while processing.",
          "type": "string",
          "format": "int64"
        },
        "successCount": {
          "description": "Count of entries that were processed successfully.",
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField": {
      "type": "object",
      "properties": {
        "weight": {
          "format": "double",
          "type": "number",
          "description": "Optional. Weight for scores from this field. Defaults to 1.0 if not specified."
        },
        "key": {
          "description": "Required. A field key that has been indexed for Search As You Type.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField",
      "description": "A schema field to be used for Search As You Type scoring on this request. Overrides any data-store-level Search As You Type field configuration for the duration of the request."
    },
    "GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the CmekConfigService.DeleteCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse",
      "description": "Response message returning the result of an MCP connector invocation. It contains either a successful result payload or error details.",
      "properties": {
        "result": {
          "description": "Successful result — arbitrary structured data.",
          "type": "any"
        },
        "error": {
          "description": "Error details when the call fails.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaMcpError"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCustomTuningModel": {
      "type": "object",
      "properties": {
        "metrics": {
          "type": "object",
          "additionalProperties": {
            "type": "number",
            "format": "double"
          },
          "description": "The metrics of the trained model."
        },
        "name": {
          "description": "Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters.",
          "type": "string"
        },
        "errorMessage": {
          "type": "string",
          "description": "Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`."
        },
        "modelState": {
          "type": "string",
          "enum": [
            "MODEL_STATE_UNSPECIFIED",
            "TRAINING_PAUSED",
            "TRAINING",
            "TRAINING_COMPLETE",
            "READY_FOR_SERVING",
            "TRAINING_FAILED",
            "NO_IMPROVEMENT",
            "INPUT_VALIDATION_FAILED"
          ],
          "enumDescriptions": [
            "Default value.",
            "The model is in a paused training state.",
            "The model is currently training.",
            "The model has successfully completed training.",
            "The model is ready for serving.",
            "The model training failed.",
            "The model training finished successfully but metrics did not improve.",
            "Input data validation failed. Model training didn't start."
          ],
          "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`)."
        },
        "createTime": {
          "format": "google-datetime",
          "deprecated": true,
          "description": "Deprecated: Timestamp the Model was created at.",
          "type": "string"
        },
        "trainingStartTime": {
          "type": "string",
          "description": "Timestamp the model training was initiated.",
          "format": "google-datetime"
        },
        "modelVersion": {
          "format": "int64",
          "type": "string",
          "description": "The version of the model."
        },
        "displayName": {
          "description": "The display name of the model.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel",
      "description": "Metadata that describes a custom tuned model."
    },
    "GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition": {
      "description": "Stores the definition of an agent that uses ADK and is deployed to Agent Engine (formerly known as Reasoning Engine).",
      "type": "object",
      "properties": {
        "provisionedReasoningEngine": {
          "description": "Optional. The reasoning engine that the agent is connected to.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition"
    },
    "GoogleCloudDiscoveryengineV1betaConditionQueryTerm": {
      "id": "GoogleCloudDiscoveryengineV1betaConditionQueryTerm",
      "type": "object",
      "description": "Matcher for search request query",
      "properties": {
        "value": {
          "type": "string",
          "description": "The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters."
        },
        "fullMatch": {
          "type": "boolean",
          "description": "Whether the search query needs to exactly match the query term."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig": {
      "properties": {
        "refreshInterval": {
          "format": "google-duration",
          "description": "Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.",
          "type": "string"
        },
        "nextSyncTime": {
          "$ref": "GoogleTypeDateTime",
          "description": "Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day."
        }
      },
      "description": "The configuration for the identity data synchronization runs.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig": {
      "properties": {
        "notebooklmConfig": {
          "description": "NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig"
        },
        "alloyDbConfig": {
          "description": "AlloyDB config. If set, this DataStore is connected to AlloyDB.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig"
        },
        "thirdPartyOauthConfig": {
          "description": "Third Party OAuth config. If set, this DataStore is connected to a third party application.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig",
      "description": "Stores information for federated search.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec": {
      "properties": {
        "modelType": {
          "type": "string",
          "enum": [
            "MODEL_TYPE_UNSPECIFIED",
            "SMALL",
            "LARGE"
          ],
          "enumDescriptions": [
            "Unspecified model type.",
            "Small query rephraser model. Gemini 1.0 XS model.",
            "Large query rephraser model. Gemini 1.0 Pro model."
          ],
          "description": "Optional. Enabled query rephraser model type. If not set, it will use LARGE by default."
        }
      },
      "description": "Query Rephraser Model specification.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult": {
      "type": "object",
      "description": "Represents the search results.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult",
      "properties": {
        "document": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocument",
          "description": "The document data snippet in the search response. Only fields that are marked as `retrievable` are populated."
        },
        "id": {
          "type": "string",
          "description": "Document.id of the searched Document."
        },
        "retrievalSignals": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRetrievalSignals",
          "description": "Optional. A set of signals used by the relevance filter meant for use to fine-tune the relevance filter thresholds."
        },
        "chunk": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaChunk",
          "description": "The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS."
        },
        "modelScores": {
          "description": "Output only. Google provided available scores.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDoubleList"
          }
        },
        "rankSignals": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals",
          "description": "Optional. A set of ranking signals associated with the result."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest": {
      "description": "Request message for SiteSearchEngineService.RecrawlUris method.",
      "properties": {
        "uris": {
          "type": "array",
          "description": "Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`.",
          "items": {
            "type": "string"
          }
        },
        "siteCredential": {
          "type": "string",
          "description": "Optional. Credential id to use for crawling."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata": {
      "properties": {
        "failureCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of CompletionSuggestions that failed to be imported."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        },
        "successCount": {
          "format": "int64",
          "description": "Count of CompletionSuggestions successfully imported.",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata",
      "type": "object"
    },
    "ApiservingMcpMcpToolVisibility": {
      "properties": {
        "visibilityEnforcementStrategy": {
          "type": "string",
          "enum": [
            "VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED",
            "COMBINE",
            "OVERRIDE"
          ],
          "enumDescriptions": [
            "Default. Equivalent to COMBINE.",
            "The principal must satisfy both API-level tool-level) visibility restrictions.",
            "Bypasses the API-level visibility restrictions check; access is determined solely by the tool-level visibility restrictions."
          ],
          "description": "The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet implemented."
        },
        "visibilityRestriction": {
          "type": "string",
          "description": "The visibility restriction labels for the tool itself (e.g., \"PRODUCER_DEFINED_PREVIEW\"). Multiple labels can be provided as a comma-separated string."
        },
        "fieldVisibility": {
          "items": {
            "$ref": "ApiservingMcpMcpToolVisibilityFieldVisibility"
          },
          "description": "A list of field-level visibility restrictions.",
          "type": "array"
        }
      },
      "type": "object",
      "description": "Profile describing the visibility restriction of an MCP tool. Key: \"google.com/tool.profiles/visibility.restriction\"",
      "id": "ApiservingMcpMcpToolVisibility"
    },
    "GoogleApiDistributionExemplar": {
      "properties": {
        "attachments": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "description": "Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.",
          "type": "array"
        },
        "value": {
          "description": "Value of the exemplar point. This value determines to which bucket the exemplar belongs.",
          "format": "double",
          "type": "number"
        },
        "timestamp": {
          "format": "google-datetime",
          "description": "The observation (sampling) time of the above value.",
          "type": "string"
        }
      },
      "description": "Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.",
      "type": "object",
      "id": "GoogleApiDistributionExemplar"
    },
    "GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest",
      "properties": {
        "updateMask": {
          "description": "Optional. The list of fields to update. Only 'state' is supported; if unset, defaults to 'state'.",
          "format": "google-fieldmask",
          "type": "string"
        },
        "parent": {
          "description": "Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.",
          "type": "string"
        },
        "userAvailability": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserAvailability",
          "description": "Required. The UserAvailability to update."
        }
      },
      "type": "object",
      "description": "Request message for UserStoreService.UpdateUserAvailability method. Also nested within BatchUpdateUserAvailabilityRequest for the UserStoreService.BatchUpdateUserAvailability method. `parent` is a required field when this message is used for a single Update, but is optional when used for a BatchUpdate."
    },
    "GoogleCloudNotebooklmV1alphaShareNotebookResponse": {
      "id": "GoogleCloudNotebooklmV1alphaShareNotebookResponse",
      "type": "object",
      "description": "Response for NotebookService.ShareNotebook method.",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig": {
      "properties": {
        "layoutParsingConfig": {
          "description": "Configurations applied to layout parser.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig"
        },
        "ocrParsingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig",
          "description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
        },
        "digitalParsingConfig": {
          "description": "Configurations applied to digital parser.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig",
      "description": "Related configurations applied to a specific type of document parser.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata": {
      "description": "Document metadata contains the information of the document of the current chunk.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata",
      "properties": {
        "title": {
          "type": "string",
          "description": "Title of the document."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata": {
      "id": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata",
      "description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest",
      "properties": {
        "suggestionTypes": {
          "description": "Optional. Suggestion types to return. If empty or unspecified, query suggestions are returned. Only one suggestion type is supported at the moment.",
          "type": "array",
          "items": {
            "enumDescriptions": [
              "Default value.",
              "Returns query suggestions.",
              "Returns people suggestions.",
              "Returns content suggestions.",
              "Returns recent search suggestions.",
              "Returns Google Workspace suggestions."
            ],
            "type": "string",
            "enum": [
              "SUGGESTION_TYPE_UNSPECIFIED",
              "QUERY",
              "PEOPLE",
              "CONTENT",
              "RECENT_SEARCH",
              "GOOGLE_WORKSPACE"
            ]
          }
        },
        "queryModel": {
          "type": "string",
          "description": "Specifies the autocomplete query model, which only applies to the QUERY SuggestionType. This overrides any model specified in the Configuration \u003e Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores."
        },
        "suggestionTypeSpecs": {
          "type": "array",
          "description": "Optional. Specification of each suggestion type.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec"
          }
        },
        "includeTailSuggestions": {
          "type": "boolean",
          "description": "Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned."
        },
        "boostSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec",
          "description": "Optional. Specification to boost suggestions matching the condition."
        },
        "query": {
          "description": "Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. The query can not be empty for most of the suggestion types. If it is empty, an `INVALID_ARGUMENT` error is returned. The exception is when the suggestion_types contains only the type `RECENT_SEARCH`, the query can be an empty string. The is called \"zero prefix\" feature, which returns user's recently searched queries given the empty query.",
          "type": "string"
        },
        "userInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo",
          "description": "Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info."
        },
        "experimentIds": {
          "description": "Optional. Experiment ids for this request.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "userPseudoId": {
          "type": "string",
          "description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128"
        }
      },
      "description": "Request message for CompletionService.AdvancedCompleteQuery method. ."
    },
    "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig",
      "description": "More feature configs of the selected engine type.",
      "properties": {
        "mostPopularConfig": {
          "description": "Most popular engine feature config.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig"
        },
        "recommendedForYouConfig": {
          "description": "Recommended for you engine feature config.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportErrorConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
      "properties": {
        "gcsPrefix": {
          "type": "string",
          "description": "Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message."
        }
      },
      "description": "Configuration of destination for Import related errors.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ImportDocumentsResponse": {
      "properties": {
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig",
          "description": "Echoes the destination for the complete errors in the request if set."
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "A sample of errors encountered while processing the request."
        }
      },
      "description": "Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.",
      "id": "GoogleCloudDiscoveryengineV1ImportDocumentsResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec": {
      "description": "Answer generation prompt specification.",
      "properties": {
        "preamble": {
          "type": "string",
          "description": "Customized preamble."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse": {
      "id": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse",
      "type": "object",
      "description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.",
      "properties": {
        "errorSamples": {
          "type": "array",
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "userLicenses": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaUserLicense"
          },
          "description": "UserLicenses successfully updated.",
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo": {
      "description": "Information submitted when a user disputes a Model Armor `BLOCK` or `FLAG` verdict.",
      "id": "GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo",
      "properties": {
        "templateName": {
          "type": "string",
          "description": "Optional. Resource name of the Model Armor template that produced the sanitization result, in the format `projects/{project}/locations/{location}/templates/{id}`."
        },
        "expectedLabel": {
          "description": "Optional. The expected-label reason chip selected by the user (for example, \"Everyday question\" or \"Legitimate work-related query\").",
          "type": "string"
        },
        "sanitizationResultJson": {
          "description": "Optional. The raw Model Armor `SanitizationResult`, serialized as JSON.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleIamV1SetIamPolicyRequest": {
      "type": "object",
      "description": "Request message for `SetIamPolicy` method.",
      "id": "GoogleIamV1SetIamPolicyRequest",
      "properties": {
        "policy": {
          "$ref": "GoogleIamV1Policy",
          "description": "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."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus": {
      "id": "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus",
      "description": "Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month). We also include the update type to indicate the type of update performed on the configurable billing configuration in the UpdateProject operation.",
      "properties": {
        "agentSearchTokenSubscriptionStatuses": {
          "description": "Output only. Per-model Agent Search TPM subscription status.",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus"
          }
        },
        "updateType": {
          "enumDescriptions": [
            "Unspecified update type.",
            "Configurable billing was created/enabled.",
            "Configurable billing was deleted/disabled.",
            "Subscription was scaled up (thresholds increased).",
            "Subscription was scaled down (thresholds decreased)."
          ],
          "description": "Output only. The type of update performed in this operation. This field is populated in the response of UpdateProject.",
          "type": "string",
          "readOnly": true,
          "enum": [
            "UPDATE_TYPE_UNSPECIFIED",
            "CREATE",
            "DELETE",
            "SCALE_UP",
            "SCALE_DOWN"
          ]
        },
        "searchQpmThresholdNextUpdateTime": {
          "description": "Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        },
        "effectiveIndexingCoreThreshold": {
          "description": "Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.",
          "type": "string",
          "format": "int64"
        },
        "indexingCoreThresholdNextUpdateTime": {
          "readOnly": true,
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded."
        },
        "startTime": {
          "type": "string",
          "description": "Optional. The start time of the currently active billing subscription.",
          "format": "google-datetime"
        },
        "terminateTime": {
          "description": "Output only. The latest terminate effective time of search qpm and indexing core subscriptions.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        },
        "effectiveSearchQpmThreshold": {
          "type": "string",
          "description": "Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.",
          "format": "int64"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig": {
      "properties": {
        "demoteContentWatchedPastDays": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. Specifies the number of days to look back for demoting watched content. If set to zero or unset, defaults to the maximum of 365 days."
        },
        "contentFreshnessCutoffDays": {
          "format": "int32",
          "type": "integer",
          "description": "Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days."
        },
        "contentWatchedSecondsThreshold": {
          "format": "float",
          "type": "number",
          "description": "Specifies the content watched minutes threshold for demotion."
        },
        "contentWatchedPercentageThreshold": {
          "description": "Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive.",
          "type": "number",
          "format": "float"
        },
        "demotionEventType": {
          "description": "Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig",
      "description": "Specifies the configurations needed for Media Discovery. Currently we support: * `demote_content_watched`: Threshold for watched content demotion. Customers can specify if using watched content demotion or use viewed detail page. Using the content watched demotion, customers need to specify the watched minutes or percentage exceeds the threshold, the content will be demoted in the recommendation result. * `promote_fresh_content`: cutoff days for fresh content promotion. Customers can specify if using content freshness promotion. If the content was published within the cutoff days, the content will be promoted in the recommendation result. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION."
    },
    "GoogleCloudDiscoveryengineV1betaSingleRegionKey": {
      "id": "GoogleCloudDiscoveryengineV1betaSingleRegionKey",
      "type": "object",
      "description": "Metadata for single-regional CMEKs.",
      "properties": {
        "kmsKey": {
          "type": "string",
          "description": "Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference": {
      "type": "object",
      "description": "Reference to a user-supplied file attached to a long-running-agent (Sobi) task. Rendered by the client as an attachment chip on the user turn's bubble. The file itself is stored on the task's `AgentArtifact` list; the client resolves full metadata (source URI, size, ...) for download or preview by calling `GetTask` on the Sobi Task API and matching `AgentArtifact.name` against `file_name`. Only `file_name` and `mime_type` appear on this wire deliberately: the backing `gs://` or Drive URI is not exposed to conversation-history readers. Same variant is used for both byte-uploaded and Drive-picked files -- \"user attached a file\" is one concept regardless of source.",
      "id": "GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference",
      "properties": {
        "fileName": {
          "type": "string",
          "description": "Required. Client-supplied filename. Unique per task within the user-supplied artifact set (UI dedupes before upload). Doubles as the artifact identifier used to look up the artifact on `Task.artifacts`. The `_name` suffix is deliberate and the AIP-122 lint is suppressed: this field is not a resource name (which is what AIP-122 reserves the bare `name` for). It is the literal filename, and it serves as the join key against `AgentArtifact.name` on the backing Sobi task -- a structural role that `title` or `display_name` would not communicate to a client picking what to send. The internal mirror (`cloud/ml/discoveryengine/schema/assistant.proto`) uses the same field name so the round-trip converter stays name-for-name."
        },
        "mimeType": {
          "type": "string",
          "description": "Optional. IANA MIME type. Used for icon/preview rendering."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaLanguageInfo": {
      "description": "Language info for DataStore.",
      "properties": {
        "languageCode": {
          "description": "The language code for the DataStore.",
          "type": "string"
        },
        "language": {
          "description": "Output only. Language part of normalized_language_code. E.g.: `en-US` -\u003e `en`, `zh-Hans-HK` -\u003e `zh`, `en` -\u003e `en`.",
          "type": "string",
          "readOnly": true
        },
        "normalizedLanguageCode": {
          "type": "string",
          "description": "Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.",
          "readOnly": true
        },
        "region": {
          "description": "Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -\u003e `US`, `zh-Hans-HK` -\u003e `HK`, `en` -\u003e ``.",
          "type": "string",
          "readOnly": true
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaLanguageInfo"
    },
    "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason": {
      "description": "Details about why crawling failed for a particular CorpusType, e.g., DESKTOP and MOBILE crawling may fail for different reasons.",
      "properties": {
        "errorMessage": {
          "description": "Reason why the URI was not crawled.",
          "type": "string"
        },
        "corpusType": {
          "type": "string",
          "enum": [
            "CORPUS_TYPE_UNSPECIFIED",
            "DESKTOP",
            "MOBILE"
          ],
          "description": "DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.",
          "enumDescriptions": [
            "Default value.",
            "Denotes a crawling attempt for the desktop version of a page.",
            "Denotes a crawling attempt for the mobile version of a page."
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse",
      "description": "Response message for SiteSearchEngineService.SetUriPatternDocumentData method.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1CreateDataStoreMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1CreateDataStoreMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1AssistantToolList": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1AssistantToolList",
      "description": "The enabled tools on a connector",
      "properties": {
        "toolInfo": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1AssistantToolInfo"
          },
          "description": "The list of tools with corresponding tool information."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleApiDistributionBucketOptionsExponential": {
      "properties": {
        "scale": {
          "format": "double",
          "type": "number",
          "description": "Must be greater than 0."
        },
        "numFiniteBuckets": {
          "description": "Must be greater than 0.",
          "type": "integer",
          "format": "int32"
        },
        "growthFactor": {
          "format": "double",
          "type": "number",
          "description": "Must be greater than 1."
        }
      },
      "type": "object",
      "id": "GoogleApiDistributionBucketOptionsExponential",
      "description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 \u003c= i \u003c N-1): scale * (growth_factor ^ i). Lower bound (1 \u003c= i \u003c N): scale * (growth_factor ^ (i - 1))."
    },
    "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus": {
      "description": "Per-model Agent Search TPM subscription status. One entry per active `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent Search TPM subscription instead of to the overall customer-configurable- pricing relationship. This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, model_version), so each model has its own activation, termination, and deferred-update clock; surfacing that on the response gives customers the granularity they need to manage per-model commitments independently. QPM / IndexingCore differ — their storage is one row per (project, location), so their lifecycle is represented only by the whole- relationship scalars on ConfigurableBillingStatus.",
      "properties": {
        "modelVersion": {
          "readOnly": true,
          "description": "Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).",
          "type": "string"
        },
        "tpmThresholdNextUpdateTime": {
          "format": "google-datetime",
          "description": "Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update.",
          "readOnly": true,
          "type": "string"
        },
        "effectiveTpmThreshold": {
          "format": "int64",
          "type": "string",
          "description": "Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching `effective_search_qpm_threshold` semantics.",
          "readOnly": true
        },
        "startTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship."
        },
        "terminateTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down."
        },
        "updateType": {
          "enum": [
            "UPDATE_TYPE_UNSPECIFIED",
            "CREATE",
            "DELETE",
            "SCALE_UP",
            "SCALE_DOWN"
          ],
          "description": "Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` reflects an earlier update). The whole-relationship `update_type` on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together).",
          "type": "string",
          "enumDescriptions": [
            "Unspecified update type.",
            "Configurable billing was created/enabled.",
            "Configurable billing was deleted/disabled.",
            "Subscription was scaled up (thresholds increased).",
            "Subscription was scaled down (thresholds decreased)."
          ],
          "readOnly": true
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse": {
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        },
        "identityMappingEntries": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry"
          },
          "description": "The Identity Mapping Entries.",
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse",
      "description": "Response message for IdentityMappingStoreService.ListIdentityMappings"
    },
    "GoogleCloudDiscoveryengineV1alphaListSchemasResponse": {
      "properties": {
        "schemas": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
          },
          "description": "The Schemas.",
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "type": "object",
      "description": "Response message for SchemaService.ListSchemas method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListSchemasResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaConverseConversationRequest": {
      "type": "object",
      "properties": {
        "userLabels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.",
          "type": "object"
        },
        "summarySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec",
          "description": "A specification for configuring the summary returned in the response."
        },
        "boostSpec": {
          "description": "Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec"
        },
        "query": {
          "description": "Required. Current user input.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaTextInput"
        },
        "conversation": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaConversation",
          "description": "The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session."
        },
        "safeSearch": {
          "description": "Whether to turn on safe search.",
          "type": "boolean"
        },
        "servingConfig": {
          "description": "The resource name of the Serving Config to use. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` If this is not set, the default serving config will be used.",
          "type": "string"
        },
        "filter": {
          "type": "string",
          "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the summary response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --\u003e name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)"
        }
      },
      "description": "Request message for ConversationalSearchService.ConverseConversation method.",
      "id": "GoogleCloudDiscoveryengineV1alphaConverseConversationRequest"
    },
    "GoogleCloudNotebooklmV1alphaFailureReason": {
      "description": "Failure reason containing details about why a source failed to ingest.",
      "properties": {
        "ingestionError": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonIngestionError",
          "description": "Indicates an error occurred while ingesting the source."
        },
        "sourceUnreachable": {
          "description": "Indicates that the source is unreachable.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable"
        },
        "unknown": {
          "description": "Indicates an unknown error occurred.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonUnknown"
        },
        "mimeTypeBlocked": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked",
          "description": "Indicates that the source MIME type is blocked."
        },
        "sourceEmpty": {
          "description": "Indicates that the source is empty.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty"
        },
        "sourceLimitExceeded": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded",
          "description": "Error if the user tries to update beyond their limits."
        },
        "paywallError": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonPaywallError",
          "description": "Indicates that the source is paywalled and cannot be ingested."
        },
        "policyCheckFailed": {
          "description": "Indicates that the policy check failed.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed"
        },
        "audioTranscriptionError": {
          "description": "An audio file transcription specific error.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError"
        },
        "sourceTooLong": {
          "description": "Indicates source word count exceeded the user's limit.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong"
        },
        "domainBlocked": {
          "description": "Error if the user tries to add a source from a blocked domain.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked"
        },
        "youtubeError": {
          "description": "A youtube specific error.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError"
        },
        "googleDriveError": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError",
          "description": "A google drive specific error."
        },
        "uploadError": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonUploadError",
          "description": "Indicates an error occurred while uploading the source."
        }
      },
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaFailureReason"
    },
    "GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "description": "Metadata for DeleteSchema LRO.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse": {
      "properties": {
        "accessToken": {
          "description": "The created access token.",
          "type": "string"
        },
        "refreshTokenInfo": {
          "description": "Info about the stored refresh token used to create the access token.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo"
        }
      },
      "description": "Response message for the DataConnectorService.AcquireAccessToken method.",
      "id": "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec",
      "properties": {
        "disableSemanticAddOn": {
          "type": "boolean",
          "description": "Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream."
        },
        "disableKpiPersonalizationAddOn": {
          "description": "Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.",
          "type": "boolean"
        },
        "disableGenerativeAnswerAddOn": {
          "description": "Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.",
          "type": "boolean"
        }
      },
      "description": "SearchAddonSpec is used to disable add-ons for search as per new repricing model. By default if the SearchAddonSpec is not specified, we consider that the customer wants to enable them wherever applicable.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion": {
      "description": "Promotion proto includes uri and other helping information to display the promotion.",
      "properties": {
        "imageUri": {
          "type": "string",
          "description": "Optional. The promotion thumbnail image url."
        },
        "enabled": {
          "type": "boolean",
          "description": "Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only."
        },
        "document": {
          "description": "Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. The Promotion description. Maximum length: 200 characters."
        },
        "uri": {
          "type": "string",
          "description": "Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional."
        },
        "title": {
          "description": "Required. The title of the promotion. Maximum length: 160 characters.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion"
    },
    "GoogleCloudDiscoveryengineV1TrainCustomModelMetadata": {
      "id": "GoogleCloudDiscoveryengineV1TrainCustomModelMetadata",
      "description": "Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata": {
      "id": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata",
      "description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig": {
      "properties": {
        "layoutParsingConfig": {
          "description": "Configurations applied to layout parser.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig"
        },
        "digitalParsingConfig": {
          "description": "Configurations applied to digital parser.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig"
        },
        "ocrParsingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig",
          "description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig",
      "type": "object",
      "description": "Related configurations applied to a specific type of document parser."
    },
    "GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest": {
      "properties": {
        "fileName": {
          "description": "Required. The name of the file.",
          "type": "string"
        },
        "mimeType": {
          "description": "Optional. The content type of the file, see https://www.iana.org/assignments/media-types/media-types.xhtml. This field is required when the data source does not provide the content type.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest",
      "description": "Request for the AgentService.ImportAgentFile method."
    },
    "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse": {
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig"
        }
      },
      "description": "Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec",
      "description": "End user specification.",
      "type": "object",
      "properties": {
        "endUserMetadata": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData"
          },
          "type": "array",
          "description": "Optional. End user metadata."
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaAudioOverview": {
      "properties": {
        "languageCode": {
          "type": "string",
          "description": "The language code of the generated audio overview. Use the BCP 47 language code (e.g. \"en\", \"es\", \"hi\", etc.)."
        },
        "audioOverviewId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Unique ID of the audio overview."
        },
        "name": {
          "description": "Identifier. The full resource name of the notebook. Format: `projects/{project}/locations/{location}/notebooks/{notebook}/audioOverviews/{audio_overview_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "status": {
          "type": "string",
          "enumDescriptions": [
            "The status has not been set.",
            "The audio overview has not started being generated.",
            "The audio overview is in the process of being generated.",
            "The audio overview has been generated and is available.",
            "The audio overview failed to be generated."
          ],
          "enum": [
            "AUDIO_OVERVIEW_STATUS_UNSPECIFIED",
            "AUDIO_OVERVIEW_STATUS_NOT_STARTED",
            "AUDIO_OVERVIEW_STATUS_IN_PROGRESS",
            "AUDIO_OVERVIEW_STATUS_COMPLETE",
            "AUDIO_OVERVIEW_STATUS_FAILED"
          ],
          "description": "The status of the audio overview."
        },
        "generationOptions": {
          "$ref": "GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions",
          "description": "The options used to generate the audio overview."
        },
        "mimeType": {
          "description": "The mime type of the audio overview.",
          "enumDescriptions": [
            "The mime type has not been set.",
            "The mime type is audio/wav.",
            "The mime type is audio/mp4."
          ],
          "type": "string",
          "enum": [
            "MIME_TYPE_UNKNOWN",
            "MIME_TYPE_WAV",
            "MIME_TYPE_MP4"
          ]
        }
      },
      "description": "An audio overview of a notebook. This is a summary of the notebook in audio format.",
      "id": "GoogleCloudNotebooklmV1alphaAudioOverview",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata",
      "description": "Metadata for Create Schema LRO.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaPanelInfo": {
      "description": "Detailed panel information associated with a user event.",
      "properties": {
        "documents": {
          "type": "array",
          "description": "Optional. The document IDs associated with this panel.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentInfo"
          }
        },
        "panelPosition": {
          "description": "The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set.",
          "type": "integer",
          "format": "int32"
        },
        "panelId": {
          "description": "Required. The panel ID.",
          "type": "string"
        },
        "totalPanels": {
          "description": "The total number of panels, including this one, shown to the user. Must be set if panel_position is set.",
          "format": "int32",
          "type": "integer"
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the panel."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaPanelInfo",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember",
      "properties": {
        "type": {
          "description": "Required. Kind of member.",
          "enumDescriptions": [
            "Not allowed.",
            "A single user.",
            "A group of users."
          ],
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "USER",
            "GROUP"
          ]
        },
        "displayName": {
          "description": "Optional. Label shown in the console. Never used for evaluation.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "Required. Identifier evaluated at serving time. Its format depends on the project's identity provider: * Google identity (`GSUITE`): the group or user email. For groups, the server resolves the email to a group ID on write and returns the email on read. * Workforce Identity Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity subject."
        },
        "verification": {
          "enum": [
            "VERIFICATION_UNSPECIFIED",
            "VERIFIED",
            "NOT_FOUND",
            "NOT_VERIFIABLE",
            "CHECK_FAILED"
          ],
          "readOnly": true,
          "description": "Output only. Result of the server's directory check when the member was saved.",
          "type": "string",
          "enumDescriptions": [
            "Not checked.",
            "Found in the project's directory.",
            "Microsoft Graph has no such group. Saved anyway, because a custom `google.groups` mapping can emit IDs that Graph doesn't know.",
            "The project has no directory to check against.",
            "The directory lookup failed. Saved anyway."
          ]
        }
      },
      "description": "A user or group the policy refers to."
    },
    "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse",
      "properties": {
        "documentsMetadata": {
          "description": "The metadata of the Documents.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata"
          }
        }
      },
      "type": "object",
      "description": "Response message for DocumentService.BatchGetDocumentsMetadata method."
    },
    "GoogleCloudDiscoveryengineV1betaProjectServiceTerms": {
      "id": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms",
      "type": "object",
      "properties": {
        "declineTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The last time when the project declined or revoked the agreement to terms of service."
        },
        "acceptTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The last time when the project agreed to the terms of service."
        },
        "id": {
          "type": "string",
          "description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`."
        },
        "state": {
          "enumDescriptions": [
            "The default value of the enum. This value is not actually used.",
            "The project has given consent to the terms of service.",
            "The project is pending to review and accept the terms of service.",
            "The project has declined or revoked the agreement to terms of service."
          ],
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "TERMS_ACCEPTED",
            "TERMS_PENDING",
            "TERMS_DECLINED"
          ],
          "description": "Whether the project has accepted/rejected the service terms or it is still pending."
        },
        "version": {
          "type": "string",
          "description": "The version string of the terms of service. For acceptable values, see the comments for id above."
        }
      },
      "description": "Metadata about the terms of service."
    },
    "GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse": {
      "id": "GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse",
      "properties": {
        "targetSites": {
          "description": "TargetSites created.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1TargetSite"
          }
        }
      },
      "description": "Response message for SiteSearchEngineService.BatchCreateTargetSites method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata",
      "description": "Metadata related to the progress of the various patient filter operations. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "filtersRemovedCount": {
          "format": "int64",
          "type": "string",
          "description": "The number of patient IDs removed from the patient filter."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        },
        "filtersAddedCount": {
          "description": "The number of patient IDs added to the patient filter.",
          "type": "string",
          "format": "int64"
        },
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec": {
      "properties": {
        "conditionBoostSpecs": {
          "description": "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec"
          }
        }
      },
      "type": "object",
      "description": "Boost specification to boost certain documents.",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaBranchBranchStats": {
      "id": "GoogleCloudDiscoveryengineV1alphaBranchBranchStats",
      "type": "object",
      "description": "Statistics describing a branch.",
      "properties": {
        "documentCounts": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "format": "int64"
          },
          "description": "The number of documents in a given branch. The key is a group representing a set of documents, and the value is the number of document in that group. Note: keys in this map may change over time. Supported keys: ['all']."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaActionConfig": {
      "type": "object",
      "properties": {
        "serviceName": {
          "description": "Optional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled.",
          "type": "string"
        },
        "userDefinedScopesMapping": {
          "type": "object",
          "description": "Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaActionConfigScopeList"
          }
        },
        "useStaticSecrets": {
          "description": "Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored.",
          "type": "boolean"
        },
        "createBapConnection": {
          "description": "Optional. Whether to create a BAP connection for the connector.",
          "type": "boolean"
        },
        "actionParams": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. Action parameters in structured json format."
        },
        "customerManagedScopes": {
          "type": "array",
          "description": "Optional. Customer-supplied OAuth scopes for connectors that opt into customer- managed scopes via ConnectorSource.enable_customer_managed_scopes. When non-empty on an opted-in connector, this list **replaces** the connector's built-in per-tool scopes: the OAuth authorization URL requests exactly these scopes for every operation, and the built-in scopes are never merged in. Ignored for connectors that do not opt in.",
          "items": {
            "type": "string"
          }
        },
        "isActionConfigured": {
          "description": "Output only. The connector contains the necessary parameters and is configured to support actions.",
          "type": "boolean",
          "readOnly": true
        },
        "jsonActionParams": {
          "description": "Optional. Action parameters in json string format.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaActionConfig",
      "description": "Informations to support actions on the connector."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode",
      "description": "Code generated by the model that is meant to be executed by the model.",
      "properties": {
        "code": {
          "type": "string",
          "description": "Required. The code content. Currently only supports Python."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries": {
      "properties": {
        "userTriggeredCrawlRate": {
          "$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries",
          "description": "Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users."
        },
        "autoRefreshCrawlErrorRate": {
          "description": "Vertex AI's error rate time series of auto-refresh dedicated crawl.",
          "$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries"
        },
        "userTriggeredCrawlErrorRate": {
          "$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries",
          "description": "Vertex AI's error rate time series of user triggered dedicated crawl."
        },
        "autoRefreshCrawlRate": {
          "description": "Vertex AI's dedicated crawl rate time series of auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the crawl rate is for best effort use cases like refreshing urls periodically.",
          "$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries"
        }
      },
      "description": "The historical dedicated crawl rate timeseries data, used for monitoring. Dedicated crawl is used by Vertex AI to crawl the user's website when dedicate crawl is set.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries"
    },
    "GoogleApiMonitoredResourceMetadata": {
      "description": "Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.",
      "type": "object",
      "id": "GoogleApiMonitoredResourceMetadata",
      "properties": {
        "systemLabels": {
          "description": "Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including \"machine_image\", \"vpc\", \"subnet_id\", \"security_group\", \"name\", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { \"name\": \"my-test-instance\", \"security_group\": [\"a\", \"b\", \"c\"], \"spot_instance\": false }",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "userLabels": {
          "type": "object",
          "description": "Output only. A map of user-defined metadata labels.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaBigtableOptions": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBigtableOptions",
      "properties": {
        "keyFieldName": {
          "description": "The field name used for saving row key value in the document. The name has to match the pattern `a-zA-Z0-9*`.",
          "type": "string"
        },
        "families": {
          "description": "The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily"
          },
          "type": "object"
        }
      },
      "description": "The Bigtable Options object that contains information to support the import."
    },
    "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest": {
      "properties": {
        "schema": {
          "description": "Optional. If not provided, the current Schema is used. If provided, validates and updates the Schema. If validation fails, an error is returned.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "documentDataMap": {
          "description": "Document data keyed by URI pattern. Each entry must be consistent with the Schema. For example: Schema = { \"type\": \"object\", \"properties\": { \"Categories\": { \"type\": \"array\", \"items\": { \"retrievable\": true, \"type\": \"string\" } } } document_data_map = { \"www.url1.com/*\": { \"Categories\": [\"category1\", \"category2\"] }, \"www.url2.com/*\": { \"Categories\": [\"category3\"] } }",
          "additionalProperties": {
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            },
            "type": "object"
          },
          "type": "object"
        },
        "emptyDocumentDataMap": {
          "type": "boolean",
          "description": "If true, clears the document data map. If true, SetUriPatternDocumentDataRequest.document_data_map must be empty."
        }
      },
      "description": "Request message for SiteSearchEngineService.SetUriPatternDocumentData method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaCitation": {
      "type": "object",
      "description": "Source attributions for content.",
      "properties": {
        "license": {
          "type": "string",
          "description": "Output only. License of the attribution.",
          "readOnly": true
        },
        "uri": {
          "description": "Output only. Url reference of the attribution.",
          "type": "string",
          "readOnly": true
        },
        "endIndex": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "Output only. End index into the content."
        },
        "startIndex": {
          "readOnly": true,
          "description": "Output only. Start index into the content.",
          "type": "integer",
          "format": "int32"
        },
        "publicationDate": {
          "readOnly": true,
          "description": "Output only. Publication date of the attribution.",
          "$ref": "GoogleTypeDate"
        },
        "title": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Title of the attribution."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCitation"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer": {
      "properties": {
        "content": {
          "description": "Extractive answer content.",
          "type": "string"
        },
        "pageIdentifier": {
          "description": "Page identifier.",
          "type": "string"
        }
      },
      "description": "Extractive answer. [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#get-answers)",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig": {
      "description": "Feature config for the Knowledge Graph.",
      "id": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig",
      "properties": {
        "disablePrivateKgQueryUiChips": {
          "description": "Whether to disable the private KG for query UI chips. Defaults to false if not specified.",
          "type": "boolean"
        },
        "disablePrivateKgEnrichment": {
          "description": "Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "disablePrivateKgAutoComplete": {
          "description": "Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "disablePrivateKgQueryUnderstanding": {
          "type": "boolean",
          "description": "Whether to disable the private KG query understanding for the engine. Defaults to false if not specified."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata": {
      "type": "object",
      "description": "Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest",
      "properties": {
        "dataStore": {
          "type": "string",
          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned."
        },
        "filterGroups": {
          "description": "Required. Names of the Group resources to use as a basis for the patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Request for DataStoreService.AddPatientFilter method."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantToolInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantToolInfo",
      "description": "Information to identify a tool.",
      "type": "object",
      "properties": {
        "toolDisplayName": {
          "type": "string",
          "description": "The display name of the tool."
        },
        "toolName": {
          "description": "The name of the tool as defined by DataConnectorService.QueryAvailableActions. Note: it's using `action` in the DataConnectorService apis, but they are the same as the `tool` here.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus": {
      "description": "Per-model Agent Search TPM subscription status. One entry per active `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent Search TPM subscription instead of to the overall customer-configurable- pricing relationship. This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, model_version), so each model has its own activation, termination, and deferred-update clock; surfacing that on the response gives customers the granularity they need to manage per-model commitments independently. QPM / IndexingCore differ — their storage is one row per (project, location), so their lifecycle is represented only by the whole- relationship scalars on ConfigurableBillingStatus.",
      "properties": {
        "tpmThresholdNextUpdateTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update."
        },
        "updateType": {
          "enumDescriptions": [
            "Unspecified update type.",
            "Configurable billing was created/enabled.",
            "Configurable billing was deleted/disabled.",
            "Subscription was scaled up (thresholds increased).",
            "Subscription was scaled down (thresholds decreased)."
          ],
          "enum": [
            "UPDATE_TYPE_UNSPECIFIED",
            "CREATE",
            "DELETE",
            "SCALE_UP",
            "SCALE_DOWN"
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` reflects an earlier update). The whole-relationship `update_type` on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together)."
        },
        "terminateTime": {
          "readOnly": true,
          "description": "Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down.",
          "format": "google-datetime",
          "type": "string"
        },
        "modelVersion": {
          "description": "Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).",
          "type": "string",
          "readOnly": true
        },
        "startTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship."
        },
        "effectiveTpmThreshold": {
          "description": "Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching `effective_search_qpm_threshold` semantics.",
          "type": "string",
          "readOnly": true,
          "format": "int64"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult": {
      "type": "object",
      "description": "Customer policy enforcement result for the Model Armor policy.",
      "properties": {
        "error": {
          "$ref": "GoogleRpcStatus",
          "description": "The error returned by Model Armor if the policy enforcement failed for some reason."
        },
        "modelArmorViolation": {
          "type": "string",
          "description": "The Model Armor violation that was found."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError": {
      "description": "A google drive specific error.",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError",
      "properties": {
        "downloadPrevented": {
          "description": "The user was prevented from downloading the file.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue": {
      "id": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue",
      "type": "object",
      "properties": {
        "fhirResource": {
          "description": "Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}",
          "type": "string"
        },
        "uri": {
          "description": "If match by URI, the URI of the Document.",
          "type": "string"
        }
      },
      "description": "The value of the matcher that was used to match the Document."
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation": {
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation",
      "properties": {
        "websiteDataSize": {
          "description": "Data size for websites in terms of bytes.",
          "type": "string",
          "format": "int64"
        },
        "websiteDataUpdateTime": {
          "type": "string",
          "description": "Last updated timestamp for websites.",
          "format": "google-datetime"
        },
        "structuredDataUpdateTime": {
          "description": "Last updated timestamp for structured data.",
          "type": "string",
          "format": "google-datetime"
        },
        "unstructuredDataSize": {
          "format": "int64",
          "description": "Data size for unstructured data in terms of bytes.",
          "type": "string"
        },
        "unstructuredDataUpdateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Last updated timestamp for unstructured data."
        },
        "structuredDataSize": {
          "format": "int64",
          "description": "Data size for structured data in terms of bytes.",
          "type": "string"
        }
      },
      "description": "Estimation of data size per data store.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1WorkspaceConfig": {
      "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig",
      "properties": {
        "dasherCustomerId": {
          "type": "string",
          "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.",
          "readOnly": true
        },
        "superAdminServiceAccount": {
          "type": "string",
          "description": "Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion."
        },
        "superAdminEmailAddress": {
          "description": "Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.",
          "type": "string"
        },
        "type": {
          "enumDescriptions": [
            "Defaults to an unspecified Workspace type.",
            "Workspace Data Store contains Drive data",
            "Workspace Data Store contains Mail data",
            "Workspace Data Store contains Sites data",
            "Workspace Data Store contains Calendar data",
            "Workspace Data Store contains Chat data",
            "Workspace Data Store contains Groups data",
            "Workspace Data Store contains Keep data",
            "Workspace Data Store contains People data",
            "Workspace Data Store contains all Workspace apps data"
          ],
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "GOOGLE_DRIVE",
            "GOOGLE_MAIL",
            "GOOGLE_SITES",
            "GOOGLE_CALENDAR",
            "GOOGLE_CHAT",
            "GOOGLE_GROUPS",
            "GOOGLE_KEEP",
            "GOOGLE_PEOPLE",
            "GOOGLE_WORKSPACE"
          ],
          "description": "The Google Workspace data source."
        }
      },
      "description": "Config to store data store type configuration for workspace data",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1CreateSchemaMetadata": {
      "description": "Metadata for Create Schema LRO.",
      "id": "GoogleCloudDiscoveryengineV1CreateSchemaMetadata",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDataStore": {
      "description": "DataStore captures global settings and configs at the DataStore level.",
      "id": "GoogleCloudDiscoveryengineV1betaDataStore",
      "properties": {
        "displayName": {
          "description": "Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "configurableBillingApproach": {
          "description": "Optional. Configuration for configurable billing approach. See",
          "type": "string",
          "enum": [
            "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED",
            "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE",
            "CONFIGURABLE_CONSUMPTION_EMBEDDING"
          ],
          "enumDescriptions": [
            "Default value. For Spark and non-Spark non-configurable billing approach.",
            "Use the subscription base + overage billing for indexing core for non embedding storage.",
            "Use the consumption pay-as-you-go billing for embedding storage add-on."
          ]
        },
        "isInfobotFaqDataStore": {
          "description": "Optional. If set, this DataStore is an Infobot FAQ DataStore.",
          "type": "boolean"
        },
        "billingEstimation": {
          "description": "Output only. Data size estimation for billing.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation",
          "readOnly": true
        },
        "languageInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1betaLanguageInfo",
          "description": "Language info for DataStore."
        },
        "advancedSiteSearchConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig",
          "description": "Optional. Configuration for advanced site search."
        },
        "configurableBillingApproachUpdateTime": {
          "description": "Output only. The timestamp when configurable_billing_approach was last updated.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "workspaceConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig",
          "description": "Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE."
        },
        "documentProcessingConfig": {
          "description": "Configuration for Document understanding and enrichment.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig"
        },
        "federatedSearchConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig",
          "description": "Optional. If set, this DataStore is a federated search DataStore."
        },
        "dataProtectionPolicy": {
          "description": "Optional. Specifies the data protection policy for the data store.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataProtectionPolicy"
        },
        "industryVertical": {
          "description": "Immutable. The industry vertical that the data store registers.",
          "type": "string",
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ],
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ]
        },
        "defaultSchemaId": {
          "type": "string",
          "description": "Output only. The id of the default Schema associated to this data store.",
          "readOnly": true
        },
        "contentConfig": {
          "enumDescriptions": [
            "Default value.",
            "Only contains documents without any Document.content.",
            "Only contains documents with Document.content.",
            "The data store is used for public website search.",
            "The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig."
          ],
          "description": "Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.",
          "type": "string",
          "enum": [
            "CONTENT_CONFIG_UNSPECIFIED",
            "NO_CONTENT",
            "CONTENT_REQUIRED",
            "PUBLIC_WEBSITE",
            "GOOGLE_WORKSPACE"
          ]
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. Timestamp the DataStore was created at."
        },
        "servingConfigDataStore": {
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore",
          "description": "Optional. Stores serving config at DataStore level."
        },
        "aclEnabled": {
          "type": "boolean",
          "description": "Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config."
        },
        "kmsKeyName": {
          "description": "Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.",
          "type": "string"
        },
        "solutionTypes": {
          "description": "The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SOLUTION_TYPE_UNSPECIFIED",
              "SOLUTION_TYPE_RECOMMENDATION",
              "SOLUTION_TYPE_SEARCH",
              "SOLUTION_TYPE_CHAT",
              "SOLUTION_TYPE_GENERATIVE_CHAT",
              "SOLUTION_TYPE_AI_MODE"
            ],
            "enumDescriptions": [
              "Default value.",
              "Used for Recommendations AI.",
              "Used for Discovery Search.",
              "Used for use cases related to the Generative AI agent.",
              "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
              "Used for AI Mode."
            ]
          }
        },
        "naturalLanguageQueryUnderstandingConfig": {
          "description": "Optional. Configuration for Natural Language Query Understanding.",
          "$ref": "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig"
        },
        "startingSchema": {
          "description": "The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).",
          "$ref": "GoogleCloudDiscoveryengineV1betaSchema"
        },
        "healthcareFhirConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig",
          "description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical."
        },
        "cmekConfig": {
          "description": "Output only. CMEK-related information for the DataStore.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1betaCmekConfig"
        },
        "name": {
          "description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "identityMappingStore": {
          "description": "Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings",
      "description": "Describes widget UI branding settings.",
      "type": "object",
      "properties": {
        "logo": {
          "description": "Logo image.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigImage"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1SingleRegionKey": {
      "type": "object",
      "properties": {
        "kmsKey": {
          "type": "string",
          "description": "Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1SingleRegionKey",
      "description": "Metadata for single-regional CMEKs."
    },
    "GoogleCloudDiscoveryengineLoggingSourceLocation": {
      "id": "GoogleCloudDiscoveryengineLoggingSourceLocation",
      "description": "Indicates a location in the source code of the service for which errors are reported.",
      "properties": {
        "functionName": {
          "type": "string",
          "description": "Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRequirement": {
      "description": "A data requirement.",
      "id": "GoogleCloudDiscoveryengineV1alphaRequirement",
      "properties": {
        "severity": {
          "description": "The severity of errors if the requirement is not met. It must be ordered from the most strict to the least strict. Examples: * `BLOCKING` * `CRITICAL` * `WARNING` All thresholds in the requirement must have all the severity here.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "thresholdBindings": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding"
          },
          "type": "array",
          "description": "A list of threshold bindings to be used in `condition`."
        },
        "metricBindings": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding"
          },
          "type": "array",
          "description": "A list of the metric bindings to be used in `condition`."
        },
        "description": {
          "type": "string",
          "description": "The description of the requirement."
        },
        "violationSamplesBindings": {
          "type": "array",
          "description": "A list of the metric bindings to be used in `condition`.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding"
          }
        },
        "type": {
          "description": "The requirement type, used as an identifier. Must be unique. The type should prefix with service name to avoid possible collision. It's encouraged to use natural hierarchical grouping for similar requirements. Examples: * `library.googleapis.com/books/min_available_books` * `discoveryengine.googleapis.com/media_rec/recommended_for_you/conversion_rate`",
          "type": "string"
        },
        "condition": {
          "$ref": "GoogleTypeExpr",
          "description": "The condition for evaluating the requirement result. Variables in the expression should be provided by `metrics_bindings` or `threshold_bindings`. Where `metrics_bindings` are used for computed metrics and `threshold_bindings` are used to define thresholds for corresponding `metric_bindings`."
        },
        "displayName": {
          "description": "The name of the requirement.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata",
      "description": "Metadata related to the progress of the EstimateDataSize operation. This is returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata": {
      "type": "object",
      "properties": {
        "title": {
          "description": "Title.",
          "type": "string"
        },
        "mimeType": {
          "description": "The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.",
          "type": "string"
        },
        "domain": {
          "type": "string",
          "description": "Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site."
        },
        "pageIdentifier": {
          "description": "Page identifier.",
          "type": "string"
        },
        "language": {
          "type": "string",
          "enum": [
            "LANGUAGE_UNSPECIFIED",
            "PYTHON",
            "SQL"
          ],
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        },
        "uri": {
          "description": "URI for the document. It may contain a URL that redirects to the actual website.",
          "type": "string"
        },
        "document": {
          "type": "string",
          "description": "Document resource name."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata",
      "description": "Document metadata."
    },
    "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig": {
      "id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig",
      "description": "Custom threshold for `cvr` optimization_objective.",
      "properties": {
        "targetField": {
          "description": "Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.",
          "type": "string"
        },
        "targetFieldValueFloat": {
          "format": "float",
          "description": "Required. The threshold to be applied to the target (e.g., 0.5).",
          "type": "number"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig": {
      "description": "Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.",
      "properties": {
        "business": {
          "type": "string",
          "description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search."
        },
        "location": {
          "description": "Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.",
          "type": "string"
        },
        "defaultLanguageCode": {
          "description": "Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.",
          "type": "string"
        },
        "timeZone": {
          "description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern": {
      "id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern",
      "type": "object",
      "properties": {
        "providedUriPattern": {
          "description": "User provided URI pattern. For example, `foo.com/bar/*`.",
          "type": "string"
        },
        "exactMatch": {
          "description": "Whether we infer the generated URI or use the exact provided one.",
          "type": "boolean"
        },
        "exclusive": {
          "description": "Whether the pattern is exclusive or not. If set to true, the pattern is considered exclusive. If unset or set to false, the pattern is considered inclusive by default.",
          "type": "boolean"
        }
      },
      "description": "URI patterns that we use to crawl."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData",
      "description": "End user metadata.",
      "type": "object",
      "properties": {
        "chunkInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo",
          "description": "Chunk information."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata": {
      "type": "object",
      "description": "User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).",
      "properties": {
        "author": {
          "type": "string",
          "description": "Optional. The party that authored the connector, e.g. \"Google\" or a third-party provider name. Lets end users see who authored a connector."
        },
        "shortDescription": {
          "description": "Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).",
          "type": "string"
        },
        "title": {
          "description": "Optional. Display title of the connector.",
          "type": "string"
        },
        "note": {
          "type": "string",
          "description": "Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector."
        },
        "description": {
          "description": "Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata"
    },
    "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse": {
      "id": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse",
      "type": "object",
      "properties": {
        "purgeSucceeded": {
          "description": "Whether the completion suggestions were successfully purged.",
          "type": "boolean"
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "A sample of errors encountered while processing the request."
        }
      },
      "description": "Response message for CompletionService.PurgeCompletionSuggestions method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field."
    },
    "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig": {
      "description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.",
      "id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig",
      "type": "object",
      "properties": {
        "failureMode": {
          "type": "string",
          "enum": [
            "FAILURE_MODE_UNSPECIFIED",
            "FAIL_OPEN",
            "FAIL_CLOSED"
          ],
          "enumDescriptions": [
            "Unspecified failure mode, default behavior is `FAIL_CLOSED`.",
            "In case of a Model Armor processing failure, the request is allowed to proceed without any changes.",
            "In case of a Model Armor processing failure, the request is rejected."
          ],
          "description": "Optional. Defines the failure mode for Model Armor sanitization."
        },
        "responseTemplate": {
          "type": "string",
          "description": "Optional. The resource name of the Model Armor template for sanitizing assistant responses. Format: `projects/{project}/locations/{location}/templates/{template_id}` If not specified, no sanitization will be applied to the assistant response."
        },
        "userPromptTemplate": {
          "type": "string",
          "description": "Optional. The resource name of the Model Armor template for sanitizing user prompts. Format: `projects/{project}/locations/{location}/templates/{template_id}` If not specified, no sanitization will be applied to the user prompt."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse": {
      "description": "Response message for CompletionService.CompleteQuery method.",
      "id": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse",
      "type": "object",
      "properties": {
        "querySuggestions": {
          "description": "Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion"
          }
        },
        "tailMatchTriggered": {
          "description": "True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries": {
      "id": "GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries",
      "properties": {
        "googleOrganicCrawlRate": {
          "description": "Google's organic crawl rate time series, which is the sum of all googlebots' crawl rate. Please refer to https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers for more details about googlebots.",
          "$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries"
        },
        "vertexAiOrganicCrawlRate": {
          "description": "Vertex AI's organic crawl rate time series, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. Please refer to https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot for more details about Google-CloudVertexBot.",
          "$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries"
        }
      },
      "type": "object",
      "description": "The historical organic crawl rate timeseries data, used for monitoring. Organic crawl is auto-determined by Google to crawl the user's website when dedicate crawl is not set. Crawl rate is the QPS of crawl request Google sends to the user's website."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec": {
      "type": "object",
      "properties": {
        "field": {
          "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.",
          "type": "string"
        },
        "maxCount": {
          "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.",
          "type": "integer",
          "format": "int32"
        },
        "mode": {
          "enumDescriptions": [
            "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.",
            "Drop crowded results.",
            "Demote crowded results to the later pages."
          ],
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "DROP_CROWDED_RESULTS",
            "DEMOTE_CROWDED_RESULTS_TO_END"
          ],
          "description": "Mode to use for documents that are crowded away."
        }
      },
      "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest": {
      "properties": {
        "engine": {
          "description": "Optional. The engine resource name (e.g. \"projects/{project}/locations/{location}/collections/{collection}/engines/{engine}\"). Used as the search engine id when invoking tool registry tools that issue Discovery Search Service requests.",
          "type": "string"
        },
        "toolSpecVersion": {
          "description": "Optional. The tool spec version to resolve the connector's tool surface against. This corresponds to the connector's BAP tool spec file name (e.g. \"v2\", \"v5.2\"). When unset, the server uses its default (latest) tool spec for the connector. Applies to all methods (e.g. \"tools/list\" and \"tools/call\").",
          "type": "string"
        },
        "method": {
          "description": "Required. The method to invoke (e.g. \"tools/list\", \"tools/call\", \"resources/read\", \"prompts/get\", etc.).",
          "type": "string"
        },
        "params": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. Arbitrary structured parameters for the method. Using google.protobuf.Struct keeps the payload schema-flexible, matching JSON-RPC's free-form `params` field.",
          "type": "object"
        }
      },
      "description": "Request message for making a call to an MCP connector. It carries the connector name, the method to invoke, and optional parameters.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked": {
      "properties": {},
      "description": "Indicates that the source MIME type is blocked.",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig",
      "description": "Configuration data for advance site search.",
      "properties": {
        "disableAutomaticRefresh": {
          "description": "If set true, automatic refresh is disabled for the DataStore.",
          "type": "boolean"
        },
        "disableInitialIndex": {
          "type": "boolean",
          "description": "If set true, initial indexing is disabled for the DataStore."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries": {
      "description": "The historical crawl rate timeseries data, used for monitoring.",
      "id": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries",
      "type": "object",
      "properties": {
        "qpsTimeSeries": {
          "$ref": "GoogleMonitoringV3TimeSeries",
          "description": "The QPS of the crawl rate."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec": {
      "type": "object",
      "properties": {
        "interpolationType": {
          "description": "The interpolation type to be applied to connect the control points listed below.",
          "type": "string",
          "enum": [
            "INTERPOLATION_TYPE_UNSPECIFIED",
            "LINEAR"
          ],
          "enumDescriptions": [
            "Interpolation type is unspecified. In this case, it defaults to Linear.",
            "Piecewise linear interpolation will be applied."
          ]
        },
        "fieldName": {
          "description": "The name of the field whose value will be used to determine the boost amount.",
          "type": "string"
        },
        "attributeType": {
          "description": "The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).",
          "enumDescriptions": [
            "Unspecified AttributeType.",
            "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.",
            "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`."
          ],
          "type": "string",
          "enum": [
            "ATTRIBUTE_TYPE_UNSPECIFIED",
            "NUMERICAL",
            "FRESHNESS"
          ]
        },
        "controlPoints": {
          "description": "The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec",
      "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above."
    },
    "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse": {
      "description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse",
      "properties": {
        "userLicenses": {
          "description": "UserLicenses successfully updated.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense"
          }
        },
        "errorSamples": {
          "type": "array",
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse",
      "description": "Response message for CompletionService.RemoveSuggestion method.",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec",
      "description": "Specification of each suggestion type.",
      "type": "object",
      "properties": {
        "maxSuggestions": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Maximum number of suggestions to return for each suggestion type."
        },
        "suggestionType": {
          "type": "string",
          "enum": [
            "SUGGESTION_TYPE_UNSPECIFIED",
            "QUERY",
            "PEOPLE",
            "CONTENT",
            "RECENT_SEARCH",
            "GOOGLE_WORKSPACE"
          ],
          "enumDescriptions": [
            "Default value.",
            "Returns query suggestions.",
            "Returns people suggestions.",
            "Returns content suggestions.",
            "Returns recent search suggestions.",
            "Returns Google Workspace suggestions."
          ],
          "description": "Optional. Suggestion type."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse": {
      "description": "Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.",
      "properties": {},
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting": {
      "properties": {
        "shortcuts": {
          "description": "Optional. The shortcuts to display on the homepage.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut"
          }
        }
      },
      "type": "object",
      "description": "Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts.",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec",
      "description": "The specification that uses customized query embedding vector to do semantic document retrieval.",
      "type": "object",
      "properties": {
        "embeddingVectors": {
          "description": "The embedding vector used for retrieval. Limit to 1.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPrincipal": {
      "properties": {
        "externalEntityId": {
          "description": "For 3P application identities which are not present in the customer identity provider.",
          "type": "string"
        },
        "userId": {
          "type": "string",
          "description": "User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config."
        },
        "groupId": {
          "description": "Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaPrincipal",
      "description": "Principal identifier of a user or a group.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DeleteSitemapMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object",
      "description": "Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1DeleteSitemapMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponse": {
      "description": "Response message for SearchService.Search method.",
      "properties": {
        "results": {
          "description": "A list of matched documents. The order represents the ranking.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult"
          }
        },
        "queryExpansionInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo",
          "description": "Query expansion information for the returned results."
        },
        "semanticState": {
          "enum": [
            "SEMANTIC_STATE_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "Default value. Should not be used.",
            "Semantic search was disabled for this search response.",
            "Semantic search was enabled for this search response."
          ],
          "type": "string",
          "description": "Output only. Indicates the semantic state of the search response."
        },
        "attributionToken": {
          "type": "string",
          "description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. This also helps to identify a request during the customer support scenarios."
        },
        "summary": {
          "description": "A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary"
        },
        "correctedQuery": {
          "type": "string",
          "description": "Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search."
        },
        "geoSearchDebugInfo": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo"
          },
          "type": "array"
        },
        "sessionInfo": {
          "description": "Session information. Only set if SearchRequest.session is provided. See its description for more details.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo"
        },
        "redirectUri": {
          "type": "string",
          "description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response."
        },
        "oneBoxResults": {
          "type": "array",
          "description": "A list of One Box results. There can be multiple One Box results of different types.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult"
          }
        },
        "facets": {
          "description": "Results of facets requested by user.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseFacet"
          }
        },
        "guidedSearchResult": {
          "description": "Guided search result.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        },
        "appliedControls": {
          "type": "array",
          "description": "Optional. Controls applied as part of the Control service.",
          "items": {
            "type": "string"
          }
        },
        "naturalLanguageQueryUnderstandingInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo",
          "description": "Output only. Natural language query understanding information for the returned results.",
          "readOnly": true
        },
        "totalSize": {
          "description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.",
          "format": "int32",
          "type": "integer"
        },
        "suggestedQuery": {
          "description": "Corrected query with low confidence, AKA did you mean query. Compared with corrected_query, this field is set when SpellCorrector returned a response, but FPR(full page replacement) is not triggered because the corrction is of low confidence(eg, reversed because there are matches of the original query in document corpus).",
          "type": "string"
        },
        "searchLinkPromotions": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion"
          },
          "type": "array",
          "description": "Promotions for site search."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaUserContent": {
      "properties": {
        "textContent": {
          "description": "The text content uploaded as source.",
          "$ref": "GoogleCloudNotebooklmV1alphaUserContentTextContent"
        },
        "agentspaceContent": {
          "description": "Agentspace content uploaded as source.",
          "$ref": "GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent"
        },
        "googleDriveContent": {
          "$ref": "GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent",
          "description": "The content from Google Drive."
        },
        "videoContent": {
          "description": "The video content uploaded as source.",
          "$ref": "GoogleCloudNotebooklmV1alphaUserContentVideoContent"
        },
        "webContent": {
          "$ref": "GoogleCloudNotebooklmV1alphaUserContentWebContent",
          "description": "The web content uploaded as source."
        }
      },
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaUserContent",
      "description": "The \"Content\" messages refer to data the user wants to upload."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource",
      "type": "object",
      "description": "Citation source.",
      "properties": {
        "referenceId": {
          "description": "ID of the citation source.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaResumeEngineRequest": {
      "properties": {},
      "id": "GoogleCloudDiscoveryengineV1alphaResumeEngineRequest",
      "type": "object",
      "description": "Request for resuming training of an engine."
    },
    "GoogleLongrunningOperation": {
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "type": "object",
      "properties": {
        "metadata": {
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "type": "object",
          "description": "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."
        },
        "done": {
          "description": "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.",
          "type": "boolean"
        },
        "response": {
          "description": "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`.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          }
        },
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "GoogleRpcStatus"
        },
        "name": {
          "type": "string",
          "description": "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}`."
        }
      },
      "id": "GoogleLongrunningOperation"
    },
    "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse": {
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig"
        }
      },
      "description": "Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
      "id": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig": {
      "properties": {
        "problemDescription": {
          "description": "Required. Description of the problem to be solved by the experiment.",
          "type": "string"
        },
        "generationSettings": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings",
          "description": "Optional. Generation settings for the experiment, controlling how new program candidates are generated, including things LLM parameters and user-provided context and prompts."
        },
        "runSettings": {
          "description": "Required. Run settings for the experiment, controlling the overall behavior of the experiment run.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings"
        },
        "evolutionSettings": {
          "description": "Optional. Evolution settings for the experiment.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings"
        },
        "title": {
          "type": "string",
          "description": "Required. Title of the experiment."
        },
        "programLanguage": {
          "type": "string",
          "description": "Required. Primary programming language of the code being optimized."
        }
      },
      "description": "Configuration of an experiment.",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig",
      "properties": {
        "entitlement": {
          "description": "Required. The Marketplace Entitlement this agent is associated with. Format: `projects/{project}/entitlements/{entitlement}`.",
          "type": "string"
        },
        "order": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The Marketplace Order this agent belongs to. Format: `billingAccounts/{billing_account}/orders/{order}`"
        }
      },
      "description": "Configuration specific to agents that are deployed from Cloud Marketplace."
    },
    "GoogleCloudDiscoveryengineV1alphaEngine": {
      "type": "object",
      "description": "Metadata that describes the training and serving parameters of an Engine.",
      "properties": {
        "modelConfigs": {
          "description": "Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.",
          "type": "object",
          "additionalProperties": {
            "enumDescriptions": [
              "The model state is unspecified.",
              "The model is enabled by admin.",
              "The model is disabled by admin."
            ],
            "type": "string",
            "enum": [
              "MODEL_STATE_UNSPECIFIED",
              "MODEL_ENABLED",
              "MODEL_DISABLED"
            ]
          }
        },
        "observabilityConfig": {
          "description": "Optional. Observability config for the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig"
        },
        "searchEngineConfig": {
          "description": "Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig"
        },
        "procurementContactEmails": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The emails of the procurement contacts."
        },
        "solutionType": {
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ],
          "description": "Required. The solutions of the engine.",
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ]
        },
        "mediaRecommendationEngineConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig",
          "description": "Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical."
        },
        "displayName": {
          "description": "Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.",
          "type": "string"
        },
        "dataStoreIds": {
          "description": "Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "associatedAgentRegistry": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry."
        },
        "sessionConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSessionConfig",
          "description": "Optional. Non-empty default. Session config for the engine."
        },
        "globalFeatureToggleState": {
          "enumDescriptions": [
            "Unspecified feature toggle state. Treated as `GENERAL`.",
            "Gets features and models 4 weeks post GA. Features will be ON at the 4 weeks mark post GA.",
            "Gets features and models 2 weeks post GA. Features will be ON at the 2 weeks mark post GA.",
            "Gets features and models at GA. Features will be ON at GA.",
            "Gets features and models at EAP (if in EAP). Features will only be ON if the project is allowlisted."
          ],
          "description": "Optional. Controls the global feature toggle state for the engine.",
          "type": "string",
          "enum": [
            "GLOBAL_FEATURE_TOGGLE_STATE_UNSPECIFIED",
            "DELAYED",
            "SCHEDULED",
            "GENERAL",
            "EARLY"
          ]
        },
        "name": {
          "description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "configurableBillingApproach": {
          "type": "string",
          "enum": [
            "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED",
            "CONFIGURABLE_BILLING_APPROACH_ENABLED"
          ],
          "enumDescriptions": [
            "Default value. For Spark and non-Spark non-configurable billing approach. General pricing model.",
            "The billing approach follows configurations specified by customer."
          ],
          "description": "Optional. Configuration for configurable billing approach."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. Timestamp the Recommendation Engine was last updated."
        },
        "similarDocumentsConfig": {
          "description": "Additional config specs for a `similar-items` engine.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig"
        },
        "chatEngineMetadata": {
          "description": "Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata",
          "readOnly": true
        },
        "commonConfig": {
          "description": "Common config spec that specifies the metadata of the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineCommonConfig"
        },
        "marketplaceAgentVisibility": {
          "type": "string",
          "enum": [
            "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED",
            "SHOW_AVAILABLE_AGENTS_ONLY",
            "SHOW_AGENTS_ALREADY_INTEGRATED",
            "SHOW_AGENTS_ALREADY_PURCHASED",
            "SHOW_ALL_AGENTS"
          ],
          "description": "Optional. The visibility of marketplace agents in the agent gallery.",
          "enumDescriptions": [
            "Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.",
            "Only agents that are currently available for use by the user are visible.",
            "Show marketplace agents that the user does not yet have access to but are integrated into the engine. This level also includes all agents visible with `SHOW_AVAILABLE_AGENTS_ONLY`.",
            "Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus agents that have already been purchased by the project/organization, even if they are not currently integrated into the engine.",
            "All agents in the marketplace are visible, regardless of access or purchase status. This level encompasses all agents shown in the previous levels."
          ]
        },
        "effectiveFeatures": {
          "readOnly": true,
          "additionalProperties": {
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ],
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ]
          },
          "type": "object",
          "description": "Output only. The complete, server-resolved state of every known feature toggle. Unlike `features`, which stores only explicit admin overrides, this map always contains an entry for every toggle. Clients should read toggle state from this field."
        },
        "appType": {
          "description": "Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.",
          "enumDescriptions": [
            "All non specified apps.",
            "App type for intranet search and Agentspace."
          ],
          "type": "string",
          "enum": [
            "APP_TYPE_UNSPECIFIED",
            "APP_TYPE_INTRANET"
          ]
        },
        "createTime": {
          "type": "string",
          "description": "Output only. Timestamp the Recommendation Engine was created at.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "disableAnalytics": {
          "description": "Optional. Whether to disable analytics for searches performed on this engine.",
          "type": "boolean"
        },
        "knowledgeGraphConfig": {
          "description": "Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig"
        },
        "chatEngineConfig": {
          "description": "Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig"
        },
        "agentGatewaySetting": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting",
          "description": "Optional. The agent gateway setting for the engine."
        },
        "industryVertical": {
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ],
          "type": "string",
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ],
          "description": "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."
        },
        "connectorTenantInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Maps a connector ID (e.g., \"hybrid-github\", \"shopify\") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent."
        },
        "featurePolicies": {
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicy"
          },
          "type": "object",
          "description": "Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature with no entry is available to every user when it is on. Only features that support access policies are accepted."
        },
        "delayedGlobalFeatureToggleStateAllowed": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. Whether the project is allowed to set `global_feature_toggle_state` to `DELAYED`."
        },
        "recommendationMetadata": {
          "description": "Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata",
          "readOnly": true
        },
        "cmekConfig": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig",
          "description": "Output only. CMEK-related information for the Engine."
        },
        "features": {
          "type": "object",
          "additionalProperties": {
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ],
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ]
          },
          "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` * `music-generation` * `speech-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` * `skill-security-scan` * `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` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins`"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngine"
    },
    "GoogleCloudDiscoveryengineV1alphaLicenseConfig": {
      "properties": {
        "subscriptionTerm": {
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TERM_UNSPECIFIED",
            "SUBSCRIPTION_TERM_ONE_MONTH",
            "SUBSCRIPTION_TERM_ONE_YEAR",
            "SUBSCRIPTION_TERM_THREE_YEARS",
            "SUBSCRIPTION_TERM_CUSTOM"
          ],
          "enumDescriptions": [
            "Default value, do not use.",
            "1 month.",
            "1 year.",
            "3 years.",
            "Custom term. Must set the end_date."
          ],
          "description": "Required. Subscription term."
        },
        "alertPolicyResourceConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig",
          "description": "Optional. The alert policy config for this license config."
        },
        "autoRenew": {
          "type": "boolean",
          "description": "Optional. Whether the license config should be auto renewed when it reaches the end date."
        },
        "freeTrial": {
          "type": "boolean",
          "description": "Optional. Whether the license config is for free trial."
        },
        "licenseCount": {
          "description": "Required. Number of licenses purchased.",
          "format": "int64",
          "type": "string"
        },
        "earlyTerminationDate": {
          "readOnly": true,
          "description": "Output only. The date when the subscription is terminated earlier than the expiration date.",
          "$ref": "GoogleTypeDate"
        },
        "startDate": {
          "description": "Required. The start date.",
          "$ref": "GoogleTypeDate"
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "ACTIVE",
            "EXPIRED",
            "NOT_STARTED",
            "WITHDRAWN",
            "DEACTIVATING"
          ],
          "enumDescriptions": [
            "Default value. The license config does not exist.",
            "The license config is effective and being used.",
            "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 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."
          ],
          "type": "string",
          "readOnly": true,
          "description": "Output only. The state of the license config."
        },
        "subscriptionTier": {
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ],
          "description": "Required. Subscription tier information for the license config.",
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ]
        },
        "geminiBundle": {
          "description": "Output only. Whether the license config is for Gemini bundle.",
          "readOnly": true,
          "type": "boolean"
        },
        "name": {
          "description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`",
          "type": "string"
        },
        "earlyTerminated": {
          "readOnly": true,
          "description": "Output only. Indication of whether the subscription is terminated earlier than the expiration date.",
          "type": "boolean"
        },
        "billingAccountLicenseConfig": {
          "description": "Output only. The name of the BillingAccountLicenseConfig from which this LicenseConfig is assigned, if this field is set.",
          "readOnly": true,
          "type": "string"
        },
        "lastUserUpdateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Optional. Timestamp of the most recent user-initiated update (seat count change or subscription term change). Unlike `update_time`, this field is only stamped when a customer explicitly updates the license (e.g. via the UI), and is not touched by system-driven writes (subscription pipeline, BALC propagation, etc.)."
        },
        "endDate": {
          "description": "Optional. The planed end date.",
          "$ref": "GoogleTypeDate"
        }
      },
      "type": "object",
      "description": "Information about users' licenses.",
      "id": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec": {
      "description": "Multimodal specification: Will return an image from specified source. If multiple sources are specified, the pick is a quality based decision.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec",
      "type": "object",
      "properties": {
        "imageSource": {
          "type": "string",
          "enum": [
            "IMAGE_SOURCE_UNSPECIFIED",
            "ALL_AVAILABLE_SOURCES",
            "CORPUS_IMAGE_ONLY",
            "FIGURE_GENERATION_ONLY"
          ],
          "description": "Optional. Source of image returned in the answer.",
          "enumDescriptions": [
            "Unspecified image source (multimodal feature is disabled by default).",
            "Behavior when service determines the pick from all available sources.",
            "Includes image from corpus in the answer.",
            "Triggers figure generation in the answer."
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ActionConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1ActionConfig",
      "description": "Informations to support actions on the connector.",
      "properties": {
        "jsonActionParams": {
          "description": "Optional. Action parameters in json string format.",
          "type": "string"
        },
        "isActionConfigured": {
          "type": "boolean",
          "description": "Output only. The connector contains the necessary parameters and is configured to support actions.",
          "readOnly": true
        },
        "serviceName": {
          "type": "string",
          "description": "Optional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled."
        },
        "useStaticSecrets": {
          "type": "boolean",
          "description": "Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored."
        },
        "actionParams": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. Action parameters in structured json format.",
          "type": "object"
        },
        "createBapConnection": {
          "type": "boolean",
          "description": "Optional. Whether to create a BAP connection for the connector."
        },
        "customerManagedScopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. Customer-supplied OAuth scopes for connectors that opt into customer- managed scopes via ConnectorSource.enable_customer_managed_scopes. When non-empty on an opted-in connector, this list **replaces** the connector's built-in per-tool scopes: the OAuth authorization URL requests exactly these scopes for every operation, and the built-in scopes are never merged in. Ignored for connectors that do not opt in."
        },
        "userDefinedScopesMapping": {
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1ActionConfigScopeList"
          },
          "type": "object",
          "description": "Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaFileView": {
      "id": "GoogleCloudDiscoveryengineV1alphaFileView",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Output only. MIME type (e.g., \"image/jpeg\", \"image/png\", \"text/plain\", \"video/mp4\")",
          "type": "string",
          "readOnly": true
        },
        "imageCharacteristics": {
          "readOnly": true,
          "description": "Output only. Characteristics of an image media view.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImageCharacteristics"
        },
        "viewId": {
          "description": "Output only. Globally Unique id for this specific view.",
          "readOnly": true,
          "type": "string"
        },
        "byteSize": {
          "type": "string",
          "readOnly": true,
          "format": "int64",
          "description": "Output only. The size of the view in bytes."
        },
        "uri": {
          "readOnly": true,
          "description": "Output only. The URI to access this media view.",
          "type": "string"
        },
        "fileCharacteristics": {
          "description": "Output only. Characteristics of other file types.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaFileCharacteristics"
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. The time the view was created.",
          "readOnly": true,
          "type": "string"
        },
        "videoCharacteristics": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaVideoCharacteristics",
          "description": "Output only. Characteristics of a video media view.",
          "readOnly": true
        }
      },
      "description": "Represents a specific alternate version or \"view\" of a file object, such as a summary, a thumbnail, a translated version, etc."
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation",
      "description": "Estimation of data size per data store.",
      "properties": {
        "structuredDataSize": {
          "type": "string",
          "description": "Data size for structured data in terms of bytes.",
          "format": "int64"
        },
        "websiteDataSize": {
          "format": "int64",
          "type": "string",
          "description": "Data size for websites in terms of bytes."
        },
        "structuredDataUpdateTime": {
          "format": "google-datetime",
          "description": "Last updated timestamp for structured data.",
          "type": "string"
        },
        "unstructuredDataUpdateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Last updated timestamp for unstructured data."
        },
        "unstructuredDataSize": {
          "format": "int64",
          "description": "Data size for unstructured data in terms of bytes.",
          "type": "string"
        },
        "websiteDataUpdateTime": {
          "type": "string",
          "description": "Last updated timestamp for websites.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchLinkPromotion": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchLinkPromotion",
      "description": "Promotion proto includes uri and other helping information to display the promotion.",
      "properties": {
        "description": {
          "type": "string",
          "description": "Optional. The Promotion description. Maximum length: 200 characters."
        },
        "title": {
          "description": "Required. The title of the promotion. Maximum length: 160 characters.",
          "type": "string"
        },
        "uri": {
          "description": "Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.",
          "type": "string"
        },
        "enabled": {
          "description": "Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.",
          "type": "boolean"
        },
        "document": {
          "type": "string",
          "description": "Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri."
        },
        "imageUri": {
          "description": "Optional. The promotion thumbnail image url.",
          "type": "string"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed": {
      "properties": {},
      "description": "Could not detect language of the file (it may not be speech).",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaVideoCharacteristics": {
      "properties": {
        "audioBitrateKbps": {
          "format": "int32",
          "description": "Output only. Bitrate of the audio in kbps.",
          "type": "integer",
          "readOnly": true
        },
        "width": {
          "type": "integer",
          "readOnly": true,
          "description": "Output only. Video width in pixels.",
          "format": "int32"
        },
        "frameRate": {
          "description": "Output only. Frame rate (frames per second).",
          "format": "double",
          "type": "number",
          "readOnly": true
        },
        "audioCodecs": {
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. Audio codecs used in the video."
        },
        "videoCodecs": {
          "description": "Output only. Video codecs used in the video.",
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string"
          }
        },
        "duration": {
          "readOnly": true,
          "type": "string",
          "format": "google-duration",
          "description": "Output only. Video duration."
        },
        "videoBitrateKbps": {
          "readOnly": true,
          "description": "Output only. Bitrate of the video in kbps.",
          "type": "integer",
          "format": "int32"
        },
        "height": {
          "readOnly": true,
          "description": "Output only. Video height in pixels.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaVideoCharacteristics",
      "description": "Standard characteristics of a video media view.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec": {
      "description": "Specification of the model.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec",
      "properties": {
        "version": {
          "description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata": {
      "description": "Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "updateTime": {
          "description": "ImportSampleQueries operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        },
        "totalCount": {
          "type": "string",
          "format": "int64",
          "description": "Total count of SampleQuerys that were processed."
        },
        "createTime": {
          "description": "ImportSampleQueries operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "successCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of SampleQuerys successfully imported."
        },
        "failureCount": {
          "format": "int64",
          "description": "Count of SampleQuerys that failed to be imported.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata"
    },
    "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig": {
      "id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig",
      "properties": {
        "recommendedForYouConfig": {
          "description": "Recommended for you engine feature config.",
          "$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig"
        },
        "mostPopularConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig",
          "description": "Most popular engine feature config."
        }
      },
      "type": "object",
      "description": "More feature configs of the selected engine type."
    },
    "GoogleCloudDiscoveryengineV1EngineChatEngineMetadata": {
      "description": "Additional information of a Chat Engine. Fields in this message are output only.",
      "properties": {
        "dialogflowAgent": {
          "description": "The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1EngineChatEngineMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy": {
      "type": "object",
      "properties": {
        "policy": {
          "description": "Optional. The Sensitive Data Protection policy resource name.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy",
      "description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy."
    },
    "GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig",
      "properties": {
        "workforcePoolName": {
          "type": "string",
          "description": "Workforce pool name. Example: \"locations/global/workforcePools/pool_id\""
        }
      },
      "description": "Third party IDP Config."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata": {
      "type": "object",
      "properties": {
        "segments": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment"
          },
          "description": "Grounding information for parts of the text."
        },
        "visualSegments": {
          "description": "Grounding information for parts of the visual content.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment"
          },
          "type": "array"
        },
        "references": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference"
          },
          "description": "References for the grounded text.",
          "type": "array"
        }
      },
      "description": "Grounding details for text sources.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata"
    },
    "GoogleApiDistributionBucketOptionsLinear": {
      "type": "object",
      "id": "GoogleApiDistributionBucketOptionsLinear",
      "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 \u003c= i \u003c N-1): offset + (width * i). Lower bound (1 \u003c= i \u003c N): offset + (width * (i - 1)).",
      "properties": {
        "numFiniteBuckets": {
          "description": "Must be greater than 0.",
          "type": "integer",
          "format": "int32"
        },
        "offset": {
          "type": "number",
          "format": "double",
          "description": "Lower bound of the first bucket."
        },
        "width": {
          "description": "Must be greater than 0.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudDiscoveryengineLoggingServiceContext": {
      "description": "Describes a running service that sends errors.",
      "type": "object",
      "properties": {
        "service": {
          "description": "An identifier of the service—for example, `discoveryengine.googleapis.com`.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineLoggingServiceContext"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest": {
      "description": "Request message for CompletionService.PurgeSuggestionDenyListEntries method.",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineLoggingHttpRequestContext": {
      "id": "GoogleCloudDiscoveryengineLoggingHttpRequestContext",
      "type": "object",
      "properties": {
        "responseStatusCode": {
          "type": "integer",
          "format": "int32",
          "description": "The HTTP response status code for the request."
        }
      },
      "description": "HTTP request data that is related to a reported error."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistAnswer": {
      "properties": {
        "customerPolicyEnforcementResult": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult",
          "description": "Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation."
        },
        "replies": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerReply"
          },
          "type": "array",
          "description": "Replies of the assistant."
        },
        "assistSkippedReasons": {
          "items": {
            "type": "string",
            "enum": [
              "ASSIST_SKIPPED_REASON_UNSPECIFIED",
              "NON_ASSIST_SEEKING_QUERY_IGNORED",
              "CUSTOMER_POLICY_VIOLATION"
            ],
            "enumDescriptions": [
              "Default value. Skip reason is not specified.",
              "The assistant ignored the query, because it did not appear to be answer-seeking.",
              "The assistant ignored the query or refused to answer because of a customer policy violation (e.g., the query or the answer contained a banned phrase)."
            ]
          },
          "description": "Reasons for not answering the assist call.",
          "type": "array"
        },
        "toolDisplayNames": {
          "description": "Output only. Maps a tool name (for example, `Internal-KB-Search` or `custom_mcp__agent__Internal-KB-Search`) to its human-readable display title (for example, `@Internal-KB Search`), populated from MCP tool `title` or `annotations.title` metadata so user-facing surfaces can display the tool title instead of the raw function declaration identifier. Empty when no tool display titles are present.",
          "type": "object",
          "readOnly": true,
          "additionalProperties": {
            "type": "string"
          }
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "IN_PROGRESS",
            "FAILED",
            "SUCCEEDED",
            "SKIPPED",
            "CANCELLED"
          ],
          "enumDescriptions": [
            "Unknown.",
            "Assist operation is currently in progress.",
            "Assist operation has failed.",
            "Assist operation has succeeded.",
            "Assist operation has been skipped.",
            "Assist operation has been cancelled (e.g. client closed the stream). May contain a partial response."
          ],
          "description": "State of the answer generation."
        },
        "name": {
          "description": "Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "connectorDisplayNames": {
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. Maps an internal connector agent name (the machine identifier embedded in tool names, e.g. `custom_mcp__agent`) to the connector's human-readable display name. Populated at serving time for custom MCP / agent gateway connectors so user-facing surfaces (e.g. the tool-call chip) can show the connector name instead of its internal identifier. Empty when there are no such connectors.",
          "type": "object"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistAnswer",
      "type": "object",
      "description": "AssistAnswer resource, main part of AssistResponse."
    },
    "GoogleCloudDiscoveryengineV1betaQualityMetrics": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaQualityMetrics",
      "description": "Describes the metrics produced by the evaluation.",
      "properties": {
        "docPrecision": {
          "description": "Precision per document, at various top-k cutoff levels. Precision is the fraction of retrieved documents that are relevant. Example (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are relevant, precision@5 = 4/5 = 0.8",
          "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics"
        },
        "docNdcg": {
          "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
          "description": "Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
        },
        "pageNdcg": {
          "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
          "description": "Normalized discounted cumulative gain (NDCG) per page, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved pages (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
        },
        "pageRecall": {
          "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
          "description": "Recall per page, at various top-k cutoff levels. Recall is the fraction of relevant pages retrieved out of all relevant pages. Example (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, recall@5 = 3/5 = 0.6"
        },
        "docRecall": {
          "description": "Recall per document, at various top-k cutoff levels. Recall is the fraction of relevant documents retrieved out of all relevant documents. Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are retrieved in the top-5, recall@5 = 3/5 = 0.6",
          "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DeleteEngineMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1DeleteEngineMetadata"
    },
    "GoogleCloudDiscoveryengineV1Condition": {
      "id": "GoogleCloudDiscoveryengineV1Condition",
      "properties": {
        "activeTimeRange": {
          "type": "array",
          "description": "Range of time(s) specifying when condition is active. Maximum of 10 time ranges.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1ConditionTimeRange"
          }
        },
        "queryTerms": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1ConditionQueryTerm"
          },
          "type": "array",
          "description": "Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms."
        },
        "queryRegex": {
          "type": "string",
          "description": "Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls."
        }
      },
      "description": "Defines circumstances to be checked before allowing a behavior",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig",
      "properties": {
        "targetFieldValueFloat": {
          "description": "Required. The threshold to be applied to the target (e.g., 0.5).",
          "format": "float",
          "type": "number"
        },
        "targetField": {
          "description": "Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.",
          "type": "string"
        }
      },
      "description": "Custom threshold for `cvr` optimization_objective."
    },
    "GoogleMonitoringV3TypedValue": {
      "id": "GoogleMonitoringV3TypedValue",
      "description": "A single strongly-typed value.",
      "properties": {
        "stringValue": {
          "description": "A variable-length string value.",
          "type": "string"
        },
        "int64Value": {
          "format": "int64",
          "description": "A 64-bit integer. Its range is approximately ±9.2x1018.",
          "type": "string"
        },
        "boolValue": {
          "description": "A Boolean value: `true` or `false`.",
          "type": "boolean"
        },
        "distributionValue": {
          "$ref": "GoogleApiDistribution",
          "description": "A distribution value."
        },
        "doubleValue": {
          "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.",
          "format": "double",
          "type": "number"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfig": {
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfig",
      "type": "object",
      "description": "A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.",
      "properties": {
        "parsingConfigOverrides": {
          "type": "object",
          "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig"
          }
        },
        "chunkingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig",
          "description": "Whether chunking mode is enabled."
        },
        "name": {
          "description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
          "type": "string"
        },
        "defaultParsingConfig": {
          "description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.",
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey",
      "properties": {
        "prefixes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Only get facet values that start with the given string prefix. For example, suppose \"category\" has three values \"Action \u003e 2022\", \"Action \u003e 2021\" and \"Sci-Fi \u003e 2022\". If set \"prefixes\" to \"Action\", the \"category\" facet only contains \"Action \u003e 2022\" and \"Action \u003e 2021\". Only supported on textual fields. Maximum is 10."
        },
        "contains": {
          "description": "Only get facet values that contain the given strings. For example, suppose \"category\" has three values \"Action \u003e 2022\", \"Action \u003e 2021\" and \"Sci-Fi \u003e 2022\". If set \"contains\" to \"2022\", the \"category\" facet only contains \"Action \u003e 2022\" and \"Sci-Fi \u003e 2022\". Only supported on textual fields. Maximum is 10.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "key": {
          "type": "string",
          "description": "Required. Supported textual and numerical facet keys in Document object, over which the facet values are computed. Facet key is case-sensitive."
        },
        "restrictedValues": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Only get facet for the given restricted values. Only supported on textual fields. For example, suppose \"category\" has three values \"Action \u003e 2022\", \"Action \u003e 2021\" and \"Sci-Fi \u003e 2022\". If set \"restricted_values\" to \"Action \u003e 2022\", the \"category\" facet only contains \"Action \u003e 2022\". Only supported on textual fields. Maximum is 10."
        },
        "caseInsensitive": {
          "type": "boolean",
          "description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise."
        },
        "intervals": {
          "description": "Set only if values should be bucketed into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaInterval"
          },
          "type": "array"
        },
        "orderBy": {
          "description": "The order in which documents are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals.",
          "type": "string"
        }
      },
      "description": "Specifies how a facet is computed."
    },
    "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig": {
      "properties": {
        "disablePrivateKgAutoComplete": {
          "type": "boolean",
          "description": "Whether to disable the private KG auto complete for the engine. Defaults to false if not specified."
        },
        "disablePrivateKgQueryUiChips": {
          "description": "Whether to disable the private KG for query UI chips. Defaults to false if not specified.",
          "type": "boolean"
        },
        "disablePrivateKgQueryUnderstanding": {
          "type": "boolean",
          "description": "Whether to disable the private KG query understanding for the engine. Defaults to false if not specified."
        },
        "disablePrivateKgEnrichment": {
          "description": "Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Feature config for the Knowledge Graph.",
      "id": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage": {
      "properties": {
        "datedUsages": {
          "description": "The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage"
          },
          "type": "array"
        },
        "totalUsage": {
          "format": "double",
          "type": "number",
          "description": "The total usage for this resource type. This is populated for metrics like TOTAL_STORAGE."
        },
        "metricType": {
          "type": "string",
          "enum": [
            "BILLING_METRIC_TYPE_UNSPECIFIED",
            "DAILY_MDN_QPM",
            "DAILY_MIN_QPM",
            "DAILY_MAX_QPM",
            "DAILY_SEARCH_REQUEST",
            "TOTAL_STORAGE"
          ],
          "description": "The metric type.",
          "enumDescriptions": [
            "Default value.",
            "Daily median search request QPM.",
            "Daily min search request QPM.",
            "Daily max search request QPM.",
            "Daily search request total.",
            "Total storage bytes for indexing core."
          ]
        }
      },
      "description": "The usage of a metric over a list of days.",
      "id": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DeleteSchemaMetadata": {
      "id": "GoogleCloudDiscoveryengineV1DeleteSchemaMetadata",
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "description": "Metadata for DeleteSchema LRO."
    },
    "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse",
      "description": "Response message for EvaluationService.ListEvaluationResults method.",
      "properties": {
        "evaluationResults": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult"
          },
          "type": "array",
          "description": "The evaluation results for the SampleQuerys."
        },
        "nextPageToken": {
          "description": "A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember",
      "properties": {
        "type": {
          "description": "Required. Kind of member.",
          "enumDescriptions": [
            "Not allowed.",
            "A single user.",
            "A group of users."
          ],
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "USER",
            "GROUP"
          ]
        },
        "id": {
          "type": "string",
          "description": "Required. Identifier evaluated at serving time. Its format depends on the project's identity provider: * Google identity (`GSUITE`): the group or user email. For groups, the server resolves the email to a group ID on write and returns the email on read. * Workforce Identity Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity subject."
        },
        "verification": {
          "description": "Output only. Result of the server's directory check when the member was saved.",
          "type": "string",
          "readOnly": true,
          "enumDescriptions": [
            "Not checked.",
            "Found in the project's directory.",
            "Microsoft Graph has no such group. Saved anyway, because a custom `google.groups` mapping can emit IDs that Graph doesn't know.",
            "The project has no directory to check against.",
            "The directory lookup failed. Saved anyway."
          ],
          "enum": [
            "VERIFICATION_UNSPECIFIED",
            "VERIFIED",
            "NOT_FOUND",
            "NOT_VERIFIABLE",
            "CHECK_FAILED"
          ]
        },
        "displayName": {
          "type": "string",
          "description": "Optional. Label shown in the console. Never used for evaluation."
        }
      },
      "description": "A user or group the policy refers to."
    },
    "GoogleCloudDiscoveryengineV1alphaChunkPageSpan": {
      "description": "Page span of the chunk.",
      "properties": {
        "pageEnd": {
          "type": "integer",
          "description": "The end page of the chunk.",
          "format": "int32"
        },
        "pageStart": {
          "format": "int32",
          "description": "The start page of the chunk.",
          "type": "integer"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaChunkPageSpan"
    },
    "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse": {
      "id": "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse",
      "type": "object",
      "description": "Response message for SiteSearchEngineService.BatchCreateTargetSites method.",
      "properties": {
        "targetSites": {
          "description": "TargetSites created.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaTargetSite"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec": {
      "type": "object",
      "description": "A specification for configuring snippets in a search response.",
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec",
      "properties": {
        "referenceOnly": {
          "deprecated": true,
          "description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet.",
          "type": "boolean"
        },
        "maxSnippetCount": {
          "deprecated": true,
          "description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count \u003e 0.",
          "type": "integer",
          "format": "int32"
        },
        "returnSnippet": {
          "description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAgentImage": {
      "description": "Represents an image.",
      "properties": {
        "content": {
          "description": "Base64-encoded image file contents.",
          "type": "string"
        },
        "uri": {
          "description": "Image URI.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAgentImage",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequest": {
      "properties": {
        "useLatestData": {
          "description": "Uses the Engine, ServingConfig and Control freshly read from the database. Note: this skips config cache and introduces dependency on databases, which could significantly increase the API latency. It should only be used for testing, but not serving end users.",
          "type": "boolean"
        },
        "branch": {
          "description": "The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.",
          "type": "string"
        },
        "contentSearchSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec",
          "description": "A specification for configuring the behavior of content search."
        },
        "customFineTuningSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec",
          "description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec."
        },
        "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. 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"
          },
          "type": "array"
        },
        "relevanceThreshold": {
          "type": "string",
          "enum": [
            "RELEVANCE_THRESHOLD_UNSPECIFIED",
            "LOWEST",
            "LOW",
            "MEDIUM",
            "HIGH"
          ],
          "description": "The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.",
          "enumDescriptions": [
            "Default value. In this case, server behavior defaults to Google defined threshold.",
            "Lowest relevance threshold.",
            "Low relevance threshold.",
            "Medium relevance threshold.",
            "High relevance threshold."
          ]
        },
        "pageToken": {
          "type": "string",
          "description": "A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned."
        },
        "orderBy": {
          "type": "string",
          "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned."
        },
        "sessionSpec": {
          "description": "Session specification. Can be used only when `session` is set.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec"
        },
        "searchAddonSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec",
          "description": "Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests."
        },
        "canonicalFilter": {
          "description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.",
          "type": "string"
        },
        "embeddingSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec",
          "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path."
        },
        "userInfo": {
          "description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo"
        },
        "oneBoxPageSize": {
          "description": "The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10.",
          "format": "int32",
          "type": "integer"
        },
        "offset": {
          "type": "integer",
          "format": "int32",
          "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold."
        },
        "displaySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec",
          "description": "Optional. Config for display feature, like match highlighting on search results."
        },
        "relevanceFilterSpec": {
          "description": "Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec"
        },
        "relevanceScoreSpec": {
          "description": "Optional. The specification for returning the relevance score.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec"
        },
        "pageCategories": {
          "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\u003e' character to separate different hierarchies. If '\u003e' is part of the category name, replace it with other character(s). For example, `Graphics Cards \u003e RTX\u003e4090 \u003e Founders Edition` where \"RTX \u003e 4090\" represents one level, can be rewritten as `Graphics Cards \u003e RTX_4090 \u003e Founders Edition`",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "pageSize": {
          "format": "int32",
          "type": "integer",
          "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned."
        },
        "session": {
          "type": "string",
          "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call."
        },
        "queryExpansionSpec": {
          "description": "The query expansion specification that specifies the conditions under which query expansion occurs.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec"
        },
        "languageCode": {
          "type": "string",
          "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate."
        },
        "searchAsYouTypeSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec",
          "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical."
        },
        "rankingExpressionBackend": {
          "enumDeprecated": [
            false,
            true,
            true,
            false,
            false
          ],
          "enum": [
            "RANKING_EXPRESSION_BACKEND_UNSPECIFIED",
            "BYOE",
            "CLEARBOX",
            "RANK_BY_EMBEDDING",
            "RANK_BY_FORMULA"
          ],
          "enumDescriptions": [
            "Default option for unspecified/unknown values.",
            "Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.",
            "Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.",
            "Ranking by custom embedding model, the default way to evaluate the ranking expression.",
            "Ranking by custom formula."
          ],
          "type": "string",
          "description": "Optional. The backend to use for the ranking expression evaluation."
        },
        "facetSpecs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec"
          },
          "type": "array",
          "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned."
        },
        "servingConfig": {
          "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
          "type": "string"
        },
        "numResultsPerDataStore": {
          "type": "integer",
          "description": "Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.",
          "format": "int32"
        },
        "personalizationSpec": {
          "description": "The specification for personalization. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set, SearchRequest.personalization_spec overrides ServingConfig.personalization_spec.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec"
        },
        "params": {
          "description": "Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. For example, `user_country_code: \"au\"` For available codes see [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching. For example, `search_type: 1`",
          "additionalProperties": {
            "type": "any"
          },
          "type": "object"
        },
        "imageQuery": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery",
          "description": "Raw image query."
        },
        "regionCode": {
          "description": "The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided.",
          "type": "string"
        },
        "naturalLanguageQueryUnderstandingSpec": {
          "description": "Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec"
        },
        "boostSpec": {
          "description": "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)",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec"
        },
        "userLabels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details."
        },
        "rankingExpression": {
          "type": "string",
          "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \u003e 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results"
        },
        "userPseudoId": {
          "description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "string"
        },
        "entity": {
          "description": "Optional. The entity for customers that may run multiple different entities, domains, sites or regions, for example, \"Google US\", \"Google Ads\", \"Waymo\", \"google.com\", \"youtube.com\", etc. If this is set, it should be exactly matched with UserEvent.entity to get search results boosted by entity.",
          "type": "string"
        },
        "filter": {
          "type": "string",
          "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --\u003e name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)"
        },
        "crowdingSpecs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec"
          },
          "type": "array",
          "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted."
        },
        "customRankingParams": {
          "description": "Optional. Optional configuration for the Custom Ranking feature.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams"
        },
        "safeSearch": {
          "type": "boolean",
          "description": "Whether to turn on safe search. This is only supported for website search."
        },
        "spellCorrectionSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
          "description": "The spell correction specification that specifies the mode under which spell correction takes effect."
        },
        "query": {
          "description": "Raw search query.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequest",
      "description": "Request message for SearchService.Search method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaBigtableSource": {
      "description": "The Cloud Bigtable source for importing data.",
      "type": "object",
      "properties": {
        "tableId": {
          "type": "string",
          "description": "Required. The table ID of the Cloud Bigtable that needs to be imported."
        },
        "projectId": {
          "type": "string",
          "description": "The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request."
        },
        "bigtableOptions": {
          "description": "Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigtableOptions"
        },
        "instanceId": {
          "type": "string",
          "description": "Required. The instance ID of the Cloud Bigtable that needs to be imported."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaBigtableSource"
    },
    "GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse": {
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse",
      "type": "object",
      "description": "Response message for IdentityMappingStoreService.ImportIdentityMappings"
    },
    "GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries": {
      "id": "GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries",
      "description": "The historical organic crawl rate timeseries data, used for monitoring. Organic crawl is auto-determined by Google to crawl the user's website when dedicate crawl is not set. Crawl rate is the QPS of crawl request Google sends to the user's website.",
      "properties": {
        "googleOrganicCrawlRate": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries",
          "description": "Google's organic crawl rate time series, which is the sum of all googlebots' crawl rate. Please refer to https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers for more details about googlebots."
        },
        "vertexAiOrganicCrawlRate": {
          "description": "Vertex AI's organic crawl rate time series, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. Please refer to https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot for more details about Google-CloudVertexBot.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAgent": {
      "properties": {
        "sharingConfig": {
          "description": "Optional. The sharing config of the agent.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAgentSharingConfig"
        },
        "a2aAgentDefinition": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition",
          "description": "Optional. The behavior of the agent is defined as an A2A agent."
        },
        "deploymentFailureReason": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The reason why the agent deployment failed. Only set if the state is DEPLOYMENT_FAILED."
        },
        "name": {
          "description": "Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}`",
          "type": "string"
        },
        "customPlaceholderText": {
          "description": "Optional. The custom placeholder text that appears in the text box before the user enters any text.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Required. Human-readable description of the agent. This might be used by an LLM to automatically select an agent to respond to a user query."
        },
        "managedAgentDefinition": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition",
          "description": "Optional. The behavior of the Google managed agent."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. Timestamp when this Agent was most recently updated."
        },
        "suspensionReason": {
          "description": "Output only. The reason why the agent was suspended. Only set if the state is SUSPENDED.",
          "readOnly": true,
          "type": "string"
        },
        "adkAgentDefinition": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition",
          "description": "Optional. The behavior of the agent is defined as an ADK agent."
        },
        "displayName": {
          "type": "string",
          "description": "Required. Display name of the agent. This might be used by an LLM to automatically select an agent to respond to a user query."
        },
        "starterPrompts": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt"
          },
          "description": "Optional. The starter prompt suggestions to show the user on the landing page of the agent."
        },
        "authorizationConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorizationConfig",
          "description": "Optional. The authorizations that are required by the agent."
        },
        "observabilityConfig": {
          "description": "Optional. Observability config for the agent.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig"
        },
        "icon": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAgentImage",
          "description": "Optional. The icon that represents the agent on the UI."
        },
        "rejectionReason": {
          "readOnly": true,
          "description": "Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection.",
          "type": "string"
        },
        "defaultPinned": {
          "description": "Optional. Whether the agent is pinned by default for users who have access to it and have not explicitly unpinned it. Setting this field requires an admin.",
          "type": "boolean"
        },
        "creationFailureReason": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The reason why the agent creation (provisioning) failed. Only set if the state is CREATION_FAILED."
        },
        "languageCode": {
          "description": "Optional. The code of the language of the text in the description, display_name and starter_prompts fields.",
          "type": "string"
        },
        "state": {
          "enumDescriptions": [
            "The state is unspecified.",
            "The agent is configured, but no deployment triggered yet.",
            "The agent is being deployed.",
            "The agent is available for admins only.",
            "The agent deployment failed.",
            "Agent is available only to its creator..",
            "Agent is available for users who have access.",
            "Agent is temporarily unavailable, though visible to users who have access.",
            "Agent is being created.",
            "Agent creation (provisioning) failed. Terminal. To retry, the caller must `DeleteAgent` to clear the failed resource and then create again; there is no in-place overwrite of a failed agent. Only set for asynchronously-provisioned agents."
          ],
          "type": "string",
          "description": "Output only. The lifecycle state of the agent.",
          "enum": [
            "STATE_UNSPECIFIED",
            "CONFIGURED",
            "DEPLOYING",
            "DISABLED",
            "DEPLOYMENT_FAILED",
            "PRIVATE",
            "ENABLED",
            "SUSPENDED",
            "CREATING",
            "CREATION_FAILED"
          ],
          "readOnly": true
        },
        "dialogflowAgentDefinition": {
          "description": "Optional. The behavior of the agent is defined as a Dialogflow agent.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition"
        },
        "createTime": {
          "description": "Output only. Timestamp when this Agent was created.",
          "readOnly": true,
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAgent",
      "type": "object",
      "description": "Performs a predefined, specific task."
    },
    "GoogleCloudDiscoveryengineV1TrainCustomModelResponse": {
      "description": "Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.",
      "properties": {
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the data.",
          "type": "array"
        },
        "modelName": {
          "type": "string",
          "description": "Fully qualified name of the CustomTuningModel."
        },
        "metrics": {
          "description": "The metrics of the trained model.",
          "type": "object",
          "additionalProperties": {
            "format": "double",
            "type": "number"
          }
        },
        "errorConfig": {
          "description": "Echoes the destination for the complete errors in the request if set.",
          "$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig"
        },
        "modelStatus": {
          "type": "string",
          "description": "The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1TrainCustomModelResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaImageCharacteristics": {
      "properties": {
        "width": {
          "format": "int32",
          "readOnly": true,
          "description": "Output only. Image width in pixels.",
          "type": "integer"
        },
        "colorSpace": {
          "enumDescriptions": [
            "Default value. Unknown color space.",
            "Red, green, blue colorspace.",
            "Cyan, magenta, yellow, and black colorspace.",
            "Grayscale colorspace.",
            "YUV colorspace.",
            "Other colorspace."
          ],
          "type": "string",
          "description": "Output only. Color space of the image (e.g., \"RGB\", \"CMYK\", \"Grayscale\").",
          "enum": [
            "COLOR_SPACE_UNSPECIFIED",
            "RGB",
            "CMYK",
            "GRAYSCALE",
            "YUV",
            "OTHER_COLOR_SPACE"
          ],
          "readOnly": true
        },
        "bitDepth": {
          "readOnly": true,
          "type": "integer",
          "description": "Output only. Bit depth of the image (e.g., 8-bit, 16-bit).",
          "format": "int32"
        },
        "height": {
          "description": "Output only. Image height in pixels.",
          "readOnly": true,
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaImageCharacteristics",
      "type": "object",
      "description": "Standard characteristics of an image media view."
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource": {
      "type": "object",
      "properties": {
        "identityMappingEntries": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry"
          },
          "description": "A maximum of 10000 entries can be purged at one time"
        }
      },
      "description": "The inline source to purge identity mapping entries from.",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource"
    },
    "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus": {
      "type": "object",
      "properties": {
        "effectiveSearchQpmThreshold": {
          "type": "string",
          "description": "Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.",
          "format": "int64"
        },
        "indexingCoreThresholdNextUpdateTime": {
          "type": "string",
          "description": "Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "agentSearchTokenSubscriptionStatuses": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. Per-model Agent Search TPM subscription status.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus"
          }
        },
        "searchQpmThresholdNextUpdateTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.",
          "type": "string"
        },
        "terminateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The latest terminate effective time of search qpm and indexing core subscriptions.",
          "format": "google-datetime"
        },
        "effectiveIndexingCoreThreshold": {
          "format": "int64",
          "description": "Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.",
          "type": "string"
        },
        "updateType": {
          "description": "Output only. The type of update performed in this operation. This field is populated in the response of UpdateProject.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified update type.",
            "Configurable billing was created/enabled.",
            "Configurable billing was deleted/disabled.",
            "Subscription was scaled up (thresholds increased).",
            "Subscription was scaled down (thresholds decreased)."
          ],
          "enum": [
            "UPDATE_TYPE_UNSPECIFIED",
            "CREATE",
            "DELETE",
            "SCALE_UP",
            "SCALE_DOWN"
          ],
          "readOnly": true
        },
        "startTime": {
          "description": "Optional. The start time of the currently active billing subscription.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus",
      "description": "Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month). We also include the update type to indicate the type of update performed on the configurable billing configuration in the UpdateProject operation."
    },
    "GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata"
    },
    "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError",
      "properties": {
        "error": {
          "description": "Optional. Error details.",
          "$ref": "GoogleRpcStatus"
        },
        "streamingErrorReason": {
          "description": "Optional. Streaming error.",
          "enumDescriptions": [
            "Streaming error reason unspecified.",
            "Some error occurred while setting up resources for realtime sync.",
            "Some error was encountered while running realtime sync for the connector.",
            "Ingress endpoint is required when setting up realtime sync in private connectivity."
          ],
          "type": "string",
          "enum": [
            "STREAMING_ERROR_REASON_UNSPECIFIED",
            "STREAMING_SETUP_ERROR",
            "STREAMING_SYNC_ERROR",
            "INGRESS_ENDPOINT_REQUIRED"
          ]
        }
      },
      "description": "Streaming error details."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment": {
      "type": "object",
      "properties": {
        "data": {
          "description": "Output only. The mime type and data of the blob.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob",
          "readOnly": true
        },
        "attributionType": {
          "enum": [
            "ATTRIBUTION_TYPE_UNSPECIFIED",
            "CORPUS",
            "GENERATED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "Unspecified attribution type.",
            "The attachment data is from the corpus.",
            "The attachment data is generated by the model through code generation."
          ],
          "type": "string",
          "description": "Output only. The attribution type of the blob."
        }
      },
      "description": "Stores binarydata attached to text answer, e.g. image, video, audio, etc.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec",
      "type": "object",
      "properties": {
        "boostControlSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec",
          "description": "Complex specification for custom ranking based on customer defined attribute value."
        },
        "condition": {
          "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": `(document_id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\", \"Blue\"))`",
          "type": "string"
        },
        "boost": {
          "format": "float",
          "type": "number",
          "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied."
        }
      },
      "description": "Boost applies to documents which match a condition."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField": {
      "description": "A schema field to be used for Search As You Type scoring on this request. Overrides any data-store-level Search As You Type field configuration for the duration of the request.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField",
      "properties": {
        "key": {
          "description": "Required. A field key that has been indexed for Search As You Type.",
          "type": "string"
        },
        "weight": {
          "type": "number",
          "description": "Optional. Weight for scores from this field. Defaults to 1.0 if not specified.",
          "format": "double"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListDocumentsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListDocumentsResponse",
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "documents": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
          },
          "type": "array",
          "description": "The Documents."
        }
      },
      "description": "Response message for DocumentService.ListDocuments method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig",
      "description": "More feature configs of the selected engine type.",
      "properties": {
        "recommendedForYouConfig": {
          "description": "Recommended for you engine feature config.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig"
        },
        "mostPopularConfig": {
          "description": "Most popular engine feature config.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse": {
      "description": "Response message for LicenseConfigService.RetractLicenseConfig method.",
      "properties": {
        "licenseConfig": {
          "description": "The updated LicenseConfig.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDestinationConfig": {
      "type": "object",
      "properties": {
        "jsonParams": {
          "description": "Additional parameters for this destination config in json string format.",
          "type": "string"
        },
        "key": {
          "description": "Optional. Unique destination identifier that is supported by the connector.",
          "type": "string"
        },
        "params": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. Additional parameters for this destination config in structured json format."
        },
        "destinations": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination"
          },
          "description": "Optional. The destinations for the corresponding key."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDestinationConfig",
      "description": "Defines target endpoints used to connect to third-party sources."
    },
    "GoogleCloudDiscoveryengineV1alphaTuneEngineResponse": {
      "type": "object",
      "properties": {},
      "description": "Response associated with a tune operation.",
      "id": "GoogleCloudDiscoveryengineV1alphaTuneEngineResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest",
      "type": "object",
      "description": "Request for DeleteSession method.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy": {
      "id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy",
      "type": "object",
      "description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.",
      "properties": {
        "policy": {
          "type": "string",
          "description": "Optional. The Sensitive Data Protection policy resource name."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse": {
      "description": "Response message for CrawlRateManagementService.RemoveDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.",
      "properties": {
        "error": {
          "description": "Errors from service when handling the request.",
          "$ref": "GoogleRpcStatus"
        },
        "state": {
          "readOnly": true,
          "description": "Output only. The state of the response.",
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED"
          ],
          "enumDescriptions": [
            "The state is unspecified.",
            "The state is successful.",
            "The state is failed."
          ],
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsFeatureToggleInfoFeatureToggle": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsFeatureToggleInfoFeatureToggle",
      "description": "A single feature toggle with its server-provided metadata.",
      "properties": {
        "retirementDate": {
          "description": "Output only. The informational date the toggle is scheduled to retire, after which the feature is on for every customer. This is for display purposes only. The system does not transition feature states automatically on this date. Only when the launch stage is set to RETIRED does the feature turn on for every customer. Unset if no retirement is scheduled.",
          "readOnly": true,
          "$ref": "GoogleTypeDate"
        },
        "launchStage": {
          "description": "Output only. Launch stage of the feature behind a toggle.",
          "readOnly": true,
          "type": "string",
          "enum": [
            "LAUNCH_STAGE_UNSPECIFIED",
            "PREVIEW",
            "GA",
            "SCHEDULED_GA",
            "DELAYED_GA",
            "RETIRED"
          ],
          "enumDescriptions": [
            "Unspecified launch stage.",
            "The feature is in preview.",
            "The feature is generally available.",
            "The feature has reached scheduled availability, conventionally two weeks after GA.",
            "The feature has reached delayed availability, conventionally four weeks after GA.",
            "The feature is on for every customer and can no longer be turned off."
          ]
        },
        "supportsAccessPolicy": {
          "type": "boolean",
          "description": "Output only. Whether the engine's `feature_policies` may restrict this feature to specific users or groups. When false, EngineService.UpdateEngine rejects a policy for this feature.",
          "readOnly": true
        },
        "id": {
          "description": "Output only. Matches a key in the engine `features` map.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse": {
      "properties": {
        "authorizations": {
          "description": "All the customer's Authorizations.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorization"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as ListAuthorizationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "type": "object",
      "description": "Response message for the AuthorizationService.ListAuthorizations method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse"
    },
    "GoogleCloudDiscoveryengineV1AgentGatewaySetting": {
      "id": "GoogleCloudDiscoveryengineV1AgentGatewaySetting",
      "properties": {
        "defaultEgressAgentGateway": {
          "description": "Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource. The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE.",
          "$ref": "GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference"
        }
      },
      "description": "Agent Gateway setting, which may be attached to Gemini Enterprise resources for egress control of Gemini Enterprise agents to agents and tools outside of Gemini Enterprise.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1AclConfig": {
      "description": "Access Control Configuration.",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "idpConfig": {
          "description": "Identity provider config.",
          "$ref": "GoogleCloudDiscoveryengineV1IdpConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1AclConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaControlSynonymsAction": {
      "id": "GoogleCloudDiscoveryengineV1alphaControlSynonymsAction",
      "description": "Creates a set of terms that will act as synonyms of one another. Example: \"happy\" will also be considered as \"glad\", \"glad\" will also be considered as \"happy\".",
      "properties": {
        "synonyms": {
          "type": "array",
          "description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse": {
      "description": "Response message for LicenseConfigService.ListBillingAccountLicenseConfigs method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse",
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as ListBillingAccountLicenseConfigsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "billingAccountLicenseConfigs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig"
          },
          "type": "array",
          "description": "All BillingAccountLicenseConfigs for the given billing account."
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonUnknown": {
      "properties": {},
      "type": "object",
      "description": "Indicates an unknown error occurred.",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonUnknown"
    },
    "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata",
      "type": "object",
      "description": "Contains a Sitemap and its metadata.",
      "properties": {
        "sitemap": {
          "description": "The Sitemap.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSitemap"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery",
      "properties": {
        "imageBytes": {
          "description": "Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.",
          "type": "string"
        }
      },
      "description": "Specifies the image query input.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics": {
      "description": "Stores the metric values at specific top-k levels.",
      "properties": {
        "top3": {
          "format": "double",
          "description": "The top-3 value.",
          "type": "number"
        },
        "top5": {
          "type": "number",
          "format": "double",
          "description": "The top-5 value."
        },
        "top1": {
          "type": "number",
          "format": "double",
          "description": "The top-1 value."
        },
        "top10": {
          "type": "number",
          "description": "The top-10 value.",
          "format": "double"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource": {
      "description": "The inline source to import identity mapping entries from.",
      "properties": {
        "identityMappingEntries": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry"
          },
          "description": "A maximum of 10000 entries can be imported at one time",
          "type": "array"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource"
    },
    "GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig",
      "type": "object",
      "description": "Configurations for a Search Engine.",
      "properties": {
        "searchAddOns": {
          "description": "The add-on that this search engine enables.",
          "items": {
            "type": "string",
            "enum": [
              "SEARCH_ADD_ON_UNSPECIFIED",
              "SEARCH_ADD_ON_LLM"
            ],
            "enumDescriptions": [
              "Default value when the enum is unspecified. This is invalid to use.",
              "Large language model add-on."
            ]
          },
          "type": "array"
        },
        "searchTier": {
          "description": "The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.",
          "type": "string",
          "enum": [
            "SEARCH_TIER_UNSPECIFIED",
            "SEARCH_TIER_STANDARD",
            "SEARCH_TIER_ENTERPRISE"
          ],
          "enumDescriptions": [
            "Default value when the enum is unspecified. This is invalid to use.",
            "Standard tier.",
            "Enterprise tier."
          ]
        },
        "requiredSubscriptionTier": {
          "description": "Optional. The required subscription tier of this engine. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. Web grounding feature is only available on the app if it is set as SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT.",
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ],
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment": {
      "type": "object",
      "properties": {
        "content": {
          "description": "Extractive segment content.",
          "type": "string"
        },
        "pageIdentifier": {
          "description": "Page identifier.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment",
      "description": "Extractive segment. [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) Answer generation will only use it if document_contexts is empty. This is supposed to be shorter snippets."
    },
    "GoogleCloudDiscoveryengineV1SearchLinkPromotion": {
      "properties": {
        "imageUri": {
          "description": "Optional. The promotion thumbnail image url.",
          "type": "string"
        },
        "uri": {
          "description": "Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.",
          "type": "string"
        },
        "document": {
          "type": "string",
          "description": "Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri."
        },
        "enabled": {
          "description": "Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.",
          "type": "boolean"
        },
        "title": {
          "description": "Required. The title of the promotion. Maximum length: 160 characters.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. The Promotion description. Maximum length: 200 characters."
        }
      },
      "description": "Promotion proto includes uri and other helping information to display the promotion.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1SearchLinkPromotion"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec",
      "type": "object",
      "description": "Specification to enable natural language understanding capabilities for search requests.",
      "properties": {
        "geoSearchQueryDetectionFieldNames": {
          "description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "extractedFilterBehavior": {
          "description": "Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.",
          "type": "string",
          "enum": [
            "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED",
            "HARD_FILTER",
            "SOFT_BOOST"
          ],
          "enumDescriptions": [
            "`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.",
            "Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.",
            "Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set."
          ]
        },
        "allowedFieldNames": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored."
        },
        "filterExtractionCondition": {
          "description": "The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`.",
          "type": "string",
          "enum": [
            "CONDITION_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ],
          "enumDescriptions": [
            "Server behavior defaults to `DISABLED`.",
            "Disables NL filter extraction.",
            "Enables NL filter extraction."
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": {
      "properties": {
        "numResults": {
          "type": "integer",
          "description": "Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used.",
          "format": "int32"
        },
        "dataStore": {
          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field.",
          "type": "string"
        },
        "boostSpec": {
          "description": "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)",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec"
        },
        "customSearchOperators": {
          "type": "string",
          "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299)."
        },
        "filter": {
          "description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)",
          "type": "string"
        }
      },
      "description": "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.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest",
      "description": "Request message for DocumentService.PurgeDocuments method.",
      "type": "object",
      "properties": {
        "filter": {
          "description": "Required. Filter matching documents to purge. Only currently supported value is `*` (all items).",
          "type": "string"
        },
        "inlineSource": {
          "description": "Inline source for the input content for purge.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource"
        },
        "errorConfig": {
          "description": "The desired location of errors incurred during the purge.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig"
        },
        "gcsSource": {
          "description": "Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid Document.id per line.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource"
        },
        "force": {
          "description": "Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaCmekConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaCmekConfig",
      "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.",
      "properties": {
        "kmsKey": {
          "description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.",
          "type": "string"
        },
        "isDefault": {
          "description": "Output only. The default CmekConfig for the Customer.",
          "readOnly": true,
          "type": "boolean"
        },
        "kmsKeyVersion": {
          "description": "Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.",
          "readOnly": true,
          "type": "string"
        },
        "notebooklmState": {
          "enum": [
            "NOTEBOOK_LM_STATE_UNSPECIFIED",
            "NOTEBOOK_LM_NOT_READY",
            "NOTEBOOK_LM_READY",
            "NOTEBOOK_LM_NOT_ENABLED"
          ],
          "readOnly": true,
          "description": "Output only. Whether the NotebookLM Corpus is ready to be used.",
          "enumDescriptions": [
            "The NotebookLM state is unknown.",
            "The NotebookLM is not ready.",
            "The NotebookLM is ready to be used.",
            "The NotebookLM is not enabled."
          ],
          "type": "string"
        },
        "singleRegionKeys": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSingleRegionKey"
          },
          "type": "array",
          "description": "Optional. Single-regional CMEKs that are required for some VAIS features."
        },
        "lastRotationTimestampMicros": {
          "description": "Output only. The timestamp of the last key rotation.",
          "type": "string",
          "format": "int64",
          "readOnly": true
        },
        "name": {
          "description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.",
          "type": "string"
        },
        "state": {
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "The CmekConfig state is unknown.",
            "The CmekConfig is creating.",
            "The CmekConfig can be used with DataStores.",
            "The CmekConfig is unavailable, most likely due to the KMS Key being revoked.",
            "The CmekConfig is deleting.",
            "The CmekConfig deletion process failed.",
            "The CmekConfig is not usable, most likely due to some internal issue.",
            "The KMS key version is being rotated.",
            "The KMS key is soft deleted. Some cleanup policy will eventually be applied.",
            "The KMS key is expired, meaning the key has been disabled for 30+ days. The customer can call DeleteCmekConfig to change the state to DELETED."
          ],
          "description": "Output only. The states of the CmekConfig.",
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "KEY_ISSUE",
            "DELETING",
            "DELETE_FAILED",
            "UNUSABLE",
            "ACTIVE_ROTATING",
            "DELETED",
            "EXPIRED"
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaFileMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaFileMetadata",
      "properties": {
        "byteSize": {
          "description": "Output only. The size of the context file in bytes.",
          "format": "int64",
          "type": "string",
          "readOnly": true
        },
        "lastAddTime": {
          "readOnly": true,
          "description": "Output only. The time the file was added to the session. Note that if a file was added, then modified externally, then added again, the add time will be updated.",
          "format": "google-datetime",
          "type": "string"
        },
        "uploadTime": {
          "type": "string",
          "description": "Output only. The time the file was uploaded (If this is a file generated by an internal process and then made available to the session, this indicates the moment it happened).",
          "format": "google-datetime",
          "readOnly": true
        },
        "mimeType": {
          "description": "The content type of the file, see https://www.iana.org/assignments/media-types/media-types.xhtml.",
          "type": "string"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Represents metadata related to the file that can suit particular use cases. The prefix \"google.\" is reserved for the key for use by Google, but other prefixes can be freely used."
        },
        "fileId": {
          "description": "Output only. The ID of the file.",
          "type": "string",
          "readOnly": true
        },
        "fileOriginType": {
          "type": "string",
          "enum": [
            "FILE_ORIGIN_TYPE_UNSPECIFIED",
            "USER_PROVIDED",
            "AI_GENERATED",
            "INTERNALLY_GENERATED"
          ],
          "description": "Optional. The origin of the file.",
          "enumDescriptions": [
            "Default value.",
            "The file was provided by the user.",
            "The file was generated by an AI model.",
            "The file was generated from other files by an internal process."
          ]
        },
        "name": {
          "type": "string",
          "description": "Output only. The name of the file uploaded.",
          "readOnly": true
        },
        "downloadUri": {
          "description": "Output only. The AssistantService.DownloadSessionFile URL to download the file. This URL will need the same credentials as AssistantService.ListSessionFileMetadata method and will provide the resource.",
          "readOnly": true,
          "type": "string"
        },
        "originalSourceType": {
          "description": "Optional. The type of the original source of the file.",
          "enumDescriptions": [
            "Default value. Unknown source.",
            "The data of the file was provided inline (e.g. pasted from the clipboard).",
            "The file was uploaded from a local file.",
            "The file was uploaded from Cloud Storage.",
            "The file was uploaded from Drive.",
            "The file was retrieved from a URL (e.g. public web)."
          ],
          "type": "string",
          "enum": [
            "FILE_SOURCE_UNSPECIFIED",
            "FILE_SOURCE_INLINE",
            "FILE_SOURCE_LOCAL",
            "FILE_SOURCE_CLOUD_STORAGE",
            "FILE_SOURCE_CLOUD_DRIVE",
            "FILE_SOURCE_URL"
          ]
        },
        "views": {
          "description": "Output only. Alternate views of this file object. Each file view is attached to a specific role. Possible example keys: - \"thumbnail\" - \"mobile_thumbnail\" - \"clip\" - \"summary\" - \"translation\"",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaFileView"
          },
          "type": "object",
          "readOnly": true
        },
        "originalUri": {
          "type": "string",
          "description": "Optional. The original location of the file. It may be a local file path, or any other URI that allows accessing the file in an external system. There are two scenarios in which this url may be empty: 1. If the file was sent as inline data (e.g. pasted from the clipboard). 2. If the original location is not available. Note that there's no guarantee that the URI will be pointing to a valid or actually existing file. For example, a file might have been uploaded to the session, and then deleted from the original source."
        }
      },
      "description": "Represents a file attached to a session (context file)",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfig": {
      "type": "object",
      "properties": {
        "dataStoreUiConfigs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig"
          },
          "deprecated": true,
          "description": "Configurable UI configurations per data store.",
          "type": "array"
        },
        "enableConversationalSearch": {
          "deprecated": true,
          "type": "boolean",
          "description": "Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn)."
        },
        "resultDisplayType": {
          "enum": [
            "RESULT_DISPLAY_TYPE_UNSPECIFIED",
            "SNIPPET",
            "EXTRACTIVE_ANSWER"
          ],
          "enumDescriptions": [
            "Unspecified display type (default to showing snippet).",
            "Display results from the snippet field.",
            "Display results from extractive answers field."
          ],
          "description": "The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users.",
          "deprecated": true,
          "type": "string"
        },
        "batchAuthStatuses": {
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigBatchAuthStatus"
          },
          "type": "array",
          "description": "Output only. The batch authorization statuses for the widget's connectors."
        },
        "defaultSearchRequestOrderBy": {
          "description": "The default ordering for search results if specified. Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body",
          "deprecated": true,
          "type": "string"
        },
        "uiSettings": {
          "description": "Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings"
        },
        "enableSearchAsYouType": {
          "type": "boolean",
          "deprecated": true,
          "description": "Whether to enable search-as-you-type behavior for the search widget"
        },
        "geminiBundle": {
          "description": "Output only. Whether the subscription is gemini bundle or not.",
          "readOnly": true,
          "type": "boolean"
        },
        "dataStoreType": {
          "readOnly": true,
          "description": "Output only. The type of the parent data store.",
          "enum": [
            "DATA_STORE_TYPE_UNSPECIFIED",
            "SITE_SEARCH",
            "STRUCTURED",
            "UNSTRUCTURED",
            "BLENDED"
          ],
          "enumDescriptions": [
            "Unspecified data store type.",
            "The parent data store contains a site search engine.",
            "The parent data store contains a search engine for structured data.",
            "The parent data store contains a search engine for unstructured data.",
            "The parent data store is served for blended search with multiple data stores."
          ],
          "type": "string"
        },
        "collectionComponents": {
          "description": "Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources. For SaaS / Business engines, when `LookupWidgetConfig` is called with `view = WITH_AVAILABLE_CONNECTORS`, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see `CollectionComponent` for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default `view`, only already-attached connectors are returned (today's behavior).",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent"
          },
          "readOnly": true
        },
        "minimumDataTermAccepted": {
          "description": "Output only. Whether the customer accepted data use terms.",
          "readOnly": true,
          "type": "boolean"
        },
        "name": {
          "description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "configId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Unique obfuscated identifier of a WidgetConfig."
        },
        "createTime": {
          "description": "Output only. Timestamp the WidgetConfig was created.",
          "type": "string",
          "format": "google-datetime",
          "readOnly": true
        },
        "fieldsUiComponentsMap": {
          "description": "The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed.",
          "type": "object",
          "deprecated": true,
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField"
          }
        },
        "assistantSettings": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings",
          "readOnly": true,
          "description": "Optional. Output only. Describes the assistant settings of the widget."
        },
        "enableQualityFeedback": {
          "description": "Turn on or off collecting the search result quality feedback from end users.",
          "deprecated": true,
          "type": "boolean"
        },
        "enableSnippetResultSummary": {
          "deprecated": true,
          "description": "Turn on or off summary for each snippets result.",
          "type": "boolean"
        },
        "customerProvidedConfig": {
          "description": "Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig"
        },
        "nodes": {
          "type": "array",
          "description": "Output only. The nodes associated with the Widget Config.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigNode"
          },
          "readOnly": true
        },
        "facetField": {
          "deprecated": true,
          "description": "The configuration and appearance of facets in the end user view.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField"
          }
        },
        "enableAutocomplete": {
          "deprecated": true,
          "type": "boolean",
          "description": "Whether or not to enable autocomplete."
        },
        "updateTime": {
          "description": "Output only. Timestamp the WidgetConfig was updated.",
          "readOnly": true,
          "format": "google-datetime",
          "type": "string"
        },
        "allowlistedDomains": {
          "items": {
            "type": "string"
          },
          "deprecated": true,
          "type": "array",
          "description": "Allowlisted domains that can load this widget."
        },
        "enablePrivateKnowledgeGraph": {
          "readOnly": true,
          "description": "Optional. Output only. Whether to enable private knowledge graph.",
          "type": "boolean"
        },
        "displayName": {
          "description": "Required. The human readable widget config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "enableResultScore": {
          "description": "Whether to show the result score.",
          "type": "boolean"
        },
        "enableSummarization": {
          "description": "Turn on or off summarization for the search response.",
          "type": "boolean",
          "deprecated": true
        },
        "homepageSetting": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting",
          "description": "Optional. Describes the homepage settings of the widget."
        },
        "enableWebApp": {
          "type": "boolean",
          "deprecated": true,
          "description": "Whether to enable standalone web app."
        },
        "accessSettings": {
          "description": "Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings"
        },
        "industryVertical": {
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ],
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine."
        },
        "solutionType": {
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ],
          "description": "Required. Immutable. Specifies the solution type that this WidgetConfig can be used for."
        },
        "llmEnabled": {
          "description": "Output only. Whether LLM is enabled in the corresponding data store.",
          "readOnly": true,
          "type": "boolean"
        },
        "enableSafeSearch": {
          "type": "boolean",
          "deprecated": true,
          "description": "Whether to enable safe search."
        },
        "contentSearchSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec",
          "deprecated": true,
          "description": "The content search spec that configs the desired behavior of content search."
        },
        "uiBranding": {
          "description": "Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings"
        },
        "allowPublicAccess": {
          "type": "boolean",
          "deprecated": true,
          "description": "Whether allow no-auth integration with widget. If set true, public access to search or other solutions from widget is allowed without authenication token provided by customer hosted backend server."
        }
      },
      "description": "WidgetConfig captures configs at the Widget level.",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata",
      "description": "Document metadata contains the information of the document of the current chunk.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "Uri of the document."
        },
        "mimeType": {
          "description": "The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.",
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Title of the document."
        },
        "structData": {
          "description": "Data representation. The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata",
      "properties": {
        "uri": {
          "type": "string",
          "description": "Uri of the document."
        },
        "title": {
          "description": "Title of the document.",
          "type": "string"
        }
      },
      "description": "Document metadata contains the information of the document of the current chunk.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue": {
      "description": "Specifies a threshold value for a given severity.",
      "properties": {
        "value": {
          "type": "number",
          "format": "double",
          "description": "The value of the threshold."
        },
        "severity": {
          "type": "string",
          "description": "The severity of errors if the threshold is not met. It should be one of the `severity` fields in the requirement."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "The display name of the collection."
        },
        "name": {
          "type": "string",
          "description": "The name of the collection. It should be collection resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field. For synthetic placeholder entries (see message-level comment) this carries a synthetic placeholder collection id that does not correspond to a real collection. Callers must not attempt to resolve / GET this resource until the user authorizes the connector."
        },
        "isFirstParty": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector."
        },
        "dataStoreComponents": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent"
          },
          "type": "array",
          "description": "For the data store collection, list of the children data stores."
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID. For synthetic placeholder entries (see message-level comment) this is a synthetic placeholder id, not a real collection_id."
        },
        "metadata": {
          "description": "Output only. User-facing connector metadata (`title`, `description`, `short_description`, `author`, `note`), retrieved from the registry `ConnectorSource.metadata` (joined by data source). Shown on the connector detail page.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata"
        },
        "dataSourceDisplayName": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The display name of the data source."
        },
        "dataSource": {
          "type": "string",
          "description": "The name of the data source, retrieved from `Collection.data_connector.data_source`."
        },
        "dataSourceVersion": {
          "format": "double",
          "readOnly": true,
          "description": "Output only. The version of the connector definition backing this collection, mirroring `DataConnector.data_source_version`.",
          "type": "number"
        },
        "connectorIconLink": {
          "type": "string",
          "description": "Output only. The icon link of the connector source.",
          "readOnly": true
        },
        "tag": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The version-independent label of the connector backing this collection, mirroring `DataConnector.tag`. Unlike the version-pinned data store id it survives a connector version upgrade, so an upgraded connector keeps the same tag. Not a unique key. As `DataConnector.tag` documents, several connectors may share a tag under the same (project, location, collection, data_source), and tag-based lookup resolves to the one with the greatest create_time. Clients must not treat this as a connector identifier. Empty when the connector was created before the tag-write launch, and for synthetic placeholder entries, which have no underlying `DataConnector`. Populated only when `ConnectorsFeature.enable_connector_tag` is on."
        },
        "connectorAuthState": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState",
          "description": "Output only. The auth uri of the connector source."
        },
        "dataSourceEndUserDisplayName": {
          "readOnly": true,
          "description": "Output only. The end-user-facing display name of the data source, sourced from `ConnectorSource.end_user_display_name`. When unset, clients fall back to `data_source_display_name`.",
          "type": "string"
        }
      },
      "description": "Read-only collection component that contains data store collections fields that may be used for filtering. For SaaS / Business engines, when `LookupWidgetConfig` is called with `view = WITH_AVAILABLE_CONNECTORS`, instances of this message are also used to represent synthetic placeholder entries for connectors the caller may attach but has not yet attached. Placeholder entries have `connector_auth_state.auth_state == AUTH_STATE_UNSPECIFIED` (or `NO_AUTH`), an empty `connector_auth_state.authorization_uri` (the widget calls `WidgetBuildAuthorizationUrl` on the user's \"Connect\" click), and synthetic placeholder values in `name` / `id` (see field comments). Fields that only make sense for materialized connectors (`data_store_components`, `tenant`, `action_connector`) are left unset for placeholder entries.",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent"
    },
    "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore": {
      "description": "Identity Mapping Store which contains Identity Mapping Entries.",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "idpConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfig",
          "readOnly": true,
          "description": "Output only. The identity provider configuration this is bound to translate the identity mapping entries within."
        },
        "kmsKeyName": {
          "description": "Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.",
          "type": "string"
        },
        "cmekConfig": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig",
          "description": "Output only. CMEK-related information for the Identity Mapping Store."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore"
    },
    "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest": {
      "type": "object",
      "description": "Request message for CompletionService.RemoveSuggestion method.",
      "id": "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest",
      "properties": {
        "removeTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Required. Time at which the suggestion was removed. If not set, the current time will be used."
        },
        "searchHistorySuggestion": {
          "description": "The search history suggestion to be removed.",
          "type": "string"
        },
        "removeAllSearchHistorySuggestions": {
          "type": "boolean",
          "description": "Remove all search history suggestions for the user."
        },
        "userPseudoId": {
          "type": "string",
          "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128."
        },
        "userInfo": {
          "description": "Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaOutputConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaOutputConfig",
      "type": "object",
      "description": "The output configuration setting.",
      "properties": {
        "bigqueryDestination": {
          "description": "The BigQuery location where the output is to be written to.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigQueryDestination"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest",
      "properties": {
        "gcsSource": {
          "description": "Cloud Storage location for the input content.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource"
        },
        "bigquerySource": {
          "description": "BigQuery input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigQuerySource"
        },
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
          "description": "The desired location of errors incurred during the Import."
        },
        "inlineSource": {
          "description": "The Inline source for sample query entries.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource"
        }
      },
      "description": "Request message for SampleQueryService.ImportSampleQueries method."
    },
    "GoogleCloudDiscoveryengineV1alphaRankRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaRankRequest",
      "description": "Request message for RankService.Rank method.",
      "type": "object",
      "properties": {
        "userLabels": {
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "model": {
          "description": "The identifier of the model to use. It is one of: * `semantic-ranker-512@latest`: Semantic ranking model with maximum input token size 512. It is set to `semantic-ranker-512@latest` by default if unspecified.",
          "type": "string"
        },
        "topN": {
          "description": "The number of results to return. If this is unset or no bigger than zero, returns all results.",
          "format": "int32",
          "type": "integer"
        },
        "ignoreRecordDetailsInResponse": {
          "description": "If true, the response will contain only record ID and score. By default, it is false, the response will contain record details.",
          "type": "boolean"
        },
        "query": {
          "type": "string",
          "description": "The query to use."
        },
        "records": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRankingRecord"
          },
          "type": "array",
          "description": "Required. A list of records to rank."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig": {
      "properties": {
        "requiredSubscriptionTier": {
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ],
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ],
          "description": "Optional. The required subscription tier of this engine. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. Web grounding feature is only available on the app if it is set as SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT."
        },
        "searchTier": {
          "type": "string",
          "enum": [
            "SEARCH_TIER_UNSPECIFIED",
            "SEARCH_TIER_STANDARD",
            "SEARCH_TIER_ENTERPRISE"
          ],
          "description": "The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.",
          "enumDescriptions": [
            "Default value when the enum is unspecified. This is invalid to use.",
            "Standard tier.",
            "Enterprise tier."
          ]
        },
        "searchAddOns": {
          "description": "The add-on that this search engine enables.",
          "items": {
            "enumDescriptions": [
              "Default value when the enum is unspecified. This is invalid to use.",
              "Large language model add-on."
            ],
            "type": "string",
            "enum": [
              "SEARCH_ADD_ON_UNSPECIFIED",
              "SEARCH_ADD_ON_LLM"
            ]
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig",
      "description": "Configurations for a Search Engine.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec": {
      "type": "object",
      "description": "Specification of an agent.",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec",
      "properties": {
        "agentId": {
          "description": "Required. ID to identify the agent resource serving the request. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DataConnectorSourceEntity": {
      "description": "Represents an entity in the data source. For example, the `Account` object in Salesforce.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1DataConnectorSourceEntity",
      "properties": {
        "startingSchema": {
          "$ref": "GoogleCloudDiscoveryengineV1Schema",
          "description": "Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)."
        },
        "healthcareFhirConfig": {
          "description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical.",
          "$ref": "GoogleCloudDiscoveryengineV1HealthcareFhirConfig"
        },
        "dataStore": {
          "type": "string",
          "description": "Output only. The full resource name of the associated data store for the source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.",
          "readOnly": true
        },
        "params": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object",
          "description": "The parameters for the entity to facilitate data ingestion in structured json format."
        },
        "jsonParams": {
          "description": "The parameters for the entity to facilitate data ingestion in json string format.",
          "type": "string"
        },
        "keyPropertyMappings": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results."
        },
        "entityName": {
          "type": "string",
          "description": "The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space`"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings",
      "type": "object",
      "description": "Describes widget access settings.",
      "properties": {
        "languageCode": {
          "type": "string",
          "description": "Optional. Language code for user interface. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). If unset, the default language code is \"en-US\"."
        },
        "enableWebApp": {
          "description": "Whether web app access is enabled.",
          "type": "boolean"
        },
        "allowlistedDomains": {
          "description": "List of domains that are allowed to integrate the search widget.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "allowPublicAccess": {
          "type": "boolean",
          "description": "Whether public unauthenticated access is allowed."
        },
        "workforceIdentityPoolProvider": {
          "type": "string",
          "description": "Optional. The workforce identity pool provider used to access the widget."
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata": {
      "properties": {
        "documentId": {
          "description": "Output only. The document id of the google doc.",
          "type": "string",
          "readOnly": true
        },
        "revisionId": {
          "readOnly": true,
          "description": "Output only. Revision id for the doc.",
          "type": "string"
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata",
      "type": "object",
      "description": "Metadata about a google doc source."
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig",
      "type": "object",
      "properties": {
        "enableImageAnnotation": {
          "description": "Optional. If true, the LLM based annotation is added to the image during parsing.",
          "type": "boolean"
        },
        "excludeHtmlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. List of HTML ids to exclude from the parsed content."
        },
        "enableTableAnnotation": {
          "description": "Optional. If true, the LLM based annotation is added to the table during parsing.",
          "type": "boolean"
        },
        "excludeHtmlElements": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. List of HTML elements to exclude from the parsed content."
        },
        "enableLlmLayoutParsing": {
          "description": "Optional. If true, the pdf layout will be refined using an LLM.",
          "type": "boolean"
        },
        "enableGetProcessedDocument": {
          "description": "Optional. If true, the processed document will be made available for the GetProcessedDocument API.",
          "type": "boolean"
        },
        "structuredContentTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`"
        },
        "excludeHtmlClasses": {
          "description": "Optional. List of HTML classes to exclude from the parsed content.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "The layout parsing configurations for documents."
    },
    "GoogleCloudDiscoveryengineV1alphaGetSessionRequest": {
      "properties": {
        "includeAnswerDetails": {
          "description": "Optional. If set to true, the full session including all answer details will be returned.",
          "type": "boolean"
        },
        "name": {
          "description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaGetSessionRequest",
      "description": "Request for GetSession method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": {
      "properties": {
        "customSearchOperators": {
          "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).",
          "type": "string"
        },
        "dataStore": {
          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field.",
          "type": "string"
        },
        "numResults": {
          "description": "Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used.",
          "type": "integer",
          "format": "int32"
        },
        "filter": {
          "type": "string",
          "description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)"
        },
        "boostSpec": {
          "description": "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)",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec"
        }
      },
      "type": "object",
      "description": "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.",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec"
    },
    "GoogleCloudDiscoveryengineV1betaObservabilityConfig": {
      "properties": {
        "sensitiveLoggingEnabled": {
          "type": "boolean",
          "description": "Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields."
        },
        "observabilityEnabled": {
          "type": "boolean",
          "description": "Optional. Enables observability. If `false`, all other flags are ignored."
        }
      },
      "description": "Observability config for a resource.",
      "id": "GoogleCloudDiscoveryengineV1betaObservabilityConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig": {
      "description": "Custom threshold for `cvr` optimization_objective.",
      "properties": {
        "targetFieldValueFloat": {
          "description": "Required. The threshold to be applied to the target (e.g., 0.5).",
          "type": "number",
          "format": "float"
        },
        "targetField": {
          "description": "Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse": {
      "type": "object",
      "properties": {
        "licenseConfigs": {
          "description": "All the customer's LicenseConfigs.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "Not supported."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse",
      "description": "Response message for LicenseConfigService.ListLicenseConfigs method."
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequest": {
      "description": "Request for the AssistantService.StreamAssist method.",
      "properties": {
        "actionSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec",
          "description": "Optional. Specification of actions for the request."
        },
        "userMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistUserMetadata",
          "description": "Optional. Information about the user initiating the query."
        },
        "session": {
          "description": "Optional. The session to use for the request. If specified, the assistant has access to the session history, and the query and the answer are stored there. If `-` is specified as the session ID, or it is left empty, then a new session is created with an automatically generated ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`",
          "type": "string"
        },
        "generationSpec": {
          "description": "Optional. Specification of the generation configuration for the request.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec"
        },
        "toolsSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec",
          "description": "Optional. Specification of tools that are used to serve the request."
        },
        "agentsSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec",
          "description": "Optional. Specification of agents that are used to serve the request."
        },
        "query": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQuery",
          "description": "Optional. Current user query. Empty query is only supported if `file_ids` are provided. In this case, the answer will be generated based on those context files."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob": {
      "description": "The media type and data of the blob.",
      "properties": {
        "mimeType": {
          "type": "string",
          "description": "Output only. The media type (MIME type) of the generated or retrieved data.",
          "readOnly": true
        },
        "data": {
          "readOnly": true,
          "format": "byte",
          "description": "Output only. Raw bytes.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse": {
      "type": "object",
      "description": "Response message for AlphaEvolveService.ListAlphaEvolvePrograms.",
      "properties": {
        "alphaEvolvePrograms": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram"
          },
          "type": "array",
          "readOnly": true,
          "description": "Output only. List of programs matching the criteria provided in the request."
        },
        "nextPageToken": {
          "readOnly": true,
          "description": "Output only. 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"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo": {
      "description": "The resolved, server-side view of model selector configuration for the end-user. The backend computes this per-request by applying, in order: Mendel flag evaluation, regional availability rules based on the engine's location, and admin-panel overrides from `model_configs`. The backend is the single source of truth for this configuration; clients should render `resolved_models` directly in the model selector dropdown, in the order provided, without applying their own filtering, ordering, or localization.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo",
      "properties": {
        "defaultModelId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The `model_id` of the model that should be selected by default in the model selector when the end-user has not made an explicit choice. The value is always one of the `model_id`s present in `resolved_models`."
        },
        "autoModelId": {
          "description": "Output only. The `model_id` a client must send when the end-user picks the \"Auto\" entry (the empty `model_id`). Populated only for surfaces known to have no true \"Auto\" mode, where leaving the model unset would fall back to a platform default rather than a backend-chosen model. Empty on every other surface, where \"Auto\" is resolved server-side, and when none of the surface's ranked models is available. When set, it is always one of the non-empty `model_id`s present in `resolved_models`.",
          "readOnly": true,
          "type": "string"
        },
        "resolvedModels": {
          "description": "Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest": {
      "properties": {
        "requests": {
          "type": "array",
          "description": "Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest"
          }
        }
      },
      "description": "Request message for SiteSearchEngineService.BatchCreateTargetSites method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest"
    },
    "GoogleCloudDiscoveryengineV1UserStore": {
      "type": "object",
      "description": "Configures metadata that is used for End User entities.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "enableExpiredLicenseAutoUpdate": {
          "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.",
          "type": "boolean"
        },
        "displayName": {
          "description": "The display name of the User Store.",
          "type": "string"
        },
        "defaultLicenseConfig": {
          "type": "string",
          "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured."
        },
        "enableLicenseAutoRegister": {
          "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1UserStore"
    },
    "GoogleCloudDiscoveryengineV1ImportUserEventsResponse": {
      "id": "GoogleCloudDiscoveryengineV1ImportUserEventsResponse",
      "type": "object",
      "description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.",
      "properties": {
        "joinedEventsCount": {
          "format": "int64",
          "type": "string",
          "description": "Count of user events imported with complete existing Documents."
        },
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig",
          "description": "Echoes the destination for the complete errors if this field was set in the request."
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "A sample of errors encountered while processing the request."
        },
        "unjoinedEventsCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of user events imported, but with Document information not found in the existing Branch."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse": {
      "properties": {
        "authorizationUri": {
          "description": "The authorization uri for the data connector.",
          "type": "string"
        },
        "instance": {
          "type": "string",
          "description": "The instance name of the associated Connector."
        },
        "app": {
          "description": "The app name of the associated Connector.",
          "type": "string"
        },
        "tenantId": {
          "description": "The tenant id of the associated Connector.",
          "type": "string"
        },
        "clientId": {
          "type": "string",
          "description": "The client id of the associated Connector."
        },
        "redirectUri": {
          "description": "The redirect url of the associated Connector.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse",
      "type": "object",
      "description": "Response message for DataConnectorService.GetConnectorSecret."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec": {
      "description": "Specification of the prompt to use with the model.",
      "properties": {
        "preamble": {
          "type": "string",
          "description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec"
    },
    "GoogleCloudDiscoveryengineV1betaLicenseConfig": {
      "properties": {
        "earlyTerminationDate": {
          "description": "Output only. The date when the subscription is terminated earlier than the expiration date.",
          "readOnly": true,
          "$ref": "GoogleTypeDate"
        },
        "name": {
          "type": "string",
          "description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`"
        },
        "subscriptionTier": {
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ],
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ],
          "description": "Required. Subscription tier information for the license config."
        },
        "startDate": {
          "$ref": "GoogleTypeDate",
          "description": "Required. The start date."
        },
        "endDate": {
          "$ref": "GoogleTypeDate",
          "description": "Optional. The planed end date."
        },
        "autoRenew": {
          "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.",
          "type": "boolean"
        },
        "freeTrial": {
          "description": "Optional. Whether the license config is for free trial.",
          "type": "boolean"
        },
        "lastUserUpdateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Optional. Timestamp of the most recent user-initiated update (seat count change or subscription term change). Unlike `update_time`, this field is only stamped when a customer explicitly updates the license (e.g. via the UI), and is not touched by system-driven writes (subscription pipeline, BALC propagation, etc.)."
        },
        "licenseCount": {
          "description": "Required. Number of licenses purchased.",
          "format": "int64",
          "type": "string"
        },
        "state": {
          "type": "string",
          "readOnly": true,
          "enumDescriptions": [
            "Default value. The license config does not exist.",
            "The license config is effective and being used.",
            "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 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."
          ],
          "description": "Output only. The state of the license config.",
          "enum": [
            "STATE_UNSPECIFIED",
            "ACTIVE",
            "EXPIRED",
            "NOT_STARTED",
            "WITHDRAWN",
            "DEACTIVATING"
          ]
        },
        "earlyTerminated": {
          "type": "boolean",
          "description": "Output only. Indication of whether the subscription is terminated earlier than the expiration date.",
          "readOnly": true
        },
        "geminiBundle": {
          "type": "boolean",
          "description": "Output only. Whether the license config is for Gemini bundle.",
          "readOnly": true
        },
        "subscriptionTerm": {
          "enumDescriptions": [
            "Default value, do not use.",
            "1 month.",
            "1 year.",
            "3 years.",
            "Custom term. Must set the end_date."
          ],
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TERM_UNSPECIFIED",
            "SUBSCRIPTION_TERM_ONE_MONTH",
            "SUBSCRIPTION_TERM_ONE_YEAR",
            "SUBSCRIPTION_TERM_THREE_YEARS",
            "SUBSCRIPTION_TERM_CUSTOM"
          ],
          "description": "Required. Subscription term."
        }
      },
      "description": "Information about users' licenses.",
      "id": "GoogleCloudDiscoveryengineV1betaLicenseConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1TargetSiteFailureReason": {
      "properties": {
        "quotaFailure": {
          "$ref": "GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure",
          "description": "Failed due to insufficient quota."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1TargetSiteFailureReason",
      "description": "Site search indexing failure reasons."
    },
    "GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse": {
      "properties": {
        "csvData": {
          "type": "string",
          "description": "The full CSV document as raw bytes: the header row followed by one row per UserLicense. Contains user license data (e.g. user emails). An export with no matching licenses contains only the header row.",
          "format": "byte"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse",
      "description": "Response message for UserLicenseService.ExportUserLicenses.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse": {
      "description": "Response message for LicenseConfigService.DistributeLicenseConfig method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse",
      "properties": {
        "licenseConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig",
          "description": "The updated or created LicenseConfig."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata",
      "description": "Metadata for DataConnectorService.SetUpDataConnector method.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata",
      "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object"
    },
    "GoogleTypeExpr": {
      "description": "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() \u003c 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.",
      "properties": {
        "location": {
          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI."
        },
        "title": {
          "type": "string",
          "description": "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."
        },
        "expression": {
          "description": "Textual representation of an expression in Common Expression Language syntax.",
          "type": "string"
        }
      },
      "id": "GoogleTypeExpr",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1AssistantGenerationConfig": {
      "type": "object",
      "properties": {
        "allowedModelIds": {
          "type": "array",
          "description": "Optional. The list of models that are allowed to be used for assistant.",
          "items": {
            "type": "string"
          }
        },
        "defaultLanguage": {
          "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.",
          "type": "string"
        },
        "defaultModelId": {
          "description": "Optional. The default model to use for assistant.",
          "type": "string"
        },
        "systemInstruction": {
          "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions",
          "$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig",
      "description": "Configuration for the generation of the assistant response."
    },
    "GoogleCloudDiscoveryengineV1betaImportDocumentsResponse": {
      "type": "object",
      "description": "Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.",
      "properties": {
        "errorConfig": {
          "description": "Echoes the destination for the complete errors in the request if set.",
          "$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig"
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "A sample of errors encountered while processing the request."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaImportDocumentsResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaActionConfigScopeList": {
      "properties": {
        "scopes": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The list of scopes.",
          "type": "array"
        }
      },
      "type": "object",
      "description": "Stores a list of scopes.",
      "id": "GoogleCloudDiscoveryengineV1alphaActionConfigScopeList"
    },
    "GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn": {
      "properties": {
        "type": {
          "description": "The type of values in this column family. The values are expected to be encoded using `HBase Bytes.toBytes` function when the encoding value is set to `BINARY`.",
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "STRING",
            "NUMBER",
            "INTEGER",
            "VAR_INTEGER",
            "BIG_NUMERIC",
            "BOOLEAN",
            "JSON"
          ],
          "enumDescriptions": [
            "The type is unspecified.",
            "String type.",
            "Numerical type.",
            "Integer type.",
            "Variable length integer type.",
            "BigDecimal type.",
            "Boolean type.",
            "JSON type."
          ]
        },
        "encoding": {
          "description": "The encoding mode of the values when the type is not `STRING`. Acceptable encoding values are: * `TEXT`: indicates values are alphanumeric text strings. * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes` family of functions. This can be overridden for a specific column by listing that column in `columns` and specifying an encoding for it.",
          "type": "string",
          "enumDescriptions": [
            "The encoding is unspecified.",
            "Text encoding.",
            "Binary encoding."
          ],
          "enum": [
            "ENCODING_UNSPECIFIED",
            "TEXT",
            "BINARY"
          ]
        },
        "qualifier": {
          "description": "Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.",
          "type": "string",
          "format": "byte"
        },
        "fieldName": {
          "description": "The field name to use for this column in the document. The name has to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the qualifier bytes with best effort. However, due to different naming patterns, field name collisions could happen, where parsing behavior is undefined.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn",
      "description": "The column of the Bigtable.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest": {
      "properties": {
        "dataStore": {
          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.",
          "type": "string"
        },
        "filterGroups": {
          "type": "array",
          "description": "Required. Names of the Group resources to use as a basis for the list of patients for the new patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Request for DataStoreService.ReplacePatientFilter method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey": {
      "type": "object",
      "description": "Specifies how a facet is computed.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey",
      "properties": {
        "orderBy": {
          "description": "The order in which documents are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals.",
          "type": "string"
        },
        "intervals": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaInterval"
          },
          "description": "Set only if values should be bucketed into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30."
        },
        "prefixes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Only get facet values that start with the given string prefix. For example, suppose \"category\" has three values \"Action \u003e 2022\", \"Action \u003e 2021\" and \"Sci-Fi \u003e 2022\". If set \"prefixes\" to \"Action\", the \"category\" facet only contains \"Action \u003e 2022\" and \"Action \u003e 2021\". Only supported on textual fields. Maximum is 10."
        },
        "contains": {
          "description": "Only get facet values that contain the given strings. For example, suppose \"category\" has three values \"Action \u003e 2022\", \"Action \u003e 2021\" and \"Sci-Fi \u003e 2022\". If set \"contains\" to \"2022\", the \"category\" facet only contains \"Action \u003e 2022\" and \"Sci-Fi \u003e 2022\". Only supported on textual fields. Maximum is 10.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "caseInsensitive": {
          "description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.",
          "type": "boolean"
        },
        "restrictedValues": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Only get facet for the given restricted values. Only supported on textual fields. For example, suppose \"category\" has three values \"Action \u003e 2022\", \"Action \u003e 2021\" and \"Sci-Fi \u003e 2022\". If set \"restricted_values\" to \"Action \u003e 2022\", the \"category\" facet only contains \"Action \u003e 2022\". Only supported on textual fields. Maximum is 10."
        },
        "key": {
          "description": "Required. Supported textual and numerical facet keys in Document object, over which the facet values are computed. Facet key is case-sensitive.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata",
      "properties": {
        "dialogflowAgent": {
          "description": "The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`.",
          "type": "string"
        }
      },
      "description": "Additional information of a Chat Engine. Fields in this message are output only."
    },
    "GoogleCloudDiscoveryengineV1alphaControl": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaControl",
      "properties": {
        "filterAction": {
          "description": "Defines a filter-type control Currently not supported by Recommendation",
          "$ref": "GoogleCloudDiscoveryengineV1alphaControlFilterAction"
        },
        "useCases": {
          "items": {
            "type": "string",
            "enum": [
              "SEARCH_USE_CASE_UNSPECIFIED",
              "SEARCH_USE_CASE_SEARCH",
              "SEARCH_USE_CASE_BROWSE"
            ],
            "enumDescriptions": [
              "Value used when unset. Will not occur in CSS.",
              "Search use case. Expects the traffic has a non-empty query.",
              "Browse use case. Expects the traffic has an empty query."
            ]
          },
          "description": "Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH.",
          "type": "array"
        },
        "displayName": {
          "description": "Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "redirectAction": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction",
          "description": "Defines a redirect-type control."
        },
        "synonymsAction": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaControlSynonymsAction",
          "description": "Treats a group of terms as synonyms of one another."
        },
        "boostAction": {
          "description": "Defines a boost-type control",
          "$ref": "GoogleCloudDiscoveryengineV1alphaControlBoostAction"
        },
        "conditions": {
          "description": "Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCondition"
          },
          "type": "array"
        },
        "promoteAction": {
          "description": "Promote certain links based on predefined trigger queries.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction"
        },
        "associatedServingConfigIds": {
          "description": "Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "name": {
          "description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`",
          "type": "string"
        },
        "solutionType": {
          "description": "Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.",
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ]
        }
      },
      "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`."
    },
    "GoogleCloudDiscoveryengineV1alphaAnalyticsConfig": {
      "description": "The customer controllable config for Analytics.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config`"
        },
        "userLevelMetricsEnabled": {
          "type": "boolean",
          "description": "Whether user-level metrics are enabled."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnalyticsConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSchema": {
      "properties": {
        "structSchema": {
          "description": "The structured representation of the schema.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "jsonSchema": {
          "type": "string",
          "description": "The JSON representation of the schema."
        },
        "name": {
          "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSchema",
      "description": "Defines the structure and layout of a type of document data.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the data store. It should be data store resource name Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field."
        },
        "id": {
          "description": "Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.",
          "readOnly": true,
          "type": "string"
        },
        "facetField": {
          "type": "array",
          "description": "Facet fields that store the mapping of fields to end user widget appearance.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField"
          }
        },
        "fieldsUiComponentsMap": {
          "description": "The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed.",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField"
          },
          "type": "object"
        }
      },
      "description": "UI component configuration for data store."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec",
      "type": "object",
      "properties": {
        "excludedFilterKeys": {
          "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 documents with the color facet \"Red\" and 200 documents with the color facet \"Blue\". A query containing the filter \"color:ANY(\"Red\")\" and having \"color\" as FacetKey.key would by default return only \"Red\" documents in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue documents available, \"Blue\" would not be shown as an available facet value. If \"color\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"color\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" documents. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "limit": {
          "type": "integer",
          "description": "Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is \"healthcare_aggregation_key\", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned.",
          "format": "int32"
        },
        "facetKey": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey",
          "description": "Required. The facet key specification."
        },
        "enableDynamicPosition": {
          "type": "boolean",
          "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how API orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position is false."
        }
      },
      "description": "A facet specification to perform faceted search."
    },
    "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse": {
      "description": "Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
      "id": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse",
      "type": "object",
      "properties": {
        "errorSamples": {
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the request."
        },
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata",
      "description": "Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaSitemap": {
      "id": "GoogleCloudDiscoveryengineV1alphaSitemap",
      "properties": {
        "uri": {
          "type": "string",
          "description": "Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`."
        },
        "createTime": {
          "description": "Output only. The sitemap's creation time.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated.",
          "readOnly": true
        }
      },
      "description": "A sitemap for the SiteSearchEngine.",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaUserContentWebContent": {
      "id": "GoogleCloudNotebooklmV1alphaUserContentWebContent",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "If URL is supplied, will fetch the webpage in the backend."
        },
        "sourceName": {
          "type": "string",
          "description": "The name to be displayed for the source."
        }
      },
      "description": "The web content uploaded as source."
    },
    "GoogleCloudDiscoveryengineV1UserLicense": {
      "properties": {
        "lastLoginTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. User created timestamp.",
          "format": "google-datetime"
        },
        "licenseAssignmentState": {
          "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;",
          "enumDescriptions": [
            "Default value.",
            "License assigned to the user.",
            "No license assigned to the user. Deprecated, translated to NO_LICENSE.",
            "No license assigned to the user.",
            "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).",
            "User is blocked from assigning a license."
          ],
          "enum": [
            "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED",
            "ASSIGNED",
            "UNASSIGNED",
            "NO_LICENSE",
            "NO_LICENSE_ATTEMPTED_LOGIN",
            "BLOCKED"
          ],
          "readOnly": true,
          "type": "string"
        },
        "userProfile": {
          "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.",
          "type": "string"
        },
        "licenseConfig": {
          "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. User update timestamp.",
          "type": "string"
        },
        "userPrincipal": {
          "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.",
          "type": "string"
        }
      },
      "description": "User License information assigned by the admin.",
      "id": "GoogleCloudDiscoveryengineV1UserLicense",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1Project": {
      "properties": {
        "customerProvidedConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig",
          "description": "Optional. Customer provided configurations."
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. The timestamp when this project is created.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.",
          "type": "string",
          "readOnly": true
        },
        "serviceTermsMap": {
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1ProjectServiceTerms"
          },
          "readOnly": true,
          "description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms."
        },
        "experienceState": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The current experience state of the project.",
          "enum": [
            "EXPERIENCE_STATE_UNSPECIFIED",
            "SOBI_ONLY",
            "LEGACY_ONLY",
            "LEGACY_AND_SOBI"
          ],
          "enumDescriptions": [
            "No experience is stated for this location.",
            "Only the new Gemini Enterprise experience.",
            "Only the classic Gemini Enterprise experience.",
            "Legacy engines serve the classic experience, the Sobi engine serves the Sobi experience."
          ]
        },
        "provisionCompletionTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use."
        },
        "configurableBillingStatus": {
          "description": "Output only. The current status of the project's configurable billing.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1Project",
      "description": "Metadata and configurations for a Google Cloud project in the service.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion": {
      "description": "Suggestions as people.",
      "properties": {
        "score": {
          "format": "double",
          "description": "The score of each suggestion. The score is in the range of [0, 1].",
          "type": "number"
        },
        "displayPhotoUri": {
          "description": "The photo uri of the person suggestion.",
          "type": "string"
        },
        "dataStore": {
          "description": "The name of the dataStore that this suggestion belongs to.",
          "type": "string"
        },
        "destinationUri": {
          "description": "The destination uri of the person suggestion.",
          "type": "string"
        },
        "suggestion": {
          "type": "string",
          "description": "The suggestion for the query."
        },
        "personType": {
          "enumDescriptions": [
            "Default value.",
            "The suggestion is from a GOOGLE_IDENTITY source.",
            "The suggestion is from a THIRD_PARTY_IDENTITY source.",
            "The suggestion is a group (e.g. a Google Group), not an individual."
          ],
          "description": "The type of the person.",
          "type": "string",
          "enum": [
            "PERSON_TYPE_UNSPECIFIED",
            "CLOUD_IDENTITY",
            "THIRD_PARTY_IDENTITY",
            "GOOGLE_GROUP"
          ]
        },
        "document": {
          "description": "The document data snippet in the suggestion. Only a subset of fields is populated.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCompletionConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCompletionConfig",
      "description": "Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.",
      "properties": {
        "queryModel": {
          "description": "The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the \"automatic\" model by default.",
          "type": "string"
        },
        "minPrefixLength": {
          "type": "integer",
          "format": "int32",
          "description": "The minimum number of characters needed to be typed in order to get suggestions. min_prefix_length must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 1 character."
        },
        "shouldServeContentSuggestions": {
          "description": "Whether to generate and serve content suggestions. This allows for content suggestions to be served in addition to query suggestions.",
          "type": "boolean"
        },
        "queryFrequencyThreshold": {
          "format": "int32",
          "type": "integer",
          "description": "This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline."
        },
        "name": {
          "type": "string",
          "description": "Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`"
        },
        "filterPiiSuggestionsUsingDlp": {
          "deprecated": true,
          "description": "Deprecated: this field has no effect. As of May 2025, PII suggestion filtering using [DLP](https://cloud.google.com/security/products/dlp) is always on for all data stores and can't be configured per data store.",
          "type": "boolean"
        },
        "numUniqueUsersThreshold": {
          "type": "integer",
          "description": "This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline.",
          "format": "int32"
        },
        "matchingOrder": {
          "type": "string",
          "description": "The matching order for autocomplete suggestions, e.g., a query consisting of `sh` with `out-of-order` specified would suggest `women's shoes`, whereas a query of `red s` with `exact-prefix` specified would suggest `red shoes`. Currently supported values: * `out-of-order` * `exact-prefix` Default value: `exact-prefix`."
        },
        "enableMode": {
          "description": "The enable mode of autocomplete generation pipelines. If this field is unset, the server behavior defaults to CompletionConfig.EnableMode.AUTOMATIC. Applies to DataStore only. Ignored for Engine.",
          "type": "string",
          "enum": [
            "ENABLE_MODE_UNSPECIFIED",
            "AUTOMATIC",
            "MANUAL"
          ],
          "enumDescriptions": [
            "When AutoComplete enable mode unspecified, it defaults to AUTOMATIC mode.",
            "AutoComplete will be enabled when the data store meets criteria.",
            "AutoComplete will be enabled regardless of UCS data requirements."
          ]
        },
        "maxSuggestions": {
          "format": "int32",
          "description": "The maximum number of autocomplete suggestions returned per term. max_suggestions must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 20 suggestions.",
          "type": "integer"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec": {
      "description": "Specification to boost suggestions based on the condition of the suggestion.",
      "properties": {
        "conditionBoostSpecs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec"
          },
          "description": "Condition boost specifications. If a suggestion matches multiple conditions in the specifications, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost.",
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata": {
      "properties": {
        "structData": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object",
          "description": "The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result."
        },
        "title": {
          "description": "Title.",
          "type": "string"
        },
        "uri": {
          "type": "string",
          "description": "URI for the document."
        },
        "document": {
          "type": "string",
          "description": "Document resource name."
        },
        "pageIdentifier": {
          "type": "string",
          "description": "Page identifier."
        }
      },
      "type": "object",
      "description": "Document metadata.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string",
          "description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models)."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec",
      "description": "Specification of the model."
    },
    "GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaConversationMessage": {
      "id": "GoogleCloudDiscoveryengineV1alphaConversationMessage",
      "description": "Defines a conversation message.",
      "properties": {
        "reply": {
          "description": "Search reply.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaReply"
        },
        "createTime": {
          "description": "Output only. Message creation timestamp.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "userInput": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaTextInput",
          "description": "User text input."
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaSourceMetadata": {
      "id": "GoogleCloudNotebooklmV1alphaSourceMetadata",
      "type": "object",
      "description": "Represents the metadata of a source and some additional information.",
      "properties": {
        "tokenCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of tokens in the source."
        },
        "youtubeMetadata": {
          "$ref": "GoogleCloudNotebooklmV1alphaYoutubeMetadata",
          "description": "Metadata for a youtube video source."
        },
        "wordCount": {
          "type": "integer",
          "description": "The word count of the source.",
          "format": "int32"
        },
        "googleDocsMetadata": {
          "description": "Metadata for a google doc source.",
          "$ref": "GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata"
        },
        "agentspaceMetadata": {
          "$ref": "GoogleCloudNotebooklmV1alphaAgentspaceMetadata",
          "description": "Metadata for an agentspace source."
        },
        "sourceAddedTimestamp": {
          "type": "string",
          "description": "The timestamp the source was added.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaFileCharacteristics": {
      "description": "Caracteristics of other file types.",
      "id": "GoogleCloudDiscoveryengineV1alphaFileCharacteristics",
      "properties": {
        "characteristics": {
          "description": "Output only. Generic map of characteristics.",
          "readOnly": true,
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ServingConfigMediaConfig": {
      "id": "GoogleCloudDiscoveryengineV1ServingConfigMediaConfig",
      "properties": {
        "contentWatchedPercentageThreshold": {
          "format": "float",
          "type": "number",
          "description": "Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive."
        },
        "demoteContentWatchedPastDays": {
          "type": "integer",
          "description": "Optional. Specifies the number of days to look back for demoting watched content. If set to zero or unset, defaults to the maximum of 365 days.",
          "format": "int32"
        },
        "contentWatchedSecondsThreshold": {
          "type": "number",
          "format": "float",
          "description": "Specifies the content watched minutes threshold for demotion."
        },
        "contentFreshnessCutoffDays": {
          "description": "Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days.",
          "format": "int32",
          "type": "integer"
        },
        "demotionEventType": {
          "type": "string",
          "description": "Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied."
        }
      },
      "description": "Specifies the configurations needed for Media Discovery. Currently we support: * `demote_content_watched`: Threshold for watched content demotion. Customers can specify if using watched content demotion or use viewed detail page. Using the content watched demotion, customers need to specify the watched minutes or percentage exceeds the threshold, the content will be demoted in the recommendation result. * `promote_fresh_content`: cutoff days for fresh content promotion. Customers can specify if using content freshness promotion. If the content was published within the cutoff days, the content will be promoted in the recommendation result. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec": {
      "description": "Specifies features for display, like match highlighting.",
      "type": "object",
      "properties": {
        "matchHighlightingCondition": {
          "enumDescriptions": [
            "Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.",
            "Disables match highlighting on all documents.",
            "Enables match highlighting on all documents."
          ],
          "description": "The condition under which match highlighting should occur.",
          "type": "string",
          "enum": [
            "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED",
            "MATCH_HIGHLIGHTING_DISABLED",
            "MATCH_HIGHLIGHTING_ENABLED"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission",
      "type": "object",
      "properties": {
        "program": {
          "type": "string",
          "description": "Required. Unique identifier for the program. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}`"
        },
        "evaluation": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation",
          "description": "Required. Evaluation results for the program candidate."
        },
        "lockToken": {
          "description": "Required. Lock token for the program obtained in the AcquireAlphaEvolvePrograms call.",
          "type": "string"
        }
      },
      "description": "Evaluation submission for a program candidate."
    },
    "GoogleCloudDiscoveryengineV1alphaProjectServiceTerms": {
      "type": "object",
      "description": "Metadata about the terms of service.",
      "id": "GoogleCloudDiscoveryengineV1alphaProjectServiceTerms",
      "properties": {
        "version": {
          "description": "The version string of the terms of service. For acceptable values, see the comments for id above.",
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "TERMS_ACCEPTED",
            "TERMS_PENDING",
            "TERMS_DECLINED"
          ],
          "enumDescriptions": [
            "The default value of the enum. This value is not actually used.",
            "The project has given consent to the terms of service.",
            "The project is pending to review and accept the terms of service.",
            "The project has declined or revoked the agreement to terms of service."
          ],
          "description": "Whether the project has accepted/rejected the service terms or it is still pending."
        },
        "id": {
          "type": "string",
          "description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`."
        },
        "declineTime": {
          "type": "string",
          "description": "The last time when the project declined or revoked the agreement to terms of service.",
          "format": "google-datetime"
        },
        "acceptTime": {
          "format": "google-datetime",
          "description": "The last time when the project agreed to the terms of service.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec": {
      "properties": {
        "types": {
          "description": "Enabled query classification types.",
          "items": {
            "type": "string",
            "enum": [
              "TYPE_UNSPECIFIED",
              "ADVERSARIAL_QUERY",
              "NON_ANSWER_SEEKING_QUERY",
              "JAIL_BREAKING_QUERY",
              "NON_ANSWER_SEEKING_QUERY_V2",
              "USER_DEFINED_CLASSIFICATION_QUERY"
            ],
            "enumDescriptions": [
              "Unspecified query classification type.",
              "Adversarial query classification type.",
              "Non-answer-seeking query classification type, for chit chat.",
              "Jail-breaking query classification type.",
              "Non-answer-seeking query classification type, for no clear intent.",
              "User defined query classification type."
            ]
          },
          "type": "array"
        }
      },
      "description": "Query classification specification.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec"
    },
    "GoogleCloudDiscoveryengineV1betaSessionConfig": {
      "description": "Configuration for the session.",
      "properties": {
        "sessionTtl": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl",
          "description": "Optional. The TTL for the session. If unset, the default value is 60 days."
        },
        "sessionManagementPolicy": {
          "description": "Optional. Session management policy that defines who will manage the session.",
          "enumDescriptions": [
            "Default value.",
            "The session will be managed by the customer.",
            "Sessions multi-tenancy will be controlled by Google using 1P or 3P identity providers."
          ],
          "type": "string",
          "enum": [
            "SESSION_MANAGEMENT_POLICY_UNSPECIFIED",
            "NOT_MANAGED",
            "VERTEX_AI_MANAGED"
          ]
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSessionConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo",
      "description": "Chunk information.",
      "type": "object",
      "properties": {
        "documentMetadata": {
          "description": "Document metadata.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata"
        },
        "content": {
          "type": "string",
          "description": "Chunk textual content."
        },
        "relevanceScore": {
          "format": "float",
          "description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.",
          "type": "number"
        },
        "blobAttachmentIndexes": {
          "description": "Output only. Stores indexes of blobattachments linked to this chunk.",
          "readOnly": true,
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          }
        },
        "chunk": {
          "description": "Chunk resource name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation",
      "description": "Evaluation results for a program candidate.",
      "properties": {
        "insights": {
          "description": "Optional. Represents various insights about the candidate, which are not directly used as optimization target, but that can be used to improve subsequent generations, and as such can be used to construct the evolution prompt.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights"
        },
        "scores": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores",
          "description": "Optional. Contains the evaluation scores for the target metrics to optimize."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec": {
      "description": "Safety specification. There are two use cases: 1. when only safety_spec.enable is set, the BLOCK_LOW_AND_ABOVE threshold will be applied for all categories. 2. when safety_spec.enable is set and some safety_settings are set, only specified safety_settings are applied.",
      "type": "object",
      "properties": {
        "safetySettings": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting"
          },
          "description": "Optional. Safety settings. This settings are effective only when the safety_spec.enable is true."
        },
        "enable": {
          "type": "boolean",
          "description": "Enable the safety filtering on the answer response. It is false by default."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec"
    },
    "ApiservingMcpMcpToolVisibilityFieldVisibility": {
      "type": "object",
      "id": "ApiservingMcpMcpToolVisibilityFieldVisibility",
      "properties": {
        "selector": {
          "description": "The name of the parameter in the input_schema or output_schema.",
          "type": "string"
        },
        "restriction": {
          "description": "The visibility restriction labels for this field (comma-separated).",
          "type": "string"
        }
      },
      "description": "Visibility rules for individual tool parameters (fields). This allows producers to hide specific fields in tools/list and tools/call."
    },
    "GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation": {
      "properties": {
        "address": {
          "description": "Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.",
          "type": "string"
        },
        "point": {
          "$ref": "GoogleTypeLatLng",
          "description": "Optional. Location represented by a latitude/longitude point."
        }
      },
      "type": "object",
      "description": "Precise location info with multiple representation options.",
      "id": "GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec",
      "properties": {
        "scoreThreshold": {
          "type": "number",
          "format": "double",
          "description": "Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` \u003e= `score_threshold`."
        },
        "fields": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField"
          },
          "type": "array",
          "description": "Optional. The list of fields to be used for Search As You Type scoring."
        },
        "condition": {
          "enumDescriptions": [
            "Server behavior defaults to Condition.DISABLED.",
            "Disables Search As You Type.",
            "Enables Search As You Type.",
            "Automatic switching between search-as-you-type and standard search modes, ideal for single-API implementations (e.g., debouncing)."
          ],
          "description": "The condition under which search as you type should occur. Default to Condition.DISABLED.",
          "type": "string",
          "enum": [
            "CONDITION_UNSPECIFIED",
            "DISABLED",
            "ENABLED",
            "AUTO"
          ]
        }
      },
      "description": "Specification for search as you type in search requests.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo": {
      "type": "object",
      "properties": {
        "chunk": {
          "description": "Chunk resource name.",
          "type": "string"
        },
        "content": {
          "type": "string",
          "description": "Chunk textual content."
        },
        "documentMetadata": {
          "description": "Metadata of the document from the current chunk.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo",
      "description": "Chunk information."
    },
    "GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo",
      "description": "Verification information for target sites in advanced site search.",
      "type": "object",
      "properties": {
        "verifyTime": {
          "format": "google-datetime",
          "description": "Latest site verification time.",
          "type": "string"
        },
        "siteVerificationState": {
          "description": "Site verification state indicating the ownership and validity.",
          "type": "string",
          "enum": [
            "SITE_VERIFICATION_STATE_UNSPECIFIED",
            "VERIFIED",
            "UNVERIFIED",
            "EXEMPTED"
          ],
          "enumDescriptions": [
            "Defaults to VERIFIED.",
            "Site ownership verified.",
            "Site ownership pending verification or verification failed.",
            "Site exempt from verification, e.g., a public website that opens to all."
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal",
      "properties": {
        "name": {
          "type": "string",
          "description": "Optional. Name of the signal."
        },
        "value": {
          "format": "float",
          "type": "number",
          "description": "Optional. Float value representing the ranking signal (e.g. 1.25 for BM25)."
        }
      },
      "description": "Custom clearbox signal represented by name and value pair.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource",
      "description": "The inline source for CompletionSuggestions.",
      "properties": {
        "suggestions": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionSuggestion"
          },
          "type": "array",
          "description": "Required. A list of all denylist entries to import. Max of 1000 items."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistAnswerReply": {
      "type": "object",
      "properties": {
        "groundedContent": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent",
          "description": "Possibly grounded response text or media from the assistant."
        },
        "replyId": {
          "type": "string",
          "description": "Output only. When set, uniquely identifies a reply within the `AssistAnswer` resource. During an AssistantService.StreamAssist call, multiple `Reply` messages with the same ID can occur within the response stream (across multiple StreamAssistResponse messages). These represent parts of a single `Reply` message in the final `AssistAnswer` resource.",
          "readOnly": true
        },
        "createTime": {
          "description": "The time when the reply was created.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "One part of the multi-part response of the assist call.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerReply"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec",
      "description": "The specification for answer generation.",
      "type": "object",
      "properties": {
        "userDefinedClassifierSpec": {
          "description": "Optional. The specification for user specified classifier spec.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest": {
      "description": "Request message for SiteSearchEngineService.BatchVerifyTargetSites method.",
      "properties": {},
      "id": "GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig": {
      "properties": {
        "paretoSamplingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig",
          "description": "Optional. Pareto sampling configuration."
        }
      },
      "description": "Configuration for parent sampling.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation": {
      "type": "object",
      "description": "Citation info for a segment.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation",
      "properties": {
        "startIndex": {
          "format": "int64",
          "description": "Index indicates the start of the segment, measured in bytes/unicode.",
          "type": "string"
        },
        "endIndex": {
          "format": "int64",
          "type": "string",
          "description": "End of the attributed segment, exclusive."
        },
        "sources": {
          "description": "Citation sources for the attributed segment.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy": {
      "description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.",
      "id": "GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy",
      "properties": {
        "policy": {
          "description": "Optional. Specifies the resource name of the Sensitive Data Protection content policy.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaAgentGatewaySetting": {
      "description": "Agent Gateway setting, which may be attached to Gemini Enterprise resources for egress control of Gemini Enterprise agents to agents and tools outside of Gemini Enterprise.",
      "properties": {
        "defaultEgressAgentGateway": {
          "$ref": "GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference",
          "description": "Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource. The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaAgentGatewaySetting"
    },
    "GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily": {
      "type": "object",
      "description": "The column family of the Bigtable.",
      "id": "GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily",
      "properties": {
        "encoding": {
          "description": "The encoding mode of the values when the type is not STRING. Acceptable encoding values are: * `TEXT`: indicates values are alphanumeric text strings. * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes` family of functions. This can be overridden for a specific column by listing that column in `columns` and specifying an encoding for it.",
          "enumDescriptions": [
            "The encoding is unspecified.",
            "Text encoding.",
            "Binary encoding."
          ],
          "type": "string",
          "enum": [
            "ENCODING_UNSPECIFIED",
            "TEXT",
            "BINARY"
          ]
        },
        "columns": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn"
          },
          "description": "The list of objects that contains column level information for each column. If a column is not present in this list it will be ignored."
        },
        "fieldName": {
          "description": "The field name to use for this column family in the document. The name has to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the family name with best effort. However, due to different naming patterns, field name collisions could happen, where parsing behavior is undefined.",
          "type": "string"
        },
        "type": {
          "enumDescriptions": [
            "The type is unspecified.",
            "String type.",
            "Numerical type.",
            "Integer type.",
            "Variable length integer type.",
            "BigDecimal type.",
            "Boolean type.",
            "JSON type."
          ],
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "STRING",
            "NUMBER",
            "INTEGER",
            "VAR_INTEGER",
            "BIG_NUMERIC",
            "BOOLEAN",
            "JSON"
          ],
          "description": "The type of values in this column family. The values are expected to be encoded using `HBase Bytes.toBytes` function when the encoding value is set to `BINARY`."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1CreateEngineMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1CreateEngineMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse": {
      "properties": {
        "metricUsages": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage"
          },
          "type": "array",
          "description": "A list of metric usages, one for each requested resource type that has data in the requested time range."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse",
      "type": "object",
      "description": "Response for [ProjectService.QueryConfigurablePricingUsageStats] method."
    },
    "GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig",
      "properties": {},
      "description": "Additional config specs for a `similar-items` engine."
    },
    "GoogleProtobufEmpty": {
      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
      "type": "object",
      "properties": {},
      "id": "GoogleProtobufEmpty"
    },
    "GoogleCloudDiscoveryengineLoggingImportErrorContext": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineLoggingImportErrorContext",
      "description": "The error payload that is populated on LRO import APIs, including the following: * `google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments` * `google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents`",
      "properties": {
        "lineNumber": {
          "description": "Line number of the content in file. Should be empty for permission or batch operation error.",
          "type": "string"
        },
        "document": {
          "description": "The detailed content which caused the error on importing a document.",
          "type": "string"
        },
        "gcsPath": {
          "type": "string",
          "description": "Google Cloud Storage file path of the import source. Can be set for batch operation error."
        },
        "operation": {
          "type": "string",
          "description": "The operation resource name of the LRO."
        },
        "userEvent": {
          "description": "The detailed content which caused the error on importing a user event.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigNode": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigNode",
      "properties": {
        "iconUrl": {
          "description": "Output only. An identifier or URL pointing to an icon representing this node type.",
          "type": "string",
          "readOnly": true
        },
        "displayName": {
          "readOnly": true,
          "description": "Output only. A human readable name for the node.",
          "type": "string"
        },
        "outputSchema": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Output only. The output schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.",
          "readOnly": true
        },
        "description": {
          "description": "Output only. A detailed description of what the node does.",
          "type": "string",
          "readOnly": true
        },
        "parameterSchema": {
          "readOnly": true,
          "description": "Output only. The parameter schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "type": {
          "enum": [
            "TYPE_UNSPECIFIED",
            "TRIGGER",
            "FLOW",
            "CONNECTOR"
          ],
          "enumDescriptions": [
            "Unspecified type.",
            "Trigger type.",
            "Flow type.",
            "Connector type."
          ],
          "description": "Output only. The type of the node.",
          "readOnly": true,
          "type": "string"
        }
      },
      "description": "Represents a single reusable computational or logical unit.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaTargetSite": {
      "description": "A target site for the SiteSearchEngine.",
      "id": "GoogleCloudDiscoveryengineV1alphaTargetSite",
      "properties": {
        "failureReason": {
          "description": "Output only. Failure reason.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason",
          "readOnly": true
        },
        "siteVerificationInfo": {
          "description": "Output only. Site ownership and validity verification status.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo"
        },
        "providedUriPattern": {
          "type": "string",
          "description": "Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated."
        },
        "rootDomainUri": {
          "description": "Output only. Root domain of the provided_uri_pattern.",
          "readOnly": true,
          "type": "string"
        },
        "generatedUriPattern": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. This is system-generated based on the provided_uri_pattern."
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated."
        },
        "exactMatch": {
          "description": "Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.",
          "type": "boolean"
        },
        "type": {
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "INCLUDE",
            "EXCLUDE"
          ],
          "enumDescriptions": [
            "This value is unused. In this case, server behavior defaults to Type.INCLUDE.",
            "Include the target site.",
            "Exclude the target site."
          ],
          "description": "The type of the target site, e.g., whether the site is to be included or excluded."
        },
        "indexingStatus": {
          "enumDescriptions": [
            "Defaults to SUCCEEDED.",
            "The target site is in the update queue and will be picked up by indexing pipeline.",
            "The target site fails to be indexed.",
            "The target site has been indexed.",
            "The previously indexed target site has been marked to be deleted. This is a transitioning state which will resulted in either: 1. target site deleted if unindexing is successful; 2. state reverts to SUCCEEDED if the unindexing fails.",
            "The target site change is pending but cancellable.",
            "The target site change is cancelled."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. Indexing status.",
          "enum": [
            "INDEXING_STATUS_UNSPECIFIED",
            "PENDING",
            "FAILED",
            "SUCCEEDED",
            "DELETING",
            "CANCELLABLE",
            "CANCELLED"
          ]
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The target site's last updated time.",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference": {
      "description": "Document reference.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference",
      "type": "object",
      "properties": {
        "title": {
          "description": "Title of the document.",
          "type": "string"
        },
        "chunkContents": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent"
          },
          "description": "List of cited chunk contents derived from document content.",
          "type": "array"
        },
        "uri": {
          "description": "Cloud Storage or HTTP uri for the document.",
          "type": "string"
        },
        "document": {
          "description": "Required. Document.name of the document. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata": {
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object",
      "description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted": {
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted",
      "type": "object",
      "description": "Error to indicate that the source was removed because the video was deleted.",
      "properties": {}
    },
    "GoogleApiDistributionBucketOptions": {
      "properties": {
        "linearBuckets": {
          "description": "The linear bucket.",
          "$ref": "GoogleApiDistributionBucketOptionsLinear"
        },
        "exponentialBuckets": {
          "description": "The exponential buckets.",
          "$ref": "GoogleApiDistributionBucketOptionsExponential"
        },
        "explicitBuckets": {
          "$ref": "GoogleApiDistributionBucketOptionsExplicit",
          "description": "The explicit buckets."
        }
      },
      "type": "object",
      "description": "`BucketOptions` describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. `BucketOptions` does not include the number of values in each bucket. A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.",
      "id": "GoogleApiDistributionBucketOptions"
    },
    "GoogleCloudDiscoveryengineV1alphaBAPConfigToolspecOverride": {
      "id": "GoogleCloudDiscoveryengineV1alphaBAPConfigToolspecOverride",
      "type": "object",
      "properties": {
        "tools": {
          "type": "array",
          "description": "Required. Tool definitions (one Struct per tool) that the admin has customised on top of the base toolspec returned by the fed API. REQUIRED because it is the only user-editable field in the modify API; the request must carry at least one tool.",
          "items": {
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            },
            "type": "object"
          }
        },
        "baseVersion": {
          "description": "Required. Base toolspec version against which `tools` were authored. On Update, MUST match the server's current stable toolspec version for the connection; mismatch is rejected with a user-facing error directing the admin to re-download the latest tools first.",
          "type": "string"
        }
      },
      "description": "Customer-facing view of the admin-curated toolspec for a BAP connection. Holds the (simplified) per-tool definitions surfaced to and editable by the admin in the Discovery Engine UI. Mirrors the shape of the backend `google.cloud.connectorexecution.v1.ToolspecOverride` message, but is intentionally kept as a separate public type so the Discovery Engine API surface can evolve independently of the fed-API surface (AIP-215). Handlers convert between the two via helpers in //cloud/ml/discoveryengine/external_service/v1main/data_connector_service/lib:bap_custom_tool_util."
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec": {
      "properties": {
        "filter": {
          "type": "string",
          "description": "Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --\u003e name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)"
        },
        "dataStoreSpecs": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec"
          },
          "description": "Optional. Specs defining DataStores to filter on in a search call and configurations for those data stores. This is only considered for Engines with multiple data stores."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec",
      "type": "object",
      "description": "Specification of the Vertex AI Search tool."
    },
    "GoogleCloudDiscoveryengineV1DestinationConfig": {
      "description": "Defines target endpoints used to connect to third-party sources.",
      "id": "GoogleCloudDiscoveryengineV1DestinationConfig",
      "properties": {
        "key": {
          "type": "string",
          "description": "Optional. Unique destination identifier that is supported by the connector."
        },
        "params": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. Additional parameters for this destination config in structured json format."
        },
        "destinations": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1DestinationConfigDestination"
          },
          "description": "Optional. The destinations for the corresponding key."
        },
        "jsonParams": {
          "type": "string",
          "description": "Additional parameters for this destination config in json string format."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaUserStore": {
      "type": "object",
      "description": "Configures metadata that is used for End User entities.",
      "id": "GoogleCloudDiscoveryengineV1betaUserStore",
      "properties": {
        "defaultLicenseConfig": {
          "type": "string",
          "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured."
        },
        "displayName": {
          "description": "The display name of the User Store.",
          "type": "string"
        },
        "enableExpiredLicenseAutoUpdate": {
          "type": "boolean",
          "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left."
        },
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "enableLicenseAutoRegister": {
          "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList",
      "description": "Search result list.",
      "type": "object",
      "properties": {
        "searchResults": {
          "type": "array",
          "description": "Search results.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResult"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ControlSynonymsAction": {
      "description": "Creates a set of terms that will act as synonyms of one another. Example: \"happy\" will also be considered as \"glad\", \"glad\" will also be considered as \"happy\".",
      "type": "object",
      "properties": {
        "synonyms": {
          "items": {
            "type": "string"
          },
          "description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ControlSynonymsAction"
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig": {
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig",
      "properties": {},
      "description": "The digital parsing configurations for documents.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1IdentityScheduleConfig": {
      "id": "GoogleCloudDiscoveryengineV1IdentityScheduleConfig",
      "type": "object",
      "properties": {
        "refreshInterval": {
          "type": "string",
          "description": "Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.",
          "format": "google-duration"
        },
        "nextSyncTime": {
          "description": "Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day.",
          "$ref": "GoogleTypeDateTime"
        }
      },
      "description": "The configuration for the identity data synchronization runs."
    },
    "GoogleCloudDiscoveryengineV1alphaBigQueryDestination": {
      "properties": {
        "datasetId": {
          "description": "Required. The ID of a BigQuery Dataset.",
          "type": "string"
        },
        "tableId": {
          "type": "string",
          "description": "Required. The table_id of exported BigQuery table."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaBigQueryDestination",
      "description": "The BigQuery output destination configuration.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRankingRecord": {
      "type": "object",
      "properties": {
        "title": {
          "description": "The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "The unique ID to represent the record."
        },
        "content": {
          "description": "The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.",
          "type": "string"
        },
        "score": {
          "description": "The score of this record based on the given query and selected model. The score will be rounded to 4 decimal places. If the score is close to 0, it will be rounded to 0.00001 to avoid returning unset.",
          "format": "float",
          "type": "number"
        }
      },
      "description": "Record message for RankService.Rank method.",
      "id": "GoogleCloudDiscoveryengineV1alphaRankingRecord"
    },
    "GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata",
      "properties": {},
      "description": "Metadata corresponding to the external group.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig": {
      "description": "Additional config specs for a Media Recommendation engine.",
      "type": "object",
      "properties": {
        "optimizationObjectiveConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig",
          "description": "Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5)."
        },
        "type": {
          "type": "string",
          "description": "Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`."
        },
        "optimizationObjective": {
          "description": "The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr`",
          "type": "string"
        },
        "trainingState": {
          "description": "The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before.",
          "enumDescriptions": [
            "Unspecified training state.",
            "The engine training is paused.",
            "The engine is training."
          ],
          "type": "string",
          "enum": [
            "TRAINING_STATE_UNSPECIFIED",
            "PAUSED",
            "TRAINING"
          ]
        },
        "engineFeaturesConfig": {
          "description": "Optional. Additional engine features config.",
          "$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata"
    },
    "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig": {
      "properties": {
        "resourceAccessControlConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig",
          "description": "Optional. Resource-level access control config for Gemini Enterprise users."
        },
        "notebooklmConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig",
          "description": "Optional. Configuration for NotebookLM settings."
        }
      },
      "type": "object",
      "description": "Customer provided configurations.",
      "id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig"
    },
    "GoogleCloudDiscoveryengineV1DataStoreBillingEstimation": {
      "id": "GoogleCloudDiscoveryengineV1DataStoreBillingEstimation",
      "type": "object",
      "description": "Estimation of data size per data store.",
      "properties": {
        "unstructuredDataSize": {
          "description": "Data size for unstructured data in terms of bytes.",
          "format": "int64",
          "type": "string"
        },
        "websiteDataSize": {
          "description": "Data size for websites in terms of bytes.",
          "format": "int64",
          "type": "string"
        },
        "unstructuredDataUpdateTime": {
          "format": "google-datetime",
          "description": "Last updated timestamp for unstructured data.",
          "type": "string"
        },
        "structuredDataUpdateTime": {
          "description": "Last updated timestamp for structured data.",
          "type": "string",
          "format": "google-datetime"
        },
        "structuredDataSize": {
          "type": "string",
          "description": "Data size for structured data in terms of bytes.",
          "format": "int64"
        },
        "websiteDataUpdateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Last updated timestamp for websites."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata": {
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata",
      "description": "Metadata for UpdateSchema LRO.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata",
      "description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference",
      "properties": {
        "iconUri": {
          "type": "string",
          "description": "The icon uri of the Drive document reference."
        },
        "fileId": {
          "readOnly": true,
          "description": "Output only. The file id of the Drive document data stored in the session context files.",
          "type": "string"
        },
        "destinationUri": {
          "description": "The destination uri of the reference.",
          "type": "string"
        },
        "displayTitle": {
          "description": "The display title of the reference.",
          "type": "string"
        },
        "documentName": {
          "type": "string",
          "description": "The full resource name of the document. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`."
        },
        "driveId": {
          "description": "The Drive id of the document.",
          "type": "string"
        }
      },
      "description": "Represents a Google Drive document reference."
    },
    "GoogleTypeDateTime": {
      "properties": {
        "month": {
          "type": "integer",
          "description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.",
          "format": "int32"
        },
        "hours": {
          "description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
          "format": "int32",
          "type": "integer"
        },
        "minutes": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0."
        },
        "seconds": {
          "format": "int32",
          "description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.",
          "type": "integer"
        },
        "nanos": {
          "type": "integer",
          "description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.",
          "format": "int32"
        },
        "year": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year."
        },
        "day": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day."
        },
        "utcOffset": {
          "type": "string",
          "format": "google-duration",
          "description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }."
        },
        "timeZone": {
          "description": "Time zone.",
          "$ref": "GoogleTypeTimeZone"
        }
      },
      "id": "GoogleTypeDateTime",
      "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference": {
      "properties": {
        "fileId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The file id of the person data stored in the session context files."
        },
        "destinationUri": {
          "description": "The destination uri of the person.",
          "type": "string"
        },
        "documentName": {
          "description": "The full resource name of the person. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.",
          "type": "string"
        },
        "displayPhotoUri": {
          "description": "The display photo url of the person.",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the person."
        },
        "personId": {
          "type": "string",
          "description": "The person id of the person."
        },
        "email": {
          "type": "string",
          "description": "The email of the person."
        }
      },
      "type": "object",
      "description": "Represents a person reference.",
      "id": "GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings",
      "type": "object",
      "properties": {
        "webGroundingType": {
          "enumDescriptions": [
            "Default, unspecified setting. This is the same as disabled.",
            "Web grounding is disabled.",
            "Grounding with Google Search is enabled.",
            "Grounding with Enterprise Web Search is enabled."
          ],
          "description": "Optional. The type of web grounding to use.",
          "type": "string",
          "enum": [
            "WEB_GROUNDING_TYPE_UNSPECIFIED",
            "WEB_GROUNDING_TYPE_DISABLED",
            "WEB_GROUNDING_TYPE_GOOGLE_SEARCH",
            "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH"
          ]
        },
        "disableLocationContext": {
          "type": "boolean",
          "description": "Optional. Output only. Whether to disable user location context.",
          "readOnly": true
        },
        "googleSearchGroundingEnabled": {
          "type": "boolean",
          "description": "Whether or not the Google search grounding toggle is shown. Deprecated. Use web_grounding_type instead.",
          "deprecated": true
        },
        "defaultWebGroundingToggleOff": {
          "description": "Output only. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.",
          "readOnly": true,
          "type": "boolean"
        }
      },
      "description": "Describes the assistant settings of the widget."
    },
    "GoogleCloudDiscoveryengineV1alphaDoubleList": {
      "type": "object",
      "properties": {
        "values": {
          "description": "Double values.",
          "items": {
            "type": "number",
            "format": "double"
          },
          "type": "array"
        }
      },
      "description": "Double list.",
      "id": "GoogleCloudDiscoveryengineV1alphaDoubleList"
    },
    "GoogleCloudNotebooklmV1alphaNotebookMetadata": {
      "description": "Metadata for a notebook.",
      "type": "object",
      "properties": {
        "isShareable": {
          "description": "True if the project is shareable.",
          "type": "boolean"
        },
        "isShared": {
          "description": "True if this project is currently shared with other people, false otherwise.",
          "type": "boolean"
        },
        "createTime": {
          "type": "string",
          "description": "The time at which this project was created.",
          "format": "google-datetime"
        },
        "lastViewed": {
          "format": "google-datetime",
          "description": "A timestamp indicating the time that the current in session user has last viewed the project.",
          "type": "string"
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaNotebookMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult": {
      "properties": {
        "output": {
          "type": "string",
          "description": "Optional. Contains stdout when code execution is successful, stderr or other description otherwise."
        },
        "outcome": {
          "type": "string",
          "enum": [
            "OUTCOME_UNSPECIFIED",
            "OUTCOME_OK",
            "OUTCOME_FAILED",
            "OUTCOME_DEADLINE_EXCEEDED"
          ],
          "description": "Required. Outcome of the code execution.",
          "enumDescriptions": [
            "Unspecified status. This value should not be used.",
            "Code execution completed successfully.",
            "Code execution finished but with a failure. `stderr` should contain the reason.",
            "Code execution ran for too long, and was cancelled. There may or may not be a partial output present."
          ]
        }
      },
      "type": "object",
      "description": "Result of executing ExecutableCode.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult"
    },
    "GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions": {
      "id": "GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions",
      "type": "object",
      "description": "Options used during audio overview generation.",
      "properties": {
        "sourceIds": {
          "items": {
            "$ref": "GoogleCloudNotebooklmV1alphaSourceId"
          },
          "type": "array",
          "description": "Optional. The sources in which the audio overview is grounded."
        },
        "episodeFocus": {
          "type": "string",
          "description": "What the hosts of the show should focus on."
        },
        "languageCode": {
          "description": "The language that the audio overview was requested in.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse": {
      "description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.",
      "type": "object",
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array"
        },
        "userLicenses": {
          "type": "array",
          "description": "UserLicenses successfully updated.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1UserLicense"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig": {
      "description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.",
      "properties": {
        "responseTemplate": {
          "description": "Optional. The resource name of the Model Armor template for sanitizing assistant responses. Format: `projects/{project}/locations/{location}/templates/{template_id}` If not specified, no sanitization will be applied to the assistant response.",
          "type": "string"
        },
        "failureMode": {
          "description": "Optional. Defines the failure mode for Model Armor sanitization.",
          "type": "string",
          "enum": [
            "FAILURE_MODE_UNSPECIFIED",
            "FAIL_OPEN",
            "FAIL_CLOSED"
          ],
          "enumDescriptions": [
            "Unspecified failure mode, default behavior is `FAIL_CLOSED`.",
            "In case of a Model Armor processing failure, the request is allowed to proceed without any changes.",
            "In case of a Model Armor processing failure, the request is rejected."
          ]
        },
        "userPromptTemplate": {
          "description": "Optional. The resource name of the Model Armor template for sanitizing user prompts. Format: `projects/{project}/locations/{location}/templates/{template_id}` If not specified, no sanitization will be applied to the user prompt.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse": {
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "The page token, provide this to retrieve the subsequent page."
        },
        "notebooks": {
          "items": {
            "$ref": "GoogleCloudNotebooklmV1alphaNotebook"
          },
          "type": "array",
          "description": "The list of recently viewed notebooks."
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse",
      "description": "Response for NotebookService.ListRecentlyViewedNotebooks method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaConversationContext": {
      "properties": {
        "contextDocuments": {
          "description": "The current list of documents the user is seeing. It contains the document resource references.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "activeDocument": {
          "description": "The current active document the user opened. It contains the document resource reference.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaConversationContext",
      "description": "Defines context of the conversation",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig": {
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ],
          "description": "Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.",
          "enumDescriptions": [
            "Default value.",
            "Natural Language Query Understanding is disabled.",
            "Natural Language Query Understanding is enabled."
          ]
        }
      },
      "description": "Configuration for Natural Language Query Understanding.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata": {
      "properties": {
        "citations": {
          "description": "Citations for segments.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata",
      "type": "object",
      "description": "Citation metadata."
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo",
      "properties": {
        "session": {
          "description": "Name of the newly generated or continued session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`.",
          "type": "string"
        }
      },
      "description": "Information about the session."
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig": {
      "description": "Related configurations applied to a specific type of document parser.",
      "properties": {
        "digitalParsingConfig": {
          "description": "Configurations applied to digital parser.",
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig"
        },
        "layoutParsingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig",
          "description": "Configurations applied to layout parser."
        },
        "ocrParsingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig",
          "description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig"
    },
    "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig": {
      "description": "Configuration message for the Knowledge Graph.",
      "id": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig",
      "type": "object",
      "properties": {
        "enablePrivateKnowledgeGraph": {
          "description": "Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "enableCloudKnowledgeGraph": {
          "description": "Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "privateKnowledgeGraphTypes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Specify entity types to support."
        },
        "cloudKnowledgeGraphTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specify entity types to support."
        },
        "featureConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig",
          "description": "Optional. Feature config for the Knowledge Graph."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPageInfo": {
      "description": "Detailed page information.",
      "id": "GoogleCloudDiscoveryengineV1alphaPageInfo",
      "properties": {
        "pageviewId": {
          "description": "A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple events as the user is browsing the page. The `pageview_id` property should be kept the same for all these events so that they can be grouped together properly. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.",
          "type": "string"
        },
        "referrerUri": {
          "type": "string",
          "description": "The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty."
        },
        "uri": {
          "description": "Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.",
          "type": "string"
        },
        "pageCategory": {
          "description": "The most specific category associated with a category page. To represent full path of category, use '\u003e' sign to separate different hierarchies. If '\u003e' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: `\"pageCategory\" : \"Sales \u003e 2017 Black Friday Deals\"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec": {
      "type": "object",
      "properties": {
        "agentSpecs": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec"
          },
          "description": "Optional. Specification of agents that are used to serve the request."
        }
      },
      "description": "Specification of agents that are used to serve the request.",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse": {
      "description": "Response message for UserStoreService.BatchUpdateUserAvailabilities method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse",
      "properties": {
        "userAvailabilities": {
          "description": "The updated UserAvailabilitys.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUserAvailability"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec": {
      "description": "Query understanding specification.",
      "properties": {
        "queryClassificationSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec",
          "description": "Query classification specification."
        },
        "disableSpellCorrection": {
          "description": "Optional. Whether to disable spell correction. The default value is `false`.",
          "type": "boolean"
        },
        "queryRephraserSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec",
          "description": "Query rephraser specification."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse": {
      "description": "Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.",
      "id": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1Engine": {
      "id": "GoogleCloudDiscoveryengineV1Engine",
      "properties": {
        "effectiveFeatures": {
          "readOnly": true,
          "additionalProperties": {
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ],
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ]
          },
          "description": "Output only. The complete, server-resolved state of every known feature toggle. Unlike `features`, which stores only explicit admin overrides, this map always contains an entry for every toggle. Clients should read toggle state from this field.",
          "type": "object"
        },
        "industryVertical": {
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ],
          "type": "string",
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ],
          "description": "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."
        },
        "observabilityConfig": {
          "description": "Optional. Observability config for the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1ObservabilityConfig"
        },
        "updateTime": {
          "description": "Output only. Timestamp the Recommendation Engine was last updated.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "mediaRecommendationEngineConfig": {
          "description": "Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.",
          "$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig"
        },
        "procurementContactEmails": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The emails of the procurement contacts.",
          "type": "array"
        },
        "configurableBillingApproach": {
          "description": "Optional. Configuration for configurable billing approach.",
          "enumDescriptions": [
            "Default value. For Spark and non-Spark non-configurable billing approach. General pricing model.",
            "The billing approach follows configurations specified by customer."
          ],
          "type": "string",
          "enum": [
            "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED",
            "CONFIGURABLE_BILLING_APPROACH_ENABLED"
          ]
        },
        "globalFeatureToggleState": {
          "description": "Optional. Controls the global feature toggle state for the engine.",
          "enumDescriptions": [
            "Unspecified feature toggle state. Treated as `GENERAL`.",
            "Gets features and models 4 weeks post GA. Features will be ON at the 4 weeks mark post GA.",
            "Gets features and models 2 weeks post GA. Features will be ON at the 2 weeks mark post GA.",
            "Gets features and models at GA. Features will be ON at GA.",
            "Gets features and models at EAP (if in EAP). Features will only be ON if the project is allowlisted."
          ],
          "type": "string",
          "enum": [
            "GLOBAL_FEATURE_TOGGLE_STATE_UNSPECIFIED",
            "DELAYED",
            "SCHEDULED",
            "GENERAL",
            "EARLY"
          ]
        },
        "disableAnalytics": {
          "description": "Optional. Whether to disable analytics for searches performed on this engine.",
          "type": "boolean"
        },
        "chatEngineConfig": {
          "description": "Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.",
          "$ref": "GoogleCloudDiscoveryengineV1EngineChatEngineConfig"
        },
        "cmekConfig": {
          "description": "Output only. CMEK-related information for the Engine.",
          "$ref": "GoogleCloudDiscoveryengineV1CmekConfig",
          "readOnly": true
        },
        "chatEngineMetadata": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1EngineChatEngineMetadata",
          "description": "Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT."
        },
        "marketplaceAgentVisibility": {
          "enumDescriptions": [
            "Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.",
            "Only agents that are currently available for use by the user are visible.",
            "Show marketplace agents that the user does not yet have access to but are integrated into the engine. This level also includes all agents visible with `SHOW_AVAILABLE_AGENTS_ONLY`.",
            "Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus agents that have already been purchased by the project/organization, even if they are not currently integrated into the engine.",
            "All agents in the marketplace are visible, regardless of access or purchase status. This level encompasses all agents shown in the previous levels."
          ],
          "type": "string",
          "enum": [
            "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED",
            "SHOW_AVAILABLE_AGENTS_ONLY",
            "SHOW_AGENTS_ALREADY_INTEGRATED",
            "SHOW_AGENTS_ALREADY_PURCHASED",
            "SHOW_ALL_AGENTS"
          ],
          "description": "Optional. The visibility of marketplace agents in the agent gallery."
        },
        "knowledgeGraphConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig",
          "description": "Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH."
        },
        "commonConfig": {
          "description": "Common config spec that specifies the metadata of the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1EngineCommonConfig"
        },
        "sessionConfig": {
          "description": "Optional. Non-empty default. Session config for the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1SessionConfig"
        },
        "agentGatewaySetting": {
          "$ref": "GoogleCloudDiscoveryengineV1AgentGatewaySetting",
          "description": "Optional. The agent gateway setting for the engine."
        },
        "dataStoreIds": {
          "type": "array",
          "description": "Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.",
          "items": {
            "type": "string"
          }
        },
        "displayName": {
          "description": "Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.",
          "type": "string"
        },
        "solutionType": {
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "description": "Required. The solutions of the engine.",
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ]
        },
        "name": {
          "description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "appType": {
          "description": "Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.",
          "type": "string",
          "enum": [
            "APP_TYPE_UNSPECIFIED",
            "APP_TYPE_INTRANET"
          ],
          "enumDescriptions": [
            "All non specified apps.",
            "App type for intranet search and Agentspace."
          ]
        },
        "createTime": {
          "readOnly": true,
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. Timestamp the Recommendation Engine was created at."
        },
        "features": {
          "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` * `music-generation` * `speech-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` * `skill-security-scan` * `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` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins`",
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ],
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ]
          }
        },
        "searchEngineConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1EngineSearchEngineConfig",
          "description": "Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH."
        },
        "modelConfigs": {
          "description": "Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.",
          "additionalProperties": {
            "type": "string",
            "enum": [
              "MODEL_STATE_UNSPECIFIED",
              "MODEL_ENABLED",
              "MODEL_DISABLED"
            ],
            "enumDescriptions": [
              "The model state is unspecified.",
              "The model is enabled by admin.",
              "The model is disabled by admin."
            ]
          },
          "type": "object"
        },
        "featurePolicies": {
          "description": "Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature with no entry is available to every user when it is on. Only features that support access policies are accepted.",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1EngineFeaturePolicy"
          },
          "type": "object"
        },
        "associatedAgentRegistry": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry."
        },
        "delayedGlobalFeatureToggleStateAllowed": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Whether the project is allowed to set `global_feature_toggle_state` to `DELAYED`."
        },
        "connectorTenantInfo": {
          "description": "Optional. Maps a connector ID (e.g., \"hybrid-github\", \"shopify\") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "type": "object",
      "description": "Metadata that describes the training and serving parameters of an Engine."
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistResponse": {
      "properties": {
        "connectorAuthErrors": {
          "type": "array",
          "description": "Per-connector authentication errors encountered during the request. Present when one or more connectors failed authentication but the request proceeded with the remaining connectors.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseConnectorAuthError"
          }
        },
        "assistToken": {
          "type": "string",
          "description": "A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support."
        },
        "sessionInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo",
          "description": "Session information. Only included in the final StreamAssistResponse of the response stream."
        },
        "answer": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswer",
          "description": "Assist answer resource object containing parts of the assistant's final answer for the user's query. Not present if the current response doesn't add anything to previously sent AssistAnswer.replies. Observe AssistAnswer.state to see if more parts are to be expected. While the state is `IN_PROGRESS`, the AssistAnswer.replies field in each response will contain replies (reply fragments) to be appended to the ones received in previous responses. AssistAnswer.name won't be filled. If the state is `SUCCEEDED`, `FAILED` or `SKIPPED`, the response is the last response and AssistAnswer.name will have a value."
        },
        "invokedSkills": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill"
          },
          "description": "The skills executed during the turn.",
          "type": "array"
        },
        "invocationTools": {
          "description": "The tool names of the tools that were invoked.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponse",
      "description": "Response for the AssistantService.StreamAssist method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse": {
      "properties": {
        "purgeCount": {
          "type": "string",
          "format": "int64",
          "description": "Number of suggestion deny list entries purged."
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "A sample of errors encountered while processing the request."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse",
      "type": "object",
      "description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec": {
      "description": "Relevance filtering specification.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec",
      "properties": {
        "keywordSearchThreshold": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec",
          "description": "Optional. Relevance filtering threshold specification for keyword search."
        },
        "semanticSearchThreshold": {
          "description": "Optional. Relevance filtering threshold specification for semantic search.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaInterval": {
      "description": "A floating point interval.",
      "type": "object",
      "properties": {
        "exclusiveMaximum": {
          "description": "Exclusive upper bound.",
          "format": "double",
          "type": "number"
        },
        "minimum": {
          "type": "number",
          "format": "double",
          "description": "Inclusive lower bound."
        },
        "exclusiveMinimum": {
          "format": "double",
          "type": "number",
          "description": "Exclusive lower bound."
        },
        "maximum": {
          "description": "Inclusive upper bound.",
          "type": "number",
          "format": "double"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaInterval"
    },
    "GoogleCloudDiscoveryengineV1ControlFilterAction": {
      "properties": {
        "filter": {
          "description": "Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "dataStore": {
          "description": "Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store",
          "type": "string"
        }
      },
      "description": "Specified which products may be included in results. Uses same filter as boost.",
      "id": "GoogleCloudDiscoveryengineV1ControlFilterAction",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec": {
      "properties": {},
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec",
      "description": "Specification of the web grounding tool."
    },
    "GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint": {
      "properties": {
        "comparison": {
          "type": "string",
          "enum": [
            "COMPARISON_UNSPECIFIED",
            "EQUALS",
            "LESS_THAN_EQUALS",
            "LESS_THAN",
            "GREATER_THAN_EQUALS",
            "GREATER_THAN"
          ],
          "enumDescriptions": [
            "Undefined comparison operator.",
            "Denotes equality `=` operator.",
            "Denotes less than or equal to `\u003c=` operator.",
            "Denotes less than `\u003c` operator.",
            "Denotes greater than or equal to `\u003e=` operator.",
            "Denotes greater than `\u003e` operator."
          ],
          "description": "The comparison operation performed between the field value and the value specified in the constraint."
        },
        "fieldName": {
          "description": "Name of the numerical field as defined in the schema.",
          "type": "string"
        },
        "querySegment": {
          "type": "string",
          "description": "Identifies the keywords within the search query that match a filter."
        },
        "value": {
          "description": "The value specified in the numerical constraint.",
          "type": "number",
          "format": "double"
        }
      },
      "type": "object",
      "description": "Constraint expression of a number field. Example: price \u003c 100.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint"
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError": {
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError",
      "type": "object",
      "properties": {
        "streamingErrorReason": {
          "enumDescriptions": [
            "Streaming error reason unspecified.",
            "Some error occurred while setting up resources for realtime sync.",
            "Some error was encountered while running realtime sync for the connector.",
            "Ingress endpoint is required when setting up realtime sync in private connectivity."
          ],
          "description": "Optional. Streaming error.",
          "type": "string",
          "enum": [
            "STREAMING_ERROR_REASON_UNSPECIFIED",
            "STREAMING_SETUP_ERROR",
            "STREAMING_SYNC_ERROR",
            "INGRESS_ENDPOINT_REQUIRED"
          ]
        },
        "error": {
          "description": "Optional. Error details.",
          "$ref": "GoogleRpcStatus"
        }
      },
      "description": "Streaming error details."
    },
    "GoogleCloudDiscoveryengineV1LicenseConfig": {
      "type": "object",
      "description": "Information about users' licenses.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`"
        },
        "licenseCount": {
          "type": "string",
          "description": "Required. Number of licenses purchased.",
          "format": "int64"
        },
        "endDate": {
          "$ref": "GoogleTypeDate",
          "description": "Optional. The planed end date."
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "ACTIVE",
            "EXPIRED",
            "NOT_STARTED",
            "WITHDRAWN",
            "DEACTIVATING"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "Default value. The license config does not exist.",
            "The license config is effective and being used.",
            "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 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."
          ],
          "type": "string",
          "description": "Output only. The state of the license config."
        },
        "lastUserUpdateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Optional. Timestamp of the most recent user-initiated update (seat count change or subscription term change). Unlike `update_time`, this field is only stamped when a customer explicitly updates the license (e.g. via the UI), and is not touched by system-driven writes (subscription pipeline, BALC propagation, etc.)."
        },
        "subscriptionTerm": {
          "enumDescriptions": [
            "Default value, do not use.",
            "1 month.",
            "1 year.",
            "3 years.",
            "Custom term. Must set the end_date."
          ],
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TERM_UNSPECIFIED",
            "SUBSCRIPTION_TERM_ONE_MONTH",
            "SUBSCRIPTION_TERM_ONE_YEAR",
            "SUBSCRIPTION_TERM_THREE_YEARS",
            "SUBSCRIPTION_TERM_CUSTOM"
          ],
          "description": "Required. Subscription term."
        },
        "autoRenew": {
          "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.",
          "type": "boolean"
        },
        "freeTrial": {
          "description": "Optional. Whether the license config is for free trial.",
          "type": "boolean"
        },
        "earlyTerminationDate": {
          "readOnly": true,
          "description": "Output only. The date when the subscription is terminated earlier than the expiration date.",
          "$ref": "GoogleTypeDate"
        },
        "subscriptionTier": {
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ],
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ],
          "description": "Required. Subscription tier information for the license config."
        },
        "earlyTerminated": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Indication of whether the subscription is terminated earlier than the expiration date."
        },
        "geminiBundle": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Whether the license config is for Gemini bundle."
        },
        "startDate": {
          "description": "Required. The start date.",
          "$ref": "GoogleTypeDate"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1LicenseConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaCannedQuery": {
      "id": "GoogleCloudDiscoveryengineV1alphaCannedQuery",
      "properties": {
        "localizedTexts": {
          "type": "object",
          "description": "Optional. The translations of the text attributes. The keys should be BCP-47 language codes.",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts"
          }
        },
        "enabled": {
          "description": "Whether this canned query is enabled.",
          "type": "boolean"
        },
        "displayName": {
          "description": "The display name of the canned query. It must be a UTF-8 encoded string with a length limit of 128 characters.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "defaultTexts": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts",
          "description": "Required. The default (non-localized) values for the text attributes."
        },
        "googleDefined": {
          "type": "boolean",
          "description": "Output only. Whether this is a Google-defined, read-only canned query.",
          "readOnly": true
        },
        "requiredCapabilities": {
          "description": "Optional. The capabilities the Assistant needs to have to use this canned query.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "Canned query resource of Assistant. It represents a short-cut to a predefined conversation start."
    },
    "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember": {
      "description": "A user or group the policy refers to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Required. Identifier evaluated at serving time. Its format depends on the project's identity provider: * Google identity (`GSUITE`): the group or user email. For groups, the server resolves the email to a group ID on write and returns the email on read. * Workforce Identity Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity subject."
        },
        "verification": {
          "enum": [
            "VERIFICATION_UNSPECIFIED",
            "VERIFIED",
            "NOT_FOUND",
            "NOT_VERIFIABLE",
            "CHECK_FAILED"
          ],
          "description": "Output only. Result of the server's directory check when the member was saved.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Not checked.",
            "Found in the project's directory.",
            "Microsoft Graph has no such group. Saved anyway, because a custom `google.groups` mapping can emit IDs that Graph doesn't know.",
            "The project has no directory to check against.",
            "The directory lookup failed. Saved anyway."
          ]
        },
        "type": {
          "description": "Required. Kind of member.",
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "USER",
            "GROUP"
          ],
          "enumDescriptions": [
            "Not allowed.",
            "A single user.",
            "A group of users."
          ]
        },
        "displayName": {
          "type": "string",
          "description": "Optional. Label shown in the console. Never used for evaluation."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked": {
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked",
      "properties": {},
      "description": "Error to indicate that the source was removed because the domain was blocked.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListSessionsResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse",
      "properties": {
        "nextPageToken": {
          "description": "Pagination token, if not returned indicates the last page.",
          "type": "string"
        },
        "sessions": {
          "description": "All the Sessions for a given data store.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
          }
        }
      },
      "description": "Response for ListSessions method."
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Identifier. The full resource name of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}`"
        },
        "createTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. Time when the experiment was created.",
          "type": "string"
        },
        "config": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig",
          "description": "Required. Experiment configuration."
        },
        "state": {
          "type": "string",
          "description": "Output only. The state of the experiment.",
          "enumDescriptions": [
            "Default value. This value is unused.",
            "The experiment is created.",
            "The experiment is running.",
            "The experiment is paused.",
            "The experiment is completed.",
            "The experiment has failed."
          ],
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATED",
            "RUNNING",
            "PAUSED",
            "COMPLETED",
            "FAILED"
          ]
        },
        "stats": {
          "readOnly": true,
          "description": "Output only. Experiment stats.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats"
        },
        "initialAlphaEvolveProgram": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Specifies the name of the seed program used to start the experiment."
        }
      },
      "description": "An experiment is a single run of the AlphaEvolve agent, an evolutionary coding agent powered by LLM for algorithm discovery and optimization.",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile": {
      "description": "A single source file with its path, content and metadata.",
      "properties": {
        "path": {
          "description": "Required. The relative path of the file, including the filename. e.g., \"src/main.py\", \"utils/helpers.js\", \"README.md\"",
          "type": "string"
        },
        "description": {
          "description": "Optional. Additional description of the file.",
          "type": "string"
        },
        "content": {
          "type": "string",
          "description": "Required. The raw content of the file. This is a string and not bytes, because it should be ultimately processed by the LLM as text."
        },
        "programLanguage": {
          "type": "string",
          "description": "Optional. The programming language of the file."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile"
    },
    "GoogleCloudDiscoveryengineV1alphaUserLicense": {
      "description": "User License information assigned by the admin.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. User created timestamp.",
          "readOnly": true
        },
        "licenseAssignmentState": {
          "type": "string",
          "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;",
          "enum": [
            "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED",
            "ASSIGNED",
            "UNASSIGNED",
            "NO_LICENSE",
            "NO_LICENSE_ATTEMPTED_LOGIN",
            "BLOCKED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "Default value.",
            "License assigned to the user.",
            "No license assigned to the user. Deprecated, translated to NO_LICENSE.",
            "No license assigned to the user.",
            "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).",
            "User is blocked from assigning a license."
          ]
        },
        "userPrincipal": {
          "type": "string",
          "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal."
        },
        "userProfile": {
          "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.",
          "type": "string"
        },
        "lastLoginTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.",
          "format": "google-datetime"
        },
        "licenseConfig": {
          "type": "string",
          "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user."
        },
        "updateTime": {
          "description": "Output only. User update timestamp.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaUserLicense",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse",
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      },
      "description": "Response message for IdentityMappingStoreService.ImportIdentityMappings"
    },
    "GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput": {
      "description": "Cloud Storage training data input.",
      "properties": {
        "testDataPath": {
          "type": "string",
          "description": "Cloud Storage test data. Same format as train_data_path. If not provided, a random 80/20 train/test split will be performed on train_data_path."
        },
        "corpusDataPath": {
          "type": "string",
          "description": "The Cloud Storage corpus data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id, title and text. Example: `{\"_id\": \"doc1\", title: \"relevant doc\", \"text\": \"relevant text\"}`"
        },
        "trainDataPath": {
          "description": "Cloud Storage training data path whose format should be `gs:///`. The file should be in tsv format. Each line should have the doc_id and query_id and score (number). For search-tuning model, it should have the query-id corpus-id score as tsv file header. The score should be a number in `[0, inf+)`. The larger the number is, the more relevant the pair is. Example: * `query-id\\tcorpus-id\\tscore` * `query1\\tdoc1\\t1`",
          "type": "string"
        },
        "queryDataPath": {
          "description": "The gcs query data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id and text. Example: {\"_id\": \"query1\", \"text\": \"example query\"}",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput"
    },
    "GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference": {
      "id": "GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference",
      "description": "Reference to an Agent Gateway resource.",
      "properties": {
        "name": {
          "description": "Required. Immutable. The resource name of the agent gateway. Expected format: `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCollection": {
      "description": "Collection is a container for configuring resources and access to a set of DataStores.",
      "properties": {
        "createTime": {
          "type": "string",
          "description": "Output only. Timestamp the Collection was created at.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "displayName": {
          "description": "Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "dataConnector": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector",
          "description": "Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnectorService.GetDataConnector method."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCollection",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1Tenant": {
      "id": "GoogleCloudDiscoveryengineV1Tenant",
      "properties": {
        "id": {
          "type": "string",
          "description": "The tenant's instance ID. Examples: Jira (\"8594f221-9797-5f78-1fa4-485e198d7cd0\"), Slack (\"T123456\")."
        },
        "uri": {
          "type": "string",
          "description": "The URI of the tenant, if applicable. For example, the URI of a Jira instance is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a URI."
        },
        "displayName": {
          "description": "Optional display name for the tenant, e.g. \"My Slack Team\".",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Tenant information for a connector source. This includes some of the same information stored in the Credential message, but is limited to only what is needed to provide a list of accessible tenants to the user."
    },
    "GoogleCloudDiscoveryengineV1alphaEngineCommonConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaEngineCommonConfig",
      "properties": {
        "companyName": {
          "description": "The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Common configurations for an Engine."
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec": {
      "description": "A specification for configuring a summary returned in a search response.",
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec",
      "properties": {
        "ignoreAdversarialQuery": {
          "description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead.",
          "type": "boolean"
        },
        "useSemanticChunks": {
          "description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.",
          "type": "boolean"
        },
        "modelSpec": {
          "description": "If specified, the spec will be used to modify the model specification provided to the LLM.",
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec"
        },
        "ignoreLowRelevantContent": {
          "description": "Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers.",
          "type": "boolean"
        },
        "includeCitations": {
          "description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results.",
          "type": "boolean"
        },
        "languageCode": {
          "type": "string",
          "description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature."
        },
        "modelPromptSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec",
          "description": "If specified, the spec will be used to modify the prompt provided to the LLM."
        },
        "summaryResultCount": {
          "format": "int32",
          "type": "integer",
          "description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS."
        },
        "ignoreNonSummarySeekingQuery": {
          "description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.",
          "type": "boolean"
        },
        "ignoreJailBreakingQuery": {
          "description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse": {
      "description": "Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.",
      "properties": {},
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun",
      "properties": {
        "progress": {
          "description": "Metadata to generate the progress bar.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress"
        },
        "entityName": {
          "description": "The name of the source entity.",
          "type": "string"
        },
        "indexedRecordCount": {
          "description": "Optional. The number of documents indexed.",
          "type": "string",
          "format": "int64"
        },
        "stateUpdateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Timestamp at which the entity sync state was last updated."
        },
        "scheduledRecordCount": {
          "type": "string",
          "description": "Optional. The number of documents scheduled to be crawled/extracted from connector source. This only applies to third party connectors.",
          "format": "int64"
        },
        "statsUpdateTime": {
          "type": "string",
          "description": "The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated.",
          "format": "google-datetime"
        },
        "deletedRecordCount": {
          "format": "int64",
          "type": "string",
          "description": "Optional. The number of documents deleted."
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "RUNNING",
            "SUCCEEDED",
            "FAILED",
            "OVERRUN",
            "CANCELLED",
            "PENDING",
            "WARNING",
            "SKIPPED"
          ],
          "description": "The state of the entity's sync run.",
          "enumDescriptions": [
            "Default value.",
            "The data sync is ongoing.",
            "The data sync is finished.",
            "The data sync is failed.",
            "Data sync has been running longer than expected and is still running at the time the next run is supposed to start.",
            "Data sync was scheduled but has been cancelled.",
            "Data sync is about to start.",
            "The data sync completed with non-fatal errors.",
            "An ongoing connector run has been running longer than expected, causing this run to be skipped."
          ]
        },
        "errors": {
          "type": "array",
          "description": "The errors from the entity's sync run. Only exist if running into an error state. Contains error code and error message.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "extractedRecordCount": {
          "format": "int64",
          "type": "string",
          "description": "Optional. The number of documents extracted from connector source, ready to be ingested to VAIS."
        },
        "errorRecordCount": {
          "format": "int64",
          "description": "Optional. The total number of documents failed at sync at indexing stage.",
          "type": "string"
        },
        "syncType": {
          "enumDescriptions": [
            "Sync type unspecified.",
            "Sync triggers full sync of all documents.",
            "Incremental sync of updated documents.",
            "Realtime sync.",
            "Scala sync."
          ],
          "description": "Sync type of this run.",
          "type": "string",
          "enum": [
            "SYNC_TYPE_UNSPECIFIED",
            "FULL",
            "INCREMENTAL",
            "REALTIME",
            "SCALA_SYNC"
          ]
        },
        "sourceApiRequestCount": {
          "description": "Optional. The number of requests sent to 3p API.",
          "format": "int64",
          "type": "string"
        }
      },
      "description": "Represents an entity that was synced in this ConnectorRun."
    },
    "GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig": {
      "type": "object",
      "properties": {
        "additionalParams": {
          "type": "object",
          "description": "Optional. Any additional parameters needed for EUA.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "jsonAuthParams": {
          "description": "Optional. Any authentication parameters specific to EUA connectors in json string format.",
          "type": "string"
        },
        "authParams": {
          "description": "Optional. Any authentication parameters specific to EUA connectors.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object"
        },
        "tenant": {
          "description": "Optional. The tenant project the connector is connected to.",
          "$ref": "GoogleCloudDiscoveryengineV1Tenant"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig",
      "description": "Any params and credentials used specifically for EUA connectors."
    },
    "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse",
      "description": "Response message for UserLicenseService.ListLicenseConfigsUsageStats method.",
      "properties": {
        "licenseConfigUsageStats": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats"
          },
          "type": "array",
          "description": "All the customer's LicenseConfigUsageStats."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse",
      "properties": {
        "documentDataMap": {
          "type": "object",
          "additionalProperties": {
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object."
            },
            "type": "object"
          },
          "description": "Document data keyed by URI pattern. For example: document_data_map = { \"www.url1.com/*\": { \"Categories\": [\"category1\", \"category2\"] }, \"www.url2.com/*\": { \"Categories\": [\"category3\"] } }"
        }
      },
      "type": "object",
      "description": "Response message for SiteSearchEngineService.GetUriPatternDocumentData method."
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec": {
      "properties": {
        "kpiPersonalizationAddOnDisabled": {
          "type": "boolean",
          "description": "Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results."
        },
        "generativeAnswerAddOnDisabled": {
          "description": "Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.",
          "type": "boolean"
        },
        "semanticAddOnDisabled": {
          "type": "boolean",
          "description": "Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream."
        }
      },
      "description": "SearchAddonSpec is used to disable add-ons for search. By default, if this field is not specified, add-ons are enabled wherever applicable.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression": {
      "description": "The expression denoting the filter that was extracted from the input query.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression",
      "type": "object",
      "properties": {
        "orExpr": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression",
          "description": "Logical \"Or\" compound operator connecting multiple expressions."
        },
        "andExpr": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression",
          "description": "Logical \"And\" compound operator connecting multiple expressions."
        },
        "geolocationConstraint": {
          "description": "Geolocation constraint expression.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint"
        },
        "numberConstraint": {
          "description": "Numerical constraint expression.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint"
        },
        "stringConstraint": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint",
          "description": "String constraint expression."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseFacet": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseFacet",
      "description": "A facet result.",
      "properties": {
        "dynamicFacet": {
          "type": "boolean",
          "description": "Whether the facet is dynamically generated."
        },
        "values": {
          "description": "The facet values for this field.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseFacetFacetValue"
          },
          "type": "array"
        },
        "key": {
          "description": "The key for this facet. For example, `\"colors\"` or `\"price\"`. It matches SearchRequest.FacetSpec.FacetKey.key.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata": {
      "description": "Metadata related to the progress of the CmekConfigService.DeleteCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaTuneEngineMetadata": {
      "properties": {
        "engine": {
          "type": "string",
          "description": "Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`"
        }
      },
      "description": "Metadata associated with a tune operation.",
      "id": "GoogleCloudDiscoveryengineV1betaTuneEngineMetadata",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaYoutubeMetadata": {
      "id": "GoogleCloudNotebooklmV1alphaYoutubeMetadata",
      "properties": {
        "channelName": {
          "description": "Output only. The channel name of the youtube video.",
          "type": "string",
          "readOnly": true
        },
        "videoId": {
          "description": "Output only. The id of the youtube video.",
          "type": "string",
          "readOnly": true
        }
      },
      "type": "object",
      "description": "Metadata about a youtube video source."
    },
    "GoogleCloudDiscoveryengineV1EngineFeaturePolicy": {
      "id": "GoogleCloudDiscoveryengineV1EngineFeaturePolicy",
      "type": "object",
      "properties": {
        "deniedMembers": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember"
          },
          "description": "Optional. Members who may not use the feature. Takes precedence over `allowed_members`."
        },
        "defaultAccess": {
          "description": "Optional. Access for users who match neither list.",
          "type": "string",
          "enum": [
            "DEFAULT_ACCESS_UNSPECIFIED",
            "ALLOW",
            "DENY"
          ],
          "enumDescriptions": [
            "Treated as `ALLOW`.",
            "Users who match neither list may use the feature.",
            "Users who match neither list may not use the feature."
          ]
        },
        "allowedMembers": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember"
          },
          "description": "Optional. Members who may use the feature.",
          "type": "array"
        }
      },
      "description": "Restricts which users may use a feature that is turned on in `features`."
    },
    "GoogleCloudDiscoveryengineV1alphaUserStore": {
      "description": "Configures metadata that is used for End User entities.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "displayName": {
          "description": "The display name of the User Store.",
          "type": "string"
        },
        "enableLicenseAutoRegister": {
          "type": "boolean",
          "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left."
        },
        "defaultLicenseConfig": {
          "type": "string",
          "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured."
        },
        "enableExpiredLicenseAutoUpdate": {
          "type": "boolean",
          "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaUserStore",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig",
      "properties": {
        "instanceResource": {
          "type": "string",
          "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}`."
        }
      },
      "description": "Identifies the instance hosting an OAuth provider that is reachable only over a private network.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata": {
      "description": "Metadata for EvaluationService.CreateEvaluation method.",
      "type": "object",
      "properties": {},
      "id": "GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponse",
      "properties": {
        "externalIdentities": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaExternalIdentity"
          },
          "type": "array",
          "description": "The list of external identities that match the query."
        }
      },
      "description": "Response message for CompletionService.CompleteExternalIdentities.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata",
      "description": "Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaControlRedirectAction": {
      "id": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction",
      "properties": {
        "redirectUri": {
          "description": "Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Redirects a shopper to the provided URI."
    },
    "GoogleCloudDiscoveryengineV1CmekConfig": {
      "type": "object",
      "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.",
      "id": "GoogleCloudDiscoveryengineV1CmekConfig",
      "properties": {
        "name": {
          "description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.",
          "type": "string"
        },
        "isDefault": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. The default CmekConfig for the Customer."
        },
        "kmsKeyVersion": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`."
        },
        "state": {
          "type": "string",
          "description": "Output only. The states of the CmekConfig.",
          "readOnly": true,
          "enumDescriptions": [
            "The CmekConfig state is unknown.",
            "The CmekConfig is creating.",
            "The CmekConfig can be used with DataStores.",
            "The CmekConfig is unavailable, most likely due to the KMS Key being revoked.",
            "The CmekConfig is deleting.",
            "The CmekConfig deletion process failed.",
            "The CmekConfig is not usable, most likely due to some internal issue.",
            "The KMS key version is being rotated.",
            "The KMS key is soft deleted. Some cleanup policy will eventually be applied.",
            "The KMS key is expired, meaning the key has been disabled for 30+ days. The customer can call DeleteCmekConfig to change the state to DELETED."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "KEY_ISSUE",
            "DELETING",
            "DELETE_FAILED",
            "UNUSABLE",
            "ACTIVE_ROTATING",
            "DELETED",
            "EXPIRED"
          ]
        },
        "kmsKey": {
          "description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.",
          "type": "string"
        },
        "notebooklmState": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Whether the NotebookLM Corpus is ready to be used.",
          "enum": [
            "NOTEBOOK_LM_STATE_UNSPECIFIED",
            "NOTEBOOK_LM_NOT_READY",
            "NOTEBOOK_LM_READY",
            "NOTEBOOK_LM_NOT_ENABLED"
          ],
          "enumDescriptions": [
            "The NotebookLM state is unknown.",
            "The NotebookLM is not ready.",
            "The NotebookLM is ready to be used.",
            "The NotebookLM is not enabled."
          ]
        },
        "lastRotationTimestampMicros": {
          "readOnly": true,
          "format": "int64",
          "description": "Output only. The timestamp of the last key rotation.",
          "type": "string"
        },
        "singleRegionKeys": {
          "type": "array",
          "description": "Optional. Single-regional CMEKs that are required for some VAIS features.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1SingleRegionKey"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest": {
      "properties": {
        "targetSite": {
          "description": "Required. The TargetSite to create.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
        },
        "parent": {
          "description": "Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Request message for SiteSearchEngineService.CreateTargetSite method.",
      "id": "GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata",
      "description": "Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user store, return the number of end users successfully deleted or failed to delete in the metadata.",
      "properties": {
        "failureCount": {
          "format": "int64",
          "type": "string",
          "description": "The number of end users under the user store that failed to be deleted."
        },
        "successCount": {
          "format": "int64",
          "type": "string",
          "description": "The number of end users under the user store that were successfully deleted."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1BAPConfigToolspecOverride": {
      "description": "Customer-facing view of the admin-curated toolspec for a BAP connection. Holds the (simplified) per-tool definitions surfaced to and editable by the admin in the Discovery Engine UI. Mirrors the shape of the backend `google.cloud.connectorexecution.v1.ToolspecOverride` message, but is intentionally kept as a separate public type so the Discovery Engine API surface can evolve independently of the fed-API surface (AIP-215). Handlers convert between the two via helpers in //cloud/ml/discoveryengine/external_service/v1main/data_connector_service/lib:bap_custom_tool_util.",
      "id": "GoogleCloudDiscoveryengineV1BAPConfigToolspecOverride",
      "properties": {
        "baseVersion": {
          "description": "Required. Base toolspec version against which `tools` were authored. On Update, MUST match the server's current stable toolspec version for the connection; mismatch is rejected with a user-facing error directing the admin to re-download the latest tools first.",
          "type": "string"
        },
        "tools": {
          "description": "Required. Tool definitions (one Struct per tool) that the admin has customised on top of the base toolspec returned by the fed API. REQUIRED because it is the only user-editable field in the modify API; the request must carry at least one tool.",
          "items": {
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaFhirStoreSource": {
      "description": "Cloud FhirStore source import data from.",
      "properties": {
        "gcsStagingDir": {
          "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.",
          "type": "string"
        },
        "resourceTypes": {
          "items": {
            "type": "string"
          },
          "description": "The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.",
          "type": "array"
        },
        "fhirStore": {
          "type": "string",
          "description": "Required. The full resource name of the FHIR store to import data from, in the format of `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`."
        },
        "updateFromLatestPredefinedSchema": {
          "description": "Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaFhirStoreSource",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse": {
      "id": "GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse",
      "type": "object",
      "description": "Response message for CrawlRateManagementService.RemoveDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.",
      "properties": {
        "error": {
          "description": "Errors from service when handling the request.",
          "$ref": "GoogleRpcStatus"
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "Output only. The state of the response.",
          "enumDescriptions": [
            "The state is unspecified.",
            "The state is successful.",
            "The state is failed."
          ],
          "readOnly": true
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse",
      "description": "Response message for CrawlRateManagementService.SetDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.",
      "properties": {
        "error": {
          "description": "Errors from service when handling the request.",
          "$ref": "GoogleRpcStatus"
        },
        "state": {
          "enumDescriptions": [
            "The state is unspecified.",
            "The state is successful.",
            "The state is failed."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED"
          ],
          "type": "string",
          "description": "Output only. The state of the response.",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec": {
      "properties": {
        "conditionBoostSpecs": {
          "description": "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec"
          }
        }
      },
      "description": "Boost specification to boost certain documents.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest",
      "type": "object",
      "properties": {},
      "description": "Request message for SiteSearchEngineService.EnableAdvancedSiteSearch method."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec",
      "description": "Session specification.",
      "properties": {
        "queryId": {
          "type": "string",
          "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID."
        },
        "searchResultPersistenceCount": {
          "format": "int32",
          "type": "integer",
          "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is similar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights",
      "properties": {
        "insights": {
          "description": "Optional. List of evaluation insights.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight"
          }
        }
      },
      "description": "Evaluation insights for a program.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource": {
      "properties": {
        "documents": {
          "type": "array",
          "description": "Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDocument"
          }
        }
      },
      "description": "The inline source for the input config for ImportDocuments method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource"
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion": {
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion",
      "description": "Suggestions from recent search history.",
      "type": "object",
      "properties": {
        "recentSearchTime": {
          "description": "The time when this recent rearch happened.",
          "format": "google-datetime",
          "type": "string"
        },
        "score": {
          "description": "The score of each suggestion. The score is in the range of [0, 1].",
          "format": "double",
          "type": "number"
        },
        "suggestion": {
          "description": "The suggestion for the query.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig": {
      "description": "Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.",
      "type": "object",
      "properties": {
        "timeZone": {
          "description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.",
          "type": "string"
        },
        "business": {
          "type": "string",
          "description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search."
        },
        "location": {
          "type": "string",
          "description": "Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default."
        },
        "defaultLanguageCode": {
          "description": "Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSessionTurn": {
      "properties": {
        "detailedAssistAnswer": {
          "description": "Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswer",
          "readOnly": true
        },
        "query": {
          "description": "Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQuery"
        },
        "answer": {
          "description": "Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
          "type": "string"
        },
        "queryConfig": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix \"google.\" is reserved for Google-developed functionality."
        },
        "live": {
          "type": "boolean",
          "description": "Optional. Indicates whether this turn is a live turn."
        },
        "detailedAnswer": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer",
          "readOnly": true,
          "description": "Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session."
        }
      },
      "description": "Represents a turn, including a query from the user and a answer from service.",
      "id": "GoogleCloudDiscoveryengineV1alphaSessionTurn",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore": {
      "id": "GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore",
      "type": "object",
      "description": "Stores information regarding the serving configurations at DataStore level.",
      "properties": {
        "disabledForServing": {
          "type": "boolean",
          "description": "Optional. If set true, the DataStore will not be available for serving search requests."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest",
      "description": "Request message for AlphaEvolveService.AcquirePrograms.",
      "properties": {
        "desiredProgramsCount": {
          "description": "Optional. Number of evolved programs to acquire. If not set, the default value is 1.",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse": {
      "properties": {},
      "type": "object",
      "description": "Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.",
      "id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected": {
      "description": "No audio was detected in the input file.",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigBatchAuthStatus": {
      "description": "Describes the batch authorization status for a batch_authorization_group.",
      "properties": {
        "connectorAuthState": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState",
          "description": "Output only. The current authorization state for this connector.",
          "readOnly": true
        },
        "placeholder": {
          "description": "Output only. It is the batch authorization group placeholder full resource name. This is not a real data connector resource. E.g. projects/{project}/locations/{location}/collections/oauth_placeholder_google_workspace/dataStores/dataConnector.",
          "type": "string",
          "readOnly": true
        },
        "batchAuthorizationGroup": {
          "readOnly": true,
          "description": "Output only. The batch authorization group the placeholder belongs to.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigBatchAuthStatus",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob": {
      "description": "Stores type and data of the blob.",
      "properties": {
        "mimeType": {
          "readOnly": true,
          "description": "Output only. The media type (MIME type) of the generated data.",
          "type": "string"
        },
        "data": {
          "format": "byte",
          "description": "Output only. Raw bytes.",
          "type": "string",
          "readOnly": true
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob"
    },
    "GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec": {
      "properties": {
        "taskMarker": {
          "description": "Optional. The task marker to be used for the user defined classifier.",
          "type": "string"
        },
        "seed": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. The seed value to be used for the user defined classifier."
        },
        "topK": {
          "type": "string",
          "format": "int64",
          "description": "Optional. The top-k value to be used for the user defined classifier."
        },
        "temperature": {
          "description": "Optional. The temperature value to be used for the user defined classifier.",
          "type": "number",
          "format": "double"
        },
        "modelId": {
          "description": "Optional. The model id to be used for the user defined classifier.",
          "type": "string"
        },
        "topP": {
          "format": "double",
          "description": "Optional. The top-p value to be used for the user defined classifier.",
          "type": "number"
        },
        "preamble": {
          "description": "Optional. The preamble to be used for the user defined classifier.",
          "type": "string"
        },
        "enableUserDefinedClassifier": {
          "description": "Optional. Whether or not to enable and include user defined classifier.",
          "type": "boolean"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec",
      "description": "The specification for user defined classifier."
    },
    "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult": {
      "properties": {
        "timestamp": {
          "type": "string",
          "description": "Time corresponding to when this metric value was calculated.",
          "format": "google-datetime"
        },
        "value": {
          "$ref": "GoogleMonitoringV3TypedValue",
          "description": "Value of the metric query."
        },
        "name": {
          "type": "string",
          "description": "This metric query name is mapping to variables in the requirement_condition."
        },
        "unit": {
          "type": "string",
          "description": "The unit in which this metric is reported. Follows [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard."
        },
        "metricType": {
          "description": "Type identifier of the metric corresponding to this query result.",
          "type": "string"
        }
      },
      "description": "Metric result. The metric are in the requirement_condition.",
      "id": "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec",
      "type": "object",
      "description": "Specification for relevance filtering on a specific sub-search.",
      "properties": {
        "relevanceThreshold": {
          "description": "Pre-defined relevance threshold for the sub-search.",
          "enumDescriptions": [
            "Default value. In this case, server behavior defaults to Google defined threshold.",
            "Lowest relevance threshold.",
            "Low relevance threshold.",
            "Medium relevance threshold.",
            "High relevance threshold."
          ],
          "type": "string",
          "enum": [
            "RELEVANCE_THRESHOLD_UNSPECIFIED",
            "LOWEST",
            "LOW",
            "MEDIUM",
            "HIGH"
          ]
        },
        "semanticRelevanceThreshold": {
          "format": "float",
          "type": "number",
          "description": "Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata",
      "description": "Metadata for UpdateSchema LRO."
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig": {
      "description": "Customer provided configurations.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig",
      "properties": {
        "complianceLevel": {
          "readOnly": true,
          "enum": [
            "COMPLIANCE_LEVEL_UNSPECIFIED",
            "COMPLIANCE_LEVEL_FEDRAMP_HIGH",
            "COMPLIANCE_LEVEL_IL4",
            "COMPLIANCE_LEVEL_IL5",
            "COMPLIANCE_LEVEL_ITAR"
          ],
          "description": "Output only. The customer's Assured Workloads compliance level. `customer_type` collapses every compliance level into a single `GOVERNMENT_CUSTOMER` value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead.",
          "enumDescriptions": [
            "The project has no Assured Workloads compliance level, or reports one that this API version does not model.",
            "FedRAMP High compliance level.",
            "Impact Level 4 (IL4) compliance level.",
            "Impact Level 5 (IL5) compliance level.",
            "International Traffic in Arms Regulations (ITAR) compliance level."
          ],
          "type": "string"
        },
        "customerType": {
          "enumDescriptions": [
            "Default customer type.",
            "Government customer type. Some features are disabled for government customers due to legal requirements."
          ],
          "description": "Customer type.",
          "type": "string",
          "enum": [
            "DEFAULT_CUSTOMER",
            "GOVERNMENT_CUSTOMER"
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponse": {
      "description": "Response for EngineService.CheckFeaturePolicyMembers method.",
      "id": "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponse",
      "type": "object",
      "properties": {
        "directorySource": {
          "description": "Where the project's groups are looked up.",
          "enumDescriptions": [
            "The source couldn't be determined; every group is `CHECK_FAILED`.",
            "Google identity (Workspace or Cloud Identity). Groups are emails.",
            "Workforce Identity Federation with SCIM groups in the project's workforce pool.",
            "Workforce Identity Federation without SCIM groups: no directory to check against."
          ],
          "type": "string",
          "enum": [
            "DIRECTORY_SOURCE_UNSPECIFIED",
            "GOOGLE",
            "SCIM",
            "NONE"
          ]
        },
        "memberChecks": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponseMemberCheck"
          },
          "type": "array",
          "description": "One result per requested member, in request order. Members are checked independently, so two emails for the same Google group both pass."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaControlFilterAction": {
      "type": "object",
      "properties": {
        "filter": {
          "description": "Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "dataStore": {
          "type": "string",
          "description": "Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaControlFilterAction",
      "description": "Specified which products may be included in results. Uses same filter as boost."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig": {
      "type": "object",
      "description": "Configuration for the generation of the assistant response.",
      "properties": {
        "defaultModelId": {
          "description": "Optional. The default model to use for assistant.",
          "type": "string"
        },
        "systemInstruction": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction",
          "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions"
        },
        "allowedModelIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The list of models that are allowed to be used for assistant."
        },
        "defaultLanguage": {
          "type": "string",
          "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigImage": {
      "description": "Options to store an image.",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Image URL."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigImage"
    },
    "GoogleCloudDiscoveryengineV1alphaDocument": {
      "properties": {
        "indexTime": {
          "format": "google-datetime",
          "description": "Output only. The time when the document was last indexed. If this field is populated, it means the document has been indexed. While documents typically become searchable within seconds of indexing, it can sometimes take up to a few hours. If this field is not populated, it means the document has never been indexed.",
          "readOnly": true,
          "type": "string"
        },
        "schemaId": {
          "description": "The identifier of the schema located in the same data store.",
          "type": "string"
        },
        "parentDocumentId": {
          "description": "The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.",
          "type": "string"
        },
        "indexStatus": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus",
          "description": "Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, if document's index is in progress, the pending_message field is populated.",
          "readOnly": true
        },
        "derivedStructData": {
          "description": "Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "type": "object",
          "readOnly": true
        },
        "jsonData": {
          "description": "The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.",
          "type": "string"
        },
        "id": {
          "description": "Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters.",
          "type": "string"
        },
        "name": {
          "description": "Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "structData": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object",
          "description": "The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown."
        },
        "content": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentContent",
          "description": "The unstructured data linked to this document. Content can only be set and must be set if this document is under a `CONTENT_REQUIRED` data store."
        },
        "aclInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentAclInfo",
          "description": "Access control information for the document."
        }
      },
      "description": "Document captures all raw metadata information of items to be recommended or searched.",
      "id": "GoogleCloudDiscoveryengineV1alphaDocument",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata": {
      "type": "object",
      "description": "User-facing metadata for the connector, shown on the connector detail page (title, description, short_description, author, note).",
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata",
      "properties": {
        "note": {
          "description": "Optional. Free-form, multi-line note about the connector's capabilities or a custom note that can be set for the connector.",
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Optional. Display title of the connector."
        },
        "author": {
          "description": "Optional. The party that authored the connector, e.g. \"Google\" or a third-party provider name. Lets end users see who authored a connector.",
          "type": "string"
        },
        "shortDescription": {
          "description": "Optional. Short, subtitle-length description of the connector (e.g. shown beneath the connector name in list and detail views).",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. Human-readable description of the connector, shown on the connector detail page. One connector has a single description."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats": {
      "description": "Stats about the experiment.",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats",
      "properties": {
        "inputTokenCount": {
          "description": "Output only. Number of billed input tokens consumed by the experiment.",
          "type": "string",
          "format": "int64",
          "readOnly": true
        },
        "evaluatedCandidatesCount": {
          "readOnly": true,
          "description": "Output only. Number of candidates evaluated.",
          "type": "integer",
          "format": "int32"
        },
        "outputTokenCount": {
          "description": "Output only. Number of billed output tokens consumed by the experiment.",
          "type": "string",
          "format": "int64",
          "readOnly": true
        },
        "candidatesCount": {
          "readOnly": true,
          "type": "integer",
          "format": "int32",
          "description": "Output only. Number of candidates generated."
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty": {
      "description": "Indicates that the source is empty.",
      "properties": {},
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine": {
      "properties": {
        "reasoningEngine": {
          "type": "string",
          "description": "Required. The reasoning engine that the agent is connected to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine",
      "description": "Keeps track of the reasoning engine that the agent is connected to. This message is not intended to keep track of agent's lifecycle. Instead it is only used to define parameters to connect to the agent that is already deployed to a reasoning engine.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting": {
      "description": "Safety settings.",
      "properties": {
        "category": {
          "enumDescriptions": [
            "The harm category is unspecified.",
            "The harm category is hate speech.",
            "The harm category is dangerous content.",
            "The harm category is harassment.",
            "The harm category is sexually explicit content.",
            "The harm category is civic integrity."
          ],
          "type": "string",
          "enum": [
            "HARM_CATEGORY_UNSPECIFIED",
            "HARM_CATEGORY_HATE_SPEECH",
            "HARM_CATEGORY_DANGEROUS_CONTENT",
            "HARM_CATEGORY_HARASSMENT",
            "HARM_CATEGORY_SEXUALLY_EXPLICIT",
            "HARM_CATEGORY_CIVIC_INTEGRITY"
          ],
          "description": "Required. Harm category."
        },
        "threshold": {
          "enumDescriptions": [
            "Unspecified harm block threshold.",
            "Block low threshold and above (i.e. block more).",
            "Block medium threshold and above.",
            "Block only high threshold (i.e. block less).",
            "Block none.",
            "Turn off the safety filter."
          ],
          "type": "string",
          "enum": [
            "HARM_BLOCK_THRESHOLD_UNSPECIFIED",
            "BLOCK_LOW_AND_ABOVE",
            "BLOCK_MEDIUM_AND_ABOVE",
            "BLOCK_ONLY_HIGH",
            "BLOCK_NONE",
            "OFF"
          ],
          "description": "Required. The harm block threshold."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting"
    },
    "GoogleMonitoringV3Point": {
      "id": "GoogleMonitoringV3Point",
      "description": "A single data point in a time series.",
      "type": "object",
      "properties": {
        "interval": {
          "description": "The time interval to which the data point applies. For `GAUGE` metrics, the start time is optional, but if it is supplied, it must equal the end time. For `DELTA` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.",
          "$ref": "GoogleMonitoringV3TimeInterval"
        },
        "value": {
          "$ref": "GoogleMonitoringV3TypedValue",
          "description": "The value of the data point."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams": {
      "type": "object",
      "properties": {
        "orderBy": {
          "type": "string",
          "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned."
        },
        "searchResultMode": {
          "enumDescriptions": [
            "Default value.",
            "Returns documents in the search result.",
            "Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified."
          ],
          "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)",
          "type": "string",
          "enum": [
            "SEARCH_RESULT_MODE_UNSPECIFIED",
            "DOCUMENTS",
            "CHUNKS"
          ]
        },
        "maxReturnResults": {
          "description": "Number of search results to return. The default value is 10.",
          "type": "integer",
          "format": "int32"
        },
        "filter": {
          "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --\u003e name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)",
          "type": "string"
        },
        "boostSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec",
          "description": "Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)"
        },
        "dataStoreSpecs": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec"
          },
          "description": "Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level."
        },
        "customFineTuningSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec",
          "description": "Optional. Custom fine tuning configs."
        },
        "naturalLanguageQueryUnderstandingSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec",
          "description": "Optional. Specification to enable natural language understanding capabilities for search requests."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams",
      "description": "Search parameters."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec": {
      "properties": {
        "mode": {
          "enumDescriptions": [
            "Default value. In this case, server behavior defaults to Mode.AUTO.",
            "Personalization is enabled if data quality requirements are met.",
            "Disable personalization."
          ],
          "description": "The personalization mode of the search request. Defaults to Mode.AUTO.",
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "AUTO",
            "DISABLED"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec",
      "description": "The specification for personalization.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ControlPromoteAction": {
      "type": "object",
      "description": "Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.",
      "properties": {
        "dataStore": {
          "description": "Required. Data store with which this promotion is attached to.",
          "type": "string"
        },
        "searchLinkPromotion": {
          "description": "Required. Promotion attached to this action.",
          "$ref": "GoogleCloudDiscoveryengineV1SearchLinkPromotion"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ControlPromoteAction"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonPaywallError": {
      "type": "object",
      "properties": {},
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonPaywallError",
      "description": "Indicates that the source is paywalled and cannot be ingested."
    },
    "GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse": {
      "description": "Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.",
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array"
        },
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
          "description": "Echoes the destination for the complete errors in the request if set."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec": {
      "type": "object",
      "properties": {},
      "description": "Specification of the video generation tool.",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec"
    },
    "GoogleCloudDiscoveryengineV1betaCondition": {
      "description": "Defines circumstances to be checked before allowing a behavior",
      "properties": {
        "queryTerms": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaConditionQueryTerm"
          },
          "description": "Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms."
        },
        "activeTimeRange": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaConditionTimeRange"
          },
          "type": "array",
          "description": "Range of time(s) specifying when condition is active. Maximum of 10 time ranges."
        },
        "queryRegex": {
          "description": "Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaCondition",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition": {
      "description": "Stored definition of an agent that uses A2A.",
      "id": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition",
      "type": "object",
      "properties": {
        "cloudMarketplaceConfig": {
          "description": "Optional. Configuration specific to agents that are deployed from Cloud Marketplace.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig"
        },
        "jsonAgentCard": {
          "type": "string",
          "description": "Optional. The agent card is a JSON string."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference": {
      "description": "Referenced content and related document metadata.",
      "properties": {
        "codeSnippet": {
          "type": "string",
          "description": "Chunk of code snippet from the referenced document."
        },
        "content": {
          "description": "Referenced text content.",
          "type": "string"
        },
        "documentMetadata": {
          "description": "Document metadata.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata"
        },
        "chunkMetadata": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "readOnly": true,
          "type": "object",
          "description": "Output only. Generic structured chunk metadata from upstream data source connectors."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference"
    },
    "GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest",
      "description": "Request for UpdateSession method.",
      "type": "object",
      "properties": {
        "updateMask": {
          "type": "string",
          "description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.",
          "format": "google-fieldmask"
        },
        "session": {
          "description": "Required. The Session to update.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSession"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequest": {
      "properties": {
        "crowdingSpecs": {
          "type": "array",
          "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec"
          }
        },
        "naturalLanguageQueryUnderstandingSpec": {
          "description": "Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec"
        },
        "userPseudoId": {
          "description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "string"
        },
        "userLabels": {
          "type": "object",
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "pageToken": {
          "type": "string",
          "description": "A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned."
        },
        "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. 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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec"
          }
        },
        "imageQuery": {
          "description": "Raw image query.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery"
        },
        "rankingExpression": {
          "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \u003e 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results",
          "type": "string"
        },
        "regionCode": {
          "type": "string",
          "description": "The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided."
        },
        "personalizationSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec",
          "description": "The specification for personalization. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set, SearchRequest.personalization_spec overrides ServingConfig.personalization_spec."
        },
        "canonicalFilter": {
          "type": "string",
          "description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter."
        },
        "searchAddonSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec",
          "description": "Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests."
        },
        "params": {
          "type": "object",
          "description": "Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. For example, `user_country_code: \"au\"` For available codes see [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching. For example, `search_type: 1`",
          "additionalProperties": {
            "type": "any"
          }
        },
        "customRankingParams": {
          "description": "Optional. Optional configuration for the Custom Ranking feature.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams"
        },
        "rankingExpressionBackend": {
          "type": "string",
          "enumDeprecated": [
            false,
            true,
            true,
            false,
            false
          ],
          "enumDescriptions": [
            "Default option for unspecified/unknown values.",
            "Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.",
            "Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.",
            "Ranking by custom embedding model, the default way to evaluate the ranking expression.",
            "Ranking by custom formula."
          ],
          "enum": [
            "RANKING_EXPRESSION_BACKEND_UNSPECIFIED",
            "BYOE",
            "CLEARBOX",
            "RANK_BY_EMBEDDING",
            "RANK_BY_FORMULA"
          ],
          "description": "Optional. The backend to use for the ranking expression evaluation."
        },
        "safeSearch": {
          "type": "boolean",
          "description": "Whether to turn on safe search. This is only supported for website search."
        },
        "filter": {
          "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --\u003e name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)",
          "type": "string"
        },
        "spellCorrectionSpec": {
          "description": "The spell correction specification that specifies the mode under which spell correction takes effect.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec"
        },
        "pageCategories": {
          "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\u003e' character to separate different hierarchies. If '\u003e' is part of the category name, replace it with other character(s). For example, `Graphics Cards \u003e RTX\u003e4090 \u003e Founders Edition` where \"RTX \u003e 4090\" represents one level, can be rewritten as `Graphics Cards \u003e RTX_4090 \u003e Founders Edition`",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "entity": {
          "type": "string",
          "description": "Optional. The entity for customers that may run multiple different entities, domains, sites or regions, for example, \"Google US\", \"Google Ads\", \"Waymo\", \"google.com\", \"youtube.com\", etc. If this is set, it should be exactly matched with UserEvent.entity to get search results boosted by entity."
        },
        "oneBoxPageSize": {
          "format": "int32",
          "description": "The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10.",
          "type": "integer"
        },
        "query": {
          "type": "string",
          "description": "Raw search query."
        },
        "userInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1betaUserInfo",
          "description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics."
        },
        "offset": {
          "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.",
          "type": "integer",
          "format": "int32"
        },
        "contentSearchSpec": {
          "description": "A specification for configuring the behavior of content search.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec"
        },
        "boostSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec",
          "description": "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)"
        },
        "numResultsPerDataStore": {
          "description": "Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.",
          "type": "integer",
          "format": "int32"
        },
        "displaySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec",
          "description": "Optional. Config for display feature, like match highlighting on search results."
        },
        "pageSize": {
          "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.",
          "type": "integer",
          "format": "int32"
        },
        "relevanceThreshold": {
          "type": "string",
          "enum": [
            "RELEVANCE_THRESHOLD_UNSPECIFIED",
            "LOWEST",
            "LOW",
            "MEDIUM",
            "HIGH"
          ],
          "enumDescriptions": [
            "Default value. In this case, server behavior defaults to Google defined threshold.",
            "Lowest relevance threshold.",
            "Low relevance threshold.",
            "Medium relevance threshold.",
            "High relevance threshold."
          ],
          "description": "The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search."
        },
        "session": {
          "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call.",
          "type": "string"
        },
        "queryExpansionSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec",
          "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
        },
        "facetSpecs": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec"
          },
          "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned."
        },
        "servingConfig": {
          "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
          "type": "string"
        },
        "languageCode": {
          "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.",
          "type": "string"
        },
        "sessionSpec": {
          "description": "Session specification. Can be used only when `session` is set.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec"
        },
        "branch": {
          "type": "string",
          "description": "The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch."
        },
        "searchAsYouTypeSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec",
          "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical."
        },
        "relevanceFilterSpec": {
          "description": "Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec"
        },
        "relevanceScoreSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec",
          "description": "Optional. The specification for returning the relevance score."
        },
        "embeddingSpec": {
          "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec"
        },
        "orderBy": {
          "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequest",
      "description": "Request message for SearchService.Search method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": {
      "properties": {
        "semanticRelevanceThreshold": {
          "type": "number",
          "description": "Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].",
          "format": "float"
        },
        "relevanceThreshold": {
          "description": "Pre-defined relevance threshold for the sub-search.",
          "type": "string",
          "enum": [
            "RELEVANCE_THRESHOLD_UNSPECIFIED",
            "LOWEST",
            "LOW",
            "MEDIUM",
            "HIGH"
          ],
          "enumDescriptions": [
            "Default value. In this case, server behavior defaults to Google defined threshold.",
            "Lowest relevance threshold.",
            "Low relevance threshold.",
            "Medium relevance threshold.",
            "High relevance threshold."
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec",
      "description": "Specification for relevance filtering on a specific sub-search.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantToolList": {
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantToolList",
      "type": "object",
      "properties": {
        "toolInfo": {
          "description": "The list of tools with corresponding tool information.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantToolInfo"
          }
        }
      },
      "description": "The enabled tools on a connector"
    },
    "GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse": {
      "type": "object",
      "properties": {
        "targetSites": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
          },
          "description": "List of TargetSites.",
          "type": "array"
        },
        "totalSize": {
          "description": "The total number of items matching the request. This will always be populated in the response.",
          "type": "integer",
          "format": "int32"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "description": "Response message for SiteSearchEngineService.ListTargetSites method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaAgentFile": {
      "id": "GoogleCloudDiscoveryengineV1alphaAgentFile",
      "properties": {
        "mimeType": {
          "description": "Immutable. The content type of the file.",
          "type": "string"
        },
        "fileName": {
          "type": "string",
          "description": "Required. The name of the file."
        },
        "name": {
          "type": "string",
          "description": "Identifier. The resource name of the file. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}/files/{file}`"
        }
      },
      "description": "Describes a file used internally by an agent as a context on each invocation.",
      "type": "object"
    },
    "GoogleApiMetric": {
      "type": "object",
      "description": "A specific metric, identified by specifying values for all of the labels of a `MetricDescriptor`.",
      "id": "GoogleApiMetric",
      "properties": {
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The set of label values that uniquely identify this metric. All labels listed in the `MetricDescriptor` must be assigned values.",
          "type": "object"
        },
        "type": {
          "description": "An existing metric type, see google.api.MetricDescriptor. For example, `custom.googleapis.com/invoice/paid/amount`.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaTransactionInfo": {
      "type": "object",
      "properties": {
        "cost": {
          "description": "All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = value - tax - cost",
          "type": "number",
          "format": "float"
        },
        "tax": {
          "description": "All the taxes associated with the transaction.",
          "type": "number",
          "format": "float"
        },
        "transactionId": {
          "description": "The transaction ID with a length limit of 128 characters.",
          "type": "string"
        },
        "discountValue": {
          "format": "float",
          "type": "number",
          "description": "The total discount(s) value applied to this transaction. This figure should be excluded from TransactionInfo.value For example, if a user paid TransactionInfo.value amount, then nominal (pre-discount) value of the transaction is the sum of TransactionInfo.value and TransactionInfo.discount_value This means that profit is calculated the same way, regardless of the discount value, and that TransactionInfo.discount_value can be larger than TransactionInfo.value: * Profit = value - tax - cost"
        },
        "currency": {
          "description": "Required. Currency code. Use three-character ISO-4217 code.",
          "type": "string"
        },
        "value": {
          "type": "number",
          "description": "Required. Total non-zero value associated with the transaction. This value may include shipping, tax, or other adjustments to the total value that you want to include.",
          "format": "float"
        }
      },
      "description": "A transaction represents the entire purchase transaction.",
      "id": "GoogleCloudDiscoveryengineV1alphaTransactionInfo"
    },
    "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata": {
      "id": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata",
      "description": "Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata": {
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata"
    },
    "GoogleMonitoringV3TimeInterval": {
      "properties": {
        "endTime": {
          "format": "google-datetime",
          "description": "Required. The end of the time interval.",
          "type": "string"
        },
        "startTime": {
          "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.",
      "id": "GoogleMonitoringV3TimeInterval",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaConditionQueryTerm": {
      "description": "Matcher for search request query",
      "id": "GoogleCloudDiscoveryengineV1alphaConditionQueryTerm",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters."
        },
        "fullMatch": {
          "description": "Whether the search query needs to exactly match the query term.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaTuneEngineResponse": {
      "properties": {},
      "description": "Response associated with a tune operation.",
      "id": "GoogleCloudDiscoveryengineV1betaTuneEngineResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata",
      "description": "Metadata related to the progress of the CmekConfigService.UpdateCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse",
      "type": "object",
      "properties": {
        "alphaEvolveExperiments": {
          "description": "Output only. List of experiments.",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment"
          }
        },
        "nextPageToken": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "description": "Response message for AlphaEvolveService.ListAlphaEvolveExperiments."
    },
    "GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig": {
      "properties": {
        "subscriptionName": {
          "description": "Output only. The corresponding SubV3 subscription name.",
          "readOnly": true,
          "type": "string"
        },
        "startDate": {
          "description": "Required. The subscription start date.",
          "$ref": "GoogleTypeDate"
        },
        "earlyTerminationDate": {
          "description": "The date when the subscription is terminated earlier than the expiration date.",
          "$ref": "GoogleTypeDate"
        },
        "subscriptionTier": {
          "description": "Required. The subscription tier.",
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ],
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ]
        },
        "earlyTerminated": {
          "description": "Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.",
          "type": "boolean"
        },
        "licenseConfigDistributions": {
          "description": "A map of LicenseConfig names to the number of licenses distributed to each. The key is the full resource name of the LicenseConfig, such as `projects/{project}/locations/{location}/licenseConfigs/{license_config}`. The value is the count of licenses allocated to it.",
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "format": "int64"
          }
        },
        "autoRenew": {
          "type": "boolean",
          "description": "Whether the BillingAccountLicenseConfig is auto renewed when it reaches the end date."
        },
        "subscriptionDisplayName": {
          "type": "string",
          "description": "The subscription display name."
        },
        "state": {
          "enumDescriptions": [
            "The BillingAccountLicenseConfig does not exist. Default value. Do not use.",
            "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 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."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "ACTIVE",
            "EXPIRED",
            "NOT_STARTED",
            "DEACTIVATING"
          ],
          "description": "Output only. The state of the BillingAccountLicenseConfig.",
          "type": "string",
          "readOnly": true
        },
        "geminiBundle": {
          "description": "Whether the license config is for Gemini bundle.",
          "type": "boolean"
        },
        "endDate": {
          "description": "Optional. The planed subscription end date.",
          "$ref": "GoogleTypeDate"
        },
        "name": {
          "type": "string",
          "description": "Immutable. Identifier. The fully qualified resource name of the billing account license config. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}`."
        },
        "licenseCount": {
          "description": "Required. The number of licenses purchased under this billing account license config.",
          "type": "string",
          "format": "int64"
        },
        "subscriptionTerm": {
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TERM_UNSPECIFIED",
            "SUBSCRIPTION_TERM_ONE_MONTH",
            "SUBSCRIPTION_TERM_ONE_YEAR",
            "SUBSCRIPTION_TERM_THREE_YEARS",
            "SUBSCRIPTION_TERM_CUSTOM"
          ],
          "description": "Required. The subscription term.",
          "enumDescriptions": [
            "Default value, do not use.",
            "1 month.",
            "1 year.",
            "3 years.",
            "Custom term. Must set the end_date."
          ]
        },
        "procurementEntitlementId": {
          "type": "string",
          "description": "The procurement entitlement id of the subscription."
        }
      },
      "type": "object",
      "description": "Information about license configs at billing account level.",
      "id": "GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest": {
      "type": "object",
      "description": "Request for CheckRequirement method.",
      "properties": {
        "resources": {
          "description": "The resources to be checked for this requirement. The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` * `branch_id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id`",
          "type": "array",
          "items": {
            "$ref": "GoogleApiMonitoredResource"
          }
        },
        "requirementType": {
          "type": "string",
          "description": "The type specifying the requirement to check. The supported types are: * `discoveryengine.googleapis.com/media_recs/general/all/warning` * `discoveryengine.googleapis.com/media_recs/oyml/cvr/warning` * `discoveryengine.googleapis.com/media_recs/rfy/cvr/warning` * `discoveryengine.googleapis.com/media_recs/mlt/cvr/warning` * `discoveryengine.googleapis.com/media_recs/mp/cvr/warning` * `discoveryengine.googleapis.com/media_recs/oyml/wdps/warning` * `discoveryengine.googleapis.com/media_recs/rfy/wdps/warning` * `discoveryengine.googleapis.com/media_recs/mlt/wdps/warning`"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata": {
      "description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata",
      "properties": {
        "failureCount": {
          "format": "int64",
          "description": "Count of entries that encountered errors while processing.",
          "type": "string"
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "description": "Output only. Operation last update time. If the operation is done, this is also the finish time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "successCount": {
          "description": "Count of entries that were processed successfully.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest": {
      "type": "object",
      "description": "Request message for Import methods.",
      "id": "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest",
      "properties": {
        "reconciliationMode": {
          "description": "The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.",
          "type": "string",
          "enum": [
            "RECONCILIATION_MODE_UNSPECIFIED",
            "INCREMENTAL",
            "FULL"
          ],
          "enumDescriptions": [
            "Defaults to `INCREMENTAL`.",
            "Inserts new documents or updates existing documents.",
            "Calculates diff and replaces the entire document dataset. Existing documents may be deleted if they are not present in the source location. When using this mode, there won't be any downtime on the dataset targeted. Any document that should remain unchanged or that should be updated will continue serving while the operation is running."
          ]
        },
        "bigtableSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigtableSource",
          "description": "Cloud Bigtable input source."
        },
        "gcsSource": {
          "description": "Cloud Storage location for the input content.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource"
        },
        "spannerSource": {
          "description": "Spanner input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSpannerSource"
        },
        "bigquerySource": {
          "description": "BigQuery input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigQuerySource"
        },
        "cloudSqlSource": {
          "description": "Cloud SQL input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCloudSqlSource"
        },
        "updateMask": {
          "description": "Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields.",
          "type": "string",
          "format": "google-fieldmask"
        },
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig"
        },
        "firestoreSource": {
          "description": "Firestore input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaFirestoreSource"
        },
        "inlineSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource",
          "description": "The Inline source for the input content for documents."
        },
        "alloyDbSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlloyDbSource",
          "description": "AlloyDB input source."
        },
        "idField": {
          "type": "string",
          "description": "The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{\"my_id\": \"some_uuid\"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * BigtableSource."
        },
        "fhirStoreSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaFhirStoreSource",
          "description": "FhirStore input source."
        },
        "autoGenerateIds": {
          "description": "Whether to automatically generate IDs for the documents if absent. If set to `true`, Document.ids are automatically generated based on the hash of the payload, where IDs may not be consistent during multiple imports. In which case ReconciliationMode.FULL is highly recommended to avoid duplicate contents. If unset or set to `false`, Document.ids have to be specified using id_field, otherwise, documents without IDs fail to be imported. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource.",
          "type": "boolean"
        },
        "forceRefreshContent": {
          "type": "boolean",
          "description": "Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest": {
      "type": "object",
      "description": "Request message for UserLicenseService.ExportUserLicenses.",
      "properties": {},
      "id": "GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec",
      "description": "A specification for configuring the extractive content in a search response.",
      "type": "object",
      "properties": {
        "maxExtractiveAnswerCount": {
          "format": "int32",
          "type": "integer",
          "description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult."
        },
        "maxExtractiveSegmentCount": {
          "format": "int32",
          "type": "integer",
          "description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`."
        },
        "numNextSegments": {
          "format": "int32",
          "type": "integer",
          "description": "Return at most `num_next_segments` segments after each selected segments."
        },
        "numPreviousSegments": {
          "format": "int32",
          "description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.",
          "type": "integer"
        },
        "returnExtractiveSegmentScore": {
          "type": "boolean",
          "description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDataProtectionPolicy": {
      "properties": {
        "sensitiveDataProtectionPolicy": {
          "description": "Optional. Specifies the sensitive data protection policy for the connector source.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDataProtectionPolicy",
      "type": "object",
      "description": "Contains the data protection policy config for a DataStore or a connector."
    },
    "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata": {
      "description": "IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings",
      "properties": {
        "successCount": {
          "type": "string",
          "description": "The number of IdentityMappingEntries that were successfully processed.",
          "format": "int64"
        },
        "totalCount": {
          "format": "int64",
          "type": "string",
          "description": "The total number of IdentityMappingEntries that were processed."
        },
        "failureCount": {
          "format": "int64",
          "description": "The number of IdentityMappingEntries that failed to be processed.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata"
    },
    "GoogleCloudDiscoveryengineV1ImportUserEventsMetadata": {
      "properties": {
        "failureCount": {
          "description": "Count of entries that encountered errors while processing.",
          "format": "int64",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Output only. Operation last update time. If the operation is done, this is also the finish time.",
          "readOnly": true,
          "type": "string"
        },
        "successCount": {
          "format": "int64",
          "type": "string",
          "description": "Count of entries that were processed successfully."
        },
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        }
      },
      "description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1ImportUserEventsMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest": {
      "properties": {
        "syncSinceTimestamp": {
          "description": "Timestamp to indicate the point in time from which data should be synced for Streaming/Batch Data Connectors. This field is only utilized for Healthcare Connectors.",
          "format": "google-datetime",
          "type": "string"
        },
        "entities": {
          "items": {
            "type": "string"
          },
          "description": "Specifies which Third Party Connector entities should be synced. If not specified, all entities will be synced.",
          "type": "array"
        },
        "forceRefreshContent": {
          "description": "Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content.",
          "type": "boolean"
        },
        "healthcareFhirResourceTypes": {
          "description": "The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "syncIdentity": {
          "type": "boolean",
          "description": "If true, trigger Identity sync."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest",
      "type": "object",
      "description": "Request message for DataConnectorService.StartConnectorRun method."
    },
    "GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata": {
      "type": "object",
      "properties": {},
      "description": "Metadata for EvaluationService.CreateEvaluation method.",
      "id": "GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig",
      "description": "Configuration message for the Knowledge Graph.",
      "properties": {
        "enablePrivateKnowledgeGraph": {
          "description": "Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "featureConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig",
          "description": "Optional. Feature config for the Knowledge Graph."
        },
        "enableCloudKnowledgeGraph": {
          "type": "boolean",
          "description": "Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified."
        },
        "cloudKnowledgeGraphTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specify entity types to support."
        },
        "privateKnowledgeGraphTypes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Specify entity types to support."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRankResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaRankResponse",
      "description": "Response message for RankService.Rank method.",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRankingRecord"
          },
          "description": "A list of records sorted by descending score."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1EngineChatEngineConfig": {
      "properties": {
        "allowCrossRegion": {
          "type": "boolean",
          "description": "Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation."
        },
        "dialogflowAgentToLink": {
          "type": "string",
          "description": "The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created."
        },
        "agentCreationConfig": {
          "description": "The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.",
          "$ref": "GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig"
        }
      },
      "description": "Configurations for a Chat Engine.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1EngineChatEngineConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig",
      "description": "Configuration for NotebookLM.",
      "type": "object",
      "properties": {
        "dataProtectionPolicy": {
          "description": "Optional. Specifies the data protection policy for NotebookLM.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy"
        },
        "observabilityConfig": {
          "description": "Optional. Observability config for NotebookLM.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig"
        },
        "optOutNotebookSharing": {
          "type": "boolean",
          "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified."
        },
        "modelArmorConfig": {
          "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig": {
      "properties": {
        "notebooklmConfig": {
          "description": "Optional. Configuration for NotebookLM settings.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig"
        },
        "resourceAccessControlConfig": {
          "description": "Optional. Resource-level access control config for Gemini Enterprise users.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig"
        }
      },
      "description": "Customer provided configurations.",
      "id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig": {
      "type": "object",
      "description": "Stores information for third party applicationOAuth.",
      "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig",
      "properties": {
        "instanceName": {
          "description": "Optional. The instance name identifying the 3P app, e.g., \"-my\". This is different from the instance_uri which is the full URL of the 3P app e.g., \"https://-my.sharepoint.com\".",
          "type": "string"
        },
        "appName": {
          "type": "string",
          "description": "Optional. The type of the application. E.g., \"jira\", \"box\", etc."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec": {
      "description": "Boost applies to documents which match a condition.",
      "properties": {
        "boostControlSpec": {
          "description": "Complex specification for custom ranking based on customer defined attribute value.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec"
        },
        "boost": {
          "type": "number",
          "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.",
          "format": "float"
        },
        "condition": {
          "type": "string",
          "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": `(document_id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\", \"Blue\"))`"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec"
    },
    "GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata": {
      "description": "Metadata related to the progress of the IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig": {
      "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig",
      "type": "object",
      "description": "Config for connecting to NotebookLM Enterprise.",
      "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "searchConfig": {
          "type": "string",
          "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata",
      "description": "Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaListEnginesResponse": {
      "description": "Response message for EngineService.ListEngines method.",
      "type": "object",
      "properties": {
        "engines": {
          "description": "All the customer's Engines.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEngine"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "Not supported."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListEnginesResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec",
      "description": "Specification for the grounding check.",
      "type": "object",
      "properties": {
        "citationThreshold": {
          "description": "The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6.",
          "type": "number",
          "format": "double"
        },
        "enableClaimLevelScore": {
          "type": "boolean",
          "description": "The control flag that enables claim-level grounding score in the response."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec",
      "description": "Related questions specification.",
      "properties": {
        "enable": {
          "type": "boolean",
          "description": "Enable related questions feature if true."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig": {
      "description": "Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode.",
      "properties": {
        "authParams": {
          "description": "Optional. Any authentication parameters specific to FEDERATED connectors.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "additionalParams": {
          "description": "Optional. Any additional parameters needed for FEDERATED.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "jsonAuthParams": {
          "type": "string",
          "description": "Optional. Any authentication parameters specific to FEDERATED connectors in json string format."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "AUTO",
            "DISABLED"
          ],
          "description": "The personalization mode of the search request. Defaults to Mode.AUTO.",
          "enumDescriptions": [
            "Default value. In this case, server behavior defaults to Mode.AUTO.",
            "Personalization is enabled if data quality requirements are met.",
            "Disable personalization."
          ]
        }
      },
      "description": "The specification for personalization.",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec"
    },
    "GoogleLongrunningListOperationsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        },
        "unreachable": {
          "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "operations": {
          "items": {
            "$ref": "GoogleLongrunningOperation"
          },
          "description": "A list of operations that matches the specified filter in the request.",
          "type": "array"
        }
      },
      "type": "object",
      "description": "The response message for Operations.ListOperations.",
      "id": "GoogleLongrunningListOperationsResponse"
    },
    "GoogleCloudDiscoveryengineV1HealthcareFhirConfig": {
      "description": "Config to data store for `HEALTHCARE_FHIR` vertical.",
      "properties": {
        "enableConfigurableSchema": {
          "description": "Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.",
          "type": "boolean"
        },
        "enableStaticIndexingForBatchIngestion": {
          "description": "Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.",
          "type": "boolean"
        },
        "initialFilterGroups": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1HealthcareFhirConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig": {
      "description": "Configuration for AlloyDB AI Natural Language.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig",
      "type": "object",
      "properties": {
        "nlConfigId": {
          "description": "Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaProcessedDocument": {
      "id": "GoogleCloudDiscoveryengineV1alphaProcessedDocument",
      "description": "Document captures all raw metadata information of items to be recommended or searched.",
      "properties": {
        "jsonData": {
          "description": "The JSON string representation of the processed document.",
          "type": "string"
        },
        "document": {
          "description": "Required. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaProject": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.",
          "readOnly": true
        },
        "experienceState": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The current experience state of the project.",
          "enum": [
            "EXPERIENCE_STATE_UNSPECIFIED",
            "SOBI_ONLY",
            "LEGACY_ONLY",
            "LEGACY_AND_SOBI"
          ],
          "enumDescriptions": [
            "No experience is stated for this location.",
            "Only the new Gemini Enterprise experience.",
            "Only the classic Gemini Enterprise experience.",
            "Legacy engines serve the classic experience, the Sobi engine serves the Sobi experience."
          ]
        },
        "createTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The timestamp when this project is created.",
          "format": "google-datetime"
        },
        "provisionCompletionTime": {
          "description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "serviceTermsMap": {
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms"
          },
          "readOnly": true,
          "description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms."
        },
        "customerProvidedConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig",
          "description": "Optional. Customer provided configurations."
        },
        "configurableBillingStatus": {
          "description": "Output only. The current status of the project's configurable billing.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaProject",
      "description": "Metadata and configurations for a Google Cloud project in the service."
    },
    "GoogleCloudDiscoveryengineV1alphaMcpError": {
      "description": "McpError represents error details when an MCP call fails. This structure follows the JSON-RPC 2.0 error object shape.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaMcpError",
      "properties": {
        "code": {
          "type": "integer",
          "description": "Numeric error code.",
          "format": "int32"
        },
        "message": {
          "type": "string",
          "description": "Short, human-readable description of the error."
        },
        "data": {
          "type": "any",
          "description": "Optional structured data with additional error context."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo",
      "type": "object",
      "description": "Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.",
      "properties": {
        "failureReasons": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason"
          },
          "description": "List of failure reasons by corpus type (e.g. desktop, mobile)."
        },
        "uri": {
          "type": "string",
          "description": "URI that failed to be crawled."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersRequest": {
      "description": "Request for EngineService.CheckFeaturePolicyMembers method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersRequest",
      "properties": {
        "members": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember"
          },
          "type": "array",
          "description": "Required. The members to check, in the form a policy takes them. At least 1 and at most 100. `verification` is ignored."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse": {
      "type": "object",
      "description": "Response message for SampleQueryService.ListSampleQueries method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as ListSampleQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        },
        "sampleQueries": {
          "description": "The SampleQuerys.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy": {
      "id": "GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy",
      "type": "object",
      "properties": {
        "policy": {
          "type": "string",
          "description": "Optional. Specifies the resource name of the Sensitive Data Protection content policy."
        }
      },
      "description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute": {
      "description": "Useful attribute for search result refinements.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute",
      "properties": {
        "attributeValue": {
          "description": "Attribute value used to refine the results. For example, `\"drama\"`.",
          "type": "string"
        },
        "attributeKey": {
          "description": "Attribute key used to refine the results. For example, `\"movie_type\"`.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition": {
      "id": "GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition",
      "description": "Stores the definition of a Google managed agent.",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig",
      "properties": {
        "alertPolicyName": {
          "type": "string",
          "description": "Immutable. The fully qualified resource name of the AlertPolicy."
        },
        "alertEnrollments": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment"
          },
          "type": "array",
          "description": "Optional. The enrollment states of each alert."
        }
      },
      "description": "The connector level alert config.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCondition": {
      "description": "Defines circumstances to be checked before allowing a behavior",
      "properties": {
        "activeTimeRange": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaConditionTimeRange"
          },
          "description": "Range of time(s) specifying when condition is active. Maximum of 10 time ranges."
        },
        "queryRegex": {
          "type": "string",
          "description": "Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls."
        },
        "queryTerms": {
          "description": "Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaConditionQueryTerm"
          },
          "type": "array"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCondition"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment": {
      "type": "object",
      "properties": {
        "contentId": {
          "description": "The content id of the visual segment. In order to display the citation of the visual element, this content_id needs to match with the `grounded_content.content_metadata.content_id` field.",
          "type": "string"
        },
        "referenceIndices": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "description": "References for the visual segment.",
          "type": "array"
        }
      },
      "description": "Grounding information for a visual segment.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment"
    },
    "GoogleCloudDiscoveryengineV1alphaAlloyDbSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlloyDbSource",
      "type": "object",
      "description": "AlloyDB source import data from.",
      "properties": {
        "locationId": {
          "type": "string",
          "description": "Required. The AlloyDB location to copy the data from with a length limit of 256 characters."
        },
        "clusterId": {
          "description": "Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.",
          "type": "string"
        },
        "gcsStagingDir": {
          "type": "string",
          "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory."
        },
        "projectId": {
          "description": "The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
          "type": "string"
        },
        "databaseId": {
          "description": "Required. The AlloyDB database to copy the data from with a length limit of 256 characters.",
          "type": "string"
        },
        "tableId": {
          "description": "Required. The AlloyDB table to copy the data from with a length limit of 256 characters.",
          "type": "string"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent": {
      "properties": {
        "engineName": {
          "description": "Optional. Engine to verify the permission of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`.",
          "type": "string"
        },
        "documentName": {
          "description": "Optional. The full resource name of the Agentspace document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`.",
          "type": "string"
        },
        "ideaforgeIdeaName": {
          "description": "Optional. Resource name of the idea forge instance. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/ideaForgeInstances/{instance}`",
          "type": "string"
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent",
      "description": "Agentspace content uploaded as source.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2": {
      "description": "OAuth2 configuration.",
      "id": "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2",
      "type": "object",
      "properties": {
        "basicAuthenticationEnabled": {
          "description": "Optional. Whether the OAuth token exchange uses HTTP Basic authentication (`client_secret_basic`) instead of sending the client credentials in the request body (`client_secret_post`). When `true`, the credentials (`client_id:client_secret`) are Base64 encoded and sent in the `Authorization` header. Some OAuth providers (e.g. Splunk) require `client_secret_basic`. When `false` or unset, the default `client_secret_post` is used.",
          "type": "boolean"
        },
        "clientId": {
          "description": "Required. The OAuth2 client ID.",
          "type": "string"
        },
        "privateNetworkConfig": {
          "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.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig"
        },
        "pkceVerificationEnabled": {
          "description": "Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/doc/html/rfc7636#section-3.1/",
          "type": "boolean"
        },
        "tokenUri": {
          "type": "string",
          "description": "Required. The HTTP endpoint that exchanges a client authorization for an access token."
        },
        "authorizationUri": {
          "type": "string",
          "description": "Required. The URI the user is directed to when they need to authorize. Should include everything required for a successful authorization: OAuth ID, extra flags, etc. Example: `https://accounts.google.com/o/oauth2/v2/auth?client_id=OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=code&access_type=offline&prompt=consent` The `redirect_uri` parameter will be overwritten by the Vertex AI Search frontend."
        },
        "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": {
            "type": "string"
          },
          "type": "array"
        },
        "clientSecret": {
          "type": "string",
          "description": "Required. The OAuth2 client secret. Encrypted at rest."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata": {
      "description": "Metadata for DataConnectorService.SetUpDataConnector method.",
      "properties": {},
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata"
    },
    "GoogleIamV1Binding": {
      "properties": {
        "role": {
          "description": "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).",
          "type": "string"
        },
        "members": {
          "type": "array",
          "description": "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`.",
          "items": {
            "type": "string"
          }
        },
        "condition": {
          "description": "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).",
          "$ref": "GoogleTypeExpr"
        }
      },
      "type": "object",
      "description": "Associates `members`, or principals, with a `role`.",
      "id": "GoogleIamV1Binding"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRetrievalSignals": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRetrievalSignals",
      "properties": {
        "retrievalSources": {
          "description": "Optional. Indicates how the result was retrieved.",
          "items": {
            "enumDescriptions": [
              "Unspecified retrieval source.",
              "Indicates the result was retrieved by keyword search.",
              "Indicates the result was retrieved by semantic search."
            ],
            "type": "string",
            "enum": [
              "RETRIEVAL_SOURCE_UNSPECIFIED",
              "KEYWORD_SEARCH",
              "SEMANTIC_SEARCH"
            ]
          },
          "type": "array"
        },
        "semanticRelevanceScore": {
          "format": "float",
          "description": "Optional. Relevance score used by the filter when semantic_relevance_threshold is set.",
          "type": "number"
        }
      },
      "description": "Contains a set of signals used by the relevance filter."
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig": {
      "properties": {
        "ignoreAdversarialQuery": {
          "description": "Optional. Specifies whether to filter out queries that are adversarial.",
          "type": "boolean"
        },
        "disableRelatedQuestions": {
          "description": "Whether generated answer contains suggested related questions.",
          "type": "boolean"
        },
        "ignoreNonAnswerSeekingQuery": {
          "type": "boolean",
          "description": "Optional. Specifies whether to filter out queries that are not answer-seeking. The default value is `false`. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to `true`, we skip generating answers for non-answer seeking queries and return fallback messages instead."
        },
        "ignoreLowRelevantContent": {
          "type": "boolean",
          "description": "Optional. Specifies whether to filter out queries that are not relevant to the content."
        },
        "imageSource": {
          "enumDescriptions": [
            "Unspecified image source (multimodal feature is disabled by default)",
            "Behavior when service determines the pick from all available sources.",
            "Include image from corpus in the answer.",
            "Triggers figure generation in the answer."
          ],
          "description": "Optional. Source of image returned in the answer.",
          "type": "string",
          "enum": [
            "IMAGE_SOURCE_UNSPECIFIED",
            "ALL_AVAILABLE_SOURCES",
            "CORPUS_IMAGE_ONLY",
            "FIGURE_GENERATION_ONLY"
          ]
        },
        "resultCount": {
          "format": "int32",
          "description": "The number of top results to generate the answer from. Up to 10.",
          "type": "integer"
        },
        "modelVersion": {
          "type": "string",
          "description": "The model version used to generate the answer."
        },
        "languageCode": {
          "description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.",
          "type": "string"
        },
        "maxRephraseSteps": {
          "description": "Max rephrase steps. The max number is 5 steps. If not set or set to \u003c 1, it will be set to 1 by default.",
          "format": "int32",
          "type": "integer"
        },
        "modelPromptPreamble": {
          "description": "Text at the beginning of the prompt that instructs the model that generates the answer.",
          "type": "string"
        }
      },
      "description": "Describes configuration for generative answer.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig"
    },
    "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata": {
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec",
      "properties": {
        "maxRephraseSteps": {
          "format": "int32",
          "description": "Max rephrase steps. The max number is 5 steps. If not set or set to \u003c 1, it will be set to 1 by default.",
          "type": "integer"
        },
        "modelSpec": {
          "description": "Optional. Query Rephraser Model specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec"
        },
        "disable": {
          "description": "Disable query rephraser.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Query rephraser specification."
    },
    "GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl": {
      "description": "Defines the TTL for sessions.",
      "properties": {
        "days": {
          "type": "integer",
          "format": "int32",
          "description": "Defines the number of days for session TTL."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec": {
      "description": "Specification of tools that are used to serve the request.",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec",
      "type": "object",
      "properties": {
        "imageGenerationSpec": {
          "description": "Optional. Specification of the image generation tool.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec"
        },
        "videoGenerationSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec",
          "description": "Optional. Specification of the video generation tool."
        },
        "webGroundingSpec": {
          "description": "Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if Assistant.web_grounding_type is WEB_GROUNDING_TYPE_GOOGLE_SEARCH or WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec"
        },
        "vertexAiSearchSpec": {
          "description": "Optional. Specification of the Vertex AI Search tool.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec",
      "properties": {
        "extractiveContentSpec": {
          "description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec"
        },
        "chunkSpec": {
          "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec"
        },
        "snippetSpec": {
          "description": "If `snippetSpec` is not specified, snippets are not included in the search response.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec"
        },
        "searchResultMode": {
          "type": "string",
          "enum": [
            "SEARCH_RESULT_MODE_UNSPECIFIED",
            "DOCUMENTS",
            "CHUNKS"
          ],
          "enumDescriptions": [
            "Default value.",
            "Returns documents in the search result.",
            "Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified."
          ],
          "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`."
        },
        "summarySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec",
          "description": "If `summarySpec` is not specified, summaries are not included in the search response."
        }
      },
      "description": "A specification for configuring the behavior of content search."
    },
    "GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata": {
      "properties": {
        "primaryEmail": {
          "description": "The user's primary email address (populated from SCIM `emails[type=work]`). Do not use this for IAM bindings. Use ExternalIdentity.subject.",
          "type": "string"
        },
        "familyName": {
          "description": "The user's family name.",
          "type": "string"
        },
        "givenName": {
          "description": "The user's given name.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata",
      "description": "Metadata corresponding to the external user.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1CliConfig": {
      "id": "GoogleCloudDiscoveryengineV1CliConfig",
      "type": "object",
      "properties": {
        "enabledActions": {
          "description": "Optional. The actions enabled on the associated CLI connection.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "The configuration for the CLI execution based connectors."
    },
    "GoogleCloudDiscoveryengineV1alphaInterval": {
      "type": "object",
      "description": "A floating point interval.",
      "properties": {
        "exclusiveMaximum": {
          "format": "double",
          "type": "number",
          "description": "Exclusive upper bound."
        },
        "minimum": {
          "type": "number",
          "description": "Inclusive lower bound.",
          "format": "double"
        },
        "maximum": {
          "description": "Inclusive upper bound.",
          "format": "double",
          "type": "number"
        },
        "exclusiveMinimum": {
          "description": "Exclusive lower bound.",
          "type": "number",
          "format": "double"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaInterval"
    },
    "GoogleCloudDiscoveryengineV1AlertPolicyConfig": {
      "description": "The connector level alert config.",
      "properties": {
        "alertEnrollments": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment"
          },
          "type": "array",
          "description": "Optional. The enrollment states of each alert."
        },
        "alertPolicyName": {
          "description": "Immutable. The fully qualified resource name of the AlertPolicy.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1AlertPolicyConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaChunkStructuredContent": {
      "id": "GoogleCloudDiscoveryengineV1alphaChunkStructuredContent",
      "properties": {
        "content": {
          "description": "Output only. The content of the structured content.",
          "readOnly": true,
          "type": "string"
        },
        "structureType": {
          "enumDescriptions": [
            "Default value.",
            "Shareholder structure.",
            "Signature structure.",
            "Checkbox structure."
          ],
          "description": "Output only. The structure type of the structured content.",
          "type": "string",
          "readOnly": true,
          "enum": [
            "STRUCTURE_TYPE_UNSPECIFIED",
            "SHAREHOLDER_STRUCTURE",
            "SIGNATURE_STRUCTURE",
            "CHECKBOX_STRUCTURE"
          ]
        }
      },
      "description": "The structured content information.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse": {
      "id": "GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse",
      "type": "object",
      "description": "Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaBigQuerySource": {
      "id": "GoogleCloudDiscoveryengineV1alphaBigQuerySource",
      "properties": {
        "tableId": {
          "description": "Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.",
          "type": "string"
        },
        "gcsStagingDir": {
          "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.",
          "type": "string"
        },
        "projectId": {
          "description": "The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
          "type": "string"
        },
        "dataSchema": {
          "description": "The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One UserEvent per row. Supported values for document imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.",
          "type": "string"
        },
        "partitionDate": {
          "$ref": "GoogleTypeDate",
          "description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format."
        },
        "datasetId": {
          "type": "string",
          "description": "Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters."
        }
      },
      "description": "BigQuery source import data from.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSitemap": {
      "description": "A sitemap for the SiteSearchEngine.",
      "properties": {
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated."
        },
        "uri": {
          "description": "Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`.",
          "type": "string"
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. The sitemap's creation time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSitemap"
    },
    "GoogleCloudDiscoveryengineLoggingErrorLog": {
      "id": "GoogleCloudDiscoveryengineLoggingErrorLog",
      "description": "An error log which is reported to the Error Reporting system.",
      "type": "object",
      "properties": {
        "status": {
          "description": "The RPC status associated with the error log.",
          "$ref": "GoogleRpcStatus"
        },
        "serviceContext": {
          "description": "The service context in which this error has occurred.",
          "$ref": "GoogleCloudDiscoveryengineLoggingServiceContext"
        },
        "context": {
          "description": "A description of the context in which the error occurred.",
          "$ref": "GoogleCloudDiscoveryengineLoggingErrorContext"
        },
        "responsePayload": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "The API response payload, represented as a protocol buffer. This is used to log some \"soft errors\", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported, and no PII is included: * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`"
        },
        "connectorRunPayload": {
          "$ref": "GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext",
          "description": "The error payload that is populated on LRO connector sync APIs."
        },
        "message": {
          "description": "A message describing the error.",
          "type": "string"
        },
        "importPayload": {
          "$ref": "GoogleCloudDiscoveryengineLoggingImportErrorContext",
          "description": "The error payload that is populated on LRO import APIs."
        },
        "requestPayload": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "The API request payload, represented as a protocol buffer. Most API request types are supported—for example: * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest`",
          "type": "object"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest",
      "type": "object",
      "description": "Request message for ConversationalSearchService.AnswerQuery method.",
      "properties": {
        "userPseudoId": {
          "type": "string",
          "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned."
        },
        "relatedQuestionsSpec": {
          "description": "Related questions specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec"
        },
        "queryUnderstandingSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec",
          "description": "Query understanding specification."
        },
        "safetySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec",
          "description": "Model specification."
        },
        "answerGenerationSpec": {
          "description": "Answer generation specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec"
        },
        "groundingSpec": {
          "description": "Optional. Grounding specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec"
        },
        "userLabels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.",
          "type": "object"
        },
        "endUserSpec": {
          "description": "Optional. End user specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec"
        },
        "asynchronousMode": {
          "description": "Deprecated: This field is deprecated. Streaming Answer API will be supported. Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method.",
          "deprecated": true,
          "type": "boolean"
        },
        "query": {
          "description": "Required. Current user query.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQuery"
        },
        "session": {
          "description": "The session resource name. Not required. When session field is not set, the API is in sessionless mode. We support auto session mode: users can use the wildcard symbol `-` as session ID. A new ID will be automatically generated and assigned.",
          "type": "string"
        },
        "searchSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec",
          "description": "Search specification."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaBAPConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBAPConfig",
      "properties": {
        "toolspecOverride": {
          "description": "Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the `base_version` field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first).",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBAPConfigToolspecOverride"
        },
        "supportedConnectorModes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "CONNECTOR_MODE_UNSPECIFIED",
              "DATA_INGESTION",
              "ACTIONS",
              "END_USER_AUTHENTICATION"
            ],
            "enumDescriptions": [
              "Connector mode unspecified.",
              "Connector utilized for data ingestion.",
              "Connector utilized for Actions",
              "Connector utilized for End User Authentication."
            ]
          },
          "description": "Required. The supported connector modes for the associated BAP connection."
        },
        "enabledActions": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The actions enabled on the associated BAP connection.",
          "type": "array"
        }
      },
      "description": "The configuration for the BAP connector."
    },
    "GoogleCloudDiscoveryengineV1alphaExportMetricsResponse": {
      "description": "Response of the ExportMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.",
      "properties": {},
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaExportMetricsResponse"
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore": {
      "properties": {
        "disabledForServing": {
          "type": "boolean",
          "description": "Optional. If set true, the DataStore will not be available for serving search requests."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore",
      "description": "Stores information regarding the serving configurations at DataStore level.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest",
      "properties": {
        "deleteUnassignedUserLicenses": {
          "description": "Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state.",
          "type": "boolean"
        },
        "inlineSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource",
          "description": "The inline source for the input content for license assignment."
        }
      },
      "description": "Request message for UserLicenseService.BatchUpdateUserLicenses method."
    },
    "GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest": {
      "description": "Request message for GroundedGenerationService.CheckGrounding method.",
      "type": "object",
      "properties": {
        "answerCandidate": {
          "type": "string",
          "description": "Answer candidate to check. It can have a maximum length of 4096 tokens."
        },
        "facts": {
          "description": "List of facts for the grounding check. We support up to 200 facts.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaGroundingFact"
          },
          "type": "array"
        },
        "groundingSpec": {
          "description": "Configuration of the grounding check.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec"
        },
        "userLabels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest"
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig",
      "type": "object",
      "properties": {
        "nlConfigId": {
          "description": "Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.",
          "type": "string"
        }
      },
      "description": "Configuration for AlloyDB AI Natural Language."
    },
    "GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent": {
      "properties": {
        "dataStoreConfigType": {
          "enumDescriptions": [
            "Default value. This value is unused.",
            "The data store is connected to AlloyDB",
            "The data store is a connected to a third party data source.",
            "The data store is a connected to NotebookLM Enterprise."
          ],
          "enum": [
            "DATA_STORE_CONFIG_TYPE_UNSPECIFIED",
            "ALLOW_DB_CONFIG",
            "THIRD_PARTY_OAUTH_CONFIG",
            "NOTEBOOKLM_CONFIG"
          ],
          "readOnly": true,
          "description": "Output only. The type of the data store config.",
          "type": "string"
        },
        "contentConfig": {
          "readOnly": true,
          "enum": [
            "CONTENT_CONFIG_UNSPECIFIED",
            "NO_CONTENT",
            "CONTENT_REQUIRED",
            "PUBLIC_WEBSITE",
            "GOOGLE_WORKSPACE"
          ],
          "description": "Output only. The content config of the data store.",
          "enumDescriptions": [
            "Default value.",
            "Only contains documents without any Document.content.",
            "Only contains documents with Document.content.",
            "The data store is used for public website search.",
            "The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig."
          ],
          "type": "string"
        },
        "entityName": {
          "type": "string",
          "description": "The name of the entity, retrieved from `Collection.data_connector.entities.entityName`."
        },
        "name": {
          "description": "The name of the data store. It should be data store resource name Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the data store."
        },
        "workspaceType": {
          "type": "string",
          "description": "Output only. Workspace Source Types for workspace data, retrieved from `DataStore.workspace_config.type`.",
          "readOnly": true,
          "enum": [
            "TYPE_UNSPECIFIED",
            "GOOGLE_DRIVE",
            "GOOGLE_MAIL",
            "GOOGLE_SITES",
            "GOOGLE_CALENDAR",
            "GOOGLE_CHAT",
            "GOOGLE_GROUPS",
            "GOOGLE_KEEP",
            "GOOGLE_PEOPLE",
            "GOOGLE_WORKSPACE"
          ],
          "enumDescriptions": [
            "Defaults to an unspecified Workspace type.",
            "Workspace Data Store contains Drive data",
            "Workspace Data Store contains Mail data",
            "Workspace Data Store contains Sites data",
            "Workspace Data Store contains Calendar data",
            "Workspace Data Store contains Chat data",
            "Workspace Data Store contains Groups data",
            "Workspace Data Store contains Keep data",
            "Workspace Data Store contains People data",
            "Workspace Data Store contains all Workspace apps data"
          ]
        },
        "id": {
          "description": "Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.",
          "type": "string",
          "readOnly": true
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent",
      "description": "Read-only data store component that contains data stores fields that may be used for filtering, it's the child of `CollectionComponent`.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField": {
      "description": "Facet fields that store the mapping of fields to end user widget appearance.",
      "properties": {
        "displayName": {
          "description": "Optional. The field name that end users will see.",
          "type": "string"
        },
        "field": {
          "type": "string",
          "description": "Required. Registered field name. The format is `field.abc`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo": {
      "description": "Structured search information.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo",
      "properties": {
        "title": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The title of the document."
        },
        "uri": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The URI of the document."
        },
        "document": {
          "description": "Document resource name.",
          "type": "string"
        },
        "structData": {
          "description": "Structured search data.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec": {
      "properties": {
        "numPreviousChunks": {
          "description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.",
          "type": "integer",
          "format": "int32"
        },
        "numNextChunks": {
          "format": "int32",
          "description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.",
          "type": "integer"
        }
      },
      "type": "object",
      "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded": {
      "properties": {},
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded",
      "type": "object",
      "description": "Indicates that the user does not have space for this source."
    },
    "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries": {
      "id": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries",
      "type": "object",
      "properties": {
        "qpsTimeSeries": {
          "description": "The QPS of the crawl rate.",
          "$ref": "GoogleMonitoringV3TimeSeries"
        }
      },
      "description": "The historical crawl rate timeseries data, used for monitoring."
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse",
      "properties": {
        "purgeCount": {
          "description": "The total count of events purged as a result of the operation.",
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantContentBlob": {
      "description": "Inline blob.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantContentBlob",
      "properties": {
        "mimeType": {
          "description": "Required. The media type (MIME type) of the generated data.",
          "type": "string"
        },
        "data": {
          "description": "Required. Raw bytes.",
          "format": "byte",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec": {
      "description": "Describes the specification of the evaluation.",
      "id": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec",
      "properties": {
        "searchRequest": {
          "description": "Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: * SearchRequest.serving_config * SearchRequest.branch * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * SearchRequest.user_pseudo_id",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequest"
        },
        "querySetSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec",
          "description": "Optional. The specification of the query set."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk",
      "properties": {
        "chunkText": {
          "description": "Text content of the fact chunk. Can be at most 10K characters long.",
          "type": "string"
        }
      },
      "description": "Fact chunk for grounding check."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult",
      "type": "object",
      "properties": {
        "document": {
          "description": "Document resource name.",
          "type": "string"
        },
        "uri": {
          "description": "URI for the document.",
          "type": "string"
        },
        "chunkInfo": {
          "type": "array",
          "description": "If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo"
          }
        },
        "snippetInfo": {
          "description": "If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo"
          },
          "type": "array"
        },
        "title": {
          "description": "Title.",
          "type": "string"
        },
        "structData": {
          "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaUserContentTextContent": {
      "properties": {
        "content": {
          "description": "The name to be displayed for the source.",
          "type": "string"
        },
        "sourceName": {
          "description": "The display name of the text source.",
          "type": "string"
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaUserContentTextContent",
      "type": "object",
      "description": "The text content uploaded as source."
    },
    "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata": {
      "description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "failureCount": {
          "description": "Count of CompletionSuggestions that failed to be imported.",
          "format": "int64",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "successCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of CompletionSuggestions successfully imported."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "description": "Output only. The time the operation was last updated.",
          "readOnly": true,
          "format": "google-datetime"
        }
      },
      "type": "object",
      "description": "Metadata for AlphaEvolveService.StartExperiment long running operation."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo": {
      "type": "object",
      "description": "Query classification information.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "ADVERSARIAL_QUERY",
            "NON_ANSWER_SEEKING_QUERY",
            "JAIL_BREAKING_QUERY",
            "NON_ANSWER_SEEKING_QUERY_V2",
            "USER_DEFINED_CLASSIFICATION_QUERY"
          ],
          "enumDescriptions": [
            "Unspecified query classification type.",
            "Adversarial query classification type.",
            "Non-answer-seeking query classification type, for chit chat.",
            "Jail-breaking query classification type.",
            "Non-answer-seeking query classification type, for no clear intent.",
            "User defined query classification type."
          ],
          "description": "Query classification type."
        },
        "positive": {
          "description": "Classification output.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo"
    },
    "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy": {
      "type": "object",
      "description": "Data protection policy config for NotebookLM.",
      "id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy",
      "properties": {
        "sensitiveDataProtectionPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy",
          "description": "Optional. The sensitive data protection policy."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec": {
      "properties": {
        "sampleQuerySet": {
          "description": "Optional. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.",
          "type": "string"
        }
      },
      "description": "Describes the specification of the query set.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec"
    },
    "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse",
      "description": "Response message for CompletionService.ImportSuggestionDenyListEntries method.",
      "properties": {
        "errorSamples": {
          "type": "array",
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "importedEntriesCount": {
          "format": "int64",
          "description": "Count of deny list entries successfully imported.",
          "type": "string"
        },
        "failedEntriesCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of deny list entries that failed to be imported."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase": {
      "properties": {
        "phrase": {
          "type": "string",
          "description": "Required. The raw string content to be banned."
        },
        "matchType": {
          "type": "string",
          "enum": [
            "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED",
            "SIMPLE_STRING_MATCH",
            "WORD_BOUNDARY_STRING_MATCH"
          ],
          "description": "Optional. Match type for the banned phrase.",
          "enumDescriptions": [
            "Defaults to SIMPLE_STRING_MATCH.",
            "The banned phrase matches if it is found anywhere in the text as an exact substring.",
            "Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters."
          ]
        },
        "ignoreDiacritics": {
          "type": "boolean",
          "description": "Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when matching banned phrases. For example, \"cafe\" would match \"café\"."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase",
      "type": "object",
      "description": "Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused."
    },
    "GoogleCloudDiscoveryengineV1betaEvaluation": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEvaluation",
      "description": "An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.",
      "properties": {
        "name": {
          "description": "Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "qualityMetrics": {
          "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetrics",
          "description": "Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED.",
          "readOnly": true
        },
        "evaluationSpec": {
          "description": "Required. The specification of the evaluation.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec"
        },
        "errorSamples": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. Timestamp the Evaluation was created at.",
          "type": "string",
          "format": "google-datetime"
        },
        "error": {
          "$ref": "GoogleRpcStatus",
          "readOnly": true,
          "description": "Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED."
        },
        "endTime": {
          "type": "string",
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. Timestamp the Evaluation was completed at."
        },
        "state": {
          "type": "string",
          "readOnly": true,
          "enumDescriptions": [
            "The evaluation is unspecified.",
            "The service is preparing to run the evaluation.",
            "The evaluation is in progress.",
            "The evaluation completed successfully.",
            "The evaluation failed."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "RUNNING",
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "Output only. The state of the evaluation."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1AssistantToolInfo": {
      "description": "Information to identify a tool.",
      "properties": {
        "toolName": {
          "description": "The name of the tool as defined by DataConnectorService.QueryAvailableActions. Note: it's using `action` in the DataConnectorService apis, but they are the same as the `tool` here.",
          "type": "string"
        },
        "toolDisplayName": {
          "description": "The display name of the tool.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1AssistantToolInfo"
    },
    "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus": {
      "type": "object",
      "properties": {
        "startTime": {
          "type": "string",
          "description": "Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "tpmThresholdNextUpdateTime": {
          "description": "Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update.",
          "type": "string",
          "format": "google-datetime",
          "readOnly": true
        },
        "terminateTime": {
          "type": "string",
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down."
        },
        "updateType": {
          "enum": [
            "UPDATE_TYPE_UNSPECIFIED",
            "CREATE",
            "DELETE",
            "SCALE_UP",
            "SCALE_DOWN"
          ],
          "enumDescriptions": [
            "Unspecified update type.",
            "Configurable billing was created/enabled.",
            "Configurable billing was deleted/disabled.",
            "Subscription was scaled up (thresholds increased).",
            "Subscription was scaled down (thresholds decreased)."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` reflects an earlier update). The whole-relationship `update_type` on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together)."
        },
        "effectiveTpmThreshold": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching `effective_search_qpm_threshold` semantics.",
          "format": "int64"
        },
        "modelVersion": {
          "description": "Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).",
          "type": "string",
          "readOnly": true
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus",
      "description": "Per-model Agent Search TPM subscription status. One entry per active `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent Search TPM subscription instead of to the overall customer-configurable- pricing relationship. This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, model_version), so each model has its own activation, termination, and deferred-update clock; surfacing that on the response gives customers the granularity they need to manage per-model commitments independently. QPM / IndexingCore differ — their storage is one row per (project, location), so their lifecycle is represented only by the whole- relationship scalars on ConfigurableBillingStatus."
    },
    "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction",
      "properties": {
        "additionalSystemInstruction": {
          "description": "Optional. Additional system instruction that will be added to the default system instruction.",
          "type": "string"
        }
      },
      "description": "System instruction, also known as the prompt preamble for LLM calls."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary",
      "description": "Summary of the top N search results specified by the summary spec.",
      "type": "object",
      "properties": {
        "summaryWithMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata",
          "description": "Summary with metadata information."
        },
        "summarySkippedReasons": {
          "items": {
            "type": "string",
            "enum": [
              "SUMMARY_SKIPPED_REASON_UNSPECIFIED",
              "ADVERSARIAL_QUERY_IGNORED",
              "NON_SUMMARY_SEEKING_QUERY_IGNORED",
              "OUT_OF_DOMAIN_QUERY_IGNORED",
              "POTENTIAL_POLICY_VIOLATION",
              "LLM_ADDON_NOT_ENABLED",
              "NO_RELEVANT_CONTENT",
              "JAIL_BREAKING_QUERY_IGNORED",
              "CUSTOMER_POLICY_VIOLATION",
              "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2",
              "TIME_OUT"
            ],
            "enumDescriptions": [
              "Default value. The summary skipped reason is not specified.",
              "The adversarial query ignored case. Only used when SummarySpec.ignore_adversarial_query is set to `true`.",
              "The non-summary seeking query ignored case. Google skips the summary if the query is chit chat. Only used when SummarySpec.ignore_non_summary_seeking_query is set to `true`.",
              "The out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.",
              "The potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.",
              "The LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.",
              "The no relevant content case. Google skips the summary if there is no relevant content in the retrieved search results.",
              "The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] is set to `true`.",
              "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
              "The non-answer seeking query ignored case. Google skips the summary if the query doesn't have clear intent. Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query] is set to `true`.",
              "The time out case. Google skips the summary if the time out."
            ]
          },
          "type": "array",
          "description": "Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set."
        },
        "summaryText": {
          "description": "The summary content.",
          "type": "string"
        },
        "safetyAttributes": {
          "description": "A collection of Safety Attribute categories and their associated confidence scores.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig": {
      "description": "Feature configurations that are required for creating a Most Popular engine.",
      "properties": {
        "timeWindowDays": {
          "format": "int64",
          "description": "The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the `most-popular-items` engine.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest": {
      "description": "Request message for CompletionService.ImportCompletionSuggestions method.",
      "id": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest",
      "type": "object",
      "properties": {
        "inlineSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource",
          "description": "The Inline source for suggestion entries."
        },
        "bigquerySource": {
          "description": "BigQuery input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigQuerySource"
        },
        "gcsSource": {
          "description": "Cloud Storage location for the input content.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource"
        },
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure": {
      "id": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure",
      "type": "object",
      "description": "Failed due to insufficient quota.",
      "properties": {
        "totalRequiredQuota": {
          "description": "This number is an estimation on how much total quota this project needs to successfully complete indexing.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry",
      "description": "Identity Mapping Entry that maps an external identity to an internal identity.",
      "properties": {
        "externalIdentityName": {
          "description": "Optional. The name of the external identity.",
          "type": "string"
        },
        "groupId": {
          "type": "string",
          "description": "Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config."
        },
        "externalIdentity": {
          "description": "Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.",
          "type": "string"
        },
        "userId": {
          "description": "User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCloudSqlSource": {
      "properties": {
        "tableId": {
          "description": "Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.",
          "type": "string"
        },
        "gcsStagingDir": {
          "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.",
          "type": "string"
        },
        "databaseId": {
          "type": "string",
          "description": "Required. The Cloud SQL database to copy the data from with a length limit of 256 characters."
        },
        "projectId": {
          "type": "string",
          "description": "The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request."
        },
        "instanceId": {
          "type": "string",
          "description": "Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters."
        },
        "offload": {
          "type": "boolean",
          "description": "Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless)."
        }
      },
      "type": "object",
      "description": "Cloud SQL source import data from.",
      "id": "GoogleCloudDiscoveryengineV1alphaCloudSqlSource"
    },
    "GoogleCloudDiscoveryengineV1alphaEvaluation": {
      "id": "GoogleCloudDiscoveryengineV1alphaEvaluation",
      "type": "object",
      "description": "An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.",
      "properties": {
        "name": {
          "description": "Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "errorSamples": {
          "description": "Output only. A sample of errors encountered while processing the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "readOnly": true
        },
        "qualityMetrics": {
          "description": "Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetrics",
          "readOnly": true
        },
        "endTime": {
          "readOnly": true,
          "description": "Output only. Timestamp the Evaluation was completed at.",
          "type": "string",
          "format": "google-datetime"
        },
        "error": {
          "$ref": "GoogleRpcStatus",
          "readOnly": true,
          "description": "Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED."
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. Timestamp the Evaluation was created at."
        },
        "evaluationSpec": {
          "description": "Required. The specification of the evaluation.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec"
        },
        "state": {
          "description": "Output only. The state of the evaluation.",
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "RUNNING",
            "SUCCEEDED",
            "FAILED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "The evaluation is unspecified.",
            "The service is preparing to run the evaluation.",
            "The evaluation is in progress.",
            "The evaluation completed successfully.",
            "The evaluation failed."
          ],
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference": {
      "id": "GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. Immutable. The resource name of the agent gateway. Expected format: `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`.",
          "type": "string"
        }
      },
      "description": "Reference to an Agent Gateway resource."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint": {
      "properties": {
        "address": {
          "type": "string",
          "description": "The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results."
        },
        "radiusInMeters": {
          "description": "The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.",
          "format": "float",
          "type": "number"
        },
        "latitude": {
          "type": "number",
          "description": "The latitude of the geolocation inferred from the input query.",
          "format": "double"
        },
        "longitude": {
          "format": "double",
          "description": "The longitude of the geolocation inferred from the input query.",
          "type": "number"
        },
        "fieldName": {
          "description": "The name of the geolocation field as defined in the schema.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Constraint of a geolocation field. Name of the geolocation field as defined in the schema.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec": {
      "description": "Specification to enable natural language understanding capabilities for search requests.",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec",
      "properties": {
        "filterExtractionCondition": {
          "description": "The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`.",
          "type": "string",
          "enum": [
            "CONDITION_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ],
          "enumDescriptions": [
            "Server behavior defaults to `DISABLED`.",
            "Disables NL filter extraction.",
            "Enables NL filter extraction."
          ]
        },
        "allowedFieldNames": {
          "description": "Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "geoSearchQueryDetectionFieldNames": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`."
        },
        "extractedFilterBehavior": {
          "enumDescriptions": [
            "`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.",
            "Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.",
            "Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set."
          ],
          "type": "string",
          "enum": [
            "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED",
            "HARD_FILTER",
            "SOFT_BOOST"
          ],
          "description": "Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata",
      "description": "Summary with metadata information.",
      "properties": {
        "references": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference"
          },
          "description": "Document References.",
          "type": "array"
        },
        "citationMetadata": {
          "description": "Citation metadata for given summary.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata"
        },
        "blobAttachments": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment"
          },
          "description": "Output only. Store multimodal data for answer enhancement."
        },
        "summary": {
          "description": "Summary text with no citation information.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse": {
      "description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.",
      "properties": {
        "purgeCount": {
          "type": "string",
          "description": "The total count of documents purged as a result of the operation.",
          "format": "int64"
        },
        "purgeSample": {
          "items": {
            "type": "string"
          },
          "description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.",
          "type": "array"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse"
    },
    "GoogleCloudDiscoveryengineV1betaImportErrorConfig": {
      "type": "object",
      "description": "Configuration of destination for Import related errors.",
      "id": "GoogleCloudDiscoveryengineV1betaImportErrorConfig",
      "properties": {
        "gcsPrefix": {
          "type": "string",
          "description": "Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaUserEvent": {
      "id": "GoogleCloudDiscoveryengineV1alphaUserEvent",
      "description": "UserEvent captures all metadata information Discovery Engine API needs to know about how end users interact with your website.",
      "type": "object",
      "properties": {
        "filter": {
          "description": "Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "string"
        },
        "dataStore": {
          "description": "The DataStore resource full name, of the form `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. Optional. Only required for user events whose data store can't by determined by UserEvent.engine or UserEvent.documents. If data store is set in the parent of write/import/collect user event requests, this field can be omitted.",
          "type": "string"
        },
        "entity": {
          "description": "Optional. Represents the entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. We recommend that you set `entity` to get better per-entity search, completion, and prediction results.",
          "type": "string"
        },
        "panel": {
          "description": "Panel metadata associated with this user event.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaPanelInfo"
        },
        "documents": {
          "description": "List of Documents associated with this user event. This field is optional except for the following event types: * `view-item` * `add-to-cart` * `purchase` * `media-play` * `media-complete` In a `search` event, this field represents the documents returned to the end user on the current page (the end user may have not finished browsing the whole page yet). When a new page is returned to the end user, after pagination/filtering/ordering even for the same query, a new `search` event with different UserEvent.documents is desired.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentInfo"
          },
          "type": "array"
        },
        "engine": {
          "type": "string",
          "description": "The Engine resource name, in the form of `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Optional. Only required for Engine produced user events. For example, user events from blended search."
        },
        "pageInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaPageInfo",
          "description": "Page metadata such as categories and other critical information for certain event types such as `view-category-page`."
        },
        "panels": {
          "type": "array",
          "description": "Optional. List of panels associated with this event. Used for page-level impression data.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaPanelInfo"
          }
        },
        "promotionIds": {
          "type": "array",
          "description": "The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID.",
          "items": {
            "type": "string"
          }
        },
        "attributes": {
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCustomAttribute"
          },
          "description": "Optional. Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.",
          "type": "object"
        },
        "userInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo",
          "description": "Information about the end user."
        },
        "searchInfo": {
          "description": "SearchService.Search details related to the event. This field should be set for `search` event.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchInfo"
        },
        "eventTime": {
          "description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.",
          "type": "string",
          "format": "google-datetime"
        },
        "userPseudoId": {
          "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Do not set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.",
          "type": "string"
        },
        "directUserRequest": {
          "description": "Should set to true if the request is made directly from the end user, in which case the UserEvent.user_info.user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.",
          "type": "boolean"
        },
        "attributionToken": {
          "description": "Token to attribute an API response to user action(s) to trigger the event. Highly recommended for user events that are the result of RecommendationService.Recommend. This field enables accurate attribution of recommendation model performance. The value must be one of: * RecommendResponse.attribution_token for events that are the result of RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. This token enables us to accurately attribute page view or conversion completion back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass RecommendResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the RecommendResponse.attribution_token to this field.",
          "type": "string"
        },
        "conversionType": {
          "type": "string",
          "description": "Optional. Conversion type. Required if UserEvent.event_type is `conversion`. This is a customer-defined conversion name in lowercase letters or numbers separated by \"-\", such as \"watch\", \"good-visit\" etc. Do not set the field if UserEvent.event_type is not `conversion`. This mixes the custom conversion event with predefined events like `search`, `view-item` etc."
        },
        "transactionInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaTransactionInfo",
          "description": "The transaction metadata (if any) associated with this user event."
        },
        "tagIds": {
          "items": {
            "type": "string"
          },
          "description": "A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different experiment setups.",
          "type": "array"
        },
        "eventType": {
          "description": "Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home \u003e Men \u003e Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. Custom conversion value: * `conversion`: Customer defined conversion event.",
          "type": "string"
        },
        "sessionId": {
          "type": "string",
          "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add UserEvent.user_pseudo_id as prefix."
        },
        "feedback": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaFeedback",
          "description": "Optional. This field is optional except for the `add-feedback` event types."
        },
        "mediaInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaMediaInfo",
          "description": "Media-specific info."
        },
        "completionInfo": {
          "description": "CompletionService.CompleteQuery details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCompletionInfo"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPauseEngineRequest": {
      "description": "Request for pausing training of an engine.",
      "id": "GoogleCloudDiscoveryengineV1alphaPauseEngineRequest",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata": {
      "properties": {
        "nextChunks": {
          "description": "The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaChunk"
          },
          "type": "array"
        },
        "previousChunks": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaChunk"
          },
          "type": "array",
          "description": "The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata",
      "type": "object",
      "description": "Metadata of the current chunk. This field is only populated on SearchService.Search API."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec",
      "type": "object",
      "properties": {
        "imageSource": {
          "enumDescriptions": [
            "Unspecified image source (multimodal feature is disabled by default).",
            "Behavior when service determines the pick from all available sources.",
            "Includes image from corpus in the answer.",
            "Triggers figure generation in the answer."
          ],
          "type": "string",
          "enum": [
            "IMAGE_SOURCE_UNSPECIFIED",
            "ALL_AVAILABLE_SOURCES",
            "CORPUS_IMAGE_ONLY",
            "FIGURE_GENERATION_ONLY"
          ],
          "description": "Optional. Source of image returned in the answer."
        }
      },
      "description": "Multimodal specification: Will return an image from specified source. If multiple sources are specified, the pick is a quality based decision."
    },
    "GoogleCloudDiscoveryengineV1Schema": {
      "id": "GoogleCloudDiscoveryengineV1Schema",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "jsonSchema": {
          "description": "The JSON representation of the schema.",
          "type": "string"
        },
        "structSchema": {
          "type": "object",
          "description": "The structured representation of the schema.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        }
      },
      "description": "Defines the structure and layout of a type of document data."
    },
    "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy": {
      "description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy",
      "properties": {
        "policy": {
          "type": "string",
          "description": "Optional. Specifies the resource name of the Sensitive Data Protection content policy."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListControlsResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaListControlsResponse",
      "description": "Response for ListControls method.",
      "properties": {
        "controls": {
          "type": "array",
          "description": "All the Controls for a given data store.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaControl"
          }
        },
        "nextPageToken": {
          "description": "Pagination token, if not returned indicates the last page.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig": {
      "properties": {
        "authParams": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. Any authentication parameters specific to FEDERATED connectors.",
          "type": "object"
        },
        "jsonAuthParams": {
          "type": "string",
          "description": "Optional. Any authentication parameters specific to FEDERATED connectors in json string format."
        },
        "additionalParams": {
          "description": "Optional. Any additional parameters needed for FEDERATED.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "type": "object"
        }
      },
      "description": "Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1IdpConfig": {
      "properties": {
        "idpType": {
          "description": "Identity provider type configured.",
          "enumDescriptions": [
            "Default value. ACL search not enabled.",
            "Google 1P provider.",
            "Third party provider."
          ],
          "type": "string",
          "enum": [
            "IDP_TYPE_UNSPECIFIED",
            "GSUITE",
            "THIRD_PARTY"
          ]
        },
        "externalIdpConfig": {
          "description": "External Identity provider config.",
          "$ref": "GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig"
        }
      },
      "type": "object",
      "description": "Identity Provider Config.",
      "id": "GoogleCloudDiscoveryengineV1IdpConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec",
      "description": "A facet specification to perform faceted search.",
      "properties": {
        "limit": {
          "format": "int32",
          "description": "Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is \"healthcare_aggregation_key\", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned.",
          "type": "integer"
        },
        "excludedFilterKeys": {
          "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 documents with the color facet \"Red\" and 200 documents with the color facet \"Blue\". A query containing the filter \"color:ANY(\"Red\")\" and having \"color\" as FacetKey.key would by default return only \"Red\" documents in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue documents available, \"Blue\" would not be shown as an available facet value. If \"color\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"color\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" documents. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "facetKey": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey",
          "description": "Required. The facet key specification."
        },
        "enableDynamicPosition": {
          "type": "boolean",
          "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how API orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position is false."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase": {
      "description": "Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused.",
      "id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase",
      "properties": {
        "ignoreDiacritics": {
          "description": "Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when matching banned phrases. For example, \"cafe\" would match \"café\".",
          "type": "boolean"
        },
        "matchType": {
          "type": "string",
          "enum": [
            "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED",
            "SIMPLE_STRING_MATCH",
            "WORD_BOUNDARY_STRING_MATCH"
          ],
          "description": "Optional. Match type for the banned phrase.",
          "enumDescriptions": [
            "Defaults to SIMPLE_STRING_MATCH.",
            "The banned phrase matches if it is found anywhere in the text as an exact substring.",
            "Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters."
          ]
        },
        "phrase": {
          "description": "Required. The raw string content to be banned.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaIdpConfig": {
      "description": "Identity Provider Config.",
      "properties": {
        "externalIdpConfig": {
          "description": "External Identity provider config.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig"
        },
        "idpType": {
          "description": "Identity provider type configured.",
          "enumDescriptions": [
            "Default value. ACL search not enabled.",
            "Google 1P provider.",
            "Third party provider."
          ],
          "type": "string",
          "enum": [
            "IDP_TYPE_UNSPECIFIED",
            "GSUITE",
            "THIRD_PARTY"
          ]
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaIdpConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason": {
      "description": "Site search indexing failure reasons.",
      "id": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason",
      "type": "object",
      "properties": {
        "quotaFailure": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure",
          "description": "Failed due to insufficient quota."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAuthorization": {
      "id": "GoogleCloudDiscoveryengineV1alphaAuthorization",
      "type": "object",
      "description": "Discovery Engine Authorization resource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Identifier. Resource name of the authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` It must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "displayName": {
          "type": "string",
          "description": "Required. The display name of the authorization. It must be a UTF-8 encoded string with a length limit of 128 characters."
        },
        "serverSideOauth2": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2",
          "description": "Server-side OAuth2 configuration."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaExportMetricsRequest": {
      "description": "Request message for the `ExportMetrics` method.",
      "properties": {
        "outputConfig": {
          "description": "Required. The output location of the data.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaOutputConfig"
        },
        "startDate": {
          "$ref": "GoogleTypeDate",
          "description": "Optional. The earliest date (inclusive), interpreted in the UTC time zone, whose metrics are included in the export. If unset, defaults to 30 days before the current UTC date. The value must be a valid calendar date that is not in the future and not older than 180 days (the source data retention window); otherwise the request fails with `INVALID_ARGUMENT`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaExportMetricsRequest",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError": {
      "properties": {
        "videoDeleted": {
          "description": "Error to indicate that the source was removed because the video was deleted.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted"
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError",
      "description": "A youtube specific error.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DeleteCollectionMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1DeleteCollectionMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest": {
      "properties": {
        "fileDataSource": {
          "description": "Structured or unstructured data.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource"
        },
        "websiteDataSource": {
          "description": "Website data.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource"
        }
      },
      "type": "object",
      "description": "Request message for EstimateBillingService.EstimateDataSize method",
      "id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource",
      "properties": {
        "userEvents": {
          "description": "Required. A list of user events to import. Recommended max of 10k items.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
          },
          "type": "array"
        }
      },
      "description": "The inline source for the input config for ImportUserEvents method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1EngineSearchEngineConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1EngineSearchEngineConfig",
      "description": "Configurations for a Search Engine.",
      "properties": {
        "searchTier": {
          "enumDescriptions": [
            "Default value when the enum is unspecified. This is invalid to use.",
            "Standard tier.",
            "Enterprise tier."
          ],
          "type": "string",
          "enum": [
            "SEARCH_TIER_UNSPECIFIED",
            "SEARCH_TIER_STANDARD",
            "SEARCH_TIER_ENTERPRISE"
          ],
          "description": "The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified."
        },
        "searchAddOns": {
          "description": "The add-on that this search engine enables.",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SEARCH_ADD_ON_UNSPECIFIED",
              "SEARCH_ADD_ON_LLM"
            ],
            "enumDescriptions": [
              "Default value when the enum is unspecified. This is invalid to use.",
              "Large language model add-on."
            ]
          }
        },
        "requiredSubscriptionTier": {
          "description": "Optional. The required subscription tier of this engine. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. Web grounding feature is only available on the app if it is set as SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT.",
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TIER_UNSPECIFIED",
            "SUBSCRIPTION_TIER_SEARCH",
            "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT",
            "SUBSCRIPTION_TIER_NOTEBOOK_LM",
            "SUBSCRIPTION_TIER_FRONTLINE_WORKER",
            "SUBSCRIPTION_TIER_AGENTSPACE_STARTER",
            "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS",
            "SUBSCRIPTION_TIER_ENTERPRISE",
            "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING",
            "SUBSCRIPTION_TIER_EDU",
            "SUBSCRIPTION_TIER_EDU_PRO",
            "SUBSCRIPTION_TIER_EDU_EMERGING",
            "SUBSCRIPTION_TIER_EDU_PRO_EMERGING",
            "SUBSCRIPTION_TIER_FRONTLINE_STARTER",
            "SUBSCRIPTION_TIER_CONSUMPTION_ONLY",
            "SUBSCRIPTION_TIER_EDU_GOV_EMERGING"
          ],
          "enumDescriptions": [
            "Default value.",
            "Search tier. Search tier can access Vertex AI Search features and NotebookLM features.",
            "Gemini Enterprise Plus tier.",
            "NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.",
            "Gemini Frontline worker tier.",
            "Gemini Business Starter tier.",
            "Gemini Business tier.",
            "Gemini Enterprise Standard tier.",
            "Gemini Enterprise Standard tier for emerging markets.",
            "Gemini Enterprise EDU tier.",
            "Gemini Enterprise EDU Pro tier.",
            "Gemini Enterprise EDU tier for emerging market only.",
            "Gemini Enterprise EDU Pro tier for emerging market.",
            "Gemini Frontline Starter tier.",
            "Represents the Gemini Enterprise Consumption-only tier: $0 subscription billed purely on usage (PAYG).",
            "Gemini Enterprise EDU tier for government in emerging markets."
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest": {
      "properties": {
        "inlineSource": {
          "description": "The inline source to purge identity mapping entries from.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource"
        },
        "filter": {
          "type": "string",
          "description": "Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 \"zulu\" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time \u003e \"2012-04-23T18:25:43.511Z\" AND update_time \u003c \"2012-04-23T18:30:43.511Z\"` * Deleting all identity mappings for a given external_id: `external_id = \"id1\"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided."
        },
        "force": {
          "type": "boolean",
          "description": "Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field."
        }
      },
      "type": "object",
      "description": "Request message for IdentityMappingStoreService.PurgeIdentityMappings",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest"
    },
    "GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse": {
      "id": "GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse",
      "description": "Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
      "type": "object",
      "properties": {
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig"
        },
        "errorSamples": {
          "type": "array",
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleMonitoringV3TimeSeries": {
      "description": "A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.",
      "properties": {
        "metric": {
          "description": "The associated metric. A fully-specified metric used to identify the time series.",
          "$ref": "GoogleApiMetric"
        },
        "description": {
          "description": "Input only. A detailed description of the time series that will be associated with the google.api.MetricDescriptor for the metric. Once set, this field cannot be changed through CreateTimeSeries.",
          "type": "string"
        },
        "unit": {
          "type": "string",
          "description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty."
        },
        "resource": {
          "$ref": "GoogleApiMonitoredResource",
          "description": "The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources)."
        },
        "metadata": {
          "$ref": "GoogleApiMonitoredResourceMetadata",
          "description": "Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored."
        },
        "valueType": {
          "description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the `points` field.",
          "enumDescriptions": [
            "Do not use this default value.",
            "The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.",
            "The value is a signed 64-bit integer.",
            "The value is a double precision floating point number.",
            "The value is a text string. This value type can be used only if the metric kind is `GAUGE`.",
            "The value is a `Distribution`.",
            "The value is money."
          ],
          "type": "string",
          "enum": [
            "VALUE_TYPE_UNSPECIFIED",
            "BOOL",
            "INT64",
            "DOUBLE",
            "STRING",
            "DISTRIBUTION",
            "MONEY"
          ]
        },
        "points": {
          "type": "array",
          "items": {
            "$ref": "GoogleMonitoringV3Point"
          },
          "description": "The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`."
        },
        "metricKind": {
          "type": "string",
          "enum": [
            "METRIC_KIND_UNSPECIFIED",
            "GAUGE",
            "DELTA",
            "CUMULATIVE"
          ],
          "description": "The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.",
          "enumDescriptions": [
            "Do not use this default value.",
            "An instantaneous measurement of a value.",
            "The change in a value during a time interval.",
            "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
          ]
        }
      },
      "id": "GoogleMonitoringV3TimeSeries",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason": {
      "description": "Site search indexing failure reasons.",
      "properties": {
        "quotaFailure": {
          "description": "Failed due to insufficient quota.",
          "$ref": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest",
      "properties": {},
      "type": "object",
      "description": "Request message for CompletionService.PurgeCompletionSuggestions method."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec": {
      "description": "The specification for query spell correction.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
      "properties": {
        "mode": {
          "description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.",
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "SUGGESTION_ONLY",
            "AUTO"
          ],
          "enumDescriptions": [
            "Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.",
            "Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.",
            "Automatic spell correction built by the Search API. Search will be based on the corrected query if found."
          ]
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ObservabilityConfig": {
      "properties": {
        "sensitiveLoggingEnabled": {
          "type": "boolean",
          "description": "Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields."
        },
        "observabilityEnabled": {
          "type": "boolean",
          "description": "Optional. Enables observability. If `false`, all other flags are ignored."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ObservabilityConfig",
      "type": "object",
      "description": "Observability config for a resource."
    },
    "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse": {
      "properties": {
        "citedFacts": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk"
          },
          "description": "List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.",
          "type": "array"
        },
        "supportScore": {
          "description": "The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.",
          "type": "number",
          "format": "float"
        },
        "claims": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim"
          },
          "description": "Claim texts and citation info across all claims in the answer candidate."
        },
        "citedChunks": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaFactChunk"
          },
          "description": "List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request."
        }
      },
      "type": "object",
      "description": "Response message for the GroundedGenerationService.CheckGrounding method.",
      "id": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaListConversationsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse",
      "properties": {
        "conversations": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaConversation"
          },
          "type": "array",
          "description": "All the Conversations for a given data store."
        },
        "nextPageToken": {
          "description": "Pagination token, if not returned indicates the last page.",
          "type": "string"
        }
      },
      "description": "Response for ListConversations method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest",
      "properties": {
        "crawlRateScope": {
          "description": "Required. The scope of the crawl rate that the user wants to monitor. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name.",
          "type": "string"
        }
      },
      "description": "Request message for CrawlRateManagementService.ObtainCrawlRate method."
    },
    "GoogleCloudDiscoveryengineV1EngineCommonConfig": {
      "description": "Common configurations for an Engine.",
      "type": "object",
      "properties": {
        "companyName": {
          "description": "The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1EngineCommonConfig"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec": {
      "description": "The specification for returning the document relevance score.",
      "type": "object",
      "properties": {
        "returnRelevanceScore": {
          "description": "Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec"
    },
    "GoogleCloudNotebooklmV1alphaNotebook": {
      "description": "Notebook is a resource where users can store their content (as sources) and interacts with the content.",
      "properties": {
        "emoji": {
          "description": "Output only. The emoji of the notebook.",
          "type": "string",
          "readOnly": true
        },
        "metadata": {
          "description": "Output only. The metadata of the notebook.",
          "readOnly": true,
          "$ref": "GoogleCloudNotebooklmV1alphaNotebookMetadata"
        },
        "notebookId": {
          "type": "string",
          "description": "Output only. Notebook id, which is the last segment of the notebook's resource name.",
          "readOnly": true
        },
        "cmekConfig": {
          "$ref": "GoogleCloudNotebooklmV1alphaCmekConfig",
          "description": "Output only. CMEK-related information for the Notebook.",
          "readOnly": true
        },
        "title": {
          "type": "string",
          "description": "Optional. The title of the notebook."
        },
        "name": {
          "description": "Identifier. The identifier of the notebook. Format: `projects/{project}/locations/{location}/notebooks/{notebook_id}`. This field must be a UTF-8 encoded string.",
          "type": "string"
        },
        "sources": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudNotebooklmV1alphaSource"
          },
          "description": "Output only. List of sources in the notebook. This is an output only field."
        }
      },
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaNotebook"
    },
    "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult": {
      "properties": {
        "sampleQuery": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery",
          "description": "Output only. The SampleQuery that was evaluated."
        },
        "qualityMetrics": {
          "description": "Output only. The metrics produced by the evaluation, for a given SampleQuery.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetrics"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult",
      "description": "Represents the results of an evaluation for a single SampleQuery.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListChunksResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListChunksResponse",
      "description": "Response message for ChunkService.ListChunks method.",
      "properties": {
        "chunks": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaChunk"
          },
          "description": "The Chunks.",
          "type": "array"
        },
        "nextPageToken": {
          "description": "A token that can be sent as ListChunksRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse": {
      "id": "GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse",
      "description": "Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.",
      "type": "object",
      "properties": {
        "errorSamples": {
          "description": "A sample of errors encountered while processing the data.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "metrics": {
          "additionalProperties": {
            "format": "double",
            "type": "number"
          },
          "type": "object",
          "description": "The metrics of the trained model."
        },
        "modelName": {
          "description": "Fully qualified name of the CustomTuningModel.",
          "type": "string"
        },
        "errorConfig": {
          "description": "Echoes the destination for the complete errors in the request if set.",
          "$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig"
        },
        "modelStatus": {
          "description": "The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse": {
      "description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.",
      "id": "GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse",
      "type": "object",
      "properties": {
        "joinedEventsCount": {
          "format": "int64",
          "type": "string",
          "description": "Count of user events imported with complete existing Documents."
        },
        "errorSamples": {
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the request."
        },
        "errorConfig": {
          "description": "Echoes the destination for the complete errors if this field was set in the request.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig"
        },
        "unjoinedEventsCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of user events imported, but with Document information not found in the existing Branch."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata": {
      "id": "GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCompletionInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaCompletionInfo",
      "type": "object",
      "description": "Detailed completion information including completion attribution token and clicked completion info.",
      "properties": {
        "selectedSuggestion": {
          "type": "string",
          "description": "Optional. End user selected CompleteQueryResponse.QuerySuggestion.suggestion."
        },
        "selectedPosition": {
          "format": "int32",
          "type": "integer",
          "description": "End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0."
        }
      }
    },
    "GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext",
      "properties": {
        "entity": {
          "description": "The entity to sync for the connector run.",
          "type": "string"
        },
        "endTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The time when the connector run ended."
        },
        "startTime": {
          "description": "The time when the connector run started.",
          "type": "string",
          "format": "google-datetime"
        },
        "syncType": {
          "type": "string",
          "description": "The type of sync run. Can be one of the following: * `FULL` * `INCREMENTAL`"
        },
        "dataConnector": {
          "description": "The full resource name of the DataConnector. Format: `projects/*/locations/*/collections/*/dataConnector`.",
          "type": "string"
        },
        "operation": {
          "description": "The operation resource name of the LRO to sync the connector.",
          "type": "string"
        },
        "connectorRun": {
          "description": "The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated.",
          "type": "string"
        }
      },
      "description": "The error payload that is populated on LRO sync APIs, including the following: * `google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnector` * `google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun`"
    },
    "GoogleCloudNotebooklmV1alphaAccountAndRole": {
      "properties": {
        "email": {
          "type": "string",
          "description": "Required. The email address associated with the account."
        },
        "role": {
          "type": "string",
          "enum": [
            "PROJECT_ROLE_UNKNOWN",
            "PROJECT_ROLE_OWNER",
            "PROJECT_ROLE_WRITER",
            "PROJECT_ROLE_READER",
            "PROJECT_ROLE_NOT_SHARED"
          ],
          "description": "Required. The role in the notebook.",
          "enumDescriptions": [
            "Unknown role.",
            "The user owns the project.",
            "The user has writer permissions on the project.",
            "The user has reader permissions on the project.",
            "The user has no access to the project."
          ]
        }
      },
      "type": "object",
      "description": "Account and role information.",
      "id": "GoogleCloudNotebooklmV1alphaAccountAndRole"
    },
    "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim",
      "description": "Text and citation info for a claim in the answer candidate.",
      "properties": {
        "endPos": {
          "format": "int32",
          "type": "integer",
          "description": "Position indicating the end of the claim in the answer candidate, exclusive, in bytes. Note that this is not measured in characters and, therefore, must be rendered as such. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent)."
        },
        "startPos": {
          "type": "integer",
          "format": "int32",
          "description": "Position indicating the start of the claim in the answer candidate, measured in bytes. Note that this is not measured in characters and, therefore, must be rendered in the user interface keeping in mind that some characters may take more than one byte. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent)."
        },
        "citationIndices": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array",
          "description": "A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact."
        },
        "groundingCheckRequired": {
          "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices should not be returned.",
          "type": "boolean"
        },
        "claimText": {
          "description": "Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found.",
          "type": "string"
        },
        "score": {
          "type": "number",
          "format": "double",
          "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage": {
      "id": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage",
      "description": "A list of usages for a specific day.",
      "properties": {
        "date": {
          "description": "The date of the usage.",
          "$ref": "GoogleTypeDate"
        },
        "usage": {
          "format": "double",
          "type": "number",
          "description": "The usage value on the date."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse": {
      "description": "Response message for CompletionService.ImportSuggestionDenyListEntries method.",
      "properties": {
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the request.",
          "type": "array"
        },
        "importedEntriesCount": {
          "format": "int64",
          "description": "Count of deny list entries successfully imported.",
          "type": "string"
        },
        "failedEntriesCount": {
          "type": "string",
          "description": "Count of deny list entries that failed to be imported.",
          "format": "int64"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo",
      "type": "object",
      "properties": {
        "documentMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata",
          "description": "Metadata of the document from the current chunk."
        },
        "content": {
          "type": "string",
          "description": "Chunk textual content. It is limited to 8000 characters."
        }
      },
      "description": "Chunk information."
    },
    "GoogleRpcStatus": {
      "type": "object",
      "id": "GoogleRpcStatus",
      "description": "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).",
      "properties": {
        "message": {
          "type": "string",
          "description": "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."
        },
        "details": {
          "type": "array",
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "items": {
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            },
            "type": "object"
          }
        },
        "code": {
          "format": "int32",
          "type": "integer",
          "description": "The status code, which should be an enum value of google.rpc.Code."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment": {
      "description": "Grounding information for a segment of the text.",
      "properties": {
        "referenceIndices": {
          "description": "References for the segment.",
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "groundingScore": {
          "description": "Score for the segment.",
          "type": "number",
          "format": "float"
        },
        "text": {
          "description": "The text segment itself.",
          "type": "string"
        },
        "endIndex": {
          "description": "End of the segment, exclusive.",
          "type": "string",
          "format": "int64"
        },
        "startIndex": {
          "format": "int64",
          "type": "string",
          "description": "Zero-based index indicating the start of the segment, measured in bytes of a UTF-8 string (i.e. characters encoded on multiple bytes have a length of more than one)."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment"
    },
    "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy": {
      "description": "Data protection policy config for NotebookLM.",
      "properties": {
        "sensitiveDataProtectionPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy",
          "description": "Optional. The sensitive data protection policy."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig": {
      "description": "Config to data store for `HEALTHCARE_FHIR` vertical.",
      "type": "object",
      "properties": {
        "enableStaticIndexingForBatchIngestion": {
          "type": "boolean",
          "description": "Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume."
        },
        "initialFilterGroups": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources."
        },
        "enableConfigurableSchema": {
          "type": "boolean",
          "description": "Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaFactChunk": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaFactChunk",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the source."
        },
        "source": {
          "description": "Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.",
          "type": "string"
        },
        "chunkText": {
          "type": "string",
          "description": "Text content of the fact chunk. Can be at most 10K characters long."
        },
        "sourceMetadata": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "More fine-grained information for the source reference."
        },
        "title": {
          "description": "The title of the source.",
          "type": "string"
        },
        "domain": {
          "description": "The domain of the source.",
          "type": "string"
        },
        "index": {
          "description": "The index of this chunk. Currently, only used for the streaming mode.",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "Fact Chunk."
    },
    "GoogleTypeLatLng": {
      "type": "object",
      "id": "GoogleTypeLatLng",
      "properties": {
        "latitude": {
          "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
          "format": "double",
          "type": "number"
        },
        "longitude": {
          "type": "number",
          "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
          "format": "double"
        }
      },
      "description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges."
    },
    "GoogleCloudNotebooklmV1alphaSourceId": {
      "description": "SourceId is the last segment of the source's resource name.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The id of the source."
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaSourceId",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaControlBoostAction": {
      "id": "GoogleCloudDiscoveryengineV1alphaControlBoostAction",
      "properties": {
        "filter": {
          "description": "Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "dataStore": {
          "type": "string",
          "description": "Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store"
        },
        "fixedBoost": {
          "format": "float",
          "type": "number",
          "description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op)."
        },
        "interpolationBoostSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec",
          "description": "Optional. Complex specification for custom ranking based on customer defined attribute value."
        },
        "boost": {
          "description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).",
          "type": "number",
          "deprecated": true,
          "format": "float"
        }
      },
      "description": "Adjusts order of products in returned list.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource": {
      "properties": {
        "estimatorUriPatterns": {
          "type": "array",
          "description": "Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource",
      "description": "Data source is a set of website patterns that we crawl to get the total number of websites.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion": {
      "type": "object",
      "properties": {
        "suggestion": {
          "description": "The suggestion for the query.",
          "type": "string"
        },
        "completableFieldPaths": {
          "description": "The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "score": {
          "type": "number",
          "description": "The score of each suggestion. The score is in the range of [0, 1].",
          "format": "double"
        },
        "dataStore": {
          "description": "The name of the dataStore that this suggestion belongs to.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion",
      "description": "Suggestions as search queries."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams": {
      "properties": {
        "expressionsToPrecompute": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. A list of ranking expressions (see `ranking_expression` for the syntax documentation) to evaluate. The evaluation results will be returned in `SearchResponse.SearchResult.rank_signals.precomputed_expression_values` field."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams",
      "type": "object",
      "description": "Configuration parameters for the Custom Ranking feature."
    },
    "GoogleCloudDiscoveryengineV1alphaListSessionsRequest": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaListSessionsRequest",
      "description": "Request for ListSessions method.",
      "properties": {
        "orderBy": {
          "description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.",
          "type": "string"
        },
        "pageToken": {
          "type": "string",
          "description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page."
        },
        "pageSize": {
          "type": "integer",
          "description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.",
          "format": "int32"
        },
        "filter": {
          "type": "string",
          "description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \u003e \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`"
        },
        "parent": {
          "description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig",
      "description": "Configuration data for advance site search.",
      "properties": {
        "disableAutomaticRefresh": {
          "description": "If set true, automatic refresh is disabled for the DataStore.",
          "type": "boolean"
        },
        "disableInitialIndex": {
          "type": "boolean",
          "description": "If set true, initial indexing is disabled for the DataStore."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1SiteVerificationInfo": {
      "properties": {
        "verifyTime": {
          "description": "Latest site verification time.",
          "format": "google-datetime",
          "type": "string"
        },
        "siteVerificationState": {
          "enumDescriptions": [
            "Defaults to VERIFIED.",
            "Site ownership verified.",
            "Site ownership pending verification or verification failed.",
            "Site exempt from verification, e.g., a public website that opens to all."
          ],
          "type": "string",
          "enum": [
            "SITE_VERIFICATION_STATE_UNSPECIFIED",
            "VERIFIED",
            "UNVERIFIED",
            "EXEMPTED"
          ],
          "description": "Site verification state indicating the ownership and validity."
        }
      },
      "description": "Verification information for target sites in advanced site search.",
      "id": "GoogleCloudDiscoveryengineV1SiteVerificationInfo",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest": {
      "properties": {
        "mode": {
          "enumDescriptions": [
            "The mode is unspecified. If the user does not specify the mode, default to AUTOMATIC.",
            "Vertex AI automatically splits crawl_rate into user-triggered and auto-refresh. Users don't need to specify SetDedicatedCrawlRateRequest.CrawlType if the mode is AUTOMATIC.",
            "Users explicitly set user-triggered or auto-refresh crawl rate."
          ],
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "AUTOMATIC",
            "EXPLICIT"
          ],
          "description": "Optional. Whether the rate is explicitly set by users, or set by vertex AI."
        },
        "crawlRateScope": {
          "type": "string",
          "description": "Required. The scope of the crawl rate that the user wants to config. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name."
        },
        "crawlRate": {
          "description": "Optional. The crawl QPS set by the user. It is not guaranteed that Vertex crawl bot will crawl at this QPS. If the crawl rate is too high, the real QPS may be lower than the value set by the user to avoid overloading the user's website.",
          "format": "int32",
          "type": "integer"
        },
        "crawlType": {
          "type": "string",
          "enum": [
            "CRAWL_TYPE_UNSPECIFIED",
            "USER_TRIGGERED",
            "AUTO_REFRESH"
          ],
          "enumDescriptions": [
            "The crawl type is unspecified.",
            "The crawl type is user-triggered.",
            "The crawl type is auto-refresh."
          ],
          "description": "Optional. Whether it's the crawl rate of user-triggered or auto-refresh."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest",
      "description": "Request message for CrawlRateManagementService.SetDedicatedCrawlRate method. The user can set the crawl rate for a crawl_rate_scope they own. They can set up an overall crawl rate, or set up a user-triggered crawl rate and a auto-refresh crawl rate separately. If an overall crawl rate is set, Vertex AI will automatically splits crawl_rate into user-triggered and auto-refresh.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec": {
      "properties": {
        "returnRelevanceScore": {
          "type": "boolean",
          "description": "Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query."
        }
      },
      "description": "The specification for returning the document relevance score.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig",
      "type": "object",
      "description": "Configuration for chunking config.",
      "properties": {
        "layoutBasedChunkingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig",
          "description": "Configuration for the layout based chunking."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse": {
      "description": "Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.",
      "id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig": {
      "properties": {
        "layoutBasedChunkingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig",
          "description": "Configuration for the layout based chunking."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig",
      "description": "Configuration for chunking config."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistUserMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaAssistUserMetadata",
      "properties": {
        "timeZone": {
          "type": "string",
          "description": "Optional. IANA time zone, e.g. Europe/Budapest."
        },
        "preferredLanguageCode": {
          "description": "Optional. Preferred language to be used for answering if language detection fails. Also used as the language of error messages created by actions, regardless of language detection results.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "User metadata of the request."
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsFeatureToggleInfo": {
      "type": "object",
      "description": "The resolved, server-side view of the feature toggle registry containing detailed info about each feature.",
      "properties": {
        "featureToggles": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. The feature toggles known to the registry.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsFeatureToggleInfoFeatureToggle"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsFeatureToggleInfo"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata": {
      "type": "object",
      "description": "Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ServingConfig": {
      "properties": {
        "replacementControlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH."
        },
        "displayName": {
          "type": "string",
          "description": "Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned."
        },
        "onewaySynonymsControlIds": {
          "items": {
            "type": "string"
          },
          "description": "Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.",
          "type": "array"
        },
        "answerGenerationSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1AnswerGenerationSpec",
          "description": "Optional. The specification for answer generation."
        },
        "filterControlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls."
        },
        "promoteControlIds": {
          "type": "array",
          "description": "Condition promote specifications. Maximum number of specifications is 100.",
          "items": {
            "type": "string"
          }
        },
        "mediaConfig": {
          "description": "The MediaConfig of the serving configuration.",
          "$ref": "GoogleCloudDiscoveryengineV1ServingConfigMediaConfig"
        },
        "synonymsControlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH."
        },
        "updateTime": {
          "readOnly": true,
          "description": "Output only. ServingConfig updated timestamp.",
          "type": "string",
          "format": "google-datetime"
        },
        "genericConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ServingConfigGenericConfig",
          "description": "The GenericConfig of the serving configuration."
        },
        "name": {
          "description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`",
          "type": "string"
        },
        "diversityLevel": {
          "description": "How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
          "type": "string"
        },
        "ignoreControlIds": {
          "type": "array",
          "description": "Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.",
          "items": {
            "type": "string"
          }
        },
        "solutionType": {
          "description": "Required. Immutable. Specifies the solution type that a serving config can be associated with.",
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ]
        },
        "modelId": {
          "description": "The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
          "type": "string"
        },
        "redirectControlIds": {
          "description": "IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "rankingExpression": {
          "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "description": "Output only. ServingConfig created timestamp.",
          "format": "google-datetime",
          "readOnly": true
        },
        "boostControlIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls."
        },
        "dissociateControlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ServingConfig",
      "description": "Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions). The ServingConfig is passed in the search and predict request and generates results.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata": {
      "description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        },
        "successCount": {
          "format": "int64",
          "type": "string",
          "description": "Count of entries that were deleted successfully."
        },
        "failureCount": {
          "description": "Count of entries that encountered errors while processing.",
          "format": "int64",
          "type": "string"
        },
        "ignoredCount": {
          "description": "Count of entries that were ignored as entries were not found.",
          "type": "string",
          "format": "int64"
        },
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore",
      "description": "Score for a single metric.",
      "type": "object",
      "properties": {
        "metric": {
          "type": "string",
          "description": "Required. Name of the metric."
        },
        "score": {
          "type": "number",
          "format": "float",
          "description": "Required. Score of a program for this metric."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1TargetSite": {
      "description": "A target site for the SiteSearchEngine.",
      "properties": {
        "siteVerificationInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1SiteVerificationInfo",
          "readOnly": true,
          "description": "Output only. Site ownership and validity verification status."
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated."
        },
        "type": {
          "enumDescriptions": [
            "This value is unused. In this case, server behavior defaults to Type.INCLUDE.",
            "Include the target site.",
            "Exclude the target site."
          ],
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "INCLUDE",
            "EXCLUDE"
          ],
          "description": "The type of the target site, e.g., whether the site is to be included or excluded."
        },
        "indexingStatus": {
          "enumDescriptions": [
            "Defaults to SUCCEEDED.",
            "The target site is in the update queue and will be picked up by indexing pipeline.",
            "The target site fails to be indexed.",
            "The target site has been indexed.",
            "The previously indexed target site has been marked to be deleted. This is a transitioning state which will resulted in either: 1. target site deleted if unindexing is successful; 2. state reverts to SUCCEEDED if the unindexing fails.",
            "The target site change is pending but cancellable.",
            "The target site change is cancelled."
          ],
          "enum": [
            "INDEXING_STATUS_UNSPECIFIED",
            "PENDING",
            "FAILED",
            "SUCCEEDED",
            "DELETING",
            "CANCELLABLE",
            "CANCELLED"
          ],
          "readOnly": true,
          "description": "Output only. Indexing status.",
          "type": "string"
        },
        "providedUriPattern": {
          "description": "Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.",
          "type": "string"
        },
        "rootDomainUri": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Root domain of the provided_uri_pattern."
        },
        "exactMatch": {
          "description": "Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.",
          "type": "boolean"
        },
        "updateTime": {
          "description": "Output only. The target site's last updated time.",
          "format": "google-datetime",
          "readOnly": true,
          "type": "string"
        },
        "generatedUriPattern": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. This is system-generated based on the provided_uri_pattern."
        },
        "failureReason": {
          "description": "Output only. Failure reason.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1TargetSiteFailureReason"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1TargetSite"
    },
    "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec": {
      "properties": {
        "attributeType": {
          "enumDescriptions": [
            "Unspecified AttributeType.",
            "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.",
            "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`."
          ],
          "type": "string",
          "enum": [
            "ATTRIBUTE_TYPE_UNSPECIFIED",
            "NUMERICAL",
            "FRESHNESS"
          ],
          "description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value)."
        },
        "controlPoints": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint"
          },
          "type": "array",
          "description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here."
        },
        "fieldName": {
          "type": "string",
          "description": "Optional. The name of the field whose value will be used to determine the boost amount."
        },
        "interpolationType": {
          "description": "Optional. The interpolation type to be applied to connect the control points listed below.",
          "type": "string",
          "enum": [
            "INTERPOLATION_TYPE_UNSPECIFIED",
            "LINEAR"
          ],
          "enumDescriptions": [
            "Interpolation type is unspecified. In this case, it defaults to Linear.",
            "Piecewise linear interpolation will be applied."
          ]
        }
      },
      "type": "object",
      "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.",
      "id": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings": {
      "type": "object",
      "description": "Run settings for the experiment.",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings",
      "properties": {
        "maxPrograms": {
          "format": "int32",
          "description": "Required. Maximum number of programs to generate during the experiment run. The initial program counts towards this limit. Must be greater than 1.",
          "type": "integer"
        },
        "concurrency": {
          "format": "int32",
          "type": "integer",
          "description": "Required. Maximum number of programs that can be generated in parallel. Must be positive."
        },
        "maxDuration": {
          "type": "string",
          "description": "Optional. Maximum duration of the experiment. If unset, defaults to 24 hours.",
          "format": "google-duration"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent": {
      "type": "object",
      "properties": {
        "sourceName": {
          "type": "string",
          "description": "The name to be displayed for the source."
        },
        "mimeType": {
          "type": "string",
          "description": "The mime type of the selected document. This can be used to differentiate type of content selected in the drive picker. Use application/vnd.google-apps.document for Google Docs or application/vnd.google-apps.presentation for Google Slides."
        },
        "documentId": {
          "description": "The document id of the selected document.",
          "type": "string"
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent",
      "description": "The content from Google Drive."
    },
    "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse": {
      "type": "object",
      "description": "Response for ListServingConfigs method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "Pagination token, if not returned indicates the last page."
        },
        "servingConfigs": {
          "description": "All the ServingConfigs for a given dataStore.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig",
      "description": "Config for connecting to NotebookLM Enterprise.",
      "properties": {
        "searchConfig": {
          "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*",
          "type": "string"
        },
        "notebooks": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "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."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaQueryPart": {
      "id": "GoogleCloudDiscoveryengineV1alphaQueryPart",
      "properties": {
        "userSuppliedSobiArtifactReference": {
          "description": "Reference to a user-supplied file attached to a long-running-agent (Sobi) task. See `UserSuppliedSobiArtifactReference` above.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference"
        },
        "mimeType": {
          "type": "string",
          "description": "Optional. The IANA standard MIME type of the data. See https://www.iana.org/assignments/media-types/media-types.xhtml. This field is optional. If not set, the default assumed MIME type is \"text/plain\" for the \"data\" field."
        },
        "text": {
          "description": "Text content.",
          "type": "string"
        },
        "personReference": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference",
          "description": "Reference to a person."
        },
        "documentReference": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference",
          "description": "Other VAIS Document references."
        },
        "driveDocumentReference": {
          "description": "Reference to a Google Drive document.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference"
        },
        "uiJsonPayload": {
          "type": "string",
          "description": "This field is expected to be a ui message in JSON format. As of Q1 2026, ui_json_payload is only supported for A2UI messages."
        }
      },
      "description": "Represents a part or the whole of a content, used to represent a query. A query can be made up of multiple parts.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec": {
      "properties": {
        "searchRequest": {
          "description": "Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: * SearchRequest.serving_config * SearchRequest.branch * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * SearchRequest.user_pseudo_id",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest"
        },
        "querySetSpec": {
          "description": "Optional. The specification of the query set.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec",
      "type": "object",
      "description": "Describes the specification of the evaluation."
    },
    "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig": {
      "description": "Feature configurations that are required for creating a Most Popular engine.",
      "properties": {
        "timeWindowDays": {
          "format": "int64",
          "description": "The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the `most-popular-items` engine.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaChunk": {
      "description": "Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.",
      "properties": {
        "relevanceScore": {
          "type": "number",
          "readOnly": true,
          "description": "Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchResponse.",
          "format": "double"
        },
        "annotationContents": {
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "description": "Output only. Annotation contents if the current chunk contains annotations.",
          "type": "array"
        },
        "name": {
          "description": "The full resource name of the chunk. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}/chunks/{chunk_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "dataUrls": {
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. Image Data URLs if the current chunk contains images. Data URLs are composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:,",
          "type": "array"
        },
        "derivedStructData": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.",
          "type": "object",
          "readOnly": true
        },
        "id": {
          "description": "Unique chunk ID of the current chunk.",
          "type": "string"
        },
        "annotationMetadata": {
          "description": "Output only. The annotation metadata includes structured content in the current chunk.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata"
          },
          "readOnly": true
        },
        "content": {
          "description": "Content is a string from a document (parsed content).",
          "type": "string"
        },
        "documentMetadata": {
          "description": "Metadata of the document from the current chunk.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata"
        },
        "chunkMetadata": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata",
          "description": "Output only. Metadata of the current chunk."
        },
        "pageSpan": {
          "description": "Page span of the chunk.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaChunkPageSpan"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaChunk"
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig",
      "description": "Any params and credentials used specifically for EUA connectors.",
      "type": "object",
      "properties": {
        "authParams": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. Any authentication parameters specific to EUA connectors.",
          "type": "object"
        },
        "jsonAuthParams": {
          "type": "string",
          "description": "Optional. Any authentication parameters specific to EUA connectors in json string format."
        },
        "tenant": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaTenant",
          "description": "Optional. The tenant project the connector is connected to."
        },
        "additionalParams": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "type": "object",
          "description": "Optional. Any additional parameters needed for EUA."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentAclInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentAclInfo",
      "type": "object",
      "description": "ACL Information of the Document.",
      "properties": {
        "readers": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction"
          },
          "description": "Readers of the document.",
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": {
      "properties": {
        "chunkSize": {
          "type": "integer",
          "description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.",
          "format": "int32"
        },
        "includeAncestorHeadings": {
          "description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.",
          "type": "boolean"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig",
      "description": "Configuration for the layout based chunking."
    },
    "GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest": {
      "properties": {
        "userContents": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudNotebooklmV1alphaUserContent"
          },
          "description": "Required. The UserContents to be uploaded."
        }
      },
      "type": "object",
      "description": "Request for SourceService.BatchCreateSources method.",
      "id": "GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt": {
      "description": "A suggested prompt for the canned query.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt",
      "properties": {
        "promptText": {
          "type": "string",
          "description": "Required. The text of the suggested prompt."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata",
      "properties": {
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "INDEXED",
            "NOT_IN_TARGET_SITE",
            "NOT_IN_INDEX"
          ],
          "description": "The state of the document.",
          "enumDescriptions": [
            "Should never be set.",
            "The Document is indexed.",
            "The Document is not indexed because its URI is not in the TargetSite.",
            "The Document is not indexed."
          ]
        },
        "matcherValue": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue",
          "description": "The value of the matcher that was used to match the Document."
        },
        "lastRefreshedTime": {
          "format": "google-datetime",
          "description": "The timestamp of the last time the Document was last indexed.",
          "type": "string"
        },
        "dataIngestionSource": {
          "type": "string",
          "description": "The data ingestion source of the Document. Allowed values are: * `batch`: Data ingested via Batch API, e.g., ImportDocuments. * `streaming` Data ingested via Streaming API, e.g., FHIR streaming."
        }
      },
      "description": "The metadata of a Document."
    },
    "GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl": {
      "properties": {
        "days": {
          "description": "Defines the number of days for session TTL.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl",
      "description": "Defines the TTL for sessions.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaObservabilityConfig": {
      "type": "object",
      "description": "Observability config for a resource.",
      "id": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig",
      "properties": {
        "sensitiveLoggingEnabled": {
          "description": "Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields.",
          "type": "boolean"
        },
        "observabilityEnabled": {
          "type": "boolean",
          "description": "Optional. Enables observability. If `false`, all other flags are ignored."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint": {
      "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).",
      "properties": {
        "boostAmount": {
          "description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.",
          "format": "float",
          "type": "number"
        },
        "attributeValue": {
          "type": "string",
          "description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata",
      "description": "Metadata for DeleteSchema LRO.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaTenant": {
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the tenant, if applicable. For example, the URI of a Jira instance is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a URI."
        },
        "id": {
          "description": "The tenant's instance ID. Examples: Jira (\"8594f221-9797-5f78-1fa4-485e198d7cd0\"), Slack (\"T123456\").",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "Optional display name for the tenant, e.g. \"My Slack Team\"."
        }
      },
      "description": "Tenant information for a connector source. This includes some of the same information stored in the Credential message, but is limited to only what is needed to provide a list of accessible tenants to the user.",
      "id": "GoogleCloudDiscoveryengineV1alphaTenant",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1PurgeDocumentsResponse": {
      "description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.",
      "properties": {
        "purgeSample": {
          "type": "array",
          "description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.",
          "items": {
            "type": "string"
          }
        },
        "purgeCount": {
          "description": "The total count of documents purged as a result of the operation.",
          "type": "string",
          "format": "int64"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1PurgeDocumentsResponse"
    },
    "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig": {
      "description": "Additional feature configurations for creating a `recommended-for-you` engine.",
      "type": "object",
      "properties": {
        "contextEventType": {
          "description": "The type of event with which the engine is queried at prediction time. If set to `generic`, only `view-item`, `media-play`,and `media-complete` will be used as `context-event` in engine training. If set to `view-home-page`, `view-home-page` will also be used as `context-events` in addition to `view-item`, `media-play`, and `media-complete`. Currently supported for the `recommended-for-you` engine. Currently supported values: `view-home-page`, `generic`.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable": {
      "description": "Indicates that the source is unreachable. This is primarily used for sources that are added via URL.",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable",
      "properties": {
        "errorDetails": {
          "type": "string",
          "enum": [
            "ERROR_REASON_UNSPECIFIED",
            "ERROR_REASON_INVALID_URL",
            "ERROR_REASON_NOT_ACCESSIBLE",
            "ERROR_REASON_NOT_REACHABLE",
            "ERROR_REASON_URL_NOT_FOUND",
            "ERROR_REASON_TRANSIENT_ERROR",
            "ERROR_REASON_FETCH_FAILED",
            "ERROR_REASON_NOT_SUPPORTED"
          ],
          "description": "Describes why the source is unreachable.",
          "enumDescriptions": [
            "Default",
            "The source URL is invalid.",
            "The source URL is not accessible.",
            "The source URL is not reachable.",
            "The source URL returned 404.",
            "The source URL not reachable due to a transient network error or host timeout etc.",
            "The source URL could not be fetched due to an internal error.",
            "The URL is not yet supported. Examples include: the fetched content exceeds the trawler fetch max size, the fetched content is a type we do not yet support, etc."
          ]
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError": {
      "properties": {
        "noAudioDetected": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected",
          "description": "No audio was detected in the input file (it may have been a video)."
        },
        "languageDetectionFailed": {
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed",
          "description": "Could not detect language of the file (it may not be speech)."
        }
      },
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError",
      "description": "An audio file transcription specific error."
    },
    "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment": {
      "properties": {
        "alertId": {
          "description": "Immutable. The id of an alert.",
          "type": "string"
        },
        "enrollState": {
          "description": "Required. The enrollment status of a customer.",
          "enumDescriptions": [
            "Default value. Used for customers who have not responded to the alert policy.",
            "Customer is enrolled in this policy.",
            "Customer declined this policy."
          ],
          "type": "string",
          "enum": [
            "ENROLL_STATES_UNSPECIFIED",
            "ENROLLED",
            "DECLINED"
          ]
        }
      },
      "description": "The alert enrollment status.",
      "id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent": {
      "description": "A self-contained message containing the content of a program. Can represent a collection of files.",
      "properties": {
        "description": {
          "description": "Optional. Description of the program.",
          "type": "string"
        },
        "files": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile"
          },
          "type": "array",
          "description": "Required. A list of source files that make up the overall program."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent"
    },
    "GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata",
      "description": "Metadata for AlphaEvolveService.ResumeExperiment long running operation.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. The time the operation was created.",
          "readOnly": true
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. The time the operation was last updated."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ProvisionProjectMetadata": {
      "description": "Metadata associated with a project provision operation.",
      "id": "GoogleCloudDiscoveryengineV1ProvisionProjectMetadata",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1ServingConfigGenericConfig": {
      "description": "Specifies the configurations needed for Generic Discovery.Currently we support: * `content_search_spec`: configuration for generic content search.",
      "id": "GoogleCloudDiscoveryengineV1ServingConfigGenericConfig",
      "type": "object",
      "properties": {
        "contentSearchSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec",
          "description": "Specifies the expected behavior of content search. Only valid for content-search enabled data store."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSingleRegionKey": {
      "description": "Metadata for single-regional CMEKs.",
      "properties": {
        "kmsKey": {
          "type": "string",
          "description": "Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSingleRegionKey"
    },
    "GoogleCloudDiscoveryengineV1alphaListAssistantsResponse": {
      "description": "Response message for the AssistantService.ListAssistants method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListAssistantsResponse",
      "properties": {
        "assistants": {
          "description": "All the customer's Assistants.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant"
          }
        },
        "nextPageToken": {
          "description": "A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals": {
      "description": "A set of ranking signals.",
      "properties": {
        "topicalityRank": {
          "format": "float",
          "type": "number",
          "description": "Optional. Topicality adjustment as a rank."
        },
        "pctrRank": {
          "description": "Optional. Predicted conversion rate adjustment as a rank.",
          "format": "float",
          "type": "number"
        },
        "relevanceScore": {
          "type": "number",
          "format": "float",
          "description": "Optional. Semantic relevance adjustment."
        },
        "customSignals": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal"
          },
          "description": "Optional. A list of custom clearbox signals.",
          "type": "array"
        },
        "semanticSimilarityScore": {
          "format": "float",
          "type": "number",
          "description": "Optional. Semantic similarity adjustment."
        },
        "defaultRank": {
          "description": "Optional. The default rank of the result.",
          "type": "number",
          "format": "float"
        },
        "keywordSimilarityScore": {
          "description": "Optional. Keyword matching adjustment.",
          "type": "number",
          "format": "float"
        },
        "boostingFactor": {
          "description": "Optional. Combined custom boosts for a doc.",
          "format": "float",
          "type": "number"
        },
        "precomputedExpressionValues": {
          "items": {
            "type": "number",
            "format": "float"
          },
          "description": "Optional. A list of precomputed expression results for a given document, in the same order as requested in `SearchRequest.custom_ranking_params.expressions_to_precompute`.",
          "type": "array"
        },
        "documentAge": {
          "type": "number",
          "format": "float",
          "description": "Optional. Age of the document in hours."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest": {
      "type": "object",
      "properties": {
        "filter": {
          "type": "string",
          "description": "Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 \"zulu\" format. * `userPseudoId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Note: This API only supports purging a max range of 30 days. Examples: * Deleting all events in a time range: `eventTime \u003e \"2012-04-23T18:25:43.511Z\" eventTime \u003c \"2012-04-23T18:30:43.511Z\"` * Deleting specific eventType in a time range: `eventTime \u003e \"2012-04-23T18:25:43.511Z\" eventTime \u003c \"2012-04-23T18:30:43.511Z\" eventType = \"search\"` * Deleting all events for a specific visitor in a time range: `eventTime \u003e \"2012-04-23T18:25:43.511Z\" eventTime \u003c \"2012-04-23T18:30:43.511Z\" userPseudoId = \"visitor1024\"` * Deleting the past 30 days of events inside a DataStore: `*` The filtering fields are assumed to have an implicit AND."
        },
        "force": {
          "description": "The `force` field is currently not supported. Purge user event requests will permanently delete all purgeable events. Once the development is complete: If `force` is set to false, the method will return the expected purge count without deleting any user events. This field will default to false if not included in the request.",
          "type": "boolean"
        }
      },
      "description": "Request message for PurgeUserEvents method.",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest"
    },
    "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": {
      "type": "object",
      "description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.",
      "id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig",
      "properties": {
        "userPromptTemplate": {
          "type": "string",
          "description": "Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt."
        },
        "responseTemplate": {
          "type": "string",
          "description": "Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata",
      "type": "object",
      "properties": {
        "engine": {
          "description": "Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`",
          "type": "string"
        }
      },
      "description": "Metadata associated with a tune operation."
    },
    "GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse": {
      "properties": {
        "totalSize": {
          "type": "integer",
          "description": "The total number of items matching the request. This will always be populated in the response.",
          "format": "int32"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        },
        "targetSites": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
          },
          "type": "array",
          "description": "List of TargetSites containing the site verification status."
        }
      },
      "description": "Response message for SiteSearchEngineService.FetchDomainVerificationStatus method.",
      "id": "GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "GOOGLE_DRIVE",
            "GOOGLE_MAIL",
            "GOOGLE_SITES",
            "GOOGLE_CALENDAR",
            "GOOGLE_CHAT",
            "GOOGLE_GROUPS",
            "GOOGLE_KEEP",
            "GOOGLE_PEOPLE",
            "GOOGLE_WORKSPACE"
          ],
          "enumDescriptions": [
            "Defaults to an unspecified Workspace type.",
            "Workspace Data Store contains Drive data",
            "Workspace Data Store contains Mail data",
            "Workspace Data Store contains Sites data",
            "Workspace Data Store contains Calendar data",
            "Workspace Data Store contains Chat data",
            "Workspace Data Store contains Groups data",
            "Workspace Data Store contains Keep data",
            "Workspace Data Store contains People data",
            "Workspace Data Store contains all Workspace apps data"
          ],
          "description": "The Google Workspace data source."
        },
        "dasherCustomerId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored."
        },
        "superAdminEmailAddress": {
          "description": "Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.",
          "type": "string"
        },
        "superAdminServiceAccount": {
          "description": "Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.",
          "type": "string"
        }
      },
      "description": "Config to store data store type configuration for workspace data"
    },
    "GoogleCloudDiscoveryengineV1alphaTextInput": {
      "id": "GoogleCloudDiscoveryengineV1alphaTextInput",
      "description": "Defines text input.",
      "type": "object",
      "properties": {
        "input": {
          "type": "string",
          "description": "Text input."
        },
        "context": {
          "description": "Conversation context of the input.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaConversationContext"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry": {
      "description": "Query Entry captures metadata to be used for search evaluation.",
      "id": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry",
      "properties": {
        "query": {
          "description": "Required. The query.",
          "type": "string"
        },
        "targets": {
          "description": "List of targets for the query.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse": {
      "type": "object",
      "description": "Response message for SearchTuningService.ListCustomModels method.",
      "properties": {
        "models": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel"
          },
          "description": "List of custom tuning models."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse"
    },
    "GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the CmekConfigService.UpdateCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaUserInfo": {
      "description": "Information of an end user.",
      "properties": {
        "userAgent": {
          "description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.",
          "type": "string"
        },
        "userId": {
          "description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded.",
          "type": "string"
        },
        "preciseLocation": {
          "$ref": "GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation",
          "description": "Optional. Input only. Precise location of the user. It is used in Custom Ranking to calculate the distance between the user and the relevant documents."
        },
        "timeZone": {
          "description": "Optional. IANA time zone, e.g. Europe/Budapest.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaUserInfo"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo",
      "properties": {
        "queryClassificationInfo": {
          "description": "Query classification information.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo"
          }
        }
      },
      "description": "Query understanding information.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse": {
      "properties": {
        "organicCrawlRateTimeSeries": {
          "description": "The historical organic crawl rate timeseries data, used for monitoring.",
          "$ref": "GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries"
        },
        "state": {
          "description": "Output only. The state of the response.",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED"
          ],
          "enumDescriptions": [
            "The state is unspecified.",
            "The state is successful.",
            "The state is failed."
          ],
          "type": "string"
        },
        "error": {
          "$ref": "GoogleRpcStatus",
          "description": "Errors from service when handling the request."
        },
        "dedicatedCrawlRateTimeSeries": {
          "description": "The historical dedicated crawl rate timeseries data, used for monitoring.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse",
      "description": "Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo",
      "type": "object",
      "properties": {
        "errorMessage": {
          "type": "string",
          "description": "The error produced."
        },
        "originalAddressQuery": {
          "type": "string",
          "description": "The address from which forward geocoding ingestion produced issues."
        }
      },
      "description": "Debug information specifically related to forward geocoding issues arising from Geolocation Search."
    },
    "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig": {
      "type": "object",
      "properties": {
        "type": {
          "description": "Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`.",
          "type": "string"
        },
        "optimizationObjective": {
          "description": "The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr`",
          "type": "string"
        },
        "engineFeaturesConfig": {
          "description": "Optional. Additional engine features config.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig"
        },
        "trainingState": {
          "description": "The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before.",
          "type": "string",
          "enum": [
            "TRAINING_STATE_UNSPECIFIED",
            "PAUSED",
            "TRAINING"
          ],
          "enumDescriptions": [
            "Unspecified training state.",
            "The engine training is paused.",
            "The engine is training."
          ]
        },
        "optimizationObjectiveConfig": {
          "description": "Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5).",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig",
      "description": "Additional config specs for a Media Recommendation engine."
    },
    "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata": {
      "type": "object",
      "description": "Metadata related to the progress of the SiteSearchEngineService.SetUriPatternDocumentData operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata",
      "properties": {
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDataStore": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDataStore",
      "properties": {
        "contentConfig": {
          "description": "Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.",
          "type": "string",
          "enum": [
            "CONTENT_CONFIG_UNSPECIFIED",
            "NO_CONTENT",
            "CONTENT_REQUIRED",
            "PUBLIC_WEBSITE",
            "GOOGLE_WORKSPACE"
          ],
          "enumDescriptions": [
            "Default value.",
            "Only contains documents without any Document.content.",
            "Only contains documents with Document.content.",
            "The data store is used for public website search.",
            "The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig."
          ]
        },
        "servingConfigDataStore": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore",
          "description": "Optional. Stores serving config at DataStore level."
        },
        "displayName": {
          "type": "string",
          "description": "Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned."
        },
        "languageInfo": {
          "description": "Language info for DataStore.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaLanguageInfo"
        },
        "advancedSiteSearchConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig",
          "description": "Optional. Configuration for advanced site search."
        },
        "aclEnabled": {
          "description": "Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.",
          "type": "boolean"
        },
        "iconUri": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Provides the icon URI of the data store's connector source, if this is a connector-backed data store. Empty for data stores without an associated connector source. In DataStoreService.ListDataStores and DataStoreService.GetDataStore, this is only populated when DataStoreView.DATA_STORE_VIEW_FULL is requested via ListDataStoresRequest.view or GetDataStoreRequest.view respectively."
        },
        "kmsKeyName": {
          "description": "Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.",
          "type": "string"
        },
        "industryVertical": {
          "type": "string",
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ],
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ],
          "description": "Immutable. The industry vertical that the data store registers."
        },
        "documentProcessingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig",
          "description": "Configuration for Document understanding and enrichment."
        },
        "cmekConfig": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig",
          "description": "Output only. CMEK-related information for the DataStore."
        },
        "workspaceConfig": {
          "description": "Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig"
        },
        "solutionTypes": {
          "description": "The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.",
          "type": "array",
          "items": {
            "enumDescriptions": [
              "Default value.",
              "Used for Recommendations AI.",
              "Used for Discovery Search.",
              "Used for use cases related to the Generative AI agent.",
              "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
              "Used for AI Mode."
            ],
            "type": "string",
            "enum": [
              "SOLUTION_TYPE_UNSPECIFIED",
              "SOLUTION_TYPE_RECOMMENDATION",
              "SOLUTION_TYPE_SEARCH",
              "SOLUTION_TYPE_CHAT",
              "SOLUTION_TYPE_GENERATIVE_CHAT",
              "SOLUTION_TYPE_AI_MODE"
            ]
          }
        },
        "idpConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfig",
          "readOnly": true,
          "description": "Output only. Data store level identity provider config."
        },
        "isInfobotFaqDataStore": {
          "description": "Optional. If set, this DataStore is an Infobot FAQ DataStore.",
          "type": "boolean"
        },
        "naturalLanguageQueryUnderstandingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig",
          "description": "Optional. Configuration for Natural Language Query Understanding."
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Timestamp the DataStore was created at."
        },
        "startingSchema": {
          "description": "The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSchema"
        },
        "billingEstimation": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation",
          "description": "Output only. Data size estimation for billing."
        },
        "dataProtectionPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy",
          "description": "Optional. Specifies the data protection policy for the data store."
        },
        "configurableBillingApproach": {
          "description": "Optional. Configuration for configurable billing approach. See",
          "enumDescriptions": [
            "Default value. For Spark and non-Spark non-configurable billing approach.",
            "Use the subscription base + overage billing for indexing core for non embedding storage.",
            "Use the consumption pay-as-you-go billing for embedding storage add-on."
          ],
          "type": "string",
          "enum": [
            "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED",
            "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE",
            "CONFIGURABLE_CONSUMPTION_EMBEDDING"
          ]
        },
        "defaultSchemaId": {
          "type": "string",
          "description": "Output only. The id of the default Schema associated to this data store.",
          "readOnly": true
        },
        "configurableBillingApproachUpdateTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The timestamp when configurable_billing_approach was last updated.",
          "type": "string"
        },
        "healthcareFhirConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig",
          "description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical."
        },
        "identityMappingStore": {
          "description": "Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "federatedSearchConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig",
          "description": "Optional. If set, this DataStore is a federated search DataStore."
        }
      },
      "description": "DataStore captures global settings and configs at the DataStore level."
    },
    "GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantContent": {
      "description": "Multi-modal content.",
      "properties": {
        "inlineData": {
          "description": "Inline binary data.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentBlob"
        },
        "text": {
          "type": "string",
          "description": "Inline text."
        },
        "role": {
          "description": "The producer of the content. Can be \"model\" or \"user\".",
          "type": "string"
        },
        "file": {
          "description": "A file, e.g., an audio summary.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentFile"
        },
        "executableCode": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode",
          "description": "Code generated by the model that is meant to be executed."
        },
        "thought": {
          "description": "Optional. Indicates if the part is thought from the model.",
          "type": "boolean"
        },
        "codeExecutionResult": {
          "description": "Result of executing an ExecutableCode.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantContent",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector",
      "properties": {
        "fieldPath": {
          "type": "string",
          "description": "Embedding field path in schema."
        },
        "vector": {
          "items": {
            "format": "float",
            "type": "number"
          },
          "type": "array",
          "description": "Query embedding vector."
        }
      },
      "type": "object",
      "description": "Embedding vector."
    },
    "GoogleCloudDiscoveryengineV1alphaListBranchesResponse": {
      "description": "Response for BranchService.ListBranches method.",
      "properties": {
        "branches": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaBranch"
          },
          "description": "The Branches.",
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListBranchesResponse",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata": {
      "description": "Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "successCount": {
          "type": "string",
          "description": "Count of SampleQuerys successfully imported.",
          "format": "int64"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "ImportSampleQueries operation last update time. If the operation is done, this is also the finish time."
        },
        "failureCount": {
          "description": "Count of SampleQuerys that failed to be imported.",
          "format": "int64",
          "type": "string"
        },
        "totalCount": {
          "format": "int64",
          "type": "string",
          "description": "Total count of SampleQuerys that were processed."
        },
        "createTime": {
          "format": "google-datetime",
          "description": "ImportSampleQueries operation create time.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig",
      "properties": {
        "contentSearchSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec",
          "description": "Specifies the expected behavior of content search. Only valid for content-search enabled data store."
        }
      },
      "description": "Specifies the configurations needed for Generic Discovery.Currently we support: * `content_search_spec`: configuration for generic content search.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig": {
      "description": "The configuration for realtime sync to store additional params for realtime sync.",
      "properties": {
        "streamingError": {
          "description": "Optional. Streaming error details.",
          "$ref": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError"
        },
        "webhookUri": {
          "description": "Optional. Webhook url for the connector to specify additional params for realtime sync.",
          "type": "string"
        },
        "realtimeSyncSecret": {
          "description": "Optional. The ID of the Secret Manager secret used for webhook secret.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCliConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaCliConfig",
      "properties": {
        "enabledActions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The actions enabled on the associated CLI connection."
        }
      },
      "description": "The configuration for the CLI execution based connectors.",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonUploadError": {
      "properties": {},
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonUploadError",
      "description": "Indicates an error occurred while uploading the source."
    },
    "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig": {
      "description": "Configuration for NotebookLM.",
      "properties": {
        "modelArmorConfig": {
          "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses.",
          "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig"
        },
        "dataProtectionPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy",
          "description": "Optional. Specifies the data protection policy for NotebookLM."
        },
        "optOutNotebookSharing": {
          "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.",
          "type": "boolean"
        },
        "observabilityConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ObservabilityConfig",
          "description": "Optional. Observability config for NotebookLM."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig": {
      "description": "Additional config specs for a Media Recommendation engine.",
      "id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig",
      "properties": {
        "trainingState": {
          "description": "The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before.",
          "enumDescriptions": [
            "Unspecified training state.",
            "The engine training is paused.",
            "The engine is training."
          ],
          "type": "string",
          "enum": [
            "TRAINING_STATE_UNSPECIFIED",
            "PAUSED",
            "TRAINING"
          ]
        },
        "optimizationObjectiveConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig",
          "description": "Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5)."
        },
        "type": {
          "type": "string",
          "description": "Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`."
        },
        "engineFeaturesConfig": {
          "description": "Optional. Additional engine features config.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig"
        },
        "optimizationObjective": {
          "type": "string",
          "description": "The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr`"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig",
      "properties": {
        "parsingConfigOverrides": {
          "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig"
          }
        },
        "name": {
          "type": "string",
          "description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`."
        },
        "chunkingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig",
          "description": "Whether chunking mode is enabled."
        },
        "defaultParsingConfig": {
          "description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig"
        }
      },
      "description": "A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser."
    },
    "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse": {
      "type": "object",
      "properties": {
        "documentCount": {
          "type": "string",
          "format": "int64",
          "description": "Total number of documents."
        },
        "dataSizeBytes": {
          "format": "int64",
          "type": "string",
          "description": "Data size in terms of bytes."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse",
      "description": "Response of the EstimateDataSize request. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful."
    },
    "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest": {
      "type": "object",
      "properties": {
        "crawlRateScope": {
          "description": "Required. The scope of the crawl rate change. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name.",
          "type": "string"
        }
      },
      "description": "Request message for CrawlRateManagementService.RemoveDedicatedCrawlRate method. The user can remove the dedicated crawl rate for a crawl_rate_scope they own, and Google will fall back to organic crawl, and the crawl rate will be determined by Google.",
      "id": "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaSession": {
      "properties": {
        "isPinned": {
          "type": "boolean",
          "description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list."
        },
        "userPseudoId": {
          "description": "A unique identifier for tracking users.",
          "type": "string"
        },
        "endTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The time the session finished.",
          "format": "google-datetime"
        },
        "labels": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.",
          "type": "array"
        },
        "state": {
          "enumDescriptions": [
            "State is unspecified.",
            "The session is currently open."
          ],
          "description": "The state of the session.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "IN_PROGRESS"
          ]
        },
        "pendingAsyncAssistOperationId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. Set when the operation starts and cleared when it finishes."
        },
        "turns": {
          "type": "array",
          "description": "Turns.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSessionTurn"
          }
        },
        "displayName": {
          "description": "Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session.",
          "type": "string"
        },
        "startTime": {
          "description": "Output only. The time the session started.",
          "format": "google-datetime",
          "readOnly": true,
          "type": "string"
        },
        "name": {
          "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSession",
      "description": "External session proto definition."
    },
    "GoogleCloudDiscoveryengineV1alphaUserInfo": {
      "description": "Information of an end user.",
      "id": "GoogleCloudDiscoveryengineV1alphaUserInfo",
      "type": "object",
      "properties": {
        "userAgent": {
          "description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.",
          "type": "string"
        },
        "userId": {
          "description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded.",
          "type": "string"
        },
        "timeZone": {
          "type": "string",
          "description": "Optional. IANA time zone, e.g. Europe/Budapest."
        },
        "preciseLocation": {
          "description": "Optional. Input only. Precise location of the user. It is used in Custom Ranking to calculate the distance between the user and the relevant documents.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1DataStore": {
      "properties": {
        "industryVertical": {
          "description": "Immutable. The industry vertical that the data store registers.",
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ],
          "type": "string",
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ]
        },
        "healthcareFhirConfig": {
          "description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical.",
          "$ref": "GoogleCloudDiscoveryengineV1HealthcareFhirConfig"
        },
        "solutionTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SOLUTION_TYPE_UNSPECIFIED",
              "SOLUTION_TYPE_RECOMMENDATION",
              "SOLUTION_TYPE_SEARCH",
              "SOLUTION_TYPE_CHAT",
              "SOLUTION_TYPE_GENERATIVE_CHAT",
              "SOLUTION_TYPE_AI_MODE"
            ],
            "enumDescriptions": [
              "Default value.",
              "Used for Recommendations AI.",
              "Used for Discovery Search.",
              "Used for use cases related to the Generative AI agent.",
              "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
              "Used for AI Mode."
            ]
          },
          "description": "The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled."
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. Timestamp the DataStore was created at.",
          "readOnly": true,
          "type": "string"
        },
        "documentProcessingConfig": {
          "description": "Configuration for Document understanding and enrichment.",
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfig"
        },
        "workspaceConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1WorkspaceConfig",
          "description": "Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE."
        },
        "identityMappingStore": {
          "description": "Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        },
        "naturalLanguageQueryUnderstandingConfig": {
          "description": "Optional. Configuration for Natural Language Query Understanding.",
          "$ref": "GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig"
        },
        "configurableBillingApproach": {
          "description": "Optional. Configuration for configurable billing approach. See",
          "enumDescriptions": [
            "Default value. For Spark and non-Spark non-configurable billing approach.",
            "Use the subscription base + overage billing for indexing core for non embedding storage.",
            "Use the consumption pay-as-you-go billing for embedding storage add-on."
          ],
          "type": "string",
          "enum": [
            "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED",
            "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE",
            "CONFIGURABLE_CONSUMPTION_EMBEDDING"
          ]
        },
        "advancedSiteSearchConfig": {
          "description": "Optional. Configuration for advanced site search.",
          "$ref": "GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig"
        },
        "contentConfig": {
          "type": "string",
          "enum": [
            "CONTENT_CONFIG_UNSPECIFIED",
            "NO_CONTENT",
            "CONTENT_REQUIRED",
            "PUBLIC_WEBSITE",
            "GOOGLE_WORKSPACE"
          ],
          "enumDescriptions": [
            "Default value.",
            "Only contains documents without any Document.content.",
            "Only contains documents with Document.content.",
            "The data store is used for public website search.",
            "The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig."
          ],
          "description": "Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT."
        },
        "cmekConfig": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1CmekConfig",
          "description": "Output only. CMEK-related information for the DataStore."
        },
        "federatedSearchConfig": {
          "description": "Optional. If set, this DataStore is a federated search DataStore.",
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig"
        },
        "displayName": {
          "description": "Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "servingConfigDataStore": {
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore",
          "description": "Optional. Stores serving config at DataStore level."
        },
        "aclEnabled": {
          "type": "boolean",
          "description": "Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config."
        },
        "dataProtectionPolicy": {
          "description": "Optional. Specifies the data protection policy for the data store.",
          "$ref": "GoogleCloudDiscoveryengineV1DataProtectionPolicy"
        },
        "kmsKeyName": {
          "type": "string",
          "description": "Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field."
        },
        "defaultSchemaId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The id of the default Schema associated to this data store."
        },
        "isInfobotFaqDataStore": {
          "type": "boolean",
          "description": "Optional. If set, this DataStore is an Infobot FAQ DataStore."
        },
        "startingSchema": {
          "description": "The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).",
          "$ref": "GoogleCloudDiscoveryengineV1Schema"
        },
        "billingEstimation": {
          "description": "Output only. Data size estimation for billing.",
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreBillingEstimation",
          "readOnly": true
        },
        "configurableBillingApproachUpdateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The timestamp when configurable_billing_approach was last updated.",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DataStore",
      "type": "object",
      "description": "DataStore captures global settings and configs at the DataStore level."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec",
      "properties": {
        "searchResultMode": {
          "enumDescriptions": [
            "Default value.",
            "Returns documents in the search result.",
            "Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified."
          ],
          "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.",
          "type": "string",
          "enum": [
            "SEARCH_RESULT_MODE_UNSPECIFIED",
            "DOCUMENTS",
            "CHUNKS"
          ]
        },
        "chunkSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec",
          "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS"
        },
        "snippetSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec",
          "description": "If `snippetSpec` is not specified, snippets are not included in the search response."
        },
        "extractiveContentSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec",
          "description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response."
        },
        "summarySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec",
          "description": "If `summarySpec` is not specified, summaries are not included in the search response."
        }
      },
      "description": "A specification for configuring the behavior of content search."
    },
    "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse": {
      "properties": {
        "errorConfig": {
          "description": "The desired location of errors incurred during the Import.",
          "$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig"
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the request.",
          "type": "array"
        }
      },
      "type": "object",
      "description": "Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
      "id": "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaProject": {
      "description": "Metadata and configurations for a Google Cloud project in the service.",
      "properties": {
        "createTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The timestamp when this project is created.",
          "format": "google-datetime"
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number."
        },
        "provisionCompletionTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.",
          "readOnly": true
        },
        "serviceTermsMap": {
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaProjectServiceTerms"
          },
          "readOnly": true,
          "description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms."
        },
        "configurableBillingStatus": {
          "description": "Output only. The current status of the project's configurable billing.",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus"
        },
        "experienceState": {
          "enum": [
            "EXPERIENCE_STATE_UNSPECIFIED",
            "SOBI_ONLY",
            "LEGACY_ONLY",
            "LEGACY_AND_SOBI"
          ],
          "enumDescriptions": [
            "No experience is stated for this location.",
            "Only the new Gemini Enterprise experience.",
            "Only the classic Gemini Enterprise experience.",
            "Legacy engines serve the classic experience, the Sobi engine serves the Sobi experience."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. The current experience state of the project."
        },
        "customerProvidedConfig": {
          "description": "Optional. Customer provided configurations.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaProject",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig": {
      "properties": {
        "appName": {
          "type": "string",
          "description": "Optional. The type of the application. E.g., \"jira\", \"box\", etc."
        },
        "instanceName": {
          "description": "Optional. The instance name identifying the 3P app, e.g., \"-my\". This is different from the instance_uri which is the full URL of the 3P app e.g., \"https://-my.sharepoint.com\".",
          "type": "string"
        }
      },
      "description": "Stores information for third party applicationOAuth.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResult": {
      "type": "object",
      "description": "Search result.",
      "properties": {
        "chunkInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo",
          "description": "Chunk information."
        },
        "unstructuredDocumentInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo",
          "description": "Unstructured document information."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResult"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram": {
      "properties": {
        "parentPrograms": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. Optionally specifies which parent programs this program was evolved from. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}`",
          "items": {
            "type": "string"
          }
        },
        "state": {
          "enum": [
            "PROGRAM_STATE_UNSPECIFIED",
            "INITIALIZED",
            "GENERATING",
            "EVALUATING",
            "COMPLETED"
          ],
          "enumDescriptions": [
            "Default value. This value is unused.",
            "The program is initialized.",
            "The program is in generation.",
            "The program is pending evaluation.",
            "The program is completed."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. State of the program."
        },
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. Time when the program was created.",
          "readOnly": true
        },
        "evaluation": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation",
          "description": "Optional. Evaluation results for the program."
        },
        "content": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent",
          "description": "Optional. Content of the program."
        },
        "lockToken": {
          "type": "string",
          "description": "Optional. Lock token for the program."
        },
        "name": {
          "description": "Identifier. Unique identifier for the program. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}`",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram",
      "description": "Represents a single program to be used within the context of an AlphaEvolve experiment.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings",
      "description": "Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page.",
      "properties": {
        "sourceAdminDisplayNameEnabled": {
          "type": "boolean",
          "description": "Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false."
        },
        "searchAddonSpec": {
          "description": "Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec"
        },
        "modelConfigInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo",
          "description": "Output only. The resolved, server-side view of model selector configuration. Holds both the ordered list of models that should appear in the model selector dropdown and the model that should be selected by default. Clients should render this directly without applying their own filtering, ordering, or localization. The legacy `model_configs` map above is retained for backward compatibility with clients that have not yet migrated to consuming this field.",
          "readOnly": true
        },
        "defaultSearchRequestOrderBy": {
          "description": "The default ordering for search results if specified. Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body",
          "type": "string"
        },
        "features": {
          "additionalProperties": {
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ],
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ]
          },
          "type": "object",
          "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` * `music-generation` * `speech-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` * `skill-security-scan` * `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` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins`",
          "readOnly": true
        },
        "enablePeopleSearch": {
          "description": "Optional. If set to true, the widget will enable people search.",
          "type": "boolean"
        },
        "enableSearchAsYouType": {
          "type": "boolean",
          "description": "Whether to enable search-as-you-type behavior for the search widget."
        },
        "generativeAnswerConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig",
          "description": "Describes generative answer configuration."
        },
        "enableAutocomplete": {
          "description": "Whether or not to enable autocomplete.",
          "type": "boolean"
        },
        "onedrivePickerEnabled": {
          "description": "Output only. Whether the OneDrive file picker is available to end-users. Computed by the backend from admin connector enablement (Business edition) or attached OneDrive connectors (Enterprise edition), combined with the existing `disable-onedrive-upload` admin feature. Declared `optional` so an explicitly-computed `false` is serialized with field presence. A plain proto3 `bool` drops a default `false` on the wire, which prevented clients from distinguishing \"picker disabled\" (`false`) from \"field not populated\" (unset).",
          "readOnly": true,
          "type": "boolean"
        },
        "googleDrivePickerEnabled": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. Whether the Google Drive file picker is available to end-users. Declared `optional` for the same field-presence reason as `onedrive_picker_enabled` above."
        },
        "dataStoreUiConfigs": {
          "description": "Per data store configuration.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig"
          }
        },
        "featureToggleInfo": {
          "description": "Output only. The resolved, server-side view of the feature toggle registry (launch stage per toggle).",
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsFeatureToggleInfo"
        },
        "enableCreateAgentButton": {
          "type": "boolean",
          "description": "Optional. If set to true, the widget will enable the create agent button."
        },
        "enableVisualContentSummary": {
          "description": "If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.",
          "type": "boolean"
        },
        "enableQualityFeedback": {
          "description": "Turn on or off collecting the search result quality feedback from end users.",
          "type": "boolean"
        },
        "modelConfigs": {
          "readOnly": true,
          "type": "object",
          "description": "Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.",
          "additionalProperties": {
            "enumDescriptions": [
              "The model state is unspecified.",
              "The model is enabled by admin.",
              "The model is disabled by admin."
            ],
            "type": "string",
            "enum": [
              "MODEL_STATE_UNSPECIFIED",
              "MODEL_ENABLED",
              "MODEL_DISABLED"
            ]
          }
        },
        "resultDescriptionType": {
          "enumDescriptions": [
            "Unspecified display type (default to showing snippet).",
            "Display results from the snippet field.",
            "Display results from extractive answers field."
          ],
          "type": "string",
          "enum": [
            "RESULT_DISPLAY_TYPE_UNSPECIFIED",
            "SNIPPET",
            "EXTRACTIVE_ANSWER"
          ],
          "description": "Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified."
        },
        "enableSafeSearch": {
          "type": "boolean",
          "description": "Whether to enable safe search."
        },
        "disableUserEventsCollection": {
          "description": "If set to true, the widget will not collect user events.",
          "type": "boolean"
        },
        "interactionType": {
          "description": "Describes widget (or web app) interaction type",
          "type": "string",
          "enum": [
            "INTERACTION_TYPE_UNSPECIFIED",
            "SEARCH_ONLY",
            "SEARCH_WITH_ANSWER",
            "SEARCH_WITH_FOLLOW_UPS"
          ],
          "enumDescriptions": [
            "Not specified. Defaults to SEARCH_ONLY.",
            "Search without a generative answer.",
            "Search with the generative answer.",
            "Search with the generative answer that supports follow up questions. Also known as multi-turn search."
          ]
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut": {
      "properties": {
        "title": {
          "type": "string",
          "description": "Optional. Title of the shortcut."
        },
        "destinationUri": {
          "description": "Optional. Destination URL of shortcut.",
          "type": "string"
        },
        "icon": {
          "description": "Optional. Icon URL of shortcut.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigImage"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut",
      "type": "object",
      "description": "Describes an entity of shortcut (aka pinned content) on the homepage. The home page will render these shortcuts in the same order as what the API returns. If a customer wants to reorder or remove a shortcut, the UI should always provide the new full list of shortcuts."
    },
    "GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult": {
      "description": "Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.",
      "type": "object",
      "properties": {
        "verdict": {
          "description": "Final verdict of the customer policy enforcement. If at least one policy blocked the processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged it, the verdict is FLAG.",
          "type": "string",
          "enum": [
            "UNSPECIFIED",
            "ALLOW",
            "BLOCK"
          ],
          "enumDescriptions": [
            "Unknown value.",
            "There was no policy violation.",
            "Processing was blocked by the customer policy."
          ]
        },
        "violationSource": {
          "enum": [
            "VIOLATION_SOURCE_UNSPECIFIED",
            "SYSTEM",
            "PROMPT",
            "ATTACHMENT"
          ],
          "enumDescriptions": [
            "Unknown value.",
            "Violation found in the system response.",
            "Violation found in the user prompt.",
            "Violation found in the user attachment."
          ],
          "type": "string",
          "readOnly": true,
          "description": "Output only. The source of the violation."
        },
        "policyResults": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult"
          },
          "description": "Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query.",
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult"
    },
    "GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata": {
      "description": "Metadata for Create Schema LRO.",
      "id": "GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1AnswerGenerationSpec": {
      "properties": {
        "userDefinedClassifierSpec": {
          "description": "Optional. The specification for user specified classifier spec.",
          "$ref": "GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec"
        }
      },
      "description": "The specification for answer generation.",
      "id": "GoogleCloudDiscoveryengineV1AnswerGenerationSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec",
      "description": "Defines custom fine tuning spec.",
      "type": "object",
      "properties": {
        "enableSearchAdaptor": {
          "description": "Whether or not to enable and include custom fine tuned search adaptor model.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint",
      "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).",
      "properties": {
        "attributeValue": {
          "type": "string",
          "description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`."
        },
        "boostAmount": {
          "format": "float",
          "type": "number",
          "description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec": {
      "properties": {
        "maxCount": {
          "format": "int32",
          "type": "integer",
          "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1."
        },
        "field": {
          "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.",
          "type": "string"
        },
        "mode": {
          "description": "Mode to use for documents that are crowded away.",
          "enumDescriptions": [
            "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.",
            "Drop crowded results.",
            "Demote crowded results to the later pages."
          ],
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "DROP_CROWDED_RESULTS",
            "DEMOTE_CROWDED_RESULTS_TO_END"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec",
      "type": "object",
      "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages."
    },
    "GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts": {
      "properties": {
        "prefix": {
          "description": "Optional. The prefix that `suggested_prompts` should start with.",
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Required. The title that is for the end user."
        },
        "suggestedPrompts": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt"
          },
          "description": "Required. The prompts the canned query will offer to the user.",
          "type": "array"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts",
      "description": "The text pieces for the canned query, which can be localized."
    },
    "GoogleApiDistribution": {
      "type": "object",
      "id": "GoogleApiDistribution",
      "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.",
      "properties": {
        "sumOfSquaredDeviation": {
          "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, \"The Art of Computer Programming\", Vol. 2, page 232, 3rd edition describes Welford's method for accumulating this sum in one pass. If `count` is zero then this field must be zero.",
          "format": "double",
          "type": "number"
        },
        "bucketOptions": {
          "description": "Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field.",
          "$ref": "GoogleApiDistributionBucketOptions"
        },
        "bucketCounts": {
          "description": "The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1).",
          "items": {
            "type": "string",
            "format": "int64"
          },
          "type": "array"
        },
        "count": {
          "format": "int64",
          "type": "string",
          "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided."
        },
        "mean": {
          "format": "double",
          "type": "number",
          "description": "The arithmetic mean of the values in the population. If `count` is zero then this field must be zero."
        },
        "exemplars": {
          "description": "Must be in increasing order of `value` field.",
          "items": {
            "$ref": "GoogleApiDistributionExemplar"
          },
          "type": "array"
        },
        "range": {
          "$ref": "GoogleApiDistributionRange",
          "description": "If specified, contains the range of the population values. The field must not be present if the `count` is zero."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaContactDetails": {
      "properties": {
        "emailAddress": {
          "description": "Optional. The email address of the contact.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaContactDetails",
      "type": "object",
      "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info."
    },
    "GoogleCloudNotebooklmV1alphaSourceSettings": {
      "id": "GoogleCloudNotebooklmV1alphaSourceSettings",
      "type": "object",
      "description": "Allows extension of Source Settings in the BatchCreateSources (Formerly AddSource request).",
      "properties": {
        "status": {
          "enumDescriptions": [
            "Unspecified status.",
            "The source is pending addition.",
            "Source addition is complete and successful.",
            "Source addition has permanently failed.",
            "The source is pending deletion.",
            "The user is attempting to add a source, but we have not yet uploaded it or checked user limits. Does not count towards the user's source limit."
          ],
          "type": "string",
          "enum": [
            "SOURCE_STATUS_UNSPECIFIED",
            "SOURCE_STATUS_PENDING",
            "SOURCE_STATUS_COMPLETE",
            "SOURCE_STATUS_ERROR",
            "SOURCE_STATUS_PENDING_DELETION",
            "SOURCE_STATUS_TENTATIVE"
          ],
          "description": "Status of the source."
        },
        "failureReason": {
          "description": "Failure reason containing details about why a source failed to ingest.",
          "$ref": "GoogleCloudNotebooklmV1alphaFailureReason"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig": {
      "type": "object",
      "description": "Configuration for NotebookLM.",
      "properties": {
        "modelArmorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig",
          "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses."
        },
        "observabilityConfig": {
          "description": "Optional. Observability config for NotebookLM.",
          "$ref": "GoogleCloudDiscoveryengineV1betaObservabilityConfig"
        },
        "dataProtectionPolicy": {
          "description": "Optional. Specifies the data protection policy for NotebookLM.",
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy"
        },
        "optOutNotebookSharing": {
          "type": "boolean",
          "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata": {
      "description": "Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment",
      "type": "object",
      "properties": {
        "enrollState": {
          "description": "Required. The enrollment status of a customer.",
          "enumDescriptions": [
            "Default value. Used for customers who have not responded to the alert policy.",
            "Customer is enrolled in this policy.",
            "Customer declined this policy."
          ],
          "type": "string",
          "enum": [
            "ENROLL_STATE_UNSPECIFIED",
            "ENROLLED",
            "DECLINED"
          ]
        },
        "notificationParams": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails."
        },
        "alertId": {
          "type": "string",
          "description": "Immutable. The id of an alert."
        }
      },
      "description": "The alert enrollment status."
    },
    "GoogleCloudDiscoveryengineV1CreateSitemapMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1CreateSitemapMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig": {
      "type": "object",
      "properties": {},
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig",
      "description": "The digital parsing configurations for documents."
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig",
      "type": "object",
      "properties": {
        "alloydbConnectionConfig": {
          "description": "Required. Configuration for connecting to AlloyDB.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig"
        },
        "returnedFields": {
          "description": "Optional. Fields to be returned in the search results. If empty, all fields will be returned.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "alloydbAiNlConfig": {
          "description": "Optional. Configuration for Magic.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig"
        }
      },
      "description": "Stores information for connecting to AlloyDB."
    },
    "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics": {
      "properties": {
        "top1": {
          "type": "number",
          "description": "The top-1 value.",
          "format": "double"
        },
        "top10": {
          "description": "The top-10 value.",
          "format": "double",
          "type": "number"
        },
        "top3": {
          "type": "number",
          "description": "The top-3 value.",
          "format": "double"
        },
        "top5": {
          "description": "The top-5 value.",
          "type": "number",
          "format": "double"
        }
      },
      "description": "Stores the metric values at specific top-k levels.",
      "id": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse": {
      "properties": {
        "importedEntriesCount": {
          "format": "int64",
          "type": "string",
          "description": "Count of deny list entries successfully imported."
        },
        "errorSamples": {
          "type": "array",
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "failedEntriesCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of deny list entries that failed to be imported."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse",
      "type": "object",
      "description": "Response message for CompletionService.ImportSuggestionDenyListEntries method."
    },
    "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig": {
      "properties": {
        "returnedFields": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Fields to be returned in the search results. If empty, all fields will be returned.",
          "type": "array"
        },
        "alloydbConnectionConfig": {
          "description": "Required. Configuration for connecting to AlloyDB.",
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig"
        },
        "alloydbAiNlConfig": {
          "description": "Optional. Configuration for Magic.",
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig"
        }
      },
      "description": "Stores information for connecting to AlloyDB.",
      "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentInfo": {
      "type": "object",
      "properties": {
        "quantity": {
          "type": "integer",
          "format": "int32",
          "description": "Quantity of the Document associated with the user event. Defaults to 1. For example, this field is 2 if two quantities of the same Document are involved in a `add-to-cart` event. Required for events of the following event types: * `add-to-cart` * `purchase`"
        },
        "id": {
          "description": "The Document resource ID.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "The Document resource full name, of the form: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`"
        },
        "uri": {
          "description": "The Document URI - only allowed for website data stores.",
          "type": "string"
        },
        "conversionValue": {
          "format": "float",
          "description": "Optional. The conversion value associated with this Document. Must be set if UserEvent.event_type is \"conversion\". For example, a value of 1000 signifies that 1000 seconds were spent viewing a Document for the `watch` conversion type.",
          "type": "number"
        },
        "joined": {
          "description": "Output only. Whether the referenced Document can be found in the data store.",
          "readOnly": true,
          "type": "boolean"
        },
        "promotionIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentInfo",
      "description": "Detailed document information associated with a user event."
    },
    "GoogleCloudDiscoveryengineV1alphaCitationMetadata": {
      "properties": {
        "citations": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. List of citations.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCitation"
          }
        }
      },
      "description": "A collection of source attributions for a piece of content.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCitationMetadata"
    },
    "GoogleCloudDiscoveryengineV1DataProtectionPolicy": {
      "id": "GoogleCloudDiscoveryengineV1DataProtectionPolicy",
      "description": "Contains the data protection policy config for a DataStore or a connector.",
      "type": "object",
      "properties": {
        "sensitiveDataProtectionPolicy": {
          "description": "Optional. Specifies the sensitive data protection policy for the connector source.",
          "$ref": "GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse": {
      "type": "object",
      "properties": {
        "cmekConfigs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig"
          },
          "description": "All the customer's CmekConfigs.",
          "type": "array"
        }
      },
      "description": "Response message for CmekConfigService.ListCmekConfigs method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse"
    },
    "GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest": {
      "id": "GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest",
      "type": "object",
      "properties": {
        "names": {
          "description": "Required. Full resource names of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "description": "Request for NotebookService.BatchDeleteNotebooks method."
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse",
      "type": "object",
      "properties": {
        "purgeCount": {
          "format": "int64",
          "type": "string",
          "description": "The total count of documents purged as a result of the operation."
        },
        "purgeSample": {
          "items": {
            "type": "string"
          },
          "description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.",
          "type": "array"
        }
      },
      "description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo",
      "type": "object",
      "description": "Information describing query expansion including whether expansion has occurred.",
      "properties": {
        "pinnedResultCount": {
          "description": "Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.",
          "type": "string",
          "format": "int64"
        },
        "expandedQuery": {
          "type": "boolean",
          "description": "Bool describing whether query expansion has occurred."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig",
      "properties": {
        "returnedFields": {
          "description": "Optional. Fields to be returned in the search results. If empty, all fields will be returned.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "alloydbAiNlConfig": {
          "description": "Optional. Configuration for Magic.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig"
        },
        "alloydbConnectionConfig": {
          "description": "Required. Configuration for connecting to AlloyDB.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig"
        }
      },
      "type": "object",
      "description": "Stores information for connecting to AlloyDB."
    },
    "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource": {
      "description": "The inline source for SampleQuerys.",
      "properties": {
        "sampleQueries": {
          "description": "Required. A list of SampleQuerys to import. Max of 1000 items.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStepAction": {
      "properties": {
        "searchAction": {
          "description": "Search action.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction"
        },
        "observation": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation",
          "description": "Observation."
        }
      },
      "description": "Action.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStepAction"
    },
    "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaFirestoreSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaFirestoreSource",
      "properties": {
        "databaseId": {
          "type": "string",
          "description": "Required. The Firestore database to copy the data from with a length limit of 256 characters."
        },
        "gcsStagingDir": {
          "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.",
          "type": "string"
        },
        "projectId": {
          "description": "The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
          "type": "string"
        },
        "collectionId": {
          "type": "string",
          "description": "Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters."
        }
      },
      "type": "object",
      "description": "Firestore source import data from."
    },
    "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest",
      "description": "Request message for UserStoreService.BatchUpdateUserAvailabilities method.",
      "type": "object",
      "properties": {
        "requests": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest"
          },
          "type": "array",
          "description": "Required. The UserAvailabilitys to update. Maximum of 1000 at a time: if more are passed in, returns INVALID_ARGUMENT. Batch is all or nothing; either all updates succeed or none. The `parent` field in each child request must either be empty, or match the `parent` field in the batch request. If there is a mismatch, that will also result in an INVALID_ARGUMENT being returned."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction": {
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction",
      "type": "object",
      "description": "System instruction, also known as the prompt preamble for LLM calls.",
      "properties": {
        "additionalSystemInstruction": {
          "description": "Optional. Additional system instruction that will be added to the default system instruction.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1Sitemap": {
      "properties": {
        "uri": {
          "type": "string",
          "description": "Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`."
        },
        "createTime": {
          "description": "Output only. The sitemap's creation time.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated."
        }
      },
      "description": "A sitemap for the SiteSearchEngine.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1Sitemap"
    },
    "GoogleCloudDiscoveryengineV1alphaExternalIdentity": {
      "type": "object",
      "description": "External identity representing either a user or group. This user or group is from an external identity provider (IdP).",
      "id": "GoogleCloudDiscoveryengineV1alphaExternalIdentity",
      "properties": {
        "displayName": {
          "description": "The display name of the user or group.",
          "type": "string"
        },
        "externalId": {
          "description": "The unique 3P ID(external_id) of the entity (user or group).",
          "type": "string"
        },
        "groupMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata",
          "description": "Metadata corresponding to the external user."
        },
        "subject": {
          "description": "Output only. Represents the canonical IAM subject identifier (for users) or group identifier (for groups), derived from the workforce-pool claim mapping. Falls back to custom logic if not set. This must be used for IAM bindings.",
          "type": "string",
          "readOnly": true
        },
        "userMetadata": {
          "description": "Metadata corresponding to the external user.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaTargetSite": {
      "description": "A target site for the SiteSearchEngine.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "INCLUDE",
            "EXCLUDE"
          ],
          "description": "The type of the target site, e.g., whether the site is to be included or excluded.",
          "enumDescriptions": [
            "This value is unused. In this case, server behavior defaults to Type.INCLUDE.",
            "Include the target site.",
            "Exclude the target site."
          ]
        },
        "generatedUriPattern": {
          "type": "string",
          "description": "Output only. This is system-generated based on the provided_uri_pattern.",
          "readOnly": true
        },
        "providedUriPattern": {
          "type": "string",
          "description": "Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated."
        },
        "name": {
          "description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.",
          "type": "string",
          "readOnly": true
        },
        "indexingStatus": {
          "enumDescriptions": [
            "Defaults to SUCCEEDED.",
            "The target site is in the update queue and will be picked up by indexing pipeline.",
            "The target site fails to be indexed.",
            "The target site has been indexed.",
            "The previously indexed target site has been marked to be deleted. This is a transitioning state which will resulted in either: 1. target site deleted if unindexing is successful; 2. state reverts to SUCCEEDED if the unindexing fails.",
            "The target site change is pending but cancellable.",
            "The target site change is cancelled."
          ],
          "description": "Output only. Indexing status.",
          "type": "string",
          "readOnly": true,
          "enum": [
            "INDEXING_STATUS_UNSPECIFIED",
            "PENDING",
            "FAILED",
            "SUCCEEDED",
            "DELETING",
            "CANCELLABLE",
            "CANCELLED"
          ]
        },
        "rootDomainUri": {
          "type": "string",
          "description": "Output only. Root domain of the provided_uri_pattern.",
          "readOnly": true
        },
        "exactMatch": {
          "type": "boolean",
          "description": "Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine."
        },
        "siteVerificationInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSiteVerificationInfo",
          "readOnly": true,
          "description": "Output only. Site ownership and validity verification status."
        },
        "updateTime": {
          "description": "Output only. The target site's last updated time.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "failureReason": {
          "readOnly": true,
          "description": "Output only. Failure reason.",
          "$ref": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaTargetSite"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": {
      "description": "Specification to determine under which conditions query expansion should occur.",
      "properties": {
        "pinUnexpandedResults": {
          "type": "boolean",
          "description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results."
        },
        "condition": {
          "enumDescriptions": [
            "Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.",
            "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.",
            "Automatic query expansion built by the Search API."
          ],
          "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.",
          "type": "string",
          "enum": [
            "CONDITION_UNSPECIFIED",
            "DISABLED",
            "AUTO"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult",
      "properties": {
        "searchResults": {
          "description": "The search results for this One Box.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult"
          }
        },
        "oneBoxType": {
          "enumDescriptions": [
            "Default value. Should not be used.",
            "One Box result contains people results.",
            "One Box result contains organization results.",
            "One Box result contains slack results.",
            "One Box result contains Knowledge Graph search responses."
          ],
          "type": "string",
          "enum": [
            "ONE_BOX_TYPE_UNSPECIFIED",
            "PEOPLE",
            "ORGANIZATION",
            "SLACK",
            "KNOWLEDGE_GRAPH"
          ],
          "description": "The type of One Box result."
        }
      },
      "description": "OneBoxResult is a holder for all results of specific type that we want to display in UI differently.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest",
      "description": "Request message for LicenseConfigService.DistributeLicenseConfig method.",
      "type": "object",
      "properties": {
        "location": {
          "description": "Required. The target GCP project region to distribute the license config to.",
          "type": "string"
        },
        "licenseCount": {
          "description": "Required. The number of licenses to distribute.",
          "type": "string",
          "format": "int64"
        },
        "projectNumber": {
          "description": "Required. The target GCP project number to distribute the license config to.",
          "type": "string",
          "format": "int64"
        },
        "licenseConfigId": {
          "type": "string",
          "description": "Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation": {
      "properties": {
        "searchResults": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult"
          },
          "description": "Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.",
          "type": "array"
        }
      },
      "description": "Observation.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec": {
      "properties": {
        "matchHighlightingCondition": {
          "enumDescriptions": [
            "Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.",
            "Disables match highlighting on all documents.",
            "Enables match highlighting on all documents."
          ],
          "type": "string",
          "enum": [
            "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED",
            "MATCH_HIGHLIGHTING_DISABLED",
            "MATCH_HIGHLIGHTING_ENABLED"
          ],
          "description": "The condition under which match highlighting should occur."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec",
      "type": "object",
      "description": "Specifies features for display, like match highlighting."
    },
    "GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest": {
      "type": "object",
      "description": "Request message for SearchTuningService.TrainCustomModel method.",
      "properties": {
        "gcsTrainingInput": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput",
          "description": "Cloud Storage training input."
        },
        "modelId": {
          "description": "If not provided, a UUID will be generated.",
          "type": "string"
        },
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
          "description": "The desired location of errors incurred during the data ingestion and training."
        },
        "modelType": {
          "description": "Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest"
    },
    "GoogleCloudDiscoveryengineV1ImportDocumentsMetadata": {
      "id": "GoogleCloudDiscoveryengineV1ImportDocumentsMetadata",
      "description": "Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "successCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of entries that were processed successfully."
        },
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "failureCount": {
          "format": "int64",
          "description": "Count of entries that encountered errors while processing.",
          "type": "string"
        },
        "totalCount": {
          "type": "string",
          "description": "Total count of entries that were processed.",
          "format": "int64"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEmbeddingConfig": {
      "properties": {
        "fieldPath": {
          "type": "string",
          "description": "Full field path in the schema mapped as embedding field."
        }
      },
      "type": "object",
      "description": "Defines embedding config, used for bring your own embeddings feature.",
      "id": "GoogleCloudDiscoveryengineV1alphaEmbeddingConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse": {
      "description": "Response message for CompletionService.PurgeCompletionSuggestions method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.",
      "properties": {
        "purgeSucceeded": {
          "type": "boolean",
          "description": "Whether the completion suggestions were successfully purged."
        },
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig": {
      "description": "Controls resource-level access control for Gemini Enterprise users.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig",
      "properties": {
        "dataStoreAccessControlEnabled": {
          "type": "boolean",
          "description": "Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaControlFilterAction": {
      "description": "Specified which products may be included in results. Uses same filter as boost.",
      "id": "GoogleCloudDiscoveryengineV1betaControlFilterAction",
      "properties": {
        "filter": {
          "description": "Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "dataStore": {
          "description": "Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure": {
      "id": "GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure",
      "properties": {
        "totalRequiredQuota": {
          "type": "string",
          "description": "This number is an estimation on how much total quota this project needs to successfully complete indexing.",
          "format": "int64"
        }
      },
      "description": "Failed due to insufficient quota.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure": {
      "description": "Failed due to insufficient quota.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure",
      "properties": {
        "totalRequiredQuota": {
          "type": "string",
          "format": "int64",
          "description": "This number is an estimation on how much total quota this project needs to successfully complete indexing."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector": {
      "type": "object",
      "description": "Embedding vector.",
      "properties": {
        "vector": {
          "items": {
            "format": "float",
            "type": "number"
          },
          "type": "array",
          "description": "Query embedding vector."
        },
        "fieldPath": {
          "description": "Embedding field path in schema.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector"
    },
    "GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt": {
      "description": "The starter prompt suggestion to show the user on the landing page of the agent.",
      "id": "GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt",
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Required. The text of the starter prompt."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity": {
      "properties": {
        "params": {
          "description": "The parameters for the entity to facilitate data ingestion in structured json format.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "type": "object"
        },
        "dataStore": {
          "description": "Output only. The full resource name of the associated data store for the source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.",
          "type": "string",
          "readOnly": true
        },
        "keyPropertyMappings": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results."
        },
        "startingSchema": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSchema",
          "description": "Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)."
        },
        "jsonParams": {
          "description": "The parameters for the entity to facilitate data ingestion in json string format.",
          "type": "string"
        },
        "healthcareFhirConfig": {
          "description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig"
        },
        "entityName": {
          "description": "The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space`",
          "type": "string"
        }
      },
      "description": "Represents an entity in the data source. For example, the `Account` object in Salesforce.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity"
    },
    "GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec": {
      "properties": {
        "enableRelatedQuestions": {
          "type": "boolean",
          "description": "Whether or not to enable and include related questions in search response."
        },
        "maxRelatedQuestions": {
          "format": "int32",
          "description": "Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3.",
          "type": "integer"
        },
        "enableRefinementAttributes": {
          "description": "Whether or not to enable and include refinement attributes in gudied search result.",
          "type": "boolean"
        }
      },
      "description": "Defines guided search spec.",
      "id": "GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig": {
      "description": "Feature configurations that are required for creating a Most Popular engine.",
      "properties": {
        "timeWindowDays": {
          "format": "int64",
          "description": "The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the `most-popular-items` engine.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse": {
      "type": "object",
      "description": "Response message for UserStoreService.ListUserAvailabilities method.",
      "id": "GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse",
      "properties": {
        "userAvailabilities": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUserAvailability"
          },
          "type": "array",
          "description": "The UserAvailabilitys matching the request."
        },
        "nextPageToken": {
          "description": "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"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistant": {
      "description": "Discovery Engine Assistant resource.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistant",
      "properties": {
        "generationConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig",
          "description": "Optional. Configuration for the generation of the assistant response."
        },
        "knowledgeCatalogEnabled": {
          "type": "boolean",
          "description": "Optional. Indicates whether Knowledge Catalog is enabled for this specific assistant. When enabled, it powers discovery context using organizational data. If unspecified, defaults to true."
        },
        "enabledTools": {
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantToolList"
          },
          "description": "Optional. The enabled tools on this assistant. The keys are data connector resource names, in the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. The values are the tools that the admin enabled on that connector. Admins can selectively enable tools on any of the connectors that they created in the project. For example: ``` { \"projects/my-project/locations/global/collections/jira1/dataConnector\": { \"toolInfo\": [ { \"toolName\": \"create_jira_issue\", \"toolDisplayName\": \"Create Jira issue\" }, { \"toolName\": \"update_jira_issue\", \"toolDisplayName\": \"Update Jira issue\" } ] } } ```",
          "type": "object"
        },
        "defaultWebGroundingToggleOff": {
          "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.",
          "type": "boolean"
        },
        "displayName": {
          "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.",
          "type": "string"
        },
        "customerPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy",
          "description": "Optional. Customer policy for the assistant."
        },
        "webGroundingType": {
          "enumDescriptions": [
            "Default, unspecified setting. This is the same as disabled.",
            "Web grounding is disabled.",
            "Grounding with Google Search is enabled.",
            "Grounding with Enterprise Web Search is enabled."
          ],
          "type": "string",
          "enum": [
            "WEB_GROUNDING_TYPE_UNSPECIFIED",
            "WEB_GROUNDING_TYPE_DISABLED",
            "WEB_GROUNDING_TYPE_GOOGLE_SEARCH",
            "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH"
          ],
          "description": "Optional. The type of web grounding to use."
        },
        "updateTime": {
          "readOnly": true,
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. Represents the time when this Assistant was most recently updated."
        },
        "disableLocationContext": {
          "type": "boolean",
          "description": "Optional. Indicates whether to disable user location context. By default, user location context is enabled."
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Represents the time when this Assistant was created.",
          "format": "google-datetime"
        },
        "description": {
          "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.",
          "type": "string"
        },
        "name": {
          "description": "Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion": {
      "description": "Suggestions as search queries.",
      "properties": {
        "completableFieldPaths": {
          "description": "The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "suggestion": {
          "description": "The suggestion for the query.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion"
    },
    "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus": {
      "id": "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus",
      "type": "object",
      "properties": {
        "agentSearchTokenSubscriptionStatuses": {
          "description": "Output only. Per-model Agent Search TPM subscription status.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus"
          },
          "readOnly": true,
          "type": "array"
        },
        "effectiveIndexingCoreThreshold": {
          "type": "string",
          "format": "int64",
          "description": "Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations."
        },
        "indexingCoreThresholdNextUpdateTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.",
          "type": "string"
        },
        "terminateTime": {
          "format": "google-datetime",
          "description": "Output only. The latest terminate effective time of search qpm and indexing core subscriptions.",
          "type": "string",
          "readOnly": true
        },
        "effectiveSearchQpmThreshold": {
          "description": "Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.",
          "format": "int64",
          "type": "string"
        },
        "updateType": {
          "type": "string",
          "description": "Output only. The type of update performed in this operation. This field is populated in the response of UpdateProject.",
          "enum": [
            "UPDATE_TYPE_UNSPECIFIED",
            "CREATE",
            "DELETE",
            "SCALE_UP",
            "SCALE_DOWN"
          ],
          "enumDescriptions": [
            "Unspecified update type.",
            "Configurable billing was created/enabled.",
            "Configurable billing was deleted/disabled.",
            "Subscription was scaled up (thresholds increased).",
            "Subscription was scaled down (thresholds decreased)."
          ],
          "readOnly": true
        },
        "startTime": {
          "description": "Optional. The start time of the currently active billing subscription.",
          "type": "string",
          "format": "google-datetime"
        },
        "searchQpmThresholdNextUpdateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.",
          "format": "google-datetime"
        }
      },
      "description": "Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month). We also include the update type to indicate the type of update performed on the configurable billing configuration in the UpdateProject operation."
    },
    "GoogleCloudDiscoveryengineV1alphaSampleQuery": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSampleQuery",
      "description": "Sample Query captures metadata to be used for evaluation.",
      "properties": {
        "name": {
          "description": "Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. Timestamp the SampleQuery was created at.",
          "type": "string",
          "format": "google-datetime"
        },
        "queryEntry": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry",
          "description": "The query entry."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig": {
      "type": "object",
      "description": "Configuration for Natural Language Query Understanding.",
      "properties": {
        "mode": {
          "enumDescriptions": [
            "Default value.",
            "Natural Language Query Understanding is disabled.",
            "Natural Language Query Understanding is enabled."
          ],
          "description": "Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.",
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig"
    },
    "GoogleApiHttpBody": {
      "type": "object",
      "properties": {
        "data": {
          "format": "byte",
          "type": "string",
          "description": "The HTTP request/response body as raw binary."
        },
        "contentType": {
          "description": "The HTTP Content-Type header value specifying the content type of the body.",
          "type": "string"
        },
        "extensions": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "description": "Application specific response metadata. Must be set in the first response for streaming APIs."
        }
      },
      "description": "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.",
      "id": "GoogleApiHttpBody"
    },
    "GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse": {
      "id": "GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudNotebooklmV1alphaSource"
          },
          "description": "The Sources."
        }
      },
      "description": "Response for SourceService.BatchCreateSources method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult": {
      "id": "GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult",
      "type": "object",
      "description": "RecommendationResult represents a generic recommendation result with associated metadata.",
      "properties": {
        "document": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDocument",
          "description": "Set if `returnDocument` is set to true in RecommendRequest.params."
        },
        "metadata": {
          "description": "Additional Document metadata or annotations. Possible values: * `score`: Recommendation score in double value. Is set if `returnScore` is set to true in RecommendRequest.params.",
          "additionalProperties": {
            "type": "any"
          },
          "type": "object"
        },
        "id": {
          "type": "string",
          "description": "Resource ID of the recommended Document."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCompletionSuggestion": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaCompletionSuggestion",
      "description": "Autocomplete suggestions that are imported from Customer.",
      "properties": {
        "globalScore": {
          "type": "number",
          "format": "double",
          "description": "Global score of this suggestion. Control how this suggestion would be scored / ranked."
        },
        "frequency": {
          "description": "Frequency of this suggestion. Will be used to rank suggestions when score is not available.",
          "format": "int64",
          "type": "string"
        },
        "groupScore": {
          "format": "double",
          "description": "The score of this suggestion within its group.",
          "type": "number"
        },
        "alternativePhrases": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Alternative matching phrases for this suggestion."
        },
        "suggestion": {
          "type": "string",
          "description": "Required. The suggestion text."
        },
        "languageCode": {
          "description": "BCP-47 language code of this suggestion.",
          "type": "string"
        },
        "groupId": {
          "description": "If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec": {
      "properties": {
        "searchResultPersistenceCount": {
          "type": "integer",
          "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is similar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.",
          "format": "int32"
        },
        "queryId": {
          "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Session specification.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig": {
      "properties": {
        "featureConfig": {
          "description": "Optional. Feature config for the Knowledge Graph.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig"
        },
        "cloudKnowledgeGraphTypes": {
          "description": "Specify entity types to support.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "enableCloudKnowledgeGraph": {
          "description": "Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "enablePrivateKnowledgeGraph": {
          "description": "Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.",
          "type": "boolean"
        },
        "privateKnowledgeGraphTypes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Specify entity types to support."
        }
      },
      "description": "Configuration message for the Knowledge Graph.",
      "id": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaFeedback": {
      "description": "Information about the user feedback. This information will be used for logging and metrics purpose.",
      "properties": {
        "reasons": {
          "items": {
            "enumDescriptions": [
              "Unspecified reason.",
              "The response is inaccurate.",
              "The response is not relevant.",
              "The response is incomprehensive.",
              "The response is offensive or unsafe.",
              "The response is not well-formatted.",
              "The response is not well-associated with the query.",
              "The expected canvas was not generated for the response.",
              "The generated canvas is of bad quality (e.g. inaccurate, incomplete, poorly formatted).",
              "Exporting the generated canvas failed (e.g. download or external export action did not complete successfully).",
              "The response is relevant.",
              "The response is comprehensive.",
              "The response is well-associated with the query.",
              "The response is accurate."
            ],
            "type": "string",
            "enum": [
              "REASON_UNSPECIFIED",
              "INACCURATE_RESPONSE",
              "NOT_RELEVANT",
              "INCOMPREHENSIVE",
              "OFFENSIVE_OR_UNSAFE",
              "FORMAT_AND_STYLES",
              "BAD_CITATION",
              "CANVAS_NOT_GENERATED",
              "CANVAS_QUALITY_BAD",
              "CANVAS_EXPORT_FAILED",
              "RELEVANT",
              "COMPREHENSIVE",
              "GOOD_CITATION",
              "ACCURATE"
            ]
          },
          "type": "array",
          "description": "Optional. The reasons why the user gives feedback."
        },
        "feedbackSource": {
          "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 Desktop app."
          ],
          "type": "string",
          "enum": [
            "FEEDBACK_SOURCE_UNSPECIFIED",
            "GOOGLE_CONSOLE",
            "GOOGLE_WIDGET",
            "GOOGLE_WEBAPP",
            "GOOGLE_AGENTSPACE_MOBILE",
            "GOOGLE_AGENTSPACE_DESKTOP"
          ],
          "description": "Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP."
        },
        "modelArmorDisputeInfo": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo",
          "description": "Optional. Optional Model Armor false-positive dispute metadata attached to feedback."
        },
        "conversationInfo": {
          "description": "The related conversation information when user gives feedback.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo"
        },
        "comment": {
          "type": "string",
          "description": "Optional. The additional user comment of the feedback."
        },
        "llmModelVersion": {
          "description": "The version of the LLM model that was used to generate the response.",
          "type": "string"
        },
        "feedbackType": {
          "type": "string",
          "enum": [
            "FEEDBACK_TYPE_UNSPECIFIED",
            "LIKE",
            "DISLIKE"
          ],
          "enumDescriptions": [
            "Unspecified feedback type.",
            "The user gives a positive feedback.",
            "The user gives a negative feedback."
          ],
          "description": "Required. Indicates whether the user gives a positive or negative feedback."
        },
        "dataTermsAccepted": {
          "type": "boolean",
          "description": "Optional. Whether the customer accepted data use terms."
        },
        "componentVersion": {
          "description": "Optional. The version of the component that this report is being sent from.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaFeedback",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec": {
      "type": "object",
      "properties": {
        "preamble": {
          "type": "string",
          "description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec",
      "description": "Specification of the prompt to use with the model."
    },
    "GoogleCloudDiscoveryengineV1ConditionQueryTerm": {
      "properties": {
        "fullMatch": {
          "description": "Whether the search query needs to exactly match the query term.",
          "type": "boolean"
        },
        "value": {
          "type": "string",
          "description": "The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ConditionQueryTerm",
      "description": "Matcher for search request query",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig": {
      "description": "The layout parsing configurations for documents.",
      "properties": {
        "excludeHtmlElements": {
          "description": "Optional. List of HTML elements to exclude from the parsed content.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "enableGetProcessedDocument": {
          "description": "Optional. If true, the processed document will be made available for the GetProcessedDocument API.",
          "type": "boolean"
        },
        "excludeHtmlClasses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. List of HTML classes to exclude from the parsed content."
        },
        "structuredContentTypes": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`",
          "type": "array"
        },
        "excludeHtmlIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. List of HTML ids to exclude from the parsed content."
        },
        "enableLlmLayoutParsing": {
          "type": "boolean",
          "description": "Optional. If true, the pdf layout will be refined using an LLM."
        },
        "enableImageAnnotation": {
          "type": "boolean",
          "description": "Optional. If true, the LLM based annotation is added to the image during parsing."
        },
        "enableTableAnnotation": {
          "description": "Optional. If true, the LLM based annotation is added to the table during parsing.",
          "type": "boolean"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo",
      "properties": {
        "structuredExtractedFilter": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter",
          "description": "The filters that were extracted from the input query represented in a structured form."
        },
        "extractedFilters": {
          "description": "The filters that were extracted from the input query.",
          "type": "string"
        },
        "classifiedIntents": {
          "items": {
            "type": "string"
          },
          "description": "The classified intents from the input query.",
          "type": "array"
        },
        "rewrittenQuery": {
          "description": "Rewritten input query minus the extracted filters.",
          "type": "string"
        }
      },
      "description": "Information describing what natural language understanding was done on the input query.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAgentSharingConfig": {
      "description": "Sharing related configuration.",
      "properties": {
        "scope": {
          "type": "string",
          "enum": [
            "SCOPE_UNSPECIFIED",
            "RESTRICTED",
            "ALL_USERS",
            "PRIVATE"
          ],
          "description": "Optional. The sharing scope of the agent.",
          "enumDescriptions": [
            "Default value. Behaves as `RESTRICTED`.",
            "The agent is shared with specific users based on the IAM policy.",
            "The agent is shared with all users.",
            "The agent is not shared: it is only accessible to its creator and to administrators."
          ]
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAgentSharingConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest",
      "description": "Request for ReportConsentChange method.",
      "type": "object",
      "properties": {
        "consentChangeAction": {
          "description": "Required. Whether customer decides to accept or decline service term. At this moment, only accept action is supported.",
          "type": "string",
          "enumDescriptions": [
            "Invalid action, user must specify accept/decline",
            "User accepts service terms."
          ],
          "enum": [
            "CONSENT_CHANGE_ACTION_UNSPECIFIED",
            "ACCEPT"
          ]
        },
        "serviceTermVersion": {
          "description": "Required. The version string of the terms of service to update.",
          "type": "string"
        },
        "serviceTermId": {
          "type": "string",
          "description": "Required. The unique identifier of the terms of service to update. Available term ids: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this service term id, the acceptable service_term_version to provide is `2022-11-23`."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse",
      "description": "Response message for SampleQuerySetService.ListSampleQuerySets method.",
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as ListSampleQuerySetsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "sampleQuerySets": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
          },
          "description": "The SampleQuerySets.",
          "type": "array"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata",
      "description": "Metadata related to the progress of the CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel": {
      "properties": {
        "isPreview": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. Whether the model is currently in preview. Clients should surface this via a \"Preview\" badge in the selector UI."
        },
        "label": {
          "description": "Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend registry does not specify a distinct short label.",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Localized description text (e.g. `State-of-the-art reasoning`). Localized using the same locale as `display_name`."
        },
        "iconUrl": {
          "type": "string",
          "description": "Output only. Absolute URL of a brand mark to render instead of `icon`, for models whose vendor logo is not a GM3 glyph. `icon` stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing.",
          "readOnly": true
        },
        "modelId": {
          "type": "string",
          "description": "Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). This is the same identifier that clients pass back to the assistant service to select this model. Virtual / \"pseudo\" models (e.g. `gemini-fast`) are also valid values here; they are resolved to the underlying concrete model on the backend.",
          "readOnly": true
        },
        "adminView": {
          "readOnly": true,
          "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView",
          "description": "Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see `AdminView`). Unset for end-user surfaces."
        },
        "promoted": {
          "type": "boolean",
          "description": "Output only. Whether this model should be promoted in the GE chat homepage banner.",
          "readOnly": true
        },
        "family": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Groups models that render together in the selector. Models sharing a value form one group; empty means the model belongs to no group. Compared for equality only -- never parsed, and never shown to a user, so it is not localized."
        },
        "icon": {
          "readOnly": true,
          "description": "Output only. GM3-compatible icon token associated with the model (e.g. `rocket_launch`, `bolt`, `graph_5`).",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Localized display name of the model (e.g. `Gemini 3.1 Pro`). Localized server-side based on the LookupWidgetConfigRequest.language_code and LookupWidgetConfigRequest.region_code of the request."
        }
      },
      "type": "object",
      "description": "A single model that is resolved to be available to the end-user in the model selector, with all of its localized display metadata.",
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel"
    },
    "GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability": {
      "description": "Capability of an assistant needed to use this canned query.",
      "id": "GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability",
      "type": "object",
      "properties": {
        "actionName": {
          "type": "string",
          "description": "The name of the action that the Assistant needs to have set up to use this canned query."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": {
      "description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.",
      "properties": {
        "responseTemplate": {
          "description": "Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response.",
          "type": "string"
        },
        "userPromptTemplate": {
          "type": "string",
          "description": "Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo",
      "type": "object",
      "properties": {
        "trajectoryId": {
          "type": "string",
          "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."
        },
        "taskName": {
          "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"
        },
        "questionIndex": {
          "format": "int32",
          "type": "integer",
          "description": "The index of the user input within the conversation messages."
        },
        "answerQueryToken": {
          "description": "Optional. The token which could be used to fetch the answer log.",
          "type": "string"
        },
        "stepSeqNum": {
          "description": "Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.",
          "format": "int64",
          "type": "string"
        },
        "session": {
          "type": "string",
          "description": "Name of the newly generated or continued session."
        },
        "query": {
          "description": "Required. The user's search query.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQuery"
        },
        "assistToken": {
          "description": "Optional. The token which could be used to fetch the assistant log.",
          "type": "string"
        }
      },
      "description": "The conversation information such as the question index and session name."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo": {
      "description": "Information about the session.",
      "properties": {
        "queryId": {
          "description": "Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.",
          "type": "string"
        },
        "name": {
          "description": "Name of the session. If the auto-session mode is used (when SearchRequest.session ends with \"-\"), this field holds the newly generated session name.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo"
    },
    "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig": {
      "description": "Customer provided configurations.",
      "properties": {
        "notebooklmConfig": {
          "description": "Optional. Configuration for NotebookLM settings.",
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig"
        },
        "resourceAccessControlConfig": {
          "description": "Optional. Resource-level access control config for Gemini Enterprise users.",
          "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig": {
      "id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig",
      "properties": {
        "dataStoreAccessControlEnabled": {
          "description": "Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Controls resource-level access control for Gemini Enterprise users."
    },
    "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicy": {
      "description": "Restricts which users may use a feature that is turned on in `features`.",
      "properties": {
        "deniedMembers": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember"
          },
          "type": "array",
          "description": "Optional. Members who may not use the feature. Takes precedence over `allowed_members`."
        },
        "defaultAccess": {
          "description": "Optional. Access for users who match neither list.",
          "enumDescriptions": [
            "Treated as `ALLOW`.",
            "Users who match neither list may use the feature.",
            "Users who match neither list may not use the feature."
          ],
          "type": "string",
          "enum": [
            "DEFAULT_ACCESS_UNSPECIFIED",
            "ALLOW",
            "DENY"
          ]
        },
        "allowedMembers": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember"
          },
          "description": "Optional. Members who may use the feature."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicy",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1Assistant": {
      "description": "Discovery Engine Assistant resource.",
      "id": "GoogleCloudDiscoveryengineV1Assistant",
      "properties": {
        "customerPolicy": {
          "description": "Optional. Customer policy for the assistant.",
          "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy"
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Represents the time when this Assistant was created."
        },
        "enabledTools": {
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1AssistantToolList"
          },
          "description": "Optional. The enabled tools on this assistant. The keys are data connector resource names, in the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. The values are the tools that the admin enabled on that connector. Admins can selectively enable tools on any of the connectors that they created in the project. For example: ``` { \"projects/my-project/locations/global/collections/jira1/dataConnector\": { \"toolInfo\": [ { \"toolName\": \"create_jira_issue\", \"toolDisplayName\": \"Create Jira issue\" }, { \"toolName\": \"update_jira_issue\", \"toolDisplayName\": \"Update Jira issue\" } ] } } ```",
          "type": "object"
        },
        "displayName": {
          "type": "string",
          "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters."
        },
        "name": {
          "description": "Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "defaultWebGroundingToggleOff": {
          "type": "boolean",
          "description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled."
        },
        "webGroundingType": {
          "description": "Optional. The type of web grounding to use.",
          "type": "string",
          "enum": [
            "WEB_GROUNDING_TYPE_UNSPECIFIED",
            "WEB_GROUNDING_TYPE_DISABLED",
            "WEB_GROUNDING_TYPE_GOOGLE_SEARCH",
            "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH"
          ],
          "enumDescriptions": [
            "Default, unspecified setting. This is the same as disabled.",
            "Web grounding is disabled.",
            "Grounding with Google Search is enabled.",
            "Grounding with Enterprise Web Search is enabled."
          ]
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Represents the time when this Assistant was most recently updated.",
          "readOnly": true
        },
        "description": {
          "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.",
          "type": "string"
        },
        "generationConfig": {
          "description": "Optional. Configuration for the generation of the assistant response.",
          "$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest": {
      "description": "Request message for SiteSearchEngineService.DisableAdvancedSiteSearch method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy": {
      "description": "Data protection policy config for NotebookLM.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy",
      "properties": {
        "sensitiveDataProtectionPolicy": {
          "description": "Optional. The sensitive data protection policy.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaReply": {
      "description": "Defines a reply message to user.",
      "id": "GoogleCloudDiscoveryengineV1alphaReply",
      "properties": {
        "reply": {
          "type": "string",
          "description": "DEPRECATED: use `summary` instead. Text reply.",
          "deprecated": true
        },
        "summary": {
          "description": "Summary based on search results.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary"
        },
        "references": {
          "deprecated": true,
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaReplyReference"
          },
          "type": "array",
          "description": "References in the reply."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaControlRedirectAction": {
      "id": "GoogleCloudDiscoveryengineV1betaControlRedirectAction",
      "description": "Redirects a shopper to the provided URI.",
      "type": "object",
      "properties": {
        "redirectUri": {
          "description": "Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse": {
      "type": "object",
      "description": "Response message for IdentityMappingStoreService.ListIdentityMappingStores",
      "id": "GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse",
      "properties": {
        "identityMappingStores": {
          "type": "array",
          "description": "The Identity Mapping Stores.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaReplyReference": {
      "properties": {
        "start": {
          "type": "integer",
          "description": "Anchor text start index.",
          "format": "int32"
        },
        "anchorText": {
          "description": "Anchor text.",
          "type": "string"
        },
        "uri": {
          "type": "string",
          "description": "URI link reference."
        },
        "end": {
          "type": "integer",
          "description": "Anchor text end index.",
          "format": "int32"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaReplyReference",
      "description": "Defines reference in reply.",
      "deprecated": true
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse": {
      "properties": {
        "session": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSession",
          "description": "Session resource object. It will be only available when session field is set and valid in the AnswerQueryRequest request."
        },
        "answerQueryToken": {
          "description": "A global unique ID used for logging.",
          "type": "string"
        },
        "answer": {
          "description": "Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse",
      "description": "Response message for ConversationalSearchService.AnswerQuery method."
    },
    "GoogleCloudDiscoveryengineV1betaControlBoostAction": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaControlBoostAction",
      "properties": {
        "interpolationBoostSpec": {
          "description": "Optional. Complex specification for custom ranking based on customer defined attribute value.",
          "$ref": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec"
        },
        "filter": {
          "type": "string",
          "description": "Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown."
        },
        "boost": {
          "format": "float",
          "deprecated": true,
          "type": "number",
          "description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op)."
        },
        "fixedBoost": {
          "description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).",
          "format": "float",
          "type": "number"
        },
        "dataStore": {
          "description": "Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store",
          "type": "string"
        }
      },
      "description": "Adjusts order of products in returned list."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint": {
      "description": "Constraint expression of a string field.",
      "properties": {
        "values": {
          "items": {
            "type": "string"
          },
          "description": "Values of the string field. The record will only be returned if the field value matches one of the values specified here.",
          "type": "array"
        },
        "querySegment": {
          "description": "Identifies the keywords within the search query that match a filter.",
          "type": "string"
        },
        "fieldName": {
          "type": "string",
          "description": "Name of the string field as defined in the schema."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponseMemberCheck": {
      "type": "object",
      "description": "The result for one requested member.",
      "properties": {
        "member": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember",
          "description": "The member as EngineService.UpdateEngine would save it: `id` normalized, `display_name` taken from the directory when it has one, and `verification` set. Echoes the request's member when `status` is an INVALID_ARGUMENT from the member's format."
        },
        "status": {
          "$ref": "GoogleRpcStatus",
          "description": "OK when the member is valid and, for a group, in the directory. Otherwise INVALID_ARGUMENT for a malformed member or a group the directory doesn't have, and UNAVAILABLE for a Google group the directory couldn't be asked about. EngineService.UpdateEngine fails on all of these, except that it leaves out an allowed group the directory doesn't have, saves the other members, and lists the group in Engine.feature_policy_rejections."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponseMemberCheck"
    },
    "GoogleCloudDiscoveryengineV1alphaRecommendResponse": {
      "description": "Response message for Recommend method.",
      "id": "GoogleCloudDiscoveryengineV1alphaRecommendResponse",
      "properties": {
        "missingIds": {
          "items": {
            "type": "string"
          },
          "description": "IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.",
          "type": "array"
        },
        "validateOnly": {
          "type": "boolean",
          "description": "True if RecommendRequest.validate_only was set."
        },
        "attributionToken": {
          "description": "A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.",
          "type": "string"
        },
        "results": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult"
          },
          "description": "A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least)."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata": {
      "id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata",
      "properties": {
        "failureCount": {
          "format": "int64",
          "description": "Count of user licenses that failed to be updated.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        },
        "successCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of user licenses successfully updated."
        },
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicy": {
      "description": "Restricts which users may use a feature that is turned on in `features`.",
      "type": "object",
      "properties": {
        "deniedMembers": {
          "type": "array",
          "description": "Optional. Members who may not use the feature. Takes precedence over `allowed_members`.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember"
          }
        },
        "defaultAccess": {
          "description": "Optional. Access for users who match neither list.",
          "type": "string",
          "enum": [
            "DEFAULT_ACCESS_UNSPECIFIED",
            "ALLOW",
            "DENY"
          ],
          "enumDescriptions": [
            "Treated as `ALLOW`.",
            "Users who match neither list may use the feature.",
            "Users who match neither list may not use the feature."
          ]
        },
        "allowedMembers": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember"
          },
          "description": "Optional. Members who may use the feature."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicy"
    },
    "GoogleCloudDiscoveryengineV1alphaDataConnector": {
      "properties": {
        "dataProtectionPolicy": {
          "description": "Optional. Specifies the data protection policy for the connector.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy"
        },
        "kmsKeyName": {
          "type": "string",
          "description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key."
        },
        "aclEnabled": {
          "description": "Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.",
          "type": "boolean"
        },
        "incrementalSyncDisabled": {
          "type": "boolean",
          "description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true."
        },
        "federatedConfig": {
          "description": "Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig"
        },
        "jsonParams": {
          "type": "string",
          "description": "Required data connector parameters in json string format."
        },
        "tag": {
          "type": "string",
          "description": "Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill."
        },
        "metadata": {
          "description": "Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata"
        },
        "lastSyncTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. For periodic connectors only, the last time a data sync was completed.",
          "type": "string"
        },
        "incrementalRefreshInterval": {
          "description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.",
          "type": "string",
          "format": "google-duration"
        },
        "nextSyncTime": {
          "description": "Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.",
          "$ref": "GoogleTypeDateTime"
        },
        "privateConnectivityProjectId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function."
        },
        "vpcscEnabled": {
          "description": "Output only. Whether the connector is created with VPC-SC enabled.",
          "type": "boolean",
          "readOnly": true
        },
        "staticIpEnabled": {
          "type": "boolean",
          "description": "Optional. Whether customer has enabled static IP addresses for this connector."
        },
        "hybridIngestionDisabled": {
          "description": "Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.",
          "type": "boolean"
        },
        "oauthStaticIpAddresses": {
          "description": "Output only. The static IP addresses used by this connector for OAuth APIs (e.g. end user authentication). These are surfaced separately from `static_ip_addresses` so that customers can apply granular firewall settings for OAuth endpoints. Only populated for connectors that have static IP enabled and are used for actions and/or federated search.",
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string"
          }
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Timestamp the DataConnector was created at.",
          "format": "google-datetime"
        },
        "dynamicTools": {
          "description": "Output only. The dynamic tools fetched for this connector.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDynamicTool"
          },
          "readOnly": true
        },
        "params": {
          "type": "object",
          "description": "Required data connector parameters in structured json format.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "state": {
          "type": "string",
          "description": "Output only. State of the connector.",
          "readOnly": true,
          "enumDescriptions": [
            "Default value.",
            "The connector is being set up.",
            "The connector is successfully set up and awaiting next sync run.",
            "The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.",
            "The connector is actively syncing records from the data source.",
            "The connector has completed a sync run, but encountered non-fatal errors.",
            "Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).",
            "Connector is in the process of an update."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "FAILED",
            "RUNNING",
            "WARNING",
            "INITIALIZATION_FAILED",
            "UPDATING"
          ]
        },
        "errors": {
          "description": "Output only. The errors from initialization or from the latest connector run.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "bapConfig": {
          "description": "Optional. The configuration for establishing a BAP connection.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBAPConfig"
        },
        "dataSource": {
          "type": "string",
          "description": "Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage)."
        },
        "actionState": {
          "enumDescriptions": [
            "Default value.",
            "The connector is being set up.",
            "The connector is successfully set up and awaiting next sync run.",
            "The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.",
            "The connector is actively syncing records from the data source.",
            "The connector has completed a sync run, but encountered non-fatal errors.",
            "Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).",
            "Connector is in the process of an update."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "FAILED",
            "RUNNING",
            "WARNING",
            "INITIALIZATION_FAILED",
            "UPDATING"
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors."
        },
        "createEuaSaas": {
          "description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.",
          "type": "boolean"
        },
        "cliConfig": {
          "description": "Optional. The configuration for establishing a CLI connection.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCliConfig"
        },
        "destinationConfigs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDestinationConfig"
          },
          "type": "array",
          "description": "Optional. Any target destinations used to connect to third-party services."
        },
        "egressFqdns": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "readOnly": true,
          "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs."
        },
        "staticIpAddresses": {
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "description": "Output only. The static IP addresses used by this connector."
        },
        "name": {
          "description": "Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`.",
          "type": "string"
        },
        "autoRunDisabled": {
          "type": "boolean",
          "description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs"
        },
        "alertPolicyConfigs": {
          "description": "Optional. The connector level alert config.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig"
          }
        },
        "blockingReasons": {
          "readOnly": true,
          "items": {
            "enumDescriptions": [
              "Default value.",
              "Connector requires customer to allowlist static IPs.",
              "Connector requires customer to allowlist our project in their service attachment.",
              "Connector requires customer to allowlist service account in their project."
            ],
            "type": "string",
            "enum": [
              "BLOCKING_REASON_UNSPECIFIED",
              "ALLOWLIST_STATIC_IP",
              "ALLOWLIST_IN_SERVICE_ATTACHMENT",
              "ALLOWLIST_SERVICE_ACCOUNT"
            ]
          },
          "type": "array",
          "description": "Output only. User actions that must be completed before the connector can start syncing data."
        },
        "realtimeSyncConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig",
          "description": "Optional. The configuration for realtime sync."
        },
        "endUserConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig",
          "description": "Optional. Any params and credentials used specifically for EUA connectors."
        },
        "removeParamKeys": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request."
        },
        "entities": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity"
          },
          "description": "List of entities from the connected data source to ingest.",
          "type": "array"
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Output only. Timestamp the DataConnector was last updated.",
          "type": "string",
          "readOnly": true
        },
        "connectorModes": {
          "type": "array",
          "description": "Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.",
          "items": {
            "enumDescriptions": [
              "Connector mode unspecified.",
              "Connector utilized for data ingestion.",
              "Connector utilized for actions.",
              "Connector utilized for federated search.",
              "Connector utilized for End User Authentication.",
              "Hybrid connector utilized for federated search and End User Authentication."
            ],
            "type": "string",
            "enum": [
              "CONNECTOR_MODE_UNSPECIFIED",
              "DATA_INGESTION",
              "ACTIONS",
              "FEDERATED",
              "EUA",
              "FEDERATED_AND_EUA"
            ]
          }
        },
        "connectorSourceId": {
          "type": "string",
          "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source."
        },
        "latestPauseTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered."
        },
        "identityScheduleConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig",
          "description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector."
        },
        "identityRefreshInterval": {
          "description": "The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.",
          "type": "string",
          "deprecated": true,
          "format": "google-duration"
        },
        "refreshInterval": {
          "format": "google-duration",
          "type": "string",
          "description": "Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled."
        },
        "actionConfig": {
          "description": "Optional. Action configurations to make the connector support actions.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaActionConfig"
        },
        "realtimeState": {
          "description": "Output only. real-time sync state",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "FAILED",
            "RUNNING",
            "WARNING",
            "INITIALIZATION_FAILED",
            "UPDATING"
          ],
          "enumDescriptions": [
            "Default value.",
            "The connector is being set up.",
            "The connector is successfully set up and awaiting next sync run.",
            "The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.",
            "The connector is actively syncing records from the data source.",
            "The connector has completed a sync run, but encountered non-fatal errors.",
            "Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).",
            "Connector is in the process of an update."
          ],
          "readOnly": true
        },
        "syncMode": {
          "type": "string",
          "enum": [
            "PERIODIC",
            "STREAMING",
            "UNSPECIFIED"
          ],
          "enumDescriptions": [
            "The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.",
            "The data will be synced in real time.",
            "Connector that doesn't ingest data will have this value"
          ],
          "description": "The data synchronization mode supported by the data connector."
        },
        "connectorType": {
          "enumDescriptions": [
            "Default value.",
            "Third party connector to connector to third party application.",
            "Data connector connects between FHIR store and VAIS datastore.",
            "Big query connector.",
            "Google Cloud Storage connector.",
            "Gmail connector.",
            "Google Calendar connector.",
            "Google Drive connector.",
            "Native Cloud Identity connector for people search powered by People API.",
            "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.",
            "Connector utilized for End User Authentication features.",
            "Google Cloud NetApp Volumes connector.",
            "Google Chat connector.",
            "Google Sites connector.",
            "Remote MCP based connector.",
            "Google Workspace connector."
          ],
          "enum": [
            "CONNECTOR_TYPE_UNSPECIFIED",
            "THIRD_PARTY",
            "GCP_FHIR",
            "BIG_QUERY",
            "GCS",
            "GOOGLE_MAIL",
            "GOOGLE_CALENDAR",
            "GOOGLE_DRIVE",
            "NATIVE_CLOUD_IDENTITY",
            "THIRD_PARTY_FEDERATED",
            "THIRD_PARTY_EUA",
            "GCNV",
            "GOOGLE_CHAT",
            "GOOGLE_SITES",
            "REMOTE_MCP",
            "GOOGLE_WORKSPACE"
          ],
          "readOnly": true,
          "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.",
          "type": "string"
        }
      },
      "description": "Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataConnector",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState",
      "properties": {
        "authState": {
          "readOnly": true,
          "description": "Output only. The authorization state of the data connector.",
          "type": "string",
          "enumDescriptions": [
            "Default value. Also returned for synthetic placeholder `CollectionComponent` entries surfaced by `LookupWidgetConfig` with `view = WITH_AVAILABLE_CONNECTORS` (SaaS / Business only) — those entries represent connectors the caller may attach but has not yet attached.",
            "The user has authorized the data connector.",
            "The user authorization for the data connector has expired.",
            "The user can still make search requests but actions need to be enabled.",
            "The data connector does not require any authorization. Also used for placeholder entries whose underlying connector does not require user OAuth."
          ],
          "enum": [
            "AUTH_STATE_UNSPECIFIED",
            "AUTHORIZED",
            "EXPIRED",
            "ACTIONS_DISABLED",
            "NO_AUTH"
          ]
        },
        "authorizationUri": {
          "readOnly": true,
          "description": "Output only. The authorization uri for the data connector. For synthetic placeholder `CollectionComponent` entries (returned by `LookupWidgetConfig` with `view = WITH_AVAILABLE_CONNECTORS` on SaaS / Business engines), this field is left empty. The widget should call `WidgetService.WidgetBuildAuthorizationUrl` on the user's \"Connect\" click to obtain a freshly-built authorization URL.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "description": "Output only. The authorization state update timestamp.",
          "format": "google-datetime",
          "readOnly": true
        }
      },
      "description": "Read-only connector in CollectionComponent auth state.",
      "type": "object"
    },
    "GoogleApiDistributionRange": {
      "description": "The range of the population values.",
      "type": "object",
      "id": "GoogleApiDistributionRange",
      "properties": {
        "min": {
          "description": "The minimum of the population values.",
          "format": "double",
          "type": "number"
        },
        "max": {
          "description": "The maximum of the population values.",
          "format": "double",
          "type": "number"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaCreateEngineMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaCreateEngineMetadata",
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse": {
      "properties": {
        "peopleSuggestions": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion"
          },
          "description": "Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.",
          "type": "array"
        },
        "querySuggestions": {
          "description": "Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion"
          },
          "type": "array"
        },
        "tailMatchTriggered": {
          "type": "boolean",
          "description": "True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query."
        },
        "recentSearchSuggestions": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion"
          },
          "description": "Results of the matched \"recent search\" suggestions. The result list is ordered and the first result is the top suggestion."
        },
        "contentSuggestions": {
          "description": "Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion"
          }
        }
      },
      "type": "object",
      "description": "Response message for CompletionService.AdvancedCompleteQuery method.",
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse"
    },
    "GoogleApiMonitoredResource": {
      "id": "GoogleApiMonitoredResource",
      "type": "object",
      "properties": {
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels `\"project_id\"`, `\"instance_id\"`, and `\"zone\"`.",
          "type": "object"
        },
        "type": {
          "type": "string",
          "description": "Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is `gce_instance`. Some descriptors include the service name in the type; for example, the type of a Datastream stream is `datastream.googleapis.com/Stream`."
        }
      },
      "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The `type` field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the `labels` field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for `\"gce_instance\"` has labels `\"project_id\"`, `\"instance_id\"` and `\"zone\"`: { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }}"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig": {
      "description": "Configurations for a Chat Engine.",
      "type": "object",
      "properties": {
        "agentCreationConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig",
          "description": "The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation."
        },
        "dialogflowAgentToLink": {
          "description": "The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.",
          "type": "string"
        },
        "allowCrossRegion": {
          "type": "boolean",
          "description": "Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaFieldConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaFieldConfig",
      "description": "Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.",
      "type": "object",
      "properties": {
        "searchableOption": {
          "type": "string",
          "enum": [
            "SEARCHABLE_OPTION_UNSPECIFIED",
            "SEARCHABLE_ENABLED",
            "SEARCHABLE_DISABLED"
          ],
          "description": "If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.",
          "enumDescriptions": [
            "Value used when unset.",
            "Searchable option enabled for a schema field.",
            "Searchable option disabled for a schema field."
          ]
        },
        "keyPropertyType": {
          "readOnly": true,
          "type": "string",
          "description": "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."
        },
        "completableOption": {
          "type": "string",
          "enum": [
            "COMPLETABLE_OPTION_UNSPECIFIED",
            "COMPLETABLE_ENABLED",
            "COMPLETABLE_DISABLED"
          ],
          "enumDescriptions": [
            "Value used when unset.",
            "Completable option enabled for a schema field.",
            "Completable option disabled for a schema field."
          ],
          "description": "If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error."
        },
        "advancedSiteSearchDataSources": {
          "description": "If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.",
          "type": "array",
          "items": {
            "enumDescriptions": [
              "Value used when unset.",
              "Retrieve value from meta tag.",
              "Retrieve value from page map.",
              "Retrieve value from the attributes set by SiteSearchEngineService.SetUriPatternDocumentData API.",
              "Retrieve value from schema.org data."
            ],
            "type": "string",
            "enum": [
              "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED",
              "METATAGS",
              "PAGEMAP",
              "URI_PATTERN_MAPPING",
              "SCHEMA_ORG"
            ]
          }
        },
        "dynamicFacetableOption": {
          "enumDescriptions": [
            "Value used when unset.",
            "Dynamic facetable option enabled for a schema field.",
            "Dynamic facetable option disabled for a schema field."
          ],
          "description": "If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.",
          "type": "string",
          "enum": [
            "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED",
            "DYNAMIC_FACETABLE_ENABLED",
            "DYNAMIC_FACETABLE_DISABLED"
          ]
        },
        "schemaOrgPaths": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "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"
        },
        "searchableFieldImportance": {
          "enumDescriptions": [
            "Value used when unset. Behaves as `DEFAULT_IMPORTANCE` if the field is searchable.",
            "Provides a tiny signal for search.",
            "Indicates the field is used for search, but is less important than the default.",
            "Default importance. Equivalent to previous behavior.",
            "More important than default fields.",
            "Most important field for search."
          ],
          "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).",
          "type": "string",
          "enum": [
            "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED",
            "VERY_LOW_IMPORTANCE",
            "LOW_IMPORTANCE",
            "DEFAULT_IMPORTANCE",
            "HIGH_IMPORTANCE",
            "VERY_HIGH_IMPORTANCE"
          ]
        },
        "prefixMatchableOption": {
          "enumDescriptions": [
            "Value used when unset.",
            "Prefix Matchable option enabled.",
            "Prefix Matchable option disabled."
          ],
          "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.",
          "type": "string",
          "enum": [
            "PREFIX_MATCHABLE_OPTION_UNSPECIFIED",
            "PREFIX_MATCHABLE_OPTION_ENABLED",
            "PREFIX_MATCHABLE_OPTION_DISABLED"
          ]
        },
        "fieldType": {
          "enum": [
            "FIELD_TYPE_UNSPECIFIED",
            "OBJECT",
            "STRING",
            "NUMBER",
            "INTEGER",
            "BOOLEAN",
            "GEOLOCATION",
            "DATETIME"
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. Raw type of the field.",
          "enumDescriptions": [
            "Field type is unspecified.",
            "Field value type is Object.",
            "Field value type is String.",
            "Field value type is Number.",
            "Field value type is Integer.",
            "Field value type is Boolean.",
            "Field value type is Geolocation. Geolocation is expressed as an object with the following keys: * `id`: a string representing the location id * `longitude`: a number representing the longitude coordinate of the location * `latitude`: a number repesenting the latitude coordinate of the location * `address`: a string representing the full address of the location `latitude` and `longitude` must always be provided together. At least one of a) `address` or b) `latitude`-`longitude` pair must be provided.",
            "Field value type is Datetime. Datetime can be expressed as either: * a number representing milliseconds-since-the-epoch * a string representing milliseconds-since-the-epoch. e.g. `\"1420070400001\"` * a string representing the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date or date and time. e.g. `\"2015-01-01\"` or `\"2015-01-01T12:10:30Z\"`"
          ]
        },
        "indexableOption": {
          "enumDescriptions": [
            "Value used when unset.",
            "Indexable option enabled for a schema field.",
            "Indexable option disabled for a schema field."
          ],
          "description": "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.",
          "type": "string",
          "enum": [
            "INDEXABLE_OPTION_UNSPECIFIED",
            "INDEXABLE_ENABLED",
            "INDEXABLE_DISABLED"
          ]
        },
        "retrievableOption": {
          "description": "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.",
          "type": "string",
          "enum": [
            "RETRIEVABLE_OPTION_UNSPECIFIED",
            "RETRIEVABLE_ENABLED",
            "RETRIEVABLE_DISABLED"
          ],
          "enumDescriptions": [
            "Value used when unset.",
            "Retrievable option enabled for a schema field.",
            "Retrievable option disabled for a schema field."
          ]
        },
        "recsFilterableOption": {
          "type": "string",
          "enum": [
            "FILTERABLE_OPTION_UNSPECIFIED",
            "FILTERABLE_ENABLED",
            "FILTERABLE_DISABLED"
          ],
          "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.",
          "enumDescriptions": [
            "Value used when unset.",
            "Filterable option enabled for a schema field.",
            "Filterable option disabled for a schema field."
          ]
        },
        "fieldPath": {
          "description": "Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.",
          "type": "string"
        },
        "partialMatchableOption": {
          "type": "string",
          "enum": [
            "PARTIAL_MATCHABLE_OPTION_UNSPECIFIED",
            "PARTIAL_MATCHABLE_OPTION_ENABLED",
            "PARTIAL_MATCHABLE_OPTION_DISABLED"
          ],
          "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.",
          "enumDescriptions": [
            "Value used when unset.",
            "Partial Matchable option enabled.",
            "Partial Matchable option disabled."
          ]
        },
        "metatagName": {
          "type": "string",
          "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."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig",
      "type": "object",
      "properties": {
        "timeZone": {
          "type": "string",
          "description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris."
        },
        "location": {
          "type": "string",
          "description": "Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default."
        },
        "defaultLanguageCode": {
          "description": "Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.",
          "type": "string"
        },
        "business": {
          "description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.",
          "type": "string"
        }
      },
      "description": "Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation."
    },
    "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult": {
      "id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult",
      "description": "Customer policy enforcement result for the banned phrase policy.",
      "type": "object",
      "properties": {
        "bannedPhrases": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The banned phrases that were found in the query or the answer."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig": {
      "properties": {
        "user": {
          "type": "string",
          "description": "Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user."
        },
        "authMode": {
          "description": "Optional. Auth mode.",
          "enumDescriptions": [
            "",
            "Uses P4SA when VAIS talks to AlloyDB.",
            "Uses EUC when VAIS talks to AlloyDB."
          ],
          "type": "string",
          "enum": [
            "AUTH_MODE_UNSPECIFIED",
            "AUTH_MODE_SERVICE_ACCOUNT",
            "AUTH_MODE_END_USER_ACCOUNT"
          ]
        },
        "instance": {
          "type": "string",
          "description": "Required. The AlloyDB instance to connect to."
        },
        "database": {
          "description": "Required. The AlloyDB database to connect to.",
          "type": "string"
        },
        "password": {
          "type": "string",
          "description": "Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user."
        },
        "enablePsvs": {
          "description": "Optional. If true, enable PSVS for AlloyDB.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig",
      "description": "Configuration for connecting to AlloyDB.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec",
      "type": "object",
      "description": "A specification for configuring a summary returned in a search response.",
      "properties": {
        "includeCitations": {
          "type": "boolean",
          "description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results."
        },
        "ignoreLowRelevantContent": {
          "description": "Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers.",
          "type": "boolean"
        },
        "ignoreJailBreakingQuery": {
          "description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.",
          "type": "boolean"
        },
        "ignoreAdversarialQuery": {
          "type": "boolean",
          "description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead."
        },
        "modelPromptSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec",
          "description": "If specified, the spec will be used to modify the prompt provided to the LLM."
        },
        "multimodalSpec": {
          "description": "Optional. Multimodal specification.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec"
        },
        "languageCode": {
          "description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.",
          "type": "string"
        },
        "summaryResultCount": {
          "type": "integer",
          "description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.",
          "format": "int32"
        },
        "ignoreNonSummarySeekingQuery": {
          "description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.",
          "type": "boolean"
        },
        "useSemanticChunks": {
          "type": "boolean",
          "description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list."
        },
        "modelSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec",
          "description": "If specified, the spec will be used to modify the model specification provided to the LLM."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListCollectionsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListCollectionsResponse",
      "description": "Response message for CollectionService.ListCollections method.",
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as ListCollectionsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "collections": {
          "description": "The Collections.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCollection"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo": {
      "description": "Describes a refresh token.",
      "id": "GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The connection for which this token applies.",
          "type": "string"
        },
        "scopes": {
          "type": "array",
          "description": "The list of scopes for this token.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy": {
      "properties": {
        "bannedPhrases": {
          "description": "Optional. List of banned phrases.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase"
          }
        },
        "modelArmorConfig": {
          "description": "Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses.",
          "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig"
        },
        "dataProtectionPolicy": {
          "description": "Optional. Data protection policy to be used for sanitizing file uploads.",
          "$ref": "GoogleCloudDiscoveryengineV1DataProtectionPolicy"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy",
      "type": "object",
      "description": "Customer-defined policy for the assistant."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint",
      "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).",
      "properties": {
        "attributeValue": {
          "type": "string",
          "description": "Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`."
        },
        "boostAmount": {
          "format": "float",
          "description": "The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.",
          "type": "number"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse": {
      "description": "Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.",
      "id": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse",
      "properties": {
        "dedicatedCrawlRateTimeSeries": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries",
          "description": "The historical dedicated crawl rate timeseries data, used for monitoring."
        },
        "error": {
          "description": "Errors from service when handling the request.",
          "$ref": "GoogleRpcStatus"
        },
        "organicCrawlRateTimeSeries": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries",
          "description": "The historical organic crawl rate timeseries data, used for monitoring."
        },
        "state": {
          "description": "Output only. The state of the response.",
          "readOnly": true,
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED"
          ],
          "enumDescriptions": [
            "The state is unspecified.",
            "The state is successful.",
            "The state is failed."
          ]
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSafetyRating": {
      "type": "object",
      "properties": {
        "blocked": {
          "readOnly": true,
          "description": "Output only. Indicates whether the content was filtered out because of this rating.",
          "type": "boolean"
        },
        "category": {
          "enum": [
            "HARM_CATEGORY_UNSPECIFIED",
            "HARM_CATEGORY_HATE_SPEECH",
            "HARM_CATEGORY_DANGEROUS_CONTENT",
            "HARM_CATEGORY_HARASSMENT",
            "HARM_CATEGORY_SEXUALLY_EXPLICIT",
            "HARM_CATEGORY_CIVIC_INTEGRITY"
          ],
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "The harm category is unspecified.",
            "The harm category is hate speech.",
            "The harm category is dangerous content.",
            "The harm category is harassment.",
            "The harm category is sexually explicit content.",
            "The harm category is civic integrity."
          ],
          "description": "Output only. Harm category."
        },
        "severity": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Harm severity levels in the content.",
          "enumDescriptions": [
            "Harm severity unspecified.",
            "Negligible level of harm severity.",
            "Low level of harm severity.",
            "Medium level of harm severity.",
            "High level of harm severity."
          ],
          "enum": [
            "HARM_SEVERITY_UNSPECIFIED",
            "HARM_SEVERITY_NEGLIGIBLE",
            "HARM_SEVERITY_LOW",
            "HARM_SEVERITY_MEDIUM",
            "HARM_SEVERITY_HIGH"
          ]
        },
        "probability": {
          "type": "string",
          "enumDescriptions": [
            "Harm probability unspecified.",
            "Negligible level of harm.",
            "Low level of harm.",
            "Medium level of harm.",
            "High level of harm."
          ],
          "description": "Output only. Harm probability levels in the content.",
          "enum": [
            "HARM_PROBABILITY_UNSPECIFIED",
            "NEGLIGIBLE",
            "LOW",
            "MEDIUM",
            "HIGH"
          ],
          "readOnly": true
        },
        "severityScore": {
          "readOnly": true,
          "format": "float",
          "description": "Output only. Harm severity score.",
          "type": "number"
        },
        "probabilityScore": {
          "description": "Output only. Harm probability score.",
          "format": "float",
          "readOnly": true,
          "type": "number"
        }
      },
      "description": "Safety rating corresponding to the generated content.",
      "id": "GoogleCloudDiscoveryengineV1alphaSafetyRating"
    },
    "GoogleCloudDiscoveryengineV1ImportErrorConfig": {
      "id": "GoogleCloudDiscoveryengineV1ImportErrorConfig",
      "properties": {
        "gcsPrefix": {
          "description": "Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.",
          "type": "string"
        }
      },
      "description": "Configuration of destination for Import related errors.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata",
      "description": "Metadata related to the progress of the IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource",
      "properties": {
        "bigquerySource": {
          "description": "BigQuery input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigQuerySource"
        },
        "gcsSource": {
          "description": "Cloud Storage location for the input content.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource"
        }
      },
      "type": "object",
      "description": "Data source contains files either in Cloud Storage or BigQuery."
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata": {
      "description": "Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig": {
      "type": "object",
      "properties": {
        "searchConfig": {
          "description": "Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*",
          "type": "string"
        },
        "notebooks": {
          "type": "array",
          "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"
          }
        }
      },
      "description": "Config for connecting to NotebookLM Enterprise.",
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent": {
      "properties": {
        "content": {
          "description": "The content.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContent"
        },
        "citationMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCitationMetadata",
          "description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check"
        },
        "textGroundingMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata",
          "description": "Metadata for grounding based on text sources."
        }
      },
      "description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent"
    },
    "GoogleCloudNotebooklmV1alphaUserContentVideoContent": {
      "id": "GoogleCloudNotebooklmV1alphaUserContentVideoContent",
      "description": "Video content uploaded as source.",
      "properties": {
        "youtubeUrl": {
          "type": "string",
          "description": "The youtube url of the video content."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding": {
      "properties": {
        "thresholdValues": {
          "type": "array",
          "description": "The values of the threshold. The values should be ordered from the most strict to the least strict.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue"
          }
        },
        "description": {
          "description": "Human readable description of the corresponding threshold and sub-requirement.",
          "type": "string"
        },
        "variableId": {
          "type": "string",
          "description": "The variable id to be referenced in `condition`. Must be unique across all `metric_bindings` and `threshold_bindings`."
        }
      },
      "description": "Specifies a multi-level threshold to apply to apply to a `metric_bindings` in the `condition` CEL expression.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding"
    },
    "GoogleCloudDiscoveryengineV1betaControl": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaControl",
      "properties": {
        "filterAction": {
          "description": "Defines a filter-type control Currently not supported by Recommendation",
          "$ref": "GoogleCloudDiscoveryengineV1betaControlFilterAction"
        },
        "displayName": {
          "description": "Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "promoteAction": {
          "description": "Promote certain links based on predefined trigger queries.",
          "$ref": "GoogleCloudDiscoveryengineV1betaControlPromoteAction"
        },
        "boostAction": {
          "$ref": "GoogleCloudDiscoveryengineV1betaControlBoostAction",
          "description": "Defines a boost-type control"
        },
        "redirectAction": {
          "$ref": "GoogleCloudDiscoveryengineV1betaControlRedirectAction",
          "description": "Defines a redirect-type control."
        },
        "synonymsAction": {
          "$ref": "GoogleCloudDiscoveryengineV1betaControlSynonymsAction",
          "description": "Treats a group of terms as synonyms of one another."
        },
        "conditions": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaCondition"
          },
          "description": "Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "array"
        },
        "name": {
          "description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`",
          "type": "string"
        },
        "solutionType": {
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "description": "Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ]
        },
        "useCases": {
          "description": "Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH.",
          "items": {
            "enumDescriptions": [
              "Value used when unset. Will not occur in CSS.",
              "Search use case. Expects the traffic has a non-empty query.",
              "Browse use case. Expects the traffic has an empty query."
            ],
            "type": "string",
            "enum": [
              "SEARCH_USE_CASE_UNSPECIFIED",
              "SEARCH_USE_CASE_SEARCH",
              "SEARCH_USE_CASE_BROWSE"
            ]
          },
          "type": "array"
        },
        "associatedServingConfigIds": {
          "description": "Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`."
    },
    "GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata"
    },
    "GoogleCloudDiscoveryengineV1SessionConfigSessionTtl": {
      "description": "Defines the TTL for sessions.",
      "properties": {
        "days": {
          "description": "Defines the number of days for session TTL.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1SessionConfigSessionTtl",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig": {
      "properties": {
        "instanceName": {
          "type": "string",
          "description": "Optional. The instance name identifying the 3P app, e.g., \"-my\". This is different from the instance_uri which is the full URL of the 3P app e.g., \"https://-my.sharepoint.com\"."
        },
        "appName": {
          "description": "Optional. The type of the application. E.g., \"jira\", \"box\", etc.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Stores information for third party applicationOAuth.",
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig"
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec",
      "properties": {
        "maxExtractiveAnswerCount": {
          "type": "integer",
          "description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult.",
          "format": "int32"
        },
        "maxExtractiveSegmentCount": {
          "type": "integer",
          "format": "int32",
          "description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`."
        },
        "numNextSegments": {
          "type": "integer",
          "format": "int32",
          "description": "Return at most `num_next_segments` segments after each selected segments."
        },
        "returnExtractiveSegmentScore": {
          "description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.",
          "type": "boolean"
        },
        "numPreviousSegments": {
          "type": "integer",
          "description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.",
          "format": "int32"
        }
      },
      "description": "A specification for configuring the extractive content in a search response."
    },
    "GoogleCloudDiscoveryengineV1DynamicTool": {
      "id": "GoogleCloudDiscoveryengineV1DynamicTool",
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "Optional. The display name of the tool."
        },
        "description": {
          "description": "Optional. The description of the tool.",
          "type": "string"
        },
        "readonly": {
          "type": "boolean",
          "description": "Optional. Indicates whether the tool is read-only and does not perform write operations."
        },
        "enabled": {
          "description": "Optional. Whether the tool is enabled.",
          "type": "boolean"
        },
        "name": {
          "description": "Required. The name of the tool.",
          "type": "string"
        }
      },
      "description": "Configuration for dynamic tools."
    },
    "GoogleCloudDiscoveryengineV1ControlBoostAction": {
      "id": "GoogleCloudDiscoveryengineV1ControlBoostAction",
      "properties": {
        "boost": {
          "format": "float",
          "description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).",
          "type": "number",
          "deprecated": true
        },
        "dataStore": {
          "description": "Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store",
          "type": "string"
        },
        "filter": {
          "description": "Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "interpolationBoostSpec": {
          "description": "Optional. Complex specification for custom ranking based on customer defined attribute value.",
          "$ref": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec"
        },
        "fixedBoost": {
          "description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).",
          "type": "number",
          "format": "float"
        }
      },
      "description": "Adjusts order of products in returned list.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec": {
      "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS",
      "properties": {
        "numPreviousChunks": {
          "type": "integer",
          "format": "int32",
          "description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned."
        },
        "numNextChunks": {
          "type": "integer",
          "format": "int32",
          "description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse",
      "properties": {
        "cannedQueries": {
          "description": "The list of CannedQuerys matching the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCannedQuery"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as ListCannedQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "type": "object",
      "description": "Response message for the CannedQueryService.ListCannedQueries method."
    },
    "GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata": {
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaSpannerSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaSpannerSource",
      "description": "The Spanner source for importing data",
      "properties": {
        "instanceId": {
          "type": "string",
          "description": "Required. The instance ID of the source Spanner table."
        },
        "enableDataBoost": {
          "description": "Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).",
          "type": "boolean"
        },
        "projectId": {
          "description": "The project ID that contains the Spanner source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
          "type": "string"
        },
        "databaseId": {
          "type": "string",
          "description": "Required. The database ID of the source Spanner table."
        },
        "tableId": {
          "description": "Required. The table name of the Spanner database that needs to be imported.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy": {
      "type": "object",
      "description": "Contains the data protection policy config for a DataStore or a connector.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy",
      "properties": {
        "sensitiveDataProtectionPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy",
          "description": "Optional. Specifies the sensitive data protection policy for the connector source."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata": {
      "type": "object",
      "description": "Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "failureCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of entries that encountered errors while processing."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        },
        "totalCount": {
          "format": "int64",
          "type": "string",
          "description": "Total count of entries that were processed."
        },
        "successCount": {
          "description": "Count of entries that were processed successfully.",
          "format": "int64",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig": {
      "description": "Configuration for Natural Language Query Understanding.",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ],
          "enumDescriptions": [
            "Default value.",
            "Natural Language Query Understanding is disabled.",
            "Natural Language Query Understanding is enabled."
          ],
          "description": "Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig": {
      "type": "object",
      "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.",
      "properties": {
        "contactDetails": {
          "description": "Optional. The contact details for each alert policy.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaContactDetails"
          }
        },
        "alertEnrollments": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment"
          },
          "type": "array",
          "description": "Optional. The enrollment state of each alert."
        },
        "alertPolicy": {
          "type": "string",
          "description": "Immutable. The fully qualified resource name of the AlertPolicy."
        },
        "languageCode": {
          "description": "Optional. The language code used for notifications",
          "type": "string"
        },
        "regionCode": {
          "type": "string",
          "description": "Optional. The region code used of the user that subscribed to the alert policy."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource": {
      "properties": {
        "userLicenses": {
          "description": "Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense"
          },
          "type": "array"
        },
        "updateMask": {
          "description": "Optional. The list of fields to update.",
          "format": "google-fieldmask",
          "type": "string"
        }
      },
      "description": "The inline source for the input config for BatchUpdateUserLicenses method.",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig": {
      "description": "A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.",
      "properties": {
        "parsingConfigOverrides": {
          "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig"
          }
        },
        "chunkingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig",
          "description": "Whether chunking mode is enabled."
        },
        "name": {
          "type": "string",
          "description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`."
        },
        "defaultParsingConfig": {
          "description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ProjectServiceTerms": {
      "properties": {
        "version": {
          "description": "The version string of the terms of service. For acceptable values, see the comments for id above.",
          "type": "string"
        },
        "state": {
          "description": "Whether the project has accepted/rejected the service terms or it is still pending.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "TERMS_ACCEPTED",
            "TERMS_PENDING",
            "TERMS_DECLINED"
          ],
          "enumDescriptions": [
            "The default value of the enum. This value is not actually used.",
            "The project has given consent to the terms of service.",
            "The project is pending to review and accept the terms of service.",
            "The project has declined or revoked the agreement to terms of service."
          ]
        },
        "declineTime": {
          "format": "google-datetime",
          "description": "The last time when the project declined or revoked the agreement to terms of service.",
          "type": "string"
        },
        "acceptTime": {
          "description": "The last time when the project agreed to the terms of service.",
          "type": "string",
          "format": "google-datetime"
        },
        "id": {
          "type": "string",
          "description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ProjectServiceTerms",
      "type": "object",
      "description": "Metadata about the terms of service."
    },
    "GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest": {
      "description": "Request for DataConnectorService.SetUpDataConnector method.",
      "properties": {
        "collectionId": {
          "description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "string"
        },
        "collectionDisplayName": {
          "description": "Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.",
          "type": "string"
        },
        "dataConnector": {
          "description": "Required. The DataConnector to initialize in the newly created Collection.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec": {
      "type": "object",
      "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.",
      "id": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec",
      "properties": {
        "fieldName": {
          "description": "Optional. The name of the field whose value will be used to determine the boost amount.",
          "type": "string"
        },
        "attributeType": {
          "enumDescriptions": [
            "Unspecified AttributeType.",
            "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.",
            "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`."
          ],
          "description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).",
          "type": "string",
          "enum": [
            "ATTRIBUTE_TYPE_UNSPECIFIED",
            "NUMERICAL",
            "FRESHNESS"
          ]
        },
        "controlPoints": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint"
          },
          "type": "array",
          "description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here."
        },
        "interpolationType": {
          "type": "string",
          "enum": [
            "INTERPOLATION_TYPE_UNSPECIFIED",
            "LINEAR"
          ],
          "description": "Optional. The interpolation type to be applied to connect the control points listed below.",
          "enumDescriptions": [
            "Interpolation type is unspecified. In this case, it defaults to Linear.",
            "Piecewise linear interpolation will be applied."
          ]
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata",
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleLongrunningCancelOperationRequest": {
      "id": "GoogleLongrunningCancelOperationRequest",
      "type": "object",
      "properties": {},
      "description": "The request message for Operations.CancelOperation."
    },
    "GoogleCloudDiscoveryengineV1betaUserLicense": {
      "properties": {
        "licenseAssignmentState": {
          "enum": [
            "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED",
            "ASSIGNED",
            "UNASSIGNED",
            "NO_LICENSE",
            "NO_LICENSE_ATTEMPTED_LOGIN",
            "BLOCKED"
          ],
          "enumDescriptions": [
            "Default value.",
            "License assigned to the user.",
            "No license assigned to the user. Deprecated, translated to NO_LICENSE.",
            "No license assigned to the user.",
            "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).",
            "User is blocked from assigning a license."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;"
        },
        "userPrincipal": {
          "type": "string",
          "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal."
        },
        "createTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. User created timestamp.",
          "format": "google-datetime"
        },
        "lastLoginTime": {
          "type": "string",
          "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "userProfile": {
          "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. User update timestamp.",
          "readOnly": true
        },
        "licenseConfig": {
          "type": "string",
          "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user."
        }
      },
      "description": "User License information assigned by the admin.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaUserLicense"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec",
      "description": "SearchAddonSpec is used to disable add-ons for search as per new repricing model. By default if the SearchAddonSpec is not specified, we consider that the customer wants to enable them wherever applicable.",
      "properties": {
        "disableKpiPersonalizationAddOn": {
          "description": "Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.",
          "type": "boolean"
        },
        "disableGenerativeAnswerAddOn": {
          "type": "boolean",
          "description": "Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers."
        },
        "disableSemanticAddOn": {
          "description": "Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerCitation": {
      "description": "Citation info for a segment.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerCitation",
      "properties": {
        "startIndex": {
          "format": "int64",
          "description": "Index indicates the start of the segment, measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.",
          "type": "string"
        },
        "endIndex": {
          "format": "int64",
          "description": "End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.",
          "type": "string"
        },
        "sources": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource"
          },
          "description": "Citation sources for the attributed segment.",
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig",
      "properties": {
        "workforcePoolName": {
          "type": "string",
          "description": "Workforce pool name. Example: \"locations/global/workforcePools/pool_id\""
        }
      },
      "description": "Third party IDP Config."
    },
    "GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition",
      "description": "Stored definition of an agent that uses a Dialogflow agent.",
      "properties": {
        "dialogflowAgent": {
          "type": "string",
          "description": "Required. Resource name of the underlying Dialogflow Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse": {
      "description": "Response for AudioOverviewService.CreateAudioOverview method.",
      "id": "GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse",
      "properties": {
        "audioOverview": {
          "$ref": "GoogleCloudNotebooklmV1alphaAudioOverview",
          "description": "The generated audio overview."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec",
      "description": "Specification of actions for the request.",
      "properties": {
        "actionDisabled": {
          "description": "Optional. If true, actions will not be served for the request. This only works for enterprise edition.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding": {
      "description": "Specifies a metrics query and bind its result to a variable which will be used in the `condition`.",
      "type": "object",
      "properties": {
        "description": {
          "description": "Human readable description of the corresponding metric filter.",
          "type": "string"
        },
        "resourceType": {
          "description": "The resource being monitored for the metric.",
          "type": "string"
        },
        "category": {
          "description": "The category of the metric's target resource. Example: \"Events\"",
          "type": "string"
        },
        "metricFilter": {
          "description": "The filter string used for metrics query. Example: \"metric.type = \\\"discoveryengine.googleapis.com/events/day_count\\\" AND \" \"metric.conditions.time_range = \\\"NINETY_DAYS\\\"\"",
          "type": "string"
        },
        "variableId": {
          "type": "string",
          "description": "The variable id to be referenced in `condition`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding"
    },
    "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine": {
      "description": "SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.",
      "type": "object",
      "properties": {
        "name": {
          "description": "The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine`",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine"
    },
    "GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata": {
      "type": "object",
      "properties": {
        "totalCount": {
          "description": "The total number of IdentityMappingEntries that were processed.",
          "type": "string",
          "format": "int64"
        },
        "failureCount": {
          "format": "int64",
          "description": "The number of IdentityMappingEntries that failed to be processed.",
          "type": "string"
        },
        "successCount": {
          "description": "The number of IdentityMappingEntries that were successfully processed.",
          "format": "int64",
          "type": "string"
        }
      },
      "description": "IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings",
      "id": "GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaControlSynonymsAction": {
      "properties": {
        "synonyms": {
          "description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaControlSynonymsAction",
      "description": "Creates a set of terms that will act as synonyms of one another. Example: \"happy\" will also be considered as \"glad\", \"glad\" will also be considered as \"happy\".",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore": {
      "type": "object",
      "description": "Stores information regarding the serving configurations at DataStore level.",
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore",
      "properties": {
        "disabledForServing": {
          "type": "boolean",
          "description": "Optional. If set true, the DataStore will not be available for serving search requests."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest": {
      "properties": {
        "inlineSource": {
          "description": "The inline source to import identity mapping entries from.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource"
        }
      },
      "type": "object",
      "description": "Request message for IdentityMappingStoreService.ImportIdentityMappings",
      "id": "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext": {
      "description": "Document context.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext",
      "properties": {
        "pageIdentifier": {
          "description": "Page identifier.",
          "type": "string"
        },
        "content": {
          "description": "Document content to be used for answer generation.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField",
      "properties": {
        "displayTemplate": {
          "description": "The template to customize how the field is displayed. An example value would be a string that looks like: \"Price: {value}\".",
          "type": "string"
        },
        "field": {
          "description": "Required. Registered field name. The format is `field.abc`.",
          "type": "string"
        },
        "deviceVisibility": {
          "description": "The field visibility on different types of devices.",
          "items": {
            "enumDescriptions": [
              "Default value when not specified. Server returns INVALID_ARGUMENT if used in requests.",
              "The UI component is visible on Mobile devices.",
              "The UI component is visible on Browser-based client."
            ],
            "type": "string",
            "enum": [
              "DEVICE_VISIBILITY_UNSPECIFIED",
              "MOBILE",
              "DESKTOP"
            ]
          },
          "type": "array"
        }
      },
      "description": "Facet field that maps to a UI Component.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores": {
      "properties": {
        "scores": {
          "description": "Required. List of evaluation scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores",
      "description": "Contains the evaluation scores for the target metrics to optimize.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest": {
      "description": "Request for ProjectService.ProvisionProject method.",
      "properties": {
        "acceptDataUseTerms": {
          "description": "Required. Set to `true` to specify that caller has read and would like to give consent to the [Terms for data use](https://cloud.google.com/retail/data-use-terms).",
          "type": "boolean"
        },
        "provisionIntent": {
          "enumDescriptions": [
            "Unspecified.",
            "The caller is provisioning for the new Gemini Enterprise experience.",
            "The caller is provisioning for the classic Gemini Enterprise experience."
          ],
          "description": "Optional. The caller states whether the provisioning is for the new or the classic Gemini Enterprise experience.",
          "type": "string",
          "enum": [
            "PROVISION_INTENT_UNSPECIFIED",
            "PROVISION_INTENT_SOBI",
            "PROVISION_INTENT_LEGACY"
          ]
        },
        "dataUseTermsVersion": {
          "description": "Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time.",
          "type": "string"
        },
        "idpConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfig",
          "description": "Optional. The identity provider for this location. When provided, the location's AclConfig is set from it as part of provisioning."
        },
        "saasParams": {
          "description": "Optional. Parameters for Agentspace.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSchema": {
      "id": "GoogleCloudDiscoveryengineV1alphaSchema",
      "description": "Defines the structure and layout of a type of document data.",
      "properties": {
        "fieldConfigs": {
          "description": "Output only. Configurations for fields of the schema.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaFieldConfig"
          },
          "type": "array",
          "readOnly": true
        },
        "jsonSchema": {
          "description": "The JSON representation of the schema.",
          "type": "string"
        },
        "structSchema": {
          "type": "object",
          "description": "The structured representation of the schema.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "name": {
          "type": "string",
          "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata",
      "description": "Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1Collection": {
      "id": "GoogleCloudDiscoveryengineV1Collection",
      "properties": {
        "displayName": {
          "description": "Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "name": {
          "description": "Immutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "createTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. Timestamp the Collection was created at.",
          "type": "string"
        }
      },
      "description": "Collection is a container for configuring resources and access to a set of DataStores.",
      "type": "object"
    },
    "GoogleIamV1Policy": {
      "type": "object",
      "description": "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 \u003c 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 \u003c 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/).",
      "properties": {
        "version": {
          "description": "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).",
          "type": "integer",
          "format": "int32"
        },
        "bindings": {
          "items": {
            "$ref": "GoogleIamV1Binding"
          },
          "type": "array",
          "description": "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`."
        },
        "etag": {
          "format": "byte",
          "description": "`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.",
          "type": "string"
        }
      },
      "id": "GoogleIamV1Policy"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent",
      "description": "Chunk content.",
      "properties": {
        "blobAttachmentIndexes": {
          "description": "Output only. Stores indexes of blobattachments linked to this chunk.",
          "readOnly": true,
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          }
        },
        "content": {
          "description": "Chunk textual content.",
          "type": "string"
        },
        "pageIdentifier": {
          "description": "Page identifier.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaQuery": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaQuery",
      "description": "Defines a user inputed query.",
      "properties": {
        "parts": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaQueryPart"
          },
          "description": "Query content parts."
        },
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. The time at which the server accepted this query."
        },
        "queryId": {
          "description": "Output only. Unique Id for the query.",
          "readOnly": true,
          "type": "string"
        },
        "text": {
          "type": "string",
          "description": "Plain text."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListDataStoresResponse": {
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as ListDataStoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "dataStores": {
          "description": "All the customer's DataStores.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore"
          },
          "type": "array"
        }
      },
      "description": "Response message for DataStoreService.ListDataStores method.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaListDataStoresResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaDynamicTool": {
      "description": "Configuration for dynamic tools.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDynamicTool",
      "properties": {
        "name": {
          "description": "Required. The name of the tool.",
          "type": "string"
        },
        "readonly": {
          "description": "Optional. Indicates whether the tool is read-only and does not perform write operations.",
          "type": "boolean"
        },
        "enabled": {
          "description": "Optional. Whether the tool is enabled.",
          "type": "boolean"
        },
        "description": {
          "type": "string",
          "description": "Optional. The description of the tool."
        },
        "displayName": {
          "description": "Optional. The display name of the tool.",
          "type": "string"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaSource": {
      "description": "Source represents a single source of content.",
      "properties": {
        "sourceId": {
          "description": "Optional. Output only. Source id, which is the last segment of the source's resource name.",
          "readOnly": true,
          "$ref": "GoogleCloudNotebooklmV1alphaSourceId"
        },
        "settings": {
          "description": "Output only. Status of the source, and any failure reasons.",
          "$ref": "GoogleCloudNotebooklmV1alphaSourceSettings",
          "readOnly": true
        },
        "title": {
          "type": "string",
          "description": "Optional. Title of the source."
        },
        "name": {
          "description": "Identifier. The full resource name of the source. Format: `projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "metadata": {
          "$ref": "GoogleCloudNotebooklmV1alphaSourceMetadata",
          "readOnly": true,
          "description": "Output only. Metadata about the source."
        }
      },
      "id": "GoogleCloudNotebooklmV1alphaSource",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy": {
      "id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy",
      "type": "object",
      "description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.",
      "properties": {
        "policy": {
          "type": "string",
          "description": "Optional. The Sensitive Data Protection policy resource name."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse": {
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        },
        "userLicenses": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense"
          },
          "type": "array",
          "description": "All the customer's UserLicenses."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse",
      "description": "Response message for UserLicenseService.ListUserLicenses."
    },
    "GoogleCloudDiscoveryengineV1UpdateSchemaMetadata": {
      "properties": {
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata for UpdateSchema LRO.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1UpdateSchemaMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchInfo": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchInfo",
      "type": "object",
      "description": "Detailed search information.",
      "properties": {
        "orderBy": {
          "type": "string",
          "description": "The order in which products are returned, if applicable. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned."
        },
        "offset": {
          "format": "int32",
          "description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an `INVALID_ARGUMENT` is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "integer"
        },
        "searchQuery": {
          "description": "Optional. The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse": {
      "type": "object",
      "description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method.",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse",
      "properties": {
        "purgeCount": {
          "format": "int64",
          "description": "Number of suggestion deny list entries purged.",
          "type": "string"
        },
        "errorSamples": {
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the request."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata": {
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "successCount": {
          "type": "string",
          "description": "Count of entries that were deleted successfully.",
          "format": "int64"
        },
        "failureCount": {
          "type": "string",
          "description": "Count of entries that encountered errors while processing.",
          "format": "int64"
        },
        "ignoredCount": {
          "description": "Count of entries that were ignored as entries were not found.",
          "format": "int64",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata",
      "description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaTuneEngineRequest": {
      "description": "Request to manually start a tuning process now (instead of waiting for the periodically scheduled tuning to happen).",
      "id": "GoogleCloudDiscoveryengineV1alphaTuneEngineRequest",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec",
      "description": "Answer generation specification.",
      "properties": {
        "includeCitations": {
          "type": "boolean",
          "description": "Specifies whether to include citation metadata in the answer. The default value is `false`."
        },
        "ignoreNonAnswerSeekingQuery": {
          "type": "boolean",
          "description": "Specifies whether to filter out queries that are not answer-seeking. The default value is `false`. Google employs search-query classification to detect answer-seeking queries. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to `true`, we skip generating answers for non-answer seeking queries and return fallback messages instead."
        },
        "modelSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec",
          "description": "Answer generation model specification."
        },
        "ignoreLowRelevantContent": {
          "description": "Specifies whether to filter out queries that have low relevance. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true` or unset, the behavior will be determined automatically by the service.",
          "type": "boolean"
        },
        "answerLanguageCode": {
          "type": "string",
          "description": "Language code for Answer. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature."
        },
        "multimodalSpec": {
          "description": "Optional. Multimodal specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec"
        },
        "ignoreJailBreakingQuery": {
          "description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.",
          "type": "boolean"
        },
        "promptSpec": {
          "description": "Answer generation prompt specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec"
        },
        "ignoreAdversarialQuery": {
          "type": "boolean",
          "description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No answer is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating answers for adversarial queries and return fallback messages instead."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse": {
      "properties": {
        "relatedQuestions": {
          "type": "array",
          "description": "Suggested related questions.",
          "items": {
            "type": "string"
          }
        },
        "conversation": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaConversation",
          "description": "Updated conversation including the answer."
        },
        "reply": {
          "description": "Answer to the current query.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaReply"
        },
        "searchResults": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult"
          },
          "description": "Search Results."
        }
      },
      "type": "object",
      "description": "Response message for ConversationalSearchService.ConverseConversation method.",
      "id": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig",
      "properties": {
        "gcsPrefix": {
          "description": "Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.",
          "type": "string"
        }
      },
      "description": "Configuration of destination for Purge related errors."
    },
    "GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata",
      "properties": {
        "dialogflowAgent": {
          "type": "string",
          "description": "The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`."
        }
      },
      "type": "object",
      "description": "Additional information of a Chat Engine. Fields in this message are output only."
    },
    "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig",
      "description": "Configurations for a Chat Engine.",
      "properties": {
        "dialogflowAgentToLink": {
          "description": "The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.",
          "type": "string"
        },
        "agentCreationConfig": {
          "description": "The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig"
        },
        "allowCrossRegion": {
          "description": "Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAclConfig": {
      "properties": {
        "name": {
          "description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        },
        "idpConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfig",
          "description": "Identity provider config."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAclConfig",
      "description": "Access Control Configuration.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams": {
      "description": "Configuration parameters for the Custom Ranking feature.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams",
      "properties": {
        "expressionsToPrecompute": {
          "description": "Optional. A list of ranking expressions (see `ranking_expression` for the syntax documentation) to evaluate. The evaluation results will be returned in `SearchResponse.SearchResult.rank_signals.precomputed_expression_values` field.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata": {
      "properties": {
        "tuningOperation": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty."
        },
        "lastTrainTime": {
          "type": "string",
          "description": "Output only. The timestamp when the latest successful training finished. Only applicable on Media Recommendation engines.",
          "format": "google-datetime",
          "readOnly": true
        },
        "dataState": {
          "description": "Output only. The state of data requirements for this engine: `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training.",
          "readOnly": true,
          "enumDescriptions": [
            "Unspecified default value, should never be explicitly set.",
            "The engine has sufficient training data.",
            "The engine does not have sufficient training data. Error messages can be queried via Stackdriver."
          ],
          "type": "string",
          "enum": [
            "DATA_STATE_UNSPECIFIED",
            "DATA_OK",
            "DATA_ERROR"
          ]
        },
        "lastTuneTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines.",
          "readOnly": true
        },
        "servingState": {
          "type": "string",
          "enumDescriptions": [
            "Unspecified serving state.",
            "The engine is not serving.",
            "The engine is serving and can be queried.",
            "The engine is trained on tuned hyperparameters and can be queried."
          ],
          "description": "Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`.",
          "enum": [
            "SERVING_STATE_UNSPECIFIED",
            "INACTIVE",
            "ACTIVE",
            "TUNED"
          ],
          "readOnly": true
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata",
      "description": "Additional information of a recommendation engine.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata": {
      "type": "object",
      "description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        },
        "failureCount": {
          "format": "int64",
          "description": "Count of user licenses that failed to be updated.",
          "type": "string"
        },
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "successCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of user licenses successfully updated."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerReference": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerReference",
      "properties": {
        "chunkInfo": {
          "description": "Chunk information.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo"
        },
        "structuredDocumentInfo": {
          "description": "Structured document information.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo"
        },
        "unstructuredDocumentInfo": {
          "description": "Unstructured document information.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo"
        }
      },
      "type": "object",
      "description": "Reference."
    },
    "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig": {
      "description": "Configuration for connecting to AlloyDB.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig",
      "properties": {
        "enablePsvs": {
          "type": "boolean",
          "description": "Optional. If true, enable PSVS for AlloyDB."
        },
        "authMode": {
          "description": "Optional. Auth mode.",
          "type": "string",
          "enum": [
            "AUTH_MODE_UNSPECIFIED",
            "AUTH_MODE_SERVICE_ACCOUNT",
            "AUTH_MODE_END_USER_ACCOUNT"
          ],
          "enumDescriptions": [
            "",
            "Uses P4SA when VAIS talks to AlloyDB.",
            "Uses EUC when VAIS talks to AlloyDB."
          ]
        },
        "password": {
          "type": "string",
          "description": "Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user."
        },
        "user": {
          "description": "Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.",
          "type": "string"
        },
        "instance": {
          "type": "string",
          "description": "Required. The AlloyDB instance to connect to."
        },
        "database": {
          "type": "string",
          "description": "Required. The AlloyDB database to connect to."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec": {
      "properties": {
        "referenceOnly": {
          "deprecated": true,
          "type": "boolean",
          "description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet."
        },
        "returnSnippet": {
          "description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned.",
          "type": "boolean"
        },
        "maxSnippetCount": {
          "deprecated": true,
          "type": "integer",
          "description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count \u003e 0.",
          "format": "int32"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec",
      "description": "A specification for configuring snippets in a search response.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineLoggingErrorContext": {
      "type": "object",
      "properties": {
        "httpRequest": {
          "$ref": "GoogleCloudDiscoveryengineLoggingHttpRequestContext",
          "description": "The HTTP request which was processed when the error was triggered."
        },
        "reportLocation": {
          "$ref": "GoogleCloudDiscoveryengineLoggingSourceLocation",
          "description": "The location in the source code where the decision was made to report the error, usually the place where it was logged."
        }
      },
      "id": "GoogleCloudDiscoveryengineLoggingErrorContext",
      "description": "A description of the context in which an error occurred."
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec": {
      "description": "Specification of the image generation tool.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": {
      "type": "object",
      "properties": {
        "includeAncestorHeadings": {
          "type": "boolean",
          "description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False."
        },
        "chunkSize": {
          "format": "int32",
          "description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.",
          "type": "integer"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig",
      "description": "Configuration for the layout based chunking."
    },
    "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig": {
      "properties": {
        "nlConfigId": {
          "description": "Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig",
      "description": "Configuration for AlloyDB AI Natural Language.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1ActionConfigScopeList": {
      "description": "Stores a list of scopes.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1ActionConfigScopeList",
      "properties": {
        "scopes": {
          "description": "Optional. The list of scopes.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonIngestionError": {
      "description": "Indicates an error occurred while ingesting the source.",
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonIngestionError",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo",
      "description": "Snippet information.",
      "properties": {
        "snippetStatus": {
          "description": "Status of the snippet defined by the search team.",
          "type": "string"
        },
        "snippet": {
          "description": "Snippet content.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse": {
      "type": "object",
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as ListEvaluationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "evaluations": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation"
          },
          "type": "array",
          "description": "The Evaluations."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse",
      "description": "Response message for EvaluationService.ListEvaluations method."
    },
    "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig": {
      "type": "object",
      "properties": {
        "dataStoreAccessControlEnabled": {
          "description": "Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig",
      "description": "Controls resource-level access control for Gemini Enterprise users."
    },
    "GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference": {
      "id": "GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference",
      "description": "Reference to an Agent Gateway resource.",
      "properties": {
        "name": {
          "description": "Required. Immutable. The resource name of the agent gateway. Expected format: `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec",
      "properties": {
        "modelVersion": {
          "type": "string",
          "description": "Model version. If not set, it will use the default stable model. Allowed values are: stable, preview."
        }
      },
      "type": "object",
      "description": "Answer Generation Model specification."
    },
    "GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswer": {
      "description": "Defines an answer.",
      "properties": {
        "references": {
          "description": "References.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReference"
          }
        },
        "name": {
          "type": "string",
          "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*`"
        },
        "queryUnderstandingInfo": {
          "description": "Query understanding information.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo"
        },
        "citations": {
          "description": "Citations.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerCitation"
          }
        },
        "groundingSupports": {
          "description": "Optional. Grounding supports.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport"
          }
        },
        "groundingScore": {
          "format": "double",
          "description": "A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.",
          "type": "number"
        },
        "blobAttachments": {
          "description": "Output only. List of blob attachments in the answer.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment"
          },
          "readOnly": true
        },
        "relatedQuestions": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Suggested related questions."
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. Answer creation timestamp."
        },
        "answerText": {
          "description": "The textual answer.",
          "type": "string"
        },
        "safetyRatings": {
          "description": "Optional. Safety ratings.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSafetyRating"
          }
        },
        "state": {
          "enumDescriptions": [
            "Unknown.",
            "Answer generation is currently in progress.",
            "Answer generation currently failed.",
            "Answer generation has succeeded.",
            "Answer generation is currently in progress."
          ],
          "description": "The state of the answer generation.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "IN_PROGRESS",
            "FAILED",
            "SUCCEEDED",
            "STREAMING"
          ]
        },
        "completeTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Answer completed timestamp.",
          "format": "google-datetime"
        },
        "steps": {
          "type": "array",
          "description": "Answer generation steps.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStep"
          }
        },
        "answerSkippedReasons": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ANSWER_SKIPPED_REASON_UNSPECIFIED",
              "ADVERSARIAL_QUERY_IGNORED",
              "NON_ANSWER_SEEKING_QUERY_IGNORED",
              "OUT_OF_DOMAIN_QUERY_IGNORED",
              "POTENTIAL_POLICY_VIOLATION",
              "NO_RELEVANT_CONTENT",
              "JAIL_BREAKING_QUERY_IGNORED",
              "CUSTOMER_POLICY_VIOLATION",
              "NON_ANSWER_SEEKING_QUERY_IGNORED_V2",
              "LOW_GROUNDED_ANSWER",
              "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED",
              "UNHELPFUL_ANSWER"
            ],
            "enumDescriptions": [
              "Default value. The answer skipped reason is not specified.",
              "The adversarial query ignored case.",
              "The non-answer seeking query ignored case Google skips the answer if the query is chit chat.",
              "The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.",
              "The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.",
              "The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.",
              "The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
              "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
              "The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.",
              "The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.",
              "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.",
              "The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted."
            ]
          },
          "description": "Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAnswer",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest": {
      "description": "Request for DataStoreService.DeletePatientFilters method.",
      "id": "GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest",
      "properties": {
        "dataStore": {
          "type": "string",
          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest",
      "description": "Request for DataStoreService.RemovePatientFilter method.",
      "type": "object",
      "properties": {
        "dataStore": {
          "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned",
          "type": "string"
        },
        "filterGroups": {
          "description": "Required. Names of the Group resources to use as a basis for the list of patients to remove from the patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the list of IDs to remove will be constructed from the direct members of the group which are Patient resources.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec",
      "type": "object",
      "properties": {
        "interpolationType": {
          "type": "string",
          "enum": [
            "INTERPOLATION_TYPE_UNSPECIFIED",
            "LINEAR"
          ],
          "enumDescriptions": [
            "Interpolation type is unspecified. In this case, it defaults to Linear.",
            "Piecewise linear interpolation will be applied."
          ],
          "description": "The interpolation type to be applied to connect the control points listed below."
        },
        "fieldName": {
          "description": "The name of the field whose value will be used to determine the boost amount.",
          "type": "string"
        },
        "attributeType": {
          "type": "string",
          "enum": [
            "ATTRIBUTE_TYPE_UNSPECIFIED",
            "NUMERICAL",
            "FRESHNESS"
          ],
          "enumDescriptions": [
            "Unspecified AttributeType.",
            "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.",
            "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`."
          ],
          "description": "The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value)."
        },
        "controlPoints": {
          "description": "The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint"
          },
          "type": "array"
        }
      },
      "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above."
    },
    "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse": {
      "type": "object",
      "properties": {
        "sitemapsMetadata": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata"
          },
          "type": "array",
          "description": "List of Sitemaps fetched."
        }
      },
      "description": "Response message for SiteSearchEngineService.FetchSitemaps method.",
      "id": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse"
    },
    "GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata": {
      "id": "GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata",
      "description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Operation last update time. If the operation is done, this is also the finish time.",
          "readOnly": true
        },
        "successCount": {
          "description": "Count of entries that were processed successfully.",
          "format": "int64",
          "type": "string"
        },
        "failureCount": {
          "format": "int64",
          "description": "Count of entries that encountered errors while processing.",
          "type": "string"
        },
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentContent": {
      "type": "object",
      "description": "Unstructured data linked to this document.",
      "properties": {
        "rawBytes": {
          "format": "byte",
          "description": "The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, `abc123!?$*&()'-=@~` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json.",
          "type": "string"
        },
        "uri": {
          "description": "The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 200 MB for other formats.",
          "type": "string"
        },
        "mimeType": {
          "description": "The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) * `application/xml` or `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are supported only if layout parser is enabled in the data store: * `image/bmp` (BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.xhtml.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentContent"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings": {
      "description": "Evolution settings for the experiment.",
      "properties": {
        "parentSamplingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig",
          "description": "Optional. Parent sampling configuration."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings"
    },
    "GoogleCloudDiscoveryengineV1betaSiteVerificationInfo": {
      "properties": {
        "verifyTime": {
          "description": "Latest site verification time.",
          "format": "google-datetime",
          "type": "string"
        },
        "siteVerificationState": {
          "enumDescriptions": [
            "Defaults to VERIFIED.",
            "Site ownership verified.",
            "Site ownership pending verification or verification failed.",
            "Site exempt from verification, e.g., a public website that opens to all."
          ],
          "description": "Site verification state indicating the ownership and validity.",
          "type": "string",
          "enum": [
            "SITE_VERIFICATION_STATE_UNSPECIFIED",
            "VERIFIED",
            "UNVERIFIED",
            "EXEMPTED"
          ]
        }
      },
      "type": "object",
      "description": "Verification information for target sites in advanced site search.",
      "id": "GoogleCloudDiscoveryengineV1betaSiteVerificationInfo"
    },
    "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse",
      "type": "object",
      "properties": {
        "failureSamples": {
          "description": "Details for a sample of up to 10 `failed_uris`.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo"
          }
        },
        "failedUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "URIs that were not crawled before the LRO terminated."
        }
      },
      "description": "Response message for SiteSearchEngineService.RecrawlUris method."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo": {
      "description": "Chunk information.",
      "properties": {
        "content": {
          "description": "Chunk textual content.",
          "type": "string"
        },
        "relevanceScore": {
          "format": "float",
          "type": "number",
          "description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation."
        },
        "chunk": {
          "description": "Chunk resource name.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo"
    },
    "GoogleCloudDiscoveryengineV1betaIdpConfig": {
      "properties": {
        "externalIdpConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig",
          "description": "External Identity provider config."
        },
        "idpType": {
          "description": "Identity provider type configured.",
          "type": "string",
          "enum": [
            "IDP_TYPE_UNSPECIFIED",
            "GSUITE",
            "THIRD_PARTY"
          ],
          "enumDescriptions": [
            "Default value. ACL search not enabled.",
            "Google 1P provider.",
            "Third party provider."
          ]
        }
      },
      "description": "Identity Provider Config.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaIdpConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest",
      "type": "object",
      "properties": {
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
          "description": "The desired location of errors incurred during the Import. Cannot be set for inline user event imports."
        },
        "inlineSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource",
          "description": "The Inline source for the input content for UserEvents."
        },
        "gcsSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource",
          "description": "Cloud Storage location for the input content."
        },
        "bigquerySource": {
          "description": "BigQuery input source.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaBigQuerySource"
        }
      },
      "description": "Request message for the ImportUserEvents request."
    },
    "GoogleTypeTimeZone": {
      "properties": {
        "version": {
          "type": "string",
          "description": "Optional. IANA Time Zone Database version number. For example \"2019a\"."
        },
        "id": {
          "type": "string",
          "description": "IANA Time Zone Database time zone. For example \"America/New_York\"."
        }
      },
      "id": "GoogleTypeTimeZone",
      "type": "object",
      "description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones)."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseFacetFacetValue": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseFacetFacetValue",
      "properties": {
        "value": {
          "type": "string",
          "description": "Text value of a facet, such as \"Black\" for facet \"colors\"."
        },
        "interval": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaInterval",
          "description": "Interval value for a facet, such as 10, 20) for facet \"price\". It matches [SearchRequest.FacetSpec.FacetKey.intervals."
        },
        "count": {
          "type": "string",
          "description": "Number of items that have this facet value.",
          "format": "int64"
        }
      },
      "description": "A facet value which contains value names and their count."
    },
    "GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "format": "google-datetime",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaMediaInfo": {
      "properties": {
        "mediaProgressPercentage": {
          "format": "float",
          "description": "Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.",
          "type": "number"
        },
        "mediaProgressDuration": {
          "type": "string",
          "format": "google-duration",
          "description": "The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90."
        }
      },
      "description": "Media-specific user event information.",
      "id": "GoogleCloudDiscoveryengineV1alphaMediaInfo",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry": {
      "id": "GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry",
      "type": "object",
      "description": "Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.",
      "properties": {
        "matchOperator": {
          "enumDescriptions": [
            "Default value. Should not be used",
            "If the suggestion is an exact match to the block_phrase, then block it.",
            "If the suggestion contains the block_phrase, then block it."
          ],
          "type": "string",
          "enum": [
            "MATCH_OPERATOR_UNSPECIFIED",
            "EXACT_MATCH",
            "CONTAINS"
          ],
          "description": "Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase."
        },
        "blockPhrase": {
          "type": "string",
          "description": "Required. Phrase to block from suggestions served. Can be maximum 125 characters."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": {
      "type": "object",
      "properties": {
        "includeAncestorHeadings": {
          "description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.",
          "type": "boolean"
        },
        "chunkSize": {
          "type": "integer",
          "format": "int32",
          "description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig",
      "description": "Configuration for the layout based chunking."
    },
    "GoogleCloudDiscoveryengineV1alphaServingConfig": {
      "description": "Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions). The ServingConfig is passed in the search and predict request and generates results.",
      "type": "object",
      "properties": {
        "answerGenerationSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec",
          "description": "Optional. The specification for answer generation."
        },
        "displayName": {
          "description": "Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
          "type": "string"
        },
        "modelId": {
          "description": "The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when SolutionType is SOLUTION_TYPE_RECOMMENDATION.",
          "type": "string"
        },
        "onewaySynonymsControlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH."
        },
        "promoteControlIds": {
          "items": {
            "type": "string"
          },
          "description": "Condition promote specifications. Maximum number of specifications is 100.",
          "type": "array"
        },
        "diversityLevel": {
          "type": "string",
          "description": "How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION."
        },
        "filterControlIds": {
          "description": "Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "embeddingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaEmbeddingConfig",
          "description": "Bring your own embedding config. The config is used for search semantic retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embeddings that are provided by this EmbeddingConfig. If SearchRequest.EmbeddingSpec.EmbeddingVector.vector is provided, it overrides this ServingConfig.embedding_config."
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. ServingConfig created timestamp.",
          "readOnly": true,
          "type": "string"
        },
        "synonymsControlIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH."
        },
        "customFineTuningSpec": {
          "description": "Custom fine tuning configs. If SearchRequest.custom_fine_tuning_spec is set, it has higher priority than the configs set here.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec"
        },
        "mediaConfig": {
          "description": "The MediaConfig of the serving configuration.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig"
        },
        "personalizationSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec",
          "description": "The specification for personalization spec. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set, SearchRequest.personalization_spec overrides ServingConfig.personalization_spec."
        },
        "name": {
          "type": "string",
          "description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`"
        },
        "boostControlIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls."
        },
        "genericConfig": {
          "description": "The GenericConfig of the serving configuration.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig"
        },
        "guidedSearchSpec": {
          "description": "Guided search configs.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec"
        },
        "rankingExpression": {
          "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.",
          "type": "string"
        },
        "solutionType": {
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ],
          "description": "Required. Immutable. Specifies the solution type that a serving config can be associated with."
        },
        "replacementControlIds": {
          "description": "Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dissociateControlIds": {
          "type": "array",
          "description": "Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.",
          "items": {
            "type": "string"
          }
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. ServingConfig updated timestamp.",
          "readOnly": true
        },
        "ignoreControlIds": {
          "description": "Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "redirectControlIds": {
          "description": "IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaServingConfig"
    },
    "GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata": {
      "properties": {
        "successCount": {
          "format": "int64",
          "type": "string",
          "description": "The number of IdentityMappingEntries that were successfully processed."
        },
        "totalCount": {
          "description": "The total number of IdentityMappingEntries that were processed.",
          "type": "string",
          "format": "int64"
        },
        "failureCount": {
          "format": "int64",
          "description": "The number of IdentityMappingEntries that failed to be processed.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata",
      "description": "IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec": {
      "description": "Grounding specification.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec",
      "properties": {
        "includeGroundingSupports": {
          "description": "Optional. Specifies whether to include grounding_supports in the answer. The default value is `false`. When this field is set to `true`, returned answer will have `grounding_score` and will contain GroundingSupports for each claim.",
          "type": "boolean"
        },
        "filteringLevel": {
          "description": "Optional. Specifies whether to enable the filtering based on grounding score and at what level.",
          "type": "string",
          "enum": [
            "FILTERING_LEVEL_UNSPECIFIED",
            "FILTERING_LEVEL_LOW",
            "FILTERING_LEVEL_HIGH"
          ],
          "enumDescriptions": [
            "Default is no filter",
            "Filter answers based on a low threshold.",
            "Filter answers based on a high threshold."
          ]
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec": {
      "description": "Specification of the model.",
      "properties": {
        "version": {
          "description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAuthorizationConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaAuthorizationConfig",
      "properties": {
        "agentAuthorization": {
          "description": "Optional. The authorization that is required to invoke the agent. Auth tokens will be passed to the agent as part of the request auth header.",
          "type": "string"
        },
        "toolAuthorizations": {
          "items": {
            "type": "string"
          },
          "description": "Optional. List of required authorizations for agent to access other resources. Auth tokens will be passed to the agent as part of the request body.",
          "type": "array"
        }
      },
      "description": "Describes the authorizations required.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaGroundingFact": {
      "id": "GoogleCloudDiscoveryengineV1alphaGroundingFact",
      "properties": {
        "attributes": {
          "description": "Attributes associated with the fact. Common attributes include `source` (indicating where the fact was sourced from), `author` (indicating the author of the fact), and so on.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "factText": {
          "description": "Text content of the fact. Can be at most 10K characters long.",
          "type": "string"
        }
      },
      "description": "Grounding Fact.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaImportUserEventsResponse": {
      "type": "object",
      "properties": {
        "unjoinedEventsCount": {
          "description": "Count of user events imported, but with Document information not found in the existing Branch.",
          "format": "int64",
          "type": "string"
        },
        "errorSamples": {
          "type": "array",
          "description": "A sample of errors encountered while processing the request.",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "errorConfig": {
          "description": "Echoes the destination for the complete errors if this field was set in the request.",
          "$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig"
        },
        "joinedEventsCount": {
          "description": "Count of user events imported with complete existing Documents.",
          "format": "int64",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaImportUserEventsResponse",
      "description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful."
    },
    "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView": {
      "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView",
      "description": "Admin-surface metadata. Populated only when the request originates from the Cloud Console admin \"Feature Control\" page; left unset for end-user surfaces (Web, Mobile). Lets the admin page render its toggle table directly from the backend instead of a hardcoded client-side registry.",
      "properties": {
        "adminOverridable": {
          "description": "Output only. Whether the admin can toggle this model's enabled/disabled state via `UiSettings.model_configs`. Derived from `MODEL_TAG_ADMIN_OVERRIDABLE`. When false, the model is \"forced\" and its state is governed by `enabled_by_default`.",
          "type": "boolean",
          "readOnly": true
        },
        "enabledByDefault": {
          "type": "boolean",
          "description": "Output only. Whether the model is enabled when the admin has set no explicit override in `UiSettings.model_configs`. Derived from `MODEL_TAG_ENABLED_BY_DEFAULT`.",
          "readOnly": true
        },
        "regions": {
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "type": "array",
          "description": "Output only. Regions where this model is launched."
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata": {
      "properties": {
        "successCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of CompletionSuggestions successfully imported."
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "failureCount": {
          "description": "Count of CompletionSuggestions that failed to be imported.",
          "type": "string",
          "format": "int64"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec": {
      "type": "object",
      "properties": {
        "preamble": {
          "description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec",
      "description": "Specification of the prompt to use with the model."
    },
    "GoogleCloudDiscoveryengineV1ConditionTimeRange": {
      "description": "Used for time-dependent conditions.",
      "properties": {
        "startTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Start of time range. Range is inclusive."
        },
        "endTime": {
          "format": "google-datetime",
          "description": "End of time range. Range is inclusive. Must be in the future.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1ConditionTimeRange",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest": {
      "description": "Request message for AlphaEvolveService.ResumeExperiment.",
      "type": "object",
      "properties": {},
      "id": "GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest"
    },
    "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig": {
      "description": "The OCR parsing configurations for documents.",
      "type": "object",
      "properties": {
        "useNativeText": {
          "description": "If true, will use native text instead of OCR text on pages containing native text.",
          "type": "boolean"
        },
        "enhancedDocumentElements": {
          "items": {
            "type": "string"
          },
          "deprecated": true,
          "type": "array",
          "description": "[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig"
    },
    "GoogleCloudDiscoveryengineV1Control": {
      "id": "GoogleCloudDiscoveryengineV1Control",
      "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.",
      "properties": {
        "filterAction": {
          "description": "Defines a filter-type control Currently not supported by Recommendation",
          "$ref": "GoogleCloudDiscoveryengineV1ControlFilterAction"
        },
        "name": {
          "type": "string",
          "description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`"
        },
        "redirectAction": {
          "description": "Defines a redirect-type control.",
          "$ref": "GoogleCloudDiscoveryengineV1ControlRedirectAction"
        },
        "synonymsAction": {
          "description": "Treats a group of terms as synonyms of one another.",
          "$ref": "GoogleCloudDiscoveryengineV1ControlSynonymsAction"
        },
        "useCases": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SEARCH_USE_CASE_UNSPECIFIED",
              "SEARCH_USE_CASE_SEARCH",
              "SEARCH_USE_CASE_BROWSE"
            ],
            "enumDescriptions": [
              "Value used when unset. Will not occur in CSS.",
              "Search use case. Expects the traffic has a non-empty query.",
              "Browse use case. Expects the traffic has an empty query."
            ]
          },
          "description": "Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH."
        },
        "conditions": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1Condition"
          },
          "description": "Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "array"
        },
        "associatedServingConfigIds": {
          "description": "Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "promoteAction": {
          "description": "Promote certain links based on predefined trigger queries.",
          "$ref": "GoogleCloudDiscoveryengineV1ControlPromoteAction"
        },
        "solutionType": {
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ],
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "description": "Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown."
        },
        "displayName": {
          "description": "Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.",
          "type": "string"
        },
        "boostAction": {
          "$ref": "GoogleCloudDiscoveryengineV1ControlBoostAction",
          "description": "Defines a boost-type control"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngineCommonConfig": {
      "description": "Common configurations for an Engine.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaEngineCommonConfig",
      "properties": {
        "companyName": {
          "description": "The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec",
      "properties": {
        "fieldName": {
          "type": "string",
          "description": "Optional. The name of the field whose value will be used to determine the boost amount."
        },
        "interpolationType": {
          "description": "Optional. The interpolation type to be applied to connect the control points listed below.",
          "type": "string",
          "enum": [
            "INTERPOLATION_TYPE_UNSPECIFIED",
            "LINEAR"
          ],
          "enumDescriptions": [
            "Interpolation type is unspecified. In this case, it defaults to Linear.",
            "Piecewise linear interpolation will be applied."
          ]
        },
        "attributeType": {
          "type": "string",
          "enum": [
            "ATTRIBUTE_TYPE_UNSPECIFIED",
            "NUMERICAL",
            "FRESHNESS"
          ],
          "enumDescriptions": [
            "Unspecified AttributeType.",
            "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.",
            "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`."
          ],
          "description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value)."
        },
        "controlPoints": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint"
          },
          "type": "array",
          "description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here."
        }
      },
      "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above."
    },
    "GoogleCloudNotebooklmV1alphaCmekConfig": {
      "type": "object",
      "description": "Customer-managed encryption configuration for Notebooks.",
      "id": "GoogleCloudNotebooklmV1alphaCmekConfig",
      "properties": {
        "kmsKey": {
          "type": "string",
          "description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantContentFile": {
      "description": "A file, e.g., an audio summary.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantContentFile",
      "properties": {
        "mimeType": {
          "description": "Required. The media type (MIME type) of the file.",
          "type": "string"
        },
        "fileId": {
          "description": "Required. The file ID.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec": {
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec",
      "properties": {
        "chunkSpec": {
          "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS",
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec"
        },
        "snippetSpec": {
          "description": "If `snippetSpec` is not specified, snippets are not included in the search response.",
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec"
        },
        "extractiveContentSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec",
          "description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response."
        },
        "summarySpec": {
          "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec",
          "description": "If `summarySpec` is not specified, summaries are not included in the search response."
        },
        "searchResultMode": {
          "type": "string",
          "enum": [
            "SEARCH_RESULT_MODE_UNSPECIFIED",
            "DOCUMENTS",
            "CHUNKS"
          ],
          "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.",
          "enumDescriptions": [
            "Default value.",
            "Returns documents in the search result.",
            "Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified."
          ]
        }
      },
      "description": "A specification for configuring the behavior of content search.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress": {
      "id": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress",
      "properties": {
        "currentCount": {
          "description": "The current progress.",
          "type": "string",
          "format": "int64"
        },
        "totalCount": {
          "type": "string",
          "description": "The total.",
          "format": "int64"
        },
        "percentile": {
          "type": "number",
          "format": "float",
          "description": "Derived. The percentile of the progress.current_count / total_count. The value is between [0, 1.0] inclusive."
        }
      },
      "description": "Represents the progress of a sync run.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata": {
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec": {
      "description": "Boost applies to suggestions which match a condition.",
      "properties": {
        "boost": {
          "description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big promotion. However, it does not necessarily mean that the top result will be a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. However, other suggestions that are relevant might still be shown. Setting to 0.0 means no boost applied. The boosting condition is ignored.",
          "format": "float",
          "type": "number"
        },
        "condition": {
          "description": "An expression which specifies a boost condition. The syntax is the same as [filter expression syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). Currently, the only supported condition is a list of BCP-47 lang codes. Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: ANY(\"en\", \"fr\"))`",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata": {
      "description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Operation create time.",
          "type": "string"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaCmekConfig": {
      "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.",
      "properties": {
        "kmsKey": {
          "description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`."
        },
        "kmsKeyVersion": {
          "description": "Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.",
          "readOnly": true,
          "type": "string"
        },
        "isDefault": {
          "type": "boolean",
          "description": "Output only. The default CmekConfig for the Customer.",
          "readOnly": true
        },
        "state": {
          "type": "string",
          "enumDescriptions": [
            "The CmekConfig state is unknown.",
            "The CmekConfig is creating.",
            "The CmekConfig can be used with DataStores.",
            "The CmekConfig is unavailable, most likely due to the KMS Key being revoked.",
            "The CmekConfig is deleting.",
            "The CmekConfig deletion process failed.",
            "The CmekConfig is not usable, most likely due to some internal issue.",
            "The KMS key version is being rotated.",
            "The KMS key is soft deleted. Some cleanup policy will eventually be applied.",
            "The KMS key is expired, meaning the key has been disabled for 30+ days. The customer can call DeleteCmekConfig to change the state to DELETED."
          ],
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "KEY_ISSUE",
            "DELETING",
            "DELETE_FAILED",
            "UNUSABLE",
            "ACTIVE_ROTATING",
            "DELETED",
            "EXPIRED"
          ],
          "description": "Output only. The states of the CmekConfig."
        },
        "notebooklmState": {
          "type": "string",
          "description": "Output only. Whether the NotebookLM Corpus is ready to be used.",
          "enum": [
            "NOTEBOOK_LM_STATE_UNSPECIFIED",
            "NOTEBOOK_LM_NOT_READY",
            "NOTEBOOK_LM_READY",
            "NOTEBOOK_LM_NOT_ENABLED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "The NotebookLM state is unknown.",
            "The NotebookLM is not ready.",
            "The NotebookLM is ready to be used.",
            "The NotebookLM is not enabled."
          ]
        },
        "singleRegionKeys": {
          "description": "Optional. Single-regional CMEKs that are required for some VAIS features.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSingleRegionKey"
          }
        },
        "lastRotationTimestampMicros": {
          "readOnly": true,
          "description": "Output only. The timestamp of the last key rotation.",
          "format": "int64",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCmekConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaWorkspaceConfig": {
      "properties": {
        "superAdminServiceAccount": {
          "description": "Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.",
          "type": "string"
        },
        "type": {
          "enumDescriptions": [
            "Defaults to an unspecified Workspace type.",
            "Workspace Data Store contains Drive data",
            "Workspace Data Store contains Mail data",
            "Workspace Data Store contains Sites data",
            "Workspace Data Store contains Calendar data",
            "Workspace Data Store contains Chat data",
            "Workspace Data Store contains Groups data",
            "Workspace Data Store contains Keep data",
            "Workspace Data Store contains People data",
            "Workspace Data Store contains all Workspace apps data"
          ],
          "description": "The Google Workspace data source.",
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "GOOGLE_DRIVE",
            "GOOGLE_MAIL",
            "GOOGLE_SITES",
            "GOOGLE_CALENDAR",
            "GOOGLE_CHAT",
            "GOOGLE_GROUPS",
            "GOOGLE_KEEP",
            "GOOGLE_PEOPLE",
            "GOOGLE_WORKSPACE"
          ]
        },
        "dasherCustomerId": {
          "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.",
          "type": "string",
          "readOnly": true
        },
        "superAdminEmailAddress": {
          "description": "Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.",
          "type": "string"
        }
      },
      "description": "Config to store data store type configuration for workspace data",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest": {
      "description": "Request message for LicenseConfigService.RetractLicenseConfig method.",
      "properties": {
        "licenseConfig": {
          "description": "Required. Full resource name of LicenseConfig. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.",
          "type": "string"
        },
        "fullRetract": {
          "type": "boolean",
          "description": "Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count."
        },
        "licenseCount": {
          "format": "int64",
          "description": "Optional. The number of licenses to retract. Only used when full_retract is false.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec",
      "type": "object",
      "description": "Specification to determine under which conditions query expansion should occur.",
      "properties": {
        "condition": {
          "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.",
          "type": "string",
          "enum": [
            "CONDITION_UNSPECIFIED",
            "DISABLED",
            "AUTO"
          ],
          "enumDescriptions": [
            "Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.",
            "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.",
            "Automatic query expansion built by the Search API."
          ]
        },
        "pinUnexpandedResults": {
          "description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery": {
      "description": "Specifies the image query input.",
      "properties": {
        "imageBytes": {
          "description": "Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery"
    },
    "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource",
      "properties": {
        "entries": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry"
          },
          "description": "Required. A list of all denylist entries to import. Max of 1000 items.",
          "type": "array"
        }
      },
      "description": "The inline source for SuggestionDenyListEntry.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression": {
      "description": "Logical `And` operator.",
      "properties": {
        "expressions": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression"
          },
          "description": "The expressions that were ANDed together."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse",
      "type": "object",
      "properties": {
        "metrics": {
          "additionalProperties": {
            "type": "number",
            "format": "double"
          },
          "description": "The metrics of the trained model.",
          "type": "object"
        },
        "errorSamples": {
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "A sample of errors encountered while processing the data."
        },
        "modelName": {
          "description": "Fully qualified name of the CustomTuningModel.",
          "type": "string"
        },
        "errorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
          "description": "Echoes the destination for the complete errors in the request if set."
        },
        "modelStatus": {
          "description": "The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.",
          "type": "string"
        }
      },
      "description": "Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field."
    },
    "GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference",
      "properties": {
        "urlForConnector": {
          "description": "Input only. The url_for_connector of the document returned by Federated Search.",
          "type": "string"
        },
        "documentName": {
          "description": "The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`.",
          "type": "string"
        },
        "iconUri": {
          "type": "string",
          "description": "The icon uri of the reference."
        },
        "destinationUri": {
          "description": "The destination uri of the reference.",
          "type": "string"
        },
        "fileId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The file id of the document data stored in the session context files."
        },
        "displayTitle": {
          "type": "string",
          "description": "The display title of the reference."
        }
      },
      "description": "Represents a document reference."
    },
    "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "successCount": {
          "description": "Count of entries that were deleted successfully.",
          "type": "string",
          "format": "int64"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time."
        },
        "failureCount": {
          "type": "string",
          "format": "int64",
          "description": "Count of entries that encountered errors while processing."
        },
        "ignoredCount": {
          "description": "Count of entries that were ignored as entries were not found.",
          "format": "int64",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint": {
      "properties": {
        "attributeValue": {
          "type": "string",
          "description": "Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`."
        },
        "boostAmount": {
          "type": "number",
          "description": "The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.",
          "format": "float"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint",
      "type": "object",
      "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable)."
    },
    "GoogleCloudDiscoveryengineV1alphaListFilesResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListFilesResponse",
      "properties": {
        "files": {
          "description": "The FileMetadatas.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaFileMetadata"
          },
          "type": "array"
        },
        "nextPageToken": {
          "description": "A token to retrieve next page of results. Pass this value in the ListFilesRequest.page_token field in the subsequent call to `ListFiles` method to retrieve the next page of results.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Response message for SessionService.ListFiles method."
    },
    "GoogleCloudDiscoveryengineV1betaLanguageInfo": {
      "properties": {
        "region": {
          "readOnly": true,
          "description": "Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -\u003e `US`, `zh-Hans-HK` -\u003e `HK`, `en` -\u003e ``.",
          "type": "string"
        },
        "languageCode": {
          "type": "string",
          "description": "The language code for the DataStore."
        },
        "normalizedLanguageCode": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`."
        },
        "language": {
          "type": "string",
          "description": "Output only. Language part of normalized_language_code. E.g.: `en-US` -\u003e `en`, `zh-Hans-HK` -\u003e `zh`, `en` -\u003e `en`.",
          "readOnly": true
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaLanguageInfo",
      "type": "object",
      "description": "Language info for DataStore."
    },
    "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse": {
      "type": "object",
      "description": "Response message for SiteSearchEngineService.BatchCreateTargetSites method.",
      "id": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse",
      "properties": {
        "targetSites": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite"
          },
          "description": "TargetSites created.",
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest",
      "description": "Request message for CompletionService.ImportSuggestionDenyListEntries method.",
      "properties": {
        "inlineSource": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource",
          "description": "The Inline source for the input content for suggestion deny list entries."
        },
        "gcsSource": {
          "description": "Cloud Storage location for the input content. Only 1 file can be specified that contains all entries to import. Supported values `gcs_source.schema` for autocomplete suggestion deny list entry imports: * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry] per line.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats": {
      "type": "object",
      "description": "Stats about users' licenses.",
      "id": "GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats",
      "properties": {
        "licenseConfig": {
          "type": "string",
          "description": "Required. The LicenseConfig name."
        },
        "usedLicenseCount": {
          "type": "string",
          "format": "int64",
          "description": "Required. The number of licenses used."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig",
      "description": "Additional feature configurations for creating a `recommended-for-you` engine.",
      "properties": {
        "contextEventType": {
          "type": "string",
          "description": "The type of event with which the engine is queried at prediction time. If set to `generic`, only `view-item`, `media-play`,and `media-complete` will be used as `context-event` in engine training. If set to `view-home-page`, `view-home-page` will also be used as `context-events` in addition to `view-item`, `media-play`, and `media-complete`. Currently supported for the `recommended-for-you` engine. Currently supported values: `view-home-page`, `generic`."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1ControlRedirectAction": {
      "properties": {
        "redirectUri": {
          "type": "string",
          "description": "Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown."
        }
      },
      "type": "object",
      "description": "Redirects a shopper to the provided URI.",
      "id": "GoogleCloudDiscoveryengineV1ControlRedirectAction"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata",
      "type": "object",
      "description": "Metadata related to the progress of the PurgeUserEvents operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "properties": {
        "failureCount": {
          "type": "string",
          "description": "Count of entries that encountered errors while processing.",
          "format": "int64"
        },
        "createTime": {
          "description": "Operation create time.",
          "type": "string",
          "format": "google-datetime"
        },
        "successCount": {
          "format": "int64",
          "description": "Count of entries that were deleted successfully.",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec": {
      "properties": {
        "embeddingVectors": {
          "description": "The embedding vector used for retrieval. Limit to 1.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec",
      "type": "object",
      "description": "The specification that uses customized query embedding vector to do semantic document retrieval."
    },
    "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget": {
      "id": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget",
      "properties": {
        "pageNumbers": {
          "description": "Expected page numbers of the target. Each page number must be non negative.",
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "score": {
          "type": "number",
          "format": "double",
          "description": "Relevance score of the target."
        },
        "uri": {
          "description": "Expected uri of the target. This field must be a UTF-8 encoded string with a length limit of 2048 characters. Example of valid uris: `https://example.com/abc`, `gcs://example/example.pdf`.",
          "type": "string"
        }
      },
      "description": "Defines the parameters of the query's expected outcome.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the AgentService.DeleteAgent operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata"
    },
    "GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries": {
      "type": "object",
      "description": "The historical dedicated crawl rate timeseries data, used for monitoring. Dedicated crawl is used by Vertex AI to crawl the user's website when dedicate crawl is set.",
      "id": "GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries",
      "properties": {
        "autoRefreshCrawlErrorRate": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries",
          "description": "Vertex AI's error rate time series of auto-refresh dedicated crawl."
        },
        "userTriggeredCrawlRate": {
          "description": "Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries"
        },
        "userTriggeredCrawlErrorRate": {
          "description": "Vertex AI's error rate time series of user triggered dedicated crawl.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries"
        },
        "autoRefreshCrawlRate": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries",
          "description": "Vertex AI's dedicated crawl rate time series of auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the crawl rate is for best effort use cases like refreshing urls periodically."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction",
      "description": "Search action.",
      "properties": {
        "query": {
          "description": "The query to search.",
          "type": "string"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata",
      "type": "object",
      "description": "Metadata associated with a project provision operation.",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec": {
      "description": "Specification for search as you type in search requests.",
      "properties": {
        "scoreThreshold": {
          "format": "double",
          "type": "number",
          "description": "Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` \u003e= `score_threshold`."
        },
        "fields": {
          "description": "Optional. The list of fields to be used for Search As You Type scoring.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField"
          },
          "type": "array"
        },
        "condition": {
          "type": "string",
          "enum": [
            "CONDITION_UNSPECIFIED",
            "DISABLED",
            "ENABLED",
            "AUTO"
          ],
          "description": "The condition under which search as you type should occur. Default to Condition.DISABLED.",
          "enumDescriptions": [
            "Server behavior defaults to Condition.DISABLED.",
            "Disables Search As You Type.",
            "Enables Search As You Type.",
            "Automatic switching between search-as-you-type and standard search modes, ideal for single-API implementations (e.g., debouncing)."
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig",
      "properties": {
        "excludeHtmlElements": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. List of HTML elements to exclude from the parsed content."
        },
        "structuredContentTypes": {
          "description": "Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "excludeHtmlClasses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. List of HTML classes to exclude from the parsed content."
        },
        "enableLlmLayoutParsing": {
          "type": "boolean",
          "description": "Optional. If true, the pdf layout will be refined using an LLM."
        },
        "enableImageAnnotation": {
          "description": "Optional. If true, the LLM based annotation is added to the image during parsing.",
          "type": "boolean"
        },
        "enableTableAnnotation": {
          "description": "Optional. If true, the LLM based annotation is added to the table during parsing.",
          "type": "boolean"
        },
        "excludeHtmlIds": {
          "items": {
            "type": "string"
          },
          "description": "Optional. List of HTML ids to exclude from the parsed content.",
          "type": "array"
        },
        "enableGetProcessedDocument": {
          "type": "boolean",
          "description": "Optional. If true, the processed document will be made available for the GetProcessedDocument API."
        }
      },
      "description": "The layout parsing configurations for documents."
    },
    "GoogleCloudDiscoveryengineV1BAPConfig": {
      "id": "GoogleCloudDiscoveryengineV1BAPConfig",
      "description": "The configuration for the BAP connector.",
      "properties": {
        "enabledActions": {
          "description": "Optional. The actions enabled on the associated BAP connection.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "toolspecOverride": {
          "$ref": "GoogleCloudDiscoveryengineV1BAPConfigToolspecOverride",
          "description": "Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the `base_version` field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first)."
        },
        "supportedConnectorModes": {
          "description": "Required. The supported connector modes for the associated BAP connection.",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "CONNECTOR_MODE_UNSPECIFIED",
              "DATA_INGESTION",
              "ACTIONS",
              "END_USER_AUTHENTICATION"
            ],
            "enumDescriptions": [
              "Connector mode unspecified.",
              "Connector utilized for data ingestion.",
              "Connector utilized for Actions",
              "Connector utilized for End User Authentication."
            ]
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaAgentspaceMetadata": {
      "id": "GoogleCloudNotebooklmV1alphaAgentspaceMetadata",
      "description": "Metadata about an agentspace source.",
      "type": "object",
      "properties": {
        "documentName": {
          "type": "string",
          "description": "Output only. The full document name in Agentspace.",
          "readOnly": true
        },
        "documentTitle": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The title of the document."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaListAgentsResponse": {
      "description": "Response message for the AgentService.ListAgents method.",
      "properties": {
        "agents": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAgent"
          },
          "type": "array",
          "description": "The agents visible to the caller under the parent Assistant."
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as ListAgentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaListAgentsResponse",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong": {
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong",
      "type": "object",
      "properties": {
        "wordCount": {
          "format": "int32",
          "description": "The number of words in the source.",
          "type": "integer"
        },
        "wordLimit": {
          "type": "integer",
          "format": "int32",
          "description": "The word count limit for the current user at the time of the upload."
        }
      },
      "description": "Indicates source word count exceeded the user's limit."
    },
    "GoogleCloudDiscoveryengineV1alphaSessionConfig": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSessionConfig",
      "properties": {
        "sessionManagementPolicy": {
          "type": "string",
          "enum": [
            "SESSION_MANAGEMENT_POLICY_UNSPECIFIED",
            "NOT_MANAGED",
            "VERTEX_AI_MANAGED"
          ],
          "enumDescriptions": [
            "Default value.",
            "The session will be managed by the customer.",
            "Sessions multi-tenancy will be controlled by Google using 1P or 3P identity providers."
          ],
          "description": "Optional. Session management policy that defines who will manage the session."
        },
        "sessionTtl": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl",
          "description": "Optional. The TTL for the session. If unset, the default value is 60 days."
        }
      },
      "description": "Configuration for the session."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec",
      "description": "Relevance filtering specification.",
      "type": "object",
      "properties": {
        "keywordSearchThreshold": {
          "description": "Optional. Relevance filtering threshold specification for keyword search.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec"
        },
        "semanticSearchThreshold": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec",
          "description": "Optional. Relevance filtering threshold specification for semantic search."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec",
      "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS",
      "properties": {
        "numNextChunks": {
          "type": "integer",
          "description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.",
          "format": "int32"
        },
        "numPreviousChunks": {
          "type": "integer",
          "description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.",
          "format": "int32"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaCustomAttribute": {
      "id": "GoogleCloudDiscoveryengineV1alphaCustomAttribute",
      "description": "A custom attribute that is not explicitly modeled in a resource, e.g. UserEvent.",
      "properties": {
        "text": {
          "items": {
            "type": "string"
          },
          "description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "type": "array"
        },
        "numbers": {
          "type": "array",
          "description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.",
          "items": {
            "format": "double",
            "type": "number"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression": {
      "properties": {
        "expressions": {
          "description": "The expressions that were ORed together.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression"
          }
        }
      },
      "description": "Logical `Or` operator.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression"
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig": {
      "description": "Configuration for Pareto sampling.",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig",
      "type": "object",
      "properties": {
        "paretoSamplingProbability": {
          "description": "Optional. Probability [0.0, 1.0] of sampling parent programs from the Pareto frontier instead of normal fitness-based sampling during candidate generation. Useful when optimizing multiple metrics simultaneously. Default 0.0 (disabled). Only effective when evaluation returns multiple metrics in scores_to_optimize.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaConditionTimeRange": {
      "properties": {
        "endTime": {
          "description": "End of time range. Range is inclusive. Must be in the future.",
          "format": "google-datetime",
          "type": "string"
        },
        "startTime": {
          "format": "google-datetime",
          "description": "Start of time range. Range is inclusive.",
          "type": "string"
        }
      },
      "description": "Used for time-dependent conditions.",
      "id": "GoogleCloudDiscoveryengineV1betaConditionTimeRange",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaEngine": {
      "description": "Metadata that describes the training and serving parameters of an Engine.",
      "properties": {
        "agentGatewaySetting": {
          "$ref": "GoogleCloudDiscoveryengineV1betaAgentGatewaySetting",
          "description": "Optional. The agent gateway setting for the engine."
        },
        "appType": {
          "enumDescriptions": [
            "All non specified apps.",
            "App type for intranet search and Agentspace."
          ],
          "type": "string",
          "enum": [
            "APP_TYPE_UNSPECIFIED",
            "APP_TYPE_INTRANET"
          ],
          "description": "Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type."
        },
        "chatEngineConfig": {
          "description": "Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig"
        },
        "features": {
          "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` * `music-generation` * `speech-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` * `skill-security-scan` * `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` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins`",
          "additionalProperties": {
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ],
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ]
          },
          "type": "object"
        },
        "createTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Timestamp the Recommendation Engine was created at.",
          "format": "google-datetime"
        },
        "modelConfigs": {
          "description": "Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.",
          "additionalProperties": {
            "enumDescriptions": [
              "The model state is unspecified.",
              "The model is enabled by admin.",
              "The model is disabled by admin."
            ],
            "type": "string",
            "enum": [
              "MODEL_STATE_UNSPECIFIED",
              "MODEL_ENABLED",
              "MODEL_DISABLED"
            ]
          },
          "type": "object"
        },
        "disableAnalytics": {
          "description": "Optional. Whether to disable analytics for searches performed on this engine.",
          "type": "boolean"
        },
        "delayedGlobalFeatureToggleStateAllowed": {
          "description": "Output only. Whether the project is allowed to set `global_feature_toggle_state` to `DELAYED`.",
          "readOnly": true,
          "type": "boolean"
        },
        "marketplaceAgentVisibility": {
          "type": "string",
          "enum": [
            "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED",
            "SHOW_AVAILABLE_AGENTS_ONLY",
            "SHOW_AGENTS_ALREADY_INTEGRATED",
            "SHOW_AGENTS_ALREADY_PURCHASED",
            "SHOW_ALL_AGENTS"
          ],
          "enumDescriptions": [
            "Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.",
            "Only agents that are currently available for use by the user are visible.",
            "Show marketplace agents that the user does not yet have access to but are integrated into the engine. This level also includes all agents visible with `SHOW_AVAILABLE_AGENTS_ONLY`.",
            "Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus agents that have already been purchased by the project/organization, even if they are not currently integrated into the engine.",
            "All agents in the marketplace are visible, regardless of access or purchase status. This level encompasses all agents shown in the previous levels."
          ],
          "description": "Optional. The visibility of marketplace agents in the agent gallery."
        },
        "name": {
          "type": "string",
          "description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned."
        },
        "mediaRecommendationEngineConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig",
          "description": "Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical."
        },
        "industryVertical": {
          "type": "string",
          "enum": [
            "INDUSTRY_VERTICAL_UNSPECIFIED",
            "GENERIC",
            "MEDIA",
            "HEALTHCARE_FHIR"
          ],
          "enumDescriptions": [
            "Value used when unset.",
            "The generic vertical for documents that are not specific to any industry vertical.",
            "The media industry vertical.",
            "The healthcare FHIR vertical."
          ],
          "description": "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."
        },
        "commonConfig": {
          "description": "Common config spec that specifies the metadata of the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineCommonConfig"
        },
        "solutionType": {
          "enumDescriptions": [
            "Default value.",
            "Used for Recommendations AI.",
            "Used for Discovery Search.",
            "Used for use cases related to the Generative AI agent.",
            "Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.",
            "Used for AI Mode."
          ],
          "description": "Required. The solutions of the engine.",
          "type": "string",
          "enum": [
            "SOLUTION_TYPE_UNSPECIFIED",
            "SOLUTION_TYPE_RECOMMENDATION",
            "SOLUTION_TYPE_SEARCH",
            "SOLUTION_TYPE_CHAT",
            "SOLUTION_TYPE_GENERATIVE_CHAT",
            "SOLUTION_TYPE_AI_MODE"
          ]
        },
        "connectorTenantInfo": {
          "type": "object",
          "description": "Optional. Maps a connector ID (e.g., \"hybrid-github\", \"shopify\") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "associatedAgentRegistry": {
          "description": "Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry.",
          "type": "string",
          "readOnly": true
        },
        "dataStoreIds": {
          "description": "Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cmekConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaCmekConfig",
          "description": "Output only. CMEK-related information for the Engine.",
          "readOnly": true
        },
        "configurableBillingApproach": {
          "description": "Optional. Configuration for configurable billing approach.",
          "enumDescriptions": [
            "Default value. For Spark and non-Spark non-configurable billing approach. General pricing model.",
            "The billing approach follows configurations specified by customer."
          ],
          "type": "string",
          "enum": [
            "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED",
            "CONFIGURABLE_BILLING_APPROACH_ENABLED"
          ]
        },
        "sessionConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaSessionConfig",
          "description": "Optional. Non-empty default. Session config for the engine."
        },
        "knowledgeGraphConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig",
          "description": "Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH."
        },
        "effectiveFeatures": {
          "type": "object",
          "additionalProperties": {
            "enumDescriptions": [
              "The feature state is unspecified.",
              "The feature is turned on to be accessible.",
              "The feature is turned off to be inaccessible."
            ],
            "type": "string",
            "enum": [
              "FEATURE_STATE_UNSPECIFIED",
              "FEATURE_STATE_ON",
              "FEATURE_STATE_OFF"
            ]
          },
          "readOnly": true,
          "description": "Output only. The complete, server-resolved state of every known feature toggle. Unlike `features`, which stores only explicit admin overrides, this map always contains an entry for every toggle. Clients should read toggle state from this field."
        },
        "observabilityConfig": {
          "description": "Optional. Observability config for the engine.",
          "$ref": "GoogleCloudDiscoveryengineV1betaObservabilityConfig"
        },
        "procurementContactEmails": {
          "description": "Optional. The emails of the procurement contacts.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "chatEngineMetadata": {
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata",
          "readOnly": true,
          "description": "Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT."
        },
        "globalFeatureToggleState": {
          "type": "string",
          "enum": [
            "GLOBAL_FEATURE_TOGGLE_STATE_UNSPECIFIED",
            "DELAYED",
            "SCHEDULED",
            "GENERAL",
            "EARLY"
          ],
          "description": "Optional. Controls the global feature toggle state for the engine.",
          "enumDescriptions": [
            "Unspecified feature toggle state. Treated as `GENERAL`.",
            "Gets features and models 4 weeks post GA. Features will be ON at the 4 weeks mark post GA.",
            "Gets features and models 2 weeks post GA. Features will be ON at the 2 weeks mark post GA.",
            "Gets features and models at GA. Features will be ON at GA.",
            "Gets features and models at EAP (if in EAP). Features will only be ON if the project is allowlisted."
          ]
        },
        "displayName": {
          "description": "Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.",
          "type": "string"
        },
        "searchEngineConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig",
          "description": "Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH."
        },
        "featurePolicies": {
          "additionalProperties": {
            "$ref": "GoogleCloudDiscoveryengineV1betaEngineFeaturePolicy"
          },
          "type": "object",
          "description": "Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature with no entry is available to every user when it is on. Only features that support access policies are accepted."
        },
        "updateTime": {
          "readOnly": true,
          "description": "Output only. Timestamp the Recommendation Engine was last updated.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaEngine",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult",
      "properties": {
        "followUpQuestions": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Suggested follow-up questions."
        },
        "refinementAttributes": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute"
          },
          "description": "A list of ranked refinement attributes."
        }
      },
      "type": "object",
      "description": "Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results."
    },
    "GoogleCloudDiscoveryengineV1alphaWorkspaceSettings": {
      "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceSettings",
      "properties": {
        "workspaceAccessEnabled": {
          "type": "boolean",
          "description": "Whether an end user has workspace access enabled."
        },
        "customerDomainValid": {
          "type": "boolean",
          "description": "Whether the calling user's customer domain matches the workspace data stores under this engine. Unset when the check did not run or could not complete, which clients treat as unknown."
        }
      },
      "type": "object",
      "description": "Workspace settings for the end user."
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight": {
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight",
      "properties": {
        "text": {
          "type": "string",
          "description": "Optional. Text of the insight."
        },
        "label": {
          "type": "string",
          "description": "Optional. Label of the insight."
        }
      },
      "description": "A single evaluation insight.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaConditionTimeRange": {
      "id": "GoogleCloudDiscoveryengineV1alphaConditionTimeRange",
      "properties": {
        "startTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Start of time range. Range is inclusive."
        },
        "endTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "End of time range. Range is inclusive. Must be in the future."
        }
      },
      "description": "Used for time-dependent conditions.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest": {
      "type": "object",
      "description": "Request message for AlphaEvolveService.SubmitProgramsEvaluations.",
      "id": "GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest",
      "properties": {
        "evaluationSubmissions": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission"
          },
          "description": "Required. List of program evaluations to submit. At this time, only one evaluation submission is supported."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent": {
      "description": "Chunk content.",
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent",
      "type": "object",
      "properties": {
        "relevanceScore": {
          "description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.",
          "format": "float",
          "type": "number"
        },
        "blobAttachmentIndexes": {
          "readOnly": true,
          "items": {
            "format": "int64",
            "type": "string"
          },
          "type": "array",
          "description": "Output only. Stores indexes of blobattachments linked to this chunk."
        },
        "content": {
          "description": "Chunk textual content.",
          "type": "string"
        },
        "pageIdentifier": {
          "type": "string",
          "description": "Page identifier."
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": {
      "type": "object",
      "properties": {
        "expression": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression",
          "description": "The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter",
      "description": "The filters that were extracted from the input query represented in a structured form."
    },
    "GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation": {
      "description": "Precise location info with multiple representation options.",
      "type": "object",
      "properties": {
        "point": {
          "$ref": "GoogleTypeLatLng",
          "description": "Optional. Location represented by a latitude/longitude point."
        },
        "address": {
          "description": "Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation"
    },
    "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse",
      "type": "object",
      "properties": {
        "errorSamples": {
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "A sample of errors encountered while processing the request."
        }
      },
      "description": "Response message for IdentityMappingStoreService.ImportIdentityMappings"
    },
    "GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata": {
      "description": "Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Operation create time."
        },
        "updateTime": {
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata"
    },
    "GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment": {
      "description": "The alert enrollment status.",
      "id": "GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment",
      "properties": {
        "alertId": {
          "type": "string",
          "description": "Immutable. The id of an alert."
        },
        "enrollState": {
          "enumDescriptions": [
            "Default value. Used for customers who have not responded to the alert policy.",
            "Customer is enrolled in this policy.",
            "Customer declined this policy."
          ],
          "description": "Required. The enrollment status of a customer.",
          "type": "string",
          "enum": [
            "ENROLL_STATES_UNSPECIFIED",
            "ENROLLED",
            "DECLINED"
          ]
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig": {
      "type": "object",
      "properties": {
        "enablePsvs": {
          "type": "boolean",
          "description": "Optional. If true, enable PSVS for AlloyDB."
        },
        "authMode": {
          "type": "string",
          "enum": [
            "AUTH_MODE_UNSPECIFIED",
            "AUTH_MODE_SERVICE_ACCOUNT",
            "AUTH_MODE_END_USER_ACCOUNT"
          ],
          "enumDescriptions": [
            "",
            "Uses P4SA when VAIS talks to AlloyDB.",
            "Uses EUC when VAIS talks to AlloyDB."
          ],
          "description": "Optional. Auth mode."
        },
        "user": {
          "type": "string",
          "description": "Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user."
        },
        "instance": {
          "description": "Required. The AlloyDB instance to connect to.",
          "type": "string"
        },
        "database": {
          "type": "string",
          "description": "Required. The AlloyDB database to connect to."
        },
        "password": {
          "description": "Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.",
          "type": "string"
        }
      },
      "description": "Configuration for connecting to AlloyDB.",
      "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaGcsSource": {
      "type": "object",
      "description": "Cloud Storage location for input content.",
      "id": "GoogleCloudDiscoveryengineV1alphaGcsSource",
      "properties": {
        "dataSchema": {
          "type": "string",
          "description": "The schema to use when parsing the data from the source. Supported values for document imports: * `document` (default): One JSON Document per line. Each document must have a valid Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical. * `csv`: A CSV file with header conforming to the defined Schema of the data store. Each entry after the header is imported as a Document. This can only be used by the GENERIC Data Store vertical. Supported values for user event imports: * `user_event` (default): One JSON UserEvent per line."
        },
        "inputUris": {
          "description": "Required. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`).",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata": {
      "description": "Metadata associated with a project provision operation.",
      "id": "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest": {
      "id": "GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest",
      "type": "object",
      "properties": {
        "generationOptions": {
          "$ref": "GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions",
          "description": "Options for the audio overview generation."
        }
      },
      "description": "Request for AudioOverviewService.CreateAudioOverview method."
    },
    "GoogleCloudDiscoveryengineV1betaAclConfig": {
      "properties": {
        "idpConfig": {
          "description": "Identity provider config.",
          "$ref": "GoogleCloudDiscoveryengineV1betaIdpConfig"
        },
        "name": {
          "description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaAclConfig",
      "description": "Access Control Configuration.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DestinationConfigDestination": {
      "description": "Defines a target endpoint",
      "properties": {
        "port": {
          "description": "Optional. Target port number accepted by the destination.",
          "format": "int32",
          "type": "integer"
        },
        "host": {
          "type": "string",
          "description": "Publicly routable host."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DestinationConfigDestination",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaControlPromoteAction": {
      "description": "Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.",
      "properties": {
        "dataStore": {
          "type": "string",
          "description": "Required. Data store with which this promotion is attached to."
        },
        "searchLinkPromotion": {
          "description": "Required. Promotion attached to this action.",
          "$ref": "GoogleCloudDiscoveryengineV1betaSearchLinkPromotion"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaControlPromoteAction"
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig": {
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig",
      "type": "object",
      "properties": {
        "layoutBasedChunkingConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig",
          "description": "Configuration for the layout based chunking."
        }
      },
      "description": "Configuration for chunking config."
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes": {
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes",
      "type": "object",
      "description": "Safety Attribute categories and their associated confidence scores.",
      "properties": {
        "scores": {
          "items": {
            "type": "number",
            "format": "float"
          },
          "type": "array",
          "description": "The confidence scores of the each category, higher value means higher confidence. Order matches the Categories."
        },
        "categories": {
          "description": "The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig": {
      "description": "Per-model configuration. Mutually exclusive with `model_mixture` and `model`: when `models` is set, both `model_mixture` and `model` must be left unset. The same allowed-model list and at-most-2-models rule as for `model_mixture` apply. In addition, each entry may specify a per-model `temperature` for LLM sampling. Unlike `model_mixture`, weights here are *relative*: only their ratios matter (the server normalizes them), so callers may use any positive numbers without having to ensure they sum to 1.0.",
      "properties": {
        "thinkingLevel": {
          "description": "Optional. Sent as Vertex `ThinkingConfig.thinking_level`.",
          "type": "string",
          "enum": [
            "THINKING_LEVEL_UNSPECIFIED",
            "MINIMAL",
            "LOW",
            "MEDIUM",
            "HIGH"
          ],
          "enumDescriptions": [
            "Unset. The model applies its own default, which is not the same level for every model.",
            "Least thinking. Not offered by every model.",
            "Vertex `LOW`.",
            "Vertex `MEDIUM`.",
            "Vertex `HIGH`."
          ]
        },
        "name": {
          "description": "Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models.",
          "type": "string"
        },
        "weight": {
          "description": "Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT.",
          "format": "float",
          "type": "number"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse",
      "properties": {
        "refreshTokenInfo": {
          "description": "Info about the stored refresh token.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo"
        }
      },
      "description": "Response message for the DataConnectorService.CheckRefreshToken method.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec",
      "properties": {
        "referenceOnly": {
          "deprecated": true,
          "description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet.",
          "type": "boolean"
        },
        "returnSnippet": {
          "type": "boolean",
          "description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned."
        },
        "maxSnippetCount": {
          "format": "int32",
          "description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count \u003e 0.",
          "deprecated": true,
          "type": "integer"
        }
      },
      "type": "object",
      "description": "A specification for configuring snippets in a search response."
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource"
          },
          "description": "Optional. Citation sources for the claim."
        },
        "endIndex": {
          "format": "int64",
          "description": "Required. End of the claim, exclusive.",
          "type": "string"
        },
        "groundingScore": {
          "format": "double",
          "description": "A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks.",
          "type": "number"
        },
        "groundingCheckRequired": {
          "type": "boolean",
          "description": "Indicates that this claim required grounding check. When the system decided this claim didn't require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore `grounding_score`, `sources` is not returned."
        },
        "startIndex": {
          "format": "int64",
          "description": "Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Grounding support for a claim in `answer_text`."
    },
    "GoogleCloudDiscoveryengineV1alphaControlPromoteAction": {
      "description": "Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.",
      "properties": {
        "dataStore": {
          "description": "Required. Data store with which this promotion is attached to.",
          "type": "string"
        },
        "searchLinkPromotion": {
          "description": "Required. Promotion attached to this action.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy": {
      "description": "Customer-defined policy for the assistant.",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy",
      "type": "object",
      "properties": {
        "bannedPhrases": {
          "description": "Optional. List of banned phrases.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase"
          }
        },
        "modelArmorConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig",
          "description": "Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses."
        },
        "dataProtectionPolicy": {
          "description": "Optional. Data protection policy to be used for sanitizing file uploads.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse": {
      "type": "object",
      "properties": {
        "purgeCount": {
          "description": "Number of suggestion deny list entries purged.",
          "type": "string",
          "format": "int64"
        },
        "errorSamples": {
          "description": "A sample of errors encountered while processing the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse",
      "description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method."
    },
    "GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse",
      "properties": {
        "state": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The state of the response.",
          "enumDescriptions": [
            "The state is unspecified.",
            "The state is successful.",
            "The state is failed."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED"
          ]
        },
        "error": {
          "description": "Errors from service when handling the request.",
          "$ref": "GoogleRpcStatus"
        }
      },
      "description": "Response message for CrawlRateManagementService.SetDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED."
    },
    "GoogleCloudDiscoveryengineV1DataConnector": {
      "description": "Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.",
      "properties": {
        "realtimeState": {
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "FAILED",
            "RUNNING",
            "WARNING",
            "INITIALIZATION_FAILED",
            "UPDATING"
          ],
          "description": "Output only. real-time sync state",
          "type": "string",
          "readOnly": true,
          "enumDescriptions": [
            "Default value.",
            "The connector is being set up.",
            "The connector is successfully set up and awaiting next sync run.",
            "The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.",
            "The connector is actively syncing records from the data source.",
            "The connector has completed a sync run, but encountered non-fatal errors.",
            "Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).",
            "Connector is in the process of an update."
          ]
        },
        "refreshInterval": {
          "description": "Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.",
          "type": "string",
          "format": "google-duration"
        },
        "name": {
          "type": "string",
          "description": "Identifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`."
        },
        "connectorType": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.",
          "enum": [
            "CONNECTOR_TYPE_UNSPECIFIED",
            "THIRD_PARTY",
            "GCP_FHIR",
            "BIG_QUERY",
            "GCS",
            "GOOGLE_MAIL",
            "GOOGLE_CALENDAR",
            "GOOGLE_DRIVE",
            "NATIVE_CLOUD_IDENTITY",
            "THIRD_PARTY_FEDERATED",
            "THIRD_PARTY_EUA",
            "GCNV",
            "GOOGLE_CHAT",
            "GOOGLE_SITES",
            "REMOTE_MCP",
            "GOOGLE_WORKSPACE"
          ],
          "enumDescriptions": [
            "Default value.",
            "Third party connector to connector to third party application.",
            "Data connector connects between FHIR store and VAIS datastore.",
            "Big query connector.",
            "Google Cloud Storage connector.",
            "Gmail connector.",
            "Google Calendar connector.",
            "Google Drive connector.",
            "Native Cloud Identity connector for people search powered by People API.",
            "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.",
            "Connector utilized for End User Authentication features.",
            "Google Cloud NetApp Volumes connector.",
            "Google Chat connector.",
            "Google Sites connector.",
            "Remote MCP based connector.",
            "Google Workspace connector."
          ]
        },
        "dataProtectionPolicy": {
          "$ref": "GoogleCloudDiscoveryengineV1DataProtectionPolicy",
          "description": "Optional. Specifies the data protection policy for the connector."
        },
        "egressFqdns": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs.",
          "readOnly": true
        },
        "latestPauseTime": {
          "type": "string",
          "description": "Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered.",
          "format": "google-datetime",
          "readOnly": true
        },
        "nextSyncTime": {
          "description": "Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.",
          "$ref": "GoogleTypeDateTime"
        },
        "oauthStaticIpAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. The static IP addresses used by this connector for OAuth APIs (e.g. end user authentication). These are surfaced separately from `static_ip_addresses` so that customers can apply granular firewall settings for OAuth endpoints. Only populated for connectors that have static IP enabled and are used for actions and/or federated search."
        },
        "dataSource": {
          "description": "Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage).",
          "type": "string"
        },
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. Timestamp the DataConnector was created at."
        },
        "lastSyncTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. For periodic connectors only, the last time a data sync was completed."
        },
        "jsonParams": {
          "type": "string",
          "description": "Required data connector parameters in json string format."
        },
        "endUserConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig",
          "description": "Optional. Any params and credentials used specifically for EUA connectors."
        },
        "removeParamKeys": {
          "description": "Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "kmsKeyName": {
          "description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.",
          "type": "string"
        },
        "aclEnabled": {
          "description": "Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.",
          "type": "boolean"
        },
        "vpcscEnabled": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. Whether the connector is created with VPC-SC enabled."
        },
        "identityRefreshInterval": {
          "type": "string",
          "format": "google-duration",
          "description": "The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.",
          "deprecated": true
        },
        "privateConnectivityProjectId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function."
        },
        "bapConfig": {
          "description": "Optional. The configuration for establishing a BAP connection.",
          "$ref": "GoogleCloudDiscoveryengineV1BAPConfig"
        },
        "createEuaSaas": {
          "description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.",
          "type": "boolean"
        },
        "params": {
          "description": "Required data connector parameters in structured json format.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "connectorModes": {
          "items": {
            "enumDescriptions": [
              "Connector mode unspecified.",
              "Connector utilized for data ingestion.",
              "Connector utilized for actions.",
              "Connector utilized for federated search.",
              "Connector utilized for End User Authentication.",
              "Hybrid connector utilized for federated search and End User Authentication."
            ],
            "type": "string",
            "enum": [
              "CONNECTOR_MODE_UNSPECIFIED",
              "DATA_INGESTION",
              "ACTIONS",
              "FEDERATED",
              "EUA",
              "FEDERATED_AND_EUA"
            ]
          },
          "description": "Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.",
          "type": "array"
        },
        "blockingReasons": {
          "description": "Output only. User actions that must be completed before the connector can start syncing data.",
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string",
            "enum": [
              "BLOCKING_REASON_UNSPECIFIED",
              "ALLOWLIST_STATIC_IP",
              "ALLOWLIST_IN_SERVICE_ATTACHMENT",
              "ALLOWLIST_SERVICE_ACCOUNT"
            ],
            "enumDescriptions": [
              "Default value.",
              "Connector requires customer to allowlist static IPs.",
              "Connector requires customer to allowlist our project in their service attachment.",
              "Connector requires customer to allowlist service account in their project."
            ]
          }
        },
        "metadata": {
          "$ref": "GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata",
          "description": "Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`."
        },
        "dynamicTools": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. The dynamic tools fetched for this connector.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1DynamicTool"
          }
        },
        "autoRunDisabled": {
          "description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs",
          "type": "boolean"
        },
        "errors": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "description": "Output only. The errors from initialization or from the latest connector run."
        },
        "cliConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1CliConfig",
          "description": "Optional. The configuration for establishing a CLI connection."
        },
        "syncMode": {
          "enumDescriptions": [
            "The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.",
            "The data will be synced in real time.",
            "Connector that doesn't ingest data will have this value"
          ],
          "description": "The data synchronization mode supported by the data connector.",
          "type": "string",
          "enum": [
            "PERIODIC",
            "STREAMING",
            "UNSPECIFIED"
          ]
        },
        "staticIpEnabled": {
          "type": "boolean",
          "description": "Optional. Whether customer has enabled static IP addresses for this connector."
        },
        "identityScheduleConfig": {
          "description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector.",
          "$ref": "GoogleCloudDiscoveryengineV1IdentityScheduleConfig"
        },
        "staticIpAddresses": {
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "description": "Output only. The static IP addresses used by this connector."
        },
        "incrementalSyncDisabled": {
          "type": "boolean",
          "description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true."
        },
        "incrementalRefreshInterval": {
          "description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.",
          "type": "string",
          "format": "google-duration"
        },
        "state": {
          "enumDescriptions": [
            "Default value.",
            "The connector is being set up.",
            "The connector is successfully set up and awaiting next sync run.",
            "The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.",
            "The connector is actively syncing records from the data source.",
            "The connector has completed a sync run, but encountered non-fatal errors.",
            "Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).",
            "Connector is in the process of an update."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "FAILED",
            "RUNNING",
            "WARNING",
            "INITIALIZATION_FAILED",
            "UPDATING"
          ],
          "description": "Output only. State of the connector.",
          "readOnly": true,
          "type": "string"
        },
        "alertPolicyConfigs": {
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyConfig"
          },
          "description": "Optional. The connector level alert config.",
          "type": "array"
        },
        "entities": {
          "description": "List of entities from the connected data source to ingest.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1DataConnectorSourceEntity"
          }
        },
        "realtimeSyncConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig",
          "description": "Optional. The configuration for realtime sync."
        },
        "actionState": {
          "description": "Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "FAILED",
            "RUNNING",
            "WARNING",
            "INITIALIZATION_FAILED",
            "UPDATING"
          ],
          "enumDescriptions": [
            "Default value.",
            "The connector is being set up.",
            "The connector is successfully set up and awaiting next sync run.",
            "The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.",
            "The connector is actively syncing records from the data source.",
            "The connector has completed a sync run, but encountered non-fatal errors.",
            "Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).",
            "Connector is in the process of an update."
          ],
          "readOnly": true
        },
        "updateTime": {
          "description": "Output only. Timestamp the DataConnector was last updated.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        },
        "hybridIngestionDisabled": {
          "description": "Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.",
          "type": "boolean"
        },
        "connectorSourceId": {
          "type": "string",
          "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source."
        },
        "destinationConfigs": {
          "description": "Optional. Any target destinations used to connect to third-party services.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1DestinationConfig"
          }
        },
        "actionConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1ActionConfig",
          "description": "Optional. Action configurations to make the connector support actions."
        },
        "federatedConfig": {
          "description": "Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.",
          "$ref": "GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig"
        },
        "tag": {
          "type": "string",
          "description": "Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DataConnector",
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed": {
      "properties": {},
      "description": "Indicates that the policy check failed.",
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed"
    },
    "GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse",
      "type": "object",
      "description": "Response for DataConnectorService.ListConnectorRuns method.",
      "properties": {
        "nextPageToken": {
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "connectorRuns": {
          "description": "List of ConnectorRuns.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRun"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1SessionConfig": {
      "properties": {
        "sessionManagementPolicy": {
          "description": "Optional. Session management policy that defines who will manage the session.",
          "enumDescriptions": [
            "Default value.",
            "The session will be managed by the customer.",
            "Sessions multi-tenancy will be controlled by Google using 1P or 3P identity providers."
          ],
          "type": "string",
          "enum": [
            "SESSION_MANAGEMENT_POLICY_UNSPECIFIED",
            "NOT_MANAGED",
            "VERTEX_AI_MANAGED"
          ]
        },
        "sessionTtl": {
          "$ref": "GoogleCloudDiscoveryengineV1SessionConfigSessionTtl",
          "description": "Optional. The TTL for the session. If unset, the default value is 60 days."
        }
      },
      "type": "object",
      "description": "Configuration for the session.",
      "id": "GoogleCloudDiscoveryengineV1SessionConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse": {
      "id": "GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse",
      "properties": {
        "agentFile": {
          "description": "The imported AgentFile.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAgentFile"
        }
      },
      "type": "object",
      "description": "Response for the AgentService.ImportAgentFile method."
    },
    "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig": {
      "description": "Additional feature configurations for creating a `recommended-for-you` engine.",
      "type": "object",
      "properties": {
        "contextEventType": {
          "description": "The type of event with which the engine is queried at prediction time. If set to `generic`, only `view-item`, `media-play`,and `media-complete` will be used as `context-event` in engine training. If set to `view-home-page`, `view-home-page` will also be used as `context-events` in addition to `view-item`, `media-play`, and `media-complete`. Currently supported for the `recommended-for-you` engine. Currently supported values: `view-home-page`, `generic`.",
          "type": "string"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams",
      "properties": {
        "acceptBizQos": {
          "type": "boolean",
          "description": "Optional. Set to `true` to specify that caller has read and would like to give consent to the [Terms for Agent Space quality of service]."
        },
        "isBiz": {
          "type": "boolean",
          "description": "Optional. Indicates if the current request is for Biz edition (= true) or not (= false)."
        }
      },
      "description": "Parameters for Agentspace."
    },
    "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse": {
      "properties": {
        "oldestMetricTimestamp": {
          "type": "string",
          "format": "google-datetime",
          "description": "Timestamp of the oldest calculated metric (i.e. the most stale metric). Indicates that the `result` may not accurately reflect any Event and Product Catalog updates performed after this time."
        },
        "requirement": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaRequirement",
          "description": "Requirement definition."
        },
        "requirementCondition": {
          "$ref": "GoogleTypeExpr",
          "description": "The condition for evaluating the requirement result."
        },
        "metricResults": {
          "type": "array",
          "description": "Metric results.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult"
          }
        },
        "result": {
          "type": "string",
          "description": "The result of the requirement. It should be one of the `severity` fields in the requirement definition. If any error happens during the evaluation, it will be `UNKNOWN`."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse",
      "type": "object",
      "description": "Response for the CheckRequirement method."
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig": {
      "description": "The OCR parsing configurations for documents.",
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig",
      "properties": {
        "enhancedDocumentElements": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "deprecated": true,
          "description": "[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`."
        },
        "useNativeText": {
          "description": "If true, will use native text instead of OCR text on pages containing native text.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerStep": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerStep",
      "properties": {
        "actions": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepAction"
          },
          "description": "Actions."
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "IN_PROGRESS",
            "FAILED",
            "SUCCEEDED"
          ],
          "enumDescriptions": [
            "Unknown.",
            "Step is currently in progress.",
            "Step currently failed.",
            "Step has succeeded."
          ],
          "description": "The state of the step."
        },
        "thought": {
          "type": "string",
          "description": "The thought of the step."
        },
        "description": {
          "description": "The description of the step.",
          "type": "string"
        }
      },
      "description": "Step information.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec": {
      "description": "The specification for query spell correction.",
      "properties": {
        "mode": {
          "description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.",
          "enumDescriptions": [
            "Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.",
            "Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.",
            "Automatic spell correction built by the Search API. Search will be based on the corrected query if found."
          ],
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "SUGGESTION_ONLY",
            "AUTO"
          ]
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig": {
      "description": "The OCR parsing configurations for documents.",
      "properties": {
        "enhancedDocumentElements": {
          "items": {
            "type": "string"
          },
          "description": "[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.",
          "type": "array",
          "deprecated": true
        },
        "useNativeText": {
          "description": "If true, will use native text instead of OCR text on pages containing native text.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata": {
      "description": "Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.",
      "id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata",
      "type": "object",
      "properties": {
        "updateTime": {
          "type": "string",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "format": "google-datetime"
        },
        "validUrisCount": {
          "format": "int32",
          "description": "Total number of unique URIs in the request that are not in invalid_uris.",
          "type": "integer"
        },
        "noindexUris": {
          "description": "URIs that have no index meta tag. Sample limited to 1000.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "urisNotMatchingTargetSitesCount": {
          "type": "integer",
          "description": "Total number of URIs that don't match any TargetSites.",
          "format": "int32"
        },
        "quotaExceededCount": {
          "description": "Total number of URIs that were rejected due to insufficient indexing resources.",
          "type": "integer",
          "format": "int32"
        },
        "invalidUrisCount": {
          "type": "integer",
          "description": "Total number of unique URIs in the request that have invalid format.",
          "format": "int32"
        },
        "noindexUrisCount": {
          "type": "integer",
          "description": "Total number of URIs that have no index meta tag.",
          "format": "int32"
        },
        "successCount": {
          "type": "integer",
          "description": "Total number of URIs that have been crawled so far.",
          "format": "int32"
        },
        "createTime": {
          "type": "string",
          "description": "Operation create time.",
          "format": "google-datetime"
        },
        "urisNotMatchingTargetSites": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000."
        },
        "pendingCount": {
          "format": "int32",
          "description": "Total number of URIs that have yet to be crawled.",
          "type": "integer"
        },
        "invalidUris": {
          "description": "Unique URIs in the request that have invalid format. Sample limited to 1000.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment": {
      "description": "Stores binarydata attached to text answer, e.g. image, video, audio, etc.",
      "properties": {
        "data": {
          "readOnly": true,
          "description": "Output only. The blob data.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob"
        },
        "attributionType": {
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Unspecified attribution type.",
            "The attachment data is from the corpus.",
            "The attachment data is generated by the model through code generation."
          ],
          "description": "Output only. The attribution type of the blob.",
          "enum": [
            "ATTRIBUTION_TYPE_UNSPECIFIED",
            "CORPUS",
            "GENERATED"
          ]
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment"
    },
    "GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig": {
      "type": "object",
      "description": "Config to data store for `HEALTHCARE_FHIR` vertical.",
      "properties": {
        "enableStaticIndexingForBatchIngestion": {
          "description": "Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.",
          "type": "boolean"
        },
        "initialFilterGroups": {
          "type": "array",
          "description": "Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.",
          "items": {
            "type": "string"
          }
        },
        "enableConfigurableSchema": {
          "type": "boolean",
          "description": "Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig"
    },
    "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig": {
      "id": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig",
      "type": "object",
      "properties": {
        "alloyDbConfig": {
          "description": "AlloyDB config. If set, this DataStore is connected to AlloyDB.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig"
        },
        "thirdPartyOauthConfig": {
          "description": "Third Party OAuth config. If set, this DataStore is connected to a third party application.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig"
        },
        "notebooklmConfig": {
          "description": "NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.",
          "$ref": "GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig"
        }
      },
      "description": "Stores information for federated search."
    },
    "GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Operation create time."
        },
        "updateTime": {
          "format": "google-datetime",
          "description": "Operation last update time. If the operation is done, this is also the finish time.",
          "type": "string"
        }
      },
      "description": "Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field."
    },
    "GoogleTypeDate": {
      "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
      "id": "GoogleTypeDate",
      "properties": {
        "month": {
          "format": "int32",
          "type": "integer",
          "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
        },
        "year": {
          "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
          "format": "int32",
          "type": "integer"
        },
        "day": {
          "type": "integer",
          "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented": {
      "id": "GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented",
      "type": "object",
      "description": "The user was prevented from downloading the file.",
      "properties": {}
    },
    "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec": {
      "properties": {
        "sampleQuerySet": {
          "description": "Optional. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.",
          "type": "string"
        }
      },
      "description": "Describes the specification of the query set.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec"
    },
    "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec": {
      "id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec",
      "type": "object",
      "properties": {
        "searchParams": {
          "description": "Search parameters.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams"
        },
        "searchResultList": {
          "description": "Search result list.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList"
        }
      },
      "description": "Search specification."
    },
    "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig": {
      "id": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig",
      "properties": {
        "thirdPartyOauthConfig": {
          "description": "Third Party OAuth config. If set, this DataStore is connected to a third party application.",
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig"
        },
        "notebooklmConfig": {
          "description": "NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.",
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig"
        },
        "alloyDbConfig": {
          "$ref": "GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig",
          "description": "AlloyDB config. If set, this DataStore is connected to AlloyDB."
        }
      },
      "description": "Stores information for federated search.",
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint",
      "properties": {
        "boostAmount": {
          "description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.",
          "type": "number",
          "format": "float"
        },
        "attributeValue": {
          "type": "string",
          "description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`."
        }
      },
      "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable)."
    },
    "GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse": {
      "description": "Response message for AlphaEvolveService.AcquirePrograms.",
      "id": "GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse",
      "properties": {
        "programs": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. List of acquired program candidates to be evaluated. Note: The number of programs acquired might be lower than requested.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaQualityMetrics": {
      "properties": {
        "docPrecision": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
          "description": "Precision per document, at various top-k cutoff levels. Precision is the fraction of retrieved documents that are relevant. Example (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are relevant, precision@5 = 4/5 = 0.8"
        },
        "pageNdcg": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
          "description": "Normalized discounted cumulative gain (NDCG) per page, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved pages (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
        },
        "docRecall": {
          "description": "Recall per document, at various top-k cutoff levels. Recall is the fraction of relevant documents retrieved out of all relevant documents. Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are retrieved in the top-5, recall@5 = 3/5 = 0.6",
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics"
        },
        "docNdcg": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
          "description": "Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
        },
        "pageRecall": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
          "description": "Recall per page, at various top-k cutoff levels. Recall is the fraction of relevant pages retrieved out of all relevant pages. Example (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, recall@5 = 3/5 = 0.6"
        }
      },
      "description": "Describes the metrics produced by the evaluation.",
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaQualityMetrics"
    },
    "GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata": {
      "id": "GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata",
      "description": "The annotation metadata includes structured content in the current chunk.",
      "properties": {
        "structuredContent": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaChunkStructuredContent",
          "readOnly": true,
          "description": "Output only. The structured content information."
        },
        "imageId": {
          "readOnly": true,
          "description": "Output only. Image id is provided if the structured content is based on an image.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": {
      "type": "object",
      "description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.",
      "properties": {
        "responseTemplate": {
          "description": "Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response.",
          "type": "string"
        },
        "userPromptTemplate": {
          "type": "string",
          "description": "Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt."
        }
      },
      "id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig"
    },
    "GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction": {
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction",
      "properties": {
        "principals": {
          "type": "array",
          "description": "List of principals.",
          "items": {
            "$ref": "GoogleCloudDiscoveryengineV1alphaPrincipal"
          }
        },
        "idpWide": {
          "description": "All users within the Identity Provider.",
          "type": "boolean"
        }
      },
      "description": "AclRestriction to model complex inheritance restrictions. Example: Modeling a \"Both Permit\" inheritance, where to access a child document, user needs to have access to parent document. Document Hierarchy - Space_S --\u003e Page_P. Readers: Space_S: group_1, user_1 Page_P: group_2, group_3, user_2 Space_S ACL Restriction - { \"acl_info\": { \"readers\": [ { \"principals\": [ { \"group_id\": \"group_1\" }, { \"user_id\": \"user_1\" } ] } ] } } Page_P ACL Restriction. { \"acl_info\": { \"readers\": [ { \"principals\": [ { \"group_id\": \"group_2\" }, { \"group_id\": \"group_3\" }, { \"user_id\": \"user_2\" } ], }, { \"principals\": [ { \"group_id\": \"group_1\" }, { \"user_id\": \"user_1\" } ], } ] } }"
    },
    "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec": {
      "description": "Assistant generation specification for the request. This allows to override the default generation configuration at the engine level.",
      "properties": {
        "modelId": {
          "description": "Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec"
    },
    "GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest": {
      "id": "GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest",
      "type": "object",
      "properties": {
        "names": {
          "description": "Required. Names of sources to be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source}",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "description": "Request for BatchDeleteSourcesRequest method."
    },
    "GoogleApiDistributionBucketOptionsExplicit": {
      "description": "Specifies a set of buckets with arbitrary widths. There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 \u003c= i \u003c N-1): bounds[i] Lower bound (1 \u003c= i \u003c N); bounds[i - 1] The `bounds` field must contain at least one element. If `bounds` has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
      "type": "object",
      "properties": {
        "bounds": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          },
          "description": "The values must be monotonically increasing."
        }
      },
      "id": "GoogleApiDistributionBucketOptionsExplicit"
    },
    "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec": {
      "type": "object",
      "properties": {
        "useSemanticChunks": {
          "description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.",
          "type": "boolean"
        },
        "modelSpec": {
          "description": "If specified, the spec will be used to modify the model specification provided to the LLM.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec"
        },
        "ignoreNonSummarySeekingQuery": {
          "description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.",
          "type": "boolean"
        },
        "languageCode": {
          "type": "string",
          "description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature."
        },
        "includeCitations": {
          "type": "boolean",
          "description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results."
        },
        "summaryResultCount": {
          "type": "integer",
          "description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.",
          "format": "int32"
        },
        "modelPromptSpec": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec",
          "description": "If specified, the spec will be used to modify the prompt provided to the LLM."
        },
        "ignoreLowRelevantContent": {
          "type": "boolean",
          "description": "Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers."
        },
        "ignoreJailBreakingQuery": {
          "type": "boolean",
          "description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead."
        },
        "ignoreAdversarialQuery": {
          "type": "boolean",
          "description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead."
        },
        "multimodalSpec": {
          "description": "Optional. Multimodal specification.",
          "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec"
        }
      },
      "description": "A specification for configuring a summary returned in a search response.",
      "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec"
    },
    "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig": {
      "id": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig",
      "properties": {
        "disablePrivateKgQueryUnderstanding": {
          "type": "boolean",
          "description": "Whether to disable the private KG query understanding for the engine. Defaults to false if not specified."
        },
        "disablePrivateKgQueryUiChips": {
          "description": "Whether to disable the private KG for query UI chips. Defaults to false if not specified.",
          "type": "boolean"
        },
        "disablePrivateKgAutoComplete": {
          "type": "boolean",
          "description": "Whether to disable the private KG auto complete for the engine. Defaults to false if not specified."
        },
        "disablePrivateKgEnrichment": {
          "description": "Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Feature config for the Knowledge Graph."
    },
    "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec": {
      "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec",
      "properties": {
        "imageSource": {
          "type": "string",
          "enum": [
            "IMAGE_SOURCE_UNSPECIFIED",
            "ALL_AVAILABLE_SOURCES",
            "CORPUS_IMAGE_ONLY",
            "FIGURE_GENERATION_ONLY"
          ],
          "enumDescriptions": [
            "Unspecified image source (multimodal feature is disabled by default).",
            "Behavior when service determines the pick from all available sources.",
            "Includes image from corpus in the answer.",
            "Triggers figure generation in the answer."
          ],
          "description": "Optional. Source of image returned in the answer."
        }
      },
      "type": "object",
      "description": "Multimodal specification: Will return an image from specified source. If multiple sources are specified, the pick is a quality based decision."
    },
    "GoogleCloudNotebooklmV1alphaShareNotebookRequest": {
      "description": "Request for NotebookService.ShareNotebook method.",
      "properties": {
        "accountAndRoles": {
          "description": "Required. The list of accounts and roles to share the notebook with.",
          "items": {
            "$ref": "GoogleCloudNotebooklmV1alphaAccountAndRole"
          },
          "type": "array"
        },
        "notifyViaEmail": {
          "type": "boolean",
          "description": "Required. Whether to notify the shared users via email."
        }
      },
      "type": "object",
      "id": "GoogleCloudNotebooklmV1alphaShareNotebookRequest"
    },
    "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource": {
      "description": "The inline source for the input config for DocumentService.PurgeDocuments method.",
      "id": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource",
      "properties": {
        "documents": {
          "type": "array",
          "description": "Required. A list of full resource name of documents to purge. In the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. Recommended max of 100 items.",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult": {
      "properties": {
        "bannedPhraseEnforcementResult": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult",
          "description": "The policy enforcement result for the banned phrase policy."
        },
        "modelArmorEnforcementResult": {
          "$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult",
          "description": "The policy enforcement result for the Model Armor policy."
        }
      },
      "type": "object",
      "id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult",
      "description": "Customer policy enforcement result for a single policy type."
    }
  },
  "rootUrl": "https://discoveryengine.googleapis.com/",
  "description": "Discovery Engine API.",
  "fullyEncodeReservedExpansion": true,
  "basePath": ""
}
