{
  "title": "Cloud Search API",
  "name": "cloudsearch",
  "protocol": "rest",
  "version_module": true,
  "revision": "20261106",
  "kind": "discovery#restDescription",
  "batchPath": "batch",
  "description": "Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search.",
  "rootUrl": "https://cloudsearch.googleapis.com/",
  "mtlsRootUrl": "https://cloudsearch.mtls.googleapis.com/",
  "baseUrl": "https://cloudsearch.googleapis.com/",
  "version": "v1",
  "id": "cloudsearch:v1",
  "discoveryVersion": "v1",
  "ownerDomain": "google.com",
  "ownerName": "Google",
  "resources": {
    "stats": {
      "resources": {
        "session": {
          "resources": {
            "searchapplications": {
              "methods": {
                "get": {
                  "parameters": {
                    "toDate.day": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
                    },
                    "toDate.month": {
                      "description": "Month of date. Must be from 1 to 12.",
                      "format": "int32",
                      "type": "integer",
                      "location": "query"
                    },
                    "fromDate.month": {
                      "format": "int32",
                      "type": "integer",
                      "location": "query",
                      "description": "Month of date. Must be from 1 to 12."
                    },
                    "name": {
                      "description": "The resource id of the search application session stats, in the following format: searchapplications/{application_id}",
                      "pattern": "^searchapplications/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "fromDate.year": {
                      "location": "query",
                      "description": "Year of date. Must be from 1 to 9999.",
                      "format": "int32",
                      "type": "integer"
                    },
                    "fromDate.day": {
                      "location": "query",
                      "format": "int32",
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
                      "type": "integer"
                    },
                    "toDate.year": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "Year of date. Must be from 1 to 9999."
                    }
                  },
                  "flatPath": "v1/stats/session/searchapplications/{searchapplicationsId}",
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.stats",
                    "https://www.googleapis.com/auth/cloud_search.stats.indexing"
                  ],
                  "description": "Get the # of search sessions, % of successful sessions with a click query statistics for search application. **Note:** This API requires a standard end user account to execute.",
                  "response": {
                    "$ref": "GetSearchApplicationSessionStatsResponse"
                  },
                  "id": "cloudsearch.stats.session.searchapplications.get",
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/stats/session/{+name}"
                }
              }
            }
          }
        },
        "user": {
          "resources": {
            "searchapplications": {
              "methods": {
                "get": {
                  "path": "v1/stats/user/{+name}",
                  "flatPath": "v1/stats/user/searchapplications/{searchapplicationsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "pattern": "^searchapplications/[^/]+$",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "The resource id of the search application session stats, in the following format: searchapplications/{application_id}"
                    },
                    "toDate.year": {
                      "description": "Year of date. Must be from 1 to 9999.",
                      "type": "integer",
                      "location": "query",
                      "format": "int32"
                    },
                    "fromDate.month": {
                      "description": "Month of date. Must be from 1 to 12.",
                      "format": "int32",
                      "type": "integer",
                      "location": "query"
                    },
                    "fromDate.day": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
                    },
                    "fromDate.year": {
                      "format": "int32",
                      "type": "integer",
                      "description": "Year of date. Must be from 1 to 9999.",
                      "location": "query"
                    },
                    "toDate.day": {
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "toDate.month": {
                      "location": "query",
                      "description": "Month of date. Must be from 1 to 12.",
                      "type": "integer",
                      "format": "int32"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.stats",
                    "https://www.googleapis.com/auth/cloud_search.stats.indexing"
                  ],
                  "description": "Get the users statistics for search application. **Note:** This API requires a standard end user account to execute.",
                  "id": "cloudsearch.stats.user.searchapplications.get",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GetSearchApplicationUserStatsResponse"
                  }
                }
              }
            }
          }
        },
        "index": {
          "resources": {
            "datasources": {
              "methods": {
                "get": {
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "flatPath": "v1/stats/index/datasources/{datasourcesId}",
                  "parameters": {
                    "toDate.month": {
                      "format": "int32",
                      "description": "Month of date. Must be from 1 to 12.",
                      "type": "integer",
                      "location": "query"
                    },
                    "fromDate.year": {
                      "location": "query",
                      "format": "int32",
                      "type": "integer",
                      "description": "Year of date. Must be from 1 to 9999."
                    },
                    "toDate.day": {
                      "format": "int32",
                      "type": "integer",
                      "location": "query",
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
                    },
                    "fromDate.day": {
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
                      "type": "integer",
                      "format": "int32",
                      "location": "query"
                    },
                    "fromDate.month": {
                      "description": "Month of date. Must be from 1 to 12.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "name": {
                      "description": "The resource id of the data source to retrieve statistics for, in the following format: \"datasources/{source_id}\"",
                      "pattern": "^datasources/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    },
                    "toDate.year": {
                      "description": "Year of date. Must be from 1 to 9999.",
                      "type": "integer",
                      "format": "int32",
                      "location": "query"
                    }
                  },
                  "description": "Gets indexed item statistics for a single data source. **Note:** This API requires a standard end user account to execute.",
                  "path": "v1/stats/index/{+name}",
                  "response": {
                    "$ref": "GetDataSourceIndexStatsResponse"
                  },
                  "id": "cloudsearch.stats.index.datasources.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.stats",
                    "https://www.googleapis.com/auth/cloud_search.stats.indexing"
                  ]
                }
              }
            }
          }
        },
        "query": {
          "resources": {
            "searchapplications": {
              "methods": {
                "get": {
                  "flatPath": "v1/stats/query/searchapplications/{searchapplicationsId}",
                  "httpMethod": "GET",
                  "id": "cloudsearch.stats.query.searchapplications.get",
                  "parameters": {
                    "fromDate.year": {
                      "description": "Year of date. Must be from 1 to 9999.",
                      "type": "integer",
                      "location": "query",
                      "format": "int32"
                    },
                    "toDate.day": {
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
                      "type": "integer",
                      "format": "int32",
                      "location": "query"
                    },
                    "name": {
                      "type": "string",
                      "pattern": "^searchapplications/[^/]+$",
                      "required": true,
                      "location": "path",
                      "description": "The resource id of the search application query stats, in the following format: searchapplications/{application_id}"
                    },
                    "fromDate.day": {
                      "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
                      "format": "int32",
                      "location": "query",
                      "type": "integer"
                    },
                    "fromDate.month": {
                      "location": "query",
                      "format": "int32",
                      "description": "Month of date. Must be from 1 to 12.",
                      "type": "integer"
                    },
                    "toDate.year": {
                      "type": "integer",
                      "format": "int32",
                      "description": "Year of date. Must be from 1 to 9999.",
                      "location": "query"
                    },
                    "toDate.month": {
                      "description": "Month of date. Must be from 1 to 12.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/stats/query/{+name}",
                  "description": "Get the query statistics for search application. **Note:** This API requires a standard end user account to execute.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.stats",
                    "https://www.googleapis.com/auth/cloud_search.stats.indexing"
                  ],
                  "response": {
                    "$ref": "GetSearchApplicationQueryStatsResponse"
                  }
                }
              }
            }
          }
        }
      },
      "methods": {
        "getUser": {
          "response": {
            "$ref": "GetCustomerUserStatsResponse"
          },
          "description": "Get the users statistics for customer. **Note:** This API requires a standard end user account to execute.",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.stats",
            "https://www.googleapis.com/auth/cloud_search.stats.indexing"
          ],
          "parameters": {
            "toDate.day": {
              "format": "int32",
              "location": "query",
              "type": "integer",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
            },
            "fromDate.year": {
              "location": "query",
              "type": "integer",
              "description": "Year of date. Must be from 1 to 9999.",
              "format": "int32"
            },
            "fromDate.month": {
              "format": "int32",
              "description": "Month of date. Must be from 1 to 12.",
              "location": "query",
              "type": "integer"
            },
            "toDate.year": {
              "location": "query",
              "type": "integer",
              "format": "int32",
              "description": "Year of date. Must be from 1 to 9999."
            },
            "toDate.month": {
              "location": "query",
              "description": "Month of date. Must be from 1 to 12.",
              "type": "integer",
              "format": "int32"
            },
            "fromDate.day": {
              "type": "integer",
              "location": "query",
              "format": "int32",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
            }
          },
          "path": "v1/stats/user",
          "parameterOrder": [],
          "flatPath": "v1/stats/user",
          "id": "cloudsearch.stats.getUser",
          "httpMethod": "GET"
        },
        "getSearchapplication": {
          "parameters": {
            "startDate.year": {
              "description": "Year of date. Must be from 1 to 9999.",
              "location": "query",
              "format": "int32",
              "type": "integer"
            },
            "endDate.year": {
              "location": "query",
              "type": "integer",
              "format": "int32",
              "description": "Year of date. Must be from 1 to 9999."
            },
            "endDate.month": {
              "description": "Month of date. Must be from 1 to 12.",
              "location": "query",
              "format": "int32",
              "type": "integer"
            },
            "endDate.day": {
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
              "type": "integer",
              "format": "int32",
              "location": "query"
            },
            "startDate.day": {
              "format": "int32",
              "type": "integer",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
              "location": "query"
            },
            "startDate.month": {
              "format": "int32",
              "location": "query",
              "type": "integer",
              "description": "Month of date. Must be from 1 to 12."
            }
          },
          "flatPath": "v1/stats/searchapplication",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.stats",
            "https://www.googleapis.com/auth/cloud_search.stats.indexing"
          ],
          "description": "Get search application stats for customer. **Note:** This API requires a standard end user account to execute.",
          "path": "v1/stats/searchapplication",
          "httpMethod": "GET",
          "response": {
            "$ref": "GetCustomerSearchApplicationStatsResponse"
          },
          "parameterOrder": [],
          "id": "cloudsearch.stats.getSearchapplication"
        },
        "getSession": {
          "path": "v1/stats/session",
          "response": {
            "$ref": "GetCustomerSessionStatsResponse"
          },
          "parameters": {
            "fromDate.month": {
              "format": "int32",
              "description": "Month of date. Must be from 1 to 12.",
              "type": "integer",
              "location": "query"
            },
            "toDate.year": {
              "description": "Year of date. Must be from 1 to 9999.",
              "location": "query",
              "format": "int32",
              "type": "integer"
            },
            "fromDate.day": {
              "type": "integer",
              "location": "query",
              "format": "int32",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
            },
            "fromDate.year": {
              "location": "query",
              "description": "Year of date. Must be from 1 to 9999.",
              "type": "integer",
              "format": "int32"
            },
            "toDate.day": {
              "type": "integer",
              "format": "int32",
              "location": "query",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
            },
            "toDate.month": {
              "type": "integer",
              "format": "int32",
              "location": "query",
              "description": "Month of date. Must be from 1 to 12."
            }
          },
          "flatPath": "v1/stats/session",
          "parameterOrder": [],
          "id": "cloudsearch.stats.getSession",
          "description": "Get the # of search sessions, % of successful sessions with a click query statistics for customer. **Note:** This API requires a standard end user account to execute.",
          "httpMethod": "GET",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.stats",
            "https://www.googleapis.com/auth/cloud_search.stats.indexing"
          ]
        },
        "getIndex": {
          "path": "v1/stats/index",
          "description": "Gets indexed item statistics aggreggated across all data sources. This API only returns statistics for previous dates; it doesn't return statistics for the current day. **Note:** This API requires a standard end user account to execute.",
          "flatPath": "v1/stats/index",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.stats",
            "https://www.googleapis.com/auth/cloud_search.stats.indexing"
          ],
          "httpMethod": "GET",
          "parameterOrder": [],
          "id": "cloudsearch.stats.getIndex",
          "response": {
            "$ref": "GetCustomerIndexStatsResponse"
          },
          "parameters": {
            "toDate.year": {
              "description": "Year of date. Must be from 1 to 9999.",
              "format": "int32",
              "type": "integer",
              "location": "query"
            },
            "fromDate.day": {
              "location": "query",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
              "type": "integer",
              "format": "int32"
            },
            "toDate.day": {
              "format": "int32",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
              "type": "integer",
              "location": "query"
            },
            "fromDate.year": {
              "location": "query",
              "description": "Year of date. Must be from 1 to 9999.",
              "type": "integer",
              "format": "int32"
            },
            "toDate.month": {
              "description": "Month of date. Must be from 1 to 12.",
              "format": "int32",
              "location": "query",
              "type": "integer"
            },
            "fromDate.month": {
              "location": "query",
              "type": "integer",
              "description": "Month of date. Must be from 1 to 12.",
              "format": "int32"
            }
          }
        },
        "getQuery": {
          "description": "Get the query statistics for customer. **Note:** This API requires a standard end user account to execute.",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.stats",
            "https://www.googleapis.com/auth/cloud_search.stats.indexing"
          ],
          "path": "v1/stats/query",
          "parameterOrder": [],
          "response": {
            "$ref": "GetCustomerQueryStatsResponse"
          },
          "httpMethod": "GET",
          "parameters": {
            "fromDate.day": {
              "format": "int32",
              "location": "query",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month.",
              "type": "integer"
            },
            "fromDate.year": {
              "format": "int32",
              "location": "query",
              "type": "integer",
              "description": "Year of date. Must be from 1 to 9999."
            },
            "fromDate.month": {
              "location": "query",
              "description": "Month of date. Must be from 1 to 12.",
              "type": "integer",
              "format": "int32"
            },
            "toDate.day": {
              "location": "query",
              "format": "int32",
              "type": "integer",
              "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
            },
            "toDate.month": {
              "description": "Month of date. Must be from 1 to 12.",
              "location": "query",
              "format": "int32",
              "type": "integer"
            },
            "toDate.year": {
              "location": "query",
              "description": "Year of date. Must be from 1 to 9999.",
              "format": "int32",
              "type": "integer"
            }
          },
          "flatPath": "v1/stats/query",
          "id": "cloudsearch.stats.getQuery"
        }
      }
    },
    "media": {
      "methods": {
        "upload": {
          "httpMethod": "POST",
          "flatPath": "v1/media/{mediaId}",
          "supportsMediaUpload": true,
          "request": {
            "$ref": "Media"
          },
          "path": "v1/media/{+resourceName}",
          "description": "Uploads media for indexing. The upload endpoint supports direct and resumable upload protocols and is intended for large items that can not be [inlined during index requests](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items#itemcontent). To index large content: 1. Call indexing.datasources.items.upload with the item name to begin an upload session and retrieve the UploadItemRef. 1. Call media.upload to upload the content, as a streaming request, using the same resource name from the UploadItemRef from step 1. 1. Call indexing.datasources.items.index to index the item. Populate the [ItemContent](/cloud-search/docs/reference/rest/v1/indexing.datasources.items#ItemContent) with the UploadItemRef from step 1. For additional information, see [Create a content connector using the REST API](https://developers.google.com/workspace/cloud-search/docs/guides/content-connector#rest). **Note:** This API requires a service account to execute.",
          "parameters": {
            "resourceName": {
              "required": true,
              "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.",
              "type": "string",
              "pattern": "^.*$",
              "location": "path"
            }
          },
          "id": "cloudsearch.media.upload",
          "parameterOrder": [
            "resourceName"
          ],
          "response": {
            "$ref": "Media"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.indexing"
          ],
          "mediaUpload": {
            "protocols": {
              "simple": {
                "multipart": true,
                "path": "/upload/v1/media/{+resourceName}"
              }
            },
            "accept": [
              "*/*"
            ]
          }
        }
      }
    },
    "query": {
      "methods": {
        "suggest": {
          "description": "Provides suggestions for autocompleting the query. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).",
          "request": {
            "$ref": "SuggestRequest"
          },
          "flatPath": "v1/query/suggest",
          "parameterOrder": [],
          "path": "v1/query/suggest",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.query"
          ],
          "parameters": {},
          "id": "cloudsearch.query.suggest",
          "response": {
            "$ref": "SuggestResponse"
          },
          "httpMethod": "POST"
        },
        "removeActivity": {
          "request": {
            "$ref": "RemoveActivityRequest"
          },
          "parameters": {},
          "httpMethod": "POST",
          "response": {
            "$ref": "RemoveActivityResponse"
          },
          "id": "cloudsearch.query.removeActivity",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.query"
          ],
          "flatPath": "v1/query:removeActivity",
          "parameterOrder": [],
          "description": "Provides functionality to remove logged activity for a user. Currently to be used only for Chat 1p clients **Note:** This API requires a standard end user account to execute. A service account can't perform Remove Activity requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).",
          "path": "v1/query:removeActivity"
        },
        "search": {
          "parameterOrder": [],
          "id": "cloudsearch.query.search",
          "httpMethod": "POST",
          "description": "The Cloud Search Query API provides the search method, which returns the most relevant results from a user query. The results can come from Google Workspace apps, such as Gmail or Google Drive, or they can come from data that you have indexed from a third party. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).",
          "path": "v1/query/search",
          "response": {
            "$ref": "SearchResponse"
          },
          "parameters": {},
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.query"
          ],
          "flatPath": "v1/query/search",
          "request": {
            "$ref": "SearchRequest"
          }
        }
      },
      "resources": {
        "sources": {
          "methods": {
            "list": {
              "id": "cloudsearch.query.sources.list",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.query"
              ],
              "description": "Returns list of sources that user can use for Search and Suggest APIs. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).",
              "flatPath": "v1/query/sources",
              "httpMethod": "GET",
              "parameterOrder": [],
              "response": {
                "$ref": "ListQuerySourcesResponse"
              },
              "parameters": {
                "requestOptions.searchApplicationId": {
                  "location": "query",
                  "description": "The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).",
                  "type": "string"
                },
                "requestOptions.timeZone": {
                  "location": "query",
                  "type": "string",
                  "description": "Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used."
                },
                "pageToken": {
                  "type": "string",
                  "location": "query",
                  "description": "Number of sources to return in the response."
                },
                "requestOptions.queryLanguageCode": {
                  "location": "query",
                  "description": "Optional. The BCP-47 language code representing the language of the query.",
                  "type": "string"
                },
                "requestOptions.clientDisplayLanguageCode": {
                  "type": "string",
                  "description": "The BCP-47 language code, such as \"pt\" or \"en\". It represents the user's preferred Display Language.",
                  "location": "query"
                },
                "requestOptions.languageCode": {
                  "location": "query",
                  "type": "string",
                  "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions."
                },
                "requestOptions.countryCode": {
                  "description": "Optional. Specifies the country/region where the query originated, as a lowercase ISO 3166-1 alpha-2 region code (using 'uk' instead of 'gb' for the United Kingdom).",
                  "location": "query",
                  "type": "string"
                },
                "requestOptions.debugOptions.enableDebugging": {
                  "location": "query",
                  "type": "boolean",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field."
                }
              },
              "path": "v1/query/sources"
            }
          }
        }
      }
    },
    "operations": {
      "resources": {
        "lro": {
          "methods": {
            "list": {
              "flatPath": "v1/operations/{operationsId}/lro",
              "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
              "id": "cloudsearch.operations.lro.list",
              "parameterOrder": [
                "name"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.debug",
                "https://www.googleapis.com/auth/cloud_search.indexing",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ],
              "httpMethod": "GET",
              "path": "v1/{+name}/lro",
              "response": {
                "$ref": "ListOperationsResponse"
              },
              "parameters": {
                "filter": {
                  "description": "The standard list filter.",
                  "location": "query",
                  "type": "string"
                },
                "name": {
                  "description": "The name of the operation's parent resource.",
                  "required": true,
                  "type": "string",
                  "location": "path",
                  "pattern": "^operations/.*$"
                },
                "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"
                },
                "pageSize": {
                  "format": "int32",
                  "description": "The standard list page size.",
                  "type": "integer",
                  "location": "query"
                },
                "pageToken": {
                  "description": "The standard list page token.",
                  "type": "string",
                  "location": "query"
                }
              }
            }
          }
        }
      },
      "methods": {
        "get": {
          "path": "v1/{+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"
          ],
          "response": {
            "$ref": "Operation"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.debug",
            "https://www.googleapis.com/auth/cloud_search.indexing",
            "https://www.googleapis.com/auth/cloud_search.settings",
            "https://www.googleapis.com/auth/cloud_search.settings.indexing",
            "https://www.googleapis.com/auth/cloud_search.settings.query"
          ],
          "parameters": {
            "name": {
              "location": "path",
              "type": "string",
              "description": "The name of the operation resource.",
              "required": true,
              "pattern": "^operations/.*$"
            }
          },
          "flatPath": "v1/operations/{operationsId}",
          "id": "cloudsearch.operations.get",
          "httpMethod": "GET"
        }
      }
    },
    "indexing": {
      "resources": {
        "datasources": {
          "resources": {
            "items": {
              "methods": {
                "delete": {
                  "description": "Deletes Item resource for the specified resource name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}",
                  "path": "v1/indexing/{+name}",
                  "parameters": {
                    "debugOptions.enableDebugging": {
                      "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                      "type": "boolean",
                      "location": "query"
                    },
                    "connectorName": {
                      "location": "query",
                      "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
                      "type": "string"
                    },
                    "mode": {
                      "enumDescriptions": [
                        "The priority is not specified in the update request. Leaving priority unspecified results in an update failure.",
                        "For real-time updates.",
                        "For changes that are executed after the response is sent back to the caller."
                      ],
                      "type": "string",
                      "enum": [
                        "UNSPECIFIED",
                        "SYNCHRONOUS",
                        "ASYNCHRONOUS"
                      ],
                      "description": "Required. The RequestMode for this request.",
                      "location": "query"
                    },
                    "version": {
                      "type": "string",
                      "location": "query",
                      "format": "byte",
                      "description": "Required. The incremented version of the item to delete from the index. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/workspace/cloud-search/docs/guides/operations)."
                    },
                    "name": {
                      "description": "Required. The name of the item to delete. Format: datasources/{source_id}/items/{item_id}",
                      "pattern": "^datasources/[^/]+/items/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "response": {
                    "$ref": "Operation"
                  },
                  "id": "cloudsearch.indexing.datasources.items.delete",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "DELETE",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ]
                },
                "upload": {
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}:upload",
                  "request": {
                    "$ref": "StartUploadItemRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "path": "v1/indexing/{+name}:upload",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "UploadItemRef"
                  },
                  "id": "cloudsearch.indexing.datasources.items.upload",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "The name of the Item to start a resumable upload. Format: datasources/{source_id}/items/{item_id}. The maximum length is 1536 bytes.",
                      "pattern": "^datasources/[^/]+/items/[^/]+$"
                    }
                  },
                  "description": "Creates an upload session for uploading item content. For items smaller than 100 KB, it's easier to embed the content inline within an index request. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source."
                },
                "unreserve": {
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "Operation"
                  },
                  "id": "cloudsearch.indexing.datasources.items.unreserve",
                  "path": "v1/indexing/{+name}/items:unreserve",
                  "description": "Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "UnreserveItemsRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items:unreserve",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "description": "The name of the Data Source to unreserve all items. Format: datasources/{source_id}",
                      "required": true,
                      "pattern": "^datasources/[^/]+$",
                      "type": "string"
                    }
                  }
                },
                "get": {
                  "path": "v1/indexing/{+name}",
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}",
                  "description": "Gets Item resource by item name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "id": "cloudsearch.indexing.datasources.items.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "parameters": {
                    "connectorName": {
                      "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
                      "location": "query",
                      "type": "string"
                    },
                    "name": {
                      "required": true,
                      "type": "string",
                      "description": "The name of the item to get info. Format: datasources/{source_id}/items/{item_id}",
                      "pattern": "^datasources/[^/]+/items/[^/]+$",
                      "location": "path"
                    },
                    "debugOptions.enableDebugging": {
                      "type": "boolean",
                      "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                      "location": "query"
                    }
                  },
                  "response": {
                    "$ref": "Item"
                  }
                },
                "list": {
                  "description": "Lists all or a subset of Item resources. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "id": "cloudsearch.indexing.datasources.items.list",
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items",
                  "httpMethod": "GET",
                  "path": "v1/indexing/{+name}/items",
                  "response": {
                    "$ref": "ListItemsResponse"
                  },
                  "parameters": {
                    "brief": {
                      "location": "query",
                      "type": "boolean",
                      "description": "When set to true, the indexing system only populates the following fields: name, version, queue. metadata.hash, metadata.title, metadata.sourceRepositoryURL, metadata.objectType, metadata.createTime, metadata.updateTime, metadata.contentLanguage, metadata.mimeType, structured_data.hash, content.hash, itemType, itemStatus.code, itemStatus.processingError.code, itemStatus.repositoryError.type, If this value is false, then all the fields are populated in Item."
                    },
                    "pageToken": {
                      "description": "The next_page_token value returned from a previous List request, if any.",
                      "location": "query",
                      "type": "string"
                    },
                    "debugOptions.enableDebugging": {
                      "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                      "location": "query",
                      "type": "boolean"
                    },
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "location": "query",
                      "description": "Maximum number of items to fetch in a request. The max value is 1000 when brief is true. The max value is 10 if brief is false. The default value is 10"
                    },
                    "connectorName": {
                      "location": "query",
                      "type": "string",
                      "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}"
                    },
                    "name": {
                      "description": "The name of the Data Source to list Items. Format: datasources/{source_id}",
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "pattern": "^datasources/[^/]+$"
                    }
                  }
                },
                "index": {
                  "path": "v1/indexing/{+name}:index",
                  "description": "Updates Item ACL, metadata, and content. It will insert the Item if it does not exist. This method does not support partial updates. Fields with no provided values are cleared out in the Cloud Search index. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "type": "string",
                      "pattern": "^datasources/[^/]+/items/[^/]+$",
                      "required": true,
                      "description": "The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters."
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "IndexItemRequest"
                  },
                  "id": "cloudsearch.indexing.datasources.items.index",
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}:index"
                },
                "deleteQueueItems": {
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items:deleteQueueItems",
                  "id": "cloudsearch.indexing.datasources.items.deleteQueueItems",
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "description": "Deletes all items in a queue. This method is useful for deleting stale items. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "path": "v1/indexing/{+name}/items:deleteQueueItems",
                  "response": {
                    "$ref": "Operation"
                  },
                  "request": {
                    "$ref": "DeleteQueueItemsRequest"
                  },
                  "parameters": {
                    "name": {
                      "required": true,
                      "description": "The name of the Data Source to delete items in a queue. Format: datasources/{source_id}",
                      "type": "string",
                      "location": "path",
                      "pattern": "^datasources/[^/]+$"
                    }
                  }
                },
                "push": {
                  "parameters": {
                    "name": {
                      "description": "The name of the item to push into the indexing queue. Format: datasources/{source_id}/items/{ID} This is a required field. The maximum length is 1536 characters.",
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "pattern": "^datasources/[^/]+/items/[^/]+$"
                    }
                  },
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}:push",
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "PushItemRequest"
                  },
                  "response": {
                    "$ref": "Item"
                  },
                  "path": "v1/indexing/{+name}:push",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "description": "Pushes an item onto a queue for later polling and updating. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "id": "cloudsearch.indexing.datasources.items.push"
                },
                "poll": {
                  "parameters": {
                    "name": {
                      "pattern": "^datasources/[^/]+$",
                      "required": true,
                      "description": "The name of the Data Source to poll items. Format: datasources/{source_id}",
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.indexing"
                  ],
                  "path": "v1/indexing/{+name}/items:poll",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "PollItemsRequest"
                  },
                  "id": "cloudsearch.indexing.datasources.items.poll",
                  "flatPath": "v1/indexing/datasources/{datasourcesId}/items:poll",
                  "description": "Polls for unreserved items from the indexing queue and marks a set as reserved, starting with items that have the oldest timestamp from the highest priority ItemStatus. The priority order is as follows: ERROR MODIFIED NEW_ITEM ACCEPTED Reserving items ensures that polling from other threads cannot create overlapping sets. After handling the reserved items, the client should put items back into the unreserved state, either by calling index, or by calling push with the type REQUEUE. Items automatically become available (unreserved) after 4 hours even if no update or push method is called. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.",
                  "response": {
                    "$ref": "PollItemsResponse"
                  },
                  "parameterOrder": [
                    "name"
                  ]
                }
              }
            }
          },
          "methods": {
            "getSchema": {
              "parameterOrder": [
                "name"
              ],
              "id": "cloudsearch.indexing.datasources.getSchema",
              "path": "v1/indexing/{+name}/schema",
              "response": {
                "$ref": "Schema"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "httpMethod": "GET",
              "description": "Gets the schema of a data source. **Note:** This API requires an admin or service account to execute.",
              "parameters": {
                "name": {
                  "pattern": "^datasources/[^/]+$",
                  "description": "The name of the data source to get Schema. Format: datasources/{source_id}",
                  "required": true,
                  "type": "string",
                  "location": "path"
                },
                "debugOptions.enableDebugging": {
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                  "type": "boolean",
                  "location": "query"
                }
              },
              "flatPath": "v1/indexing/datasources/{datasourcesId}/schema"
            },
            "updateSchema": {
              "path": "v1/indexing/{+name}/schema",
              "response": {
                "$ref": "Operation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "request": {
                "$ref": "UpdateSchemaRequest"
              },
              "parameters": {
                "name": {
                  "type": "string",
                  "description": "The name of the data source to update Schema. Format: datasources/{source_id}",
                  "location": "path",
                  "required": true,
                  "pattern": "^datasources/[^/]+$"
                }
              },
              "id": "cloudsearch.indexing.datasources.updateSchema",
              "flatPath": "v1/indexing/datasources/{datasourcesId}/schema",
              "parameterOrder": [
                "name"
              ],
              "description": "Updates the schema of a data source. This method does not perform incremental updates to the schema. Instead, this method updates the schema by overwriting the entire schema. **Note:** This API requires an admin or service account to execute.",
              "httpMethod": "PUT"
            },
            "deleteSchema": {
              "path": "v1/indexing/{+name}/schema",
              "parameters": {
                "debugOptions.enableDebugging": {
                  "location": "query",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                  "type": "boolean"
                },
                "name": {
                  "pattern": "^datasources/[^/]+$",
                  "required": true,
                  "type": "string",
                  "description": "The name of the data source to delete Schema. Format: datasources/{source_id}",
                  "location": "path"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "Operation"
              },
              "httpMethod": "DELETE",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "id": "cloudsearch.indexing.datasources.deleteSchema",
              "description": "Deletes the schema of a data source. **Note:** This API requires an admin or service account to execute.",
              "flatPath": "v1/indexing/datasources/{datasourcesId}/schema"
            }
          }
        }
      }
    },
    "v1": {
      "methods": {
        "initializeCustomer": {
          "parameters": {},
          "parameterOrder": [],
          "request": {
            "$ref": "InitializeCustomerRequest"
          },
          "response": {
            "$ref": "Operation"
          },
          "httpMethod": "POST",
          "id": "cloudsearch.initializeCustomer",
          "path": "v1:initializeCustomer",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.settings",
            "https://www.googleapis.com/auth/cloud_search.settings.indexing"
          ],
          "description": "Enables `third party` support in Google Cloud Search. **Note:** This API requires an admin account to execute.",
          "flatPath": "v1:initializeCustomer"
        }
      }
    },
    "settings": {
      "methods": {
        "getCustomer": {
          "path": "v1/settings/customer",
          "parameterOrder": [],
          "parameters": {},
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.settings",
            "https://www.googleapis.com/auth/cloud_search.settings.indexing"
          ],
          "httpMethod": "GET",
          "id": "cloudsearch.settings.getCustomer",
          "response": {
            "$ref": "CustomerSettings"
          },
          "description": "Get customer settings. **Note:** This API requires an admin account to execute.",
          "flatPath": "v1/settings/customer"
        },
        "updateCustomer": {
          "description": "Update customer settings. **Note:** This API requires an admin account to execute.",
          "path": "v1/settings/customer",
          "scopes": [
            "https://www.googleapis.com/auth/cloud_search",
            "https://www.googleapis.com/auth/cloud_search.settings",
            "https://www.googleapis.com/auth/cloud_search.settings.indexing"
          ],
          "response": {
            "$ref": "Operation"
          },
          "request": {
            "$ref": "CustomerSettings"
          },
          "parameterOrder": [],
          "parameters": {
            "updateMask": {
              "description": "Update mask to control which fields get updated. If you specify a field in the update_mask but don't specify its value here, that field will be cleared. If the mask is not present or empty, all fields will be updated. Currently supported field paths: vpc_settings and audit_logging_settings",
              "format": "google-fieldmask",
              "location": "query",
              "type": "string"
            }
          },
          "httpMethod": "PATCH",
          "id": "cloudsearch.settings.updateCustomer",
          "flatPath": "v1/settings/customer"
        }
      },
      "resources": {
        "searchapplications": {
          "methods": {
            "create": {
              "httpMethod": "POST",
              "flatPath": "v1/settings/searchapplications",
              "path": "v1/settings/searchapplications",
              "parameters": {},
              "request": {
                "$ref": "SearchApplication"
              },
              "id": "cloudsearch.settings.searchapplications.create",
              "parameterOrder": [],
              "response": {
                "$ref": "Operation"
              },
              "description": "Creates a search application. **Note:** This API requires an admin account to execute.",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ]
            },
            "delete": {
              "httpMethod": "DELETE",
              "description": "Deletes a search application. **Note:** This API requires an admin account to execute.",
              "path": "v1/settings/{+name}",
              "response": {
                "$ref": "Operation"
              },
              "parameters": {
                "name": {
                  "required": true,
                  "type": "string",
                  "location": "path",
                  "pattern": "^searchapplications/[^/]+$",
                  "description": "The name of the search application to be deleted. Format: applications/{application_id}."
                },
                "debugOptions.enableDebugging": {
                  "type": "boolean",
                  "location": "query",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field."
                }
              },
              "id": "cloudsearch.settings.searchapplications.delete",
              "parameterOrder": [
                "name"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ],
              "flatPath": "v1/settings/searchapplications/{searchapplicationsId}"
            },
            "list": {
              "response": {
                "$ref": "ListSearchApplicationsResponse"
              },
              "id": "cloudsearch.settings.searchapplications.list",
              "httpMethod": "GET",
              "parameters": {
                "debugOptions.enableDebugging": {
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                  "type": "boolean",
                  "location": "query"
                },
                "pageSize": {
                  "description": "The maximum number of items to return.",
                  "type": "integer",
                  "location": "query",
                  "format": "int32"
                },
                "pageToken": {
                  "location": "query",
                  "type": "string",
                  "description": "The next_page_token value returned from a previous List request, if any. The default value is 10"
                }
              },
              "flatPath": "v1/settings/searchapplications",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ],
              "path": "v1/settings/searchapplications",
              "parameterOrder": [],
              "description": "Lists all search applications. **Note:** This API requires an admin account to execute."
            },
            "get": {
              "parameters": {
                "name": {
                  "pattern": "^searchapplications/[^/]+$",
                  "location": "path",
                  "description": "The name of the search application. Format: searchapplications/{application_id}.",
                  "required": true,
                  "type": "string"
                },
                "debugOptions.enableDebugging": {
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                  "type": "boolean",
                  "location": "query"
                }
              },
              "response": {
                "$ref": "SearchApplication"
              },
              "parameterOrder": [
                "name"
              ],
              "httpMethod": "GET",
              "flatPath": "v1/settings/searchapplications/{searchapplicationsId}",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ],
              "id": "cloudsearch.settings.searchapplications.get",
              "description": "Gets the specified search application. **Note:** This API requires an admin account to execute.",
              "path": "v1/settings/{+name}"
            },
            "patch": {
              "path": "v1/settings/{+name}",
              "response": {
                "$ref": "Operation"
              },
              "id": "cloudsearch.settings.searchapplications.patch",
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1/settings/searchapplications/{searchapplicationsId}",
              "request": {
                "$ref": "SearchApplication"
              },
              "description": "Updates a search application. **Note:** This API requires an admin account to execute.",
              "httpMethod": "PATCH",
              "parameters": {
                "updateMask": {
                  "location": "query",
                  "description": "Only applies to [`settings.searchapplications.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.",
                  "format": "google-fieldmask",
                  "type": "string"
                },
                "name": {
                  "location": "path",
                  "required": true,
                  "pattern": "^searchapplications/[^/]+$",
                  "description": "The name of the Search Application. Format: searchapplications/{application_id}.",
                  "type": "string"
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ]
            },
            "reset": {
              "path": "v1/settings/{+name}:reset",
              "id": "cloudsearch.settings.searchapplications.reset",
              "description": "Resets a search application to default settings. This will return an empty response. **Note:** This API requires an admin account to execute.",
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "Operation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ],
              "parameters": {
                "name": {
                  "description": "The name of the search application to be reset. Format: applications/{application_id}.",
                  "location": "path",
                  "type": "string",
                  "required": true,
                  "pattern": "^searchapplications/[^/]+$"
                }
              },
              "request": {
                "$ref": "ResetSearchApplicationRequest"
              },
              "httpMethod": "POST",
              "flatPath": "v1/settings/searchapplications/{searchapplicationsId}:reset"
            },
            "update": {
              "id": "cloudsearch.settings.searchapplications.update",
              "parameterOrder": [
                "name"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.query"
              ],
              "response": {
                "$ref": "Operation"
              },
              "parameters": {
                "updateMask": {
                  "format": "google-fieldmask",
                  "description": "Only applies to [`settings.searchapplications.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.",
                  "location": "query",
                  "type": "string"
                },
                "name": {
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "description": "The name of the Search Application. Format: searchapplications/{application_id}.",
                  "pattern": "^searchapplications/[^/]+$"
                }
              },
              "description": "Updates a search application. **Note:** This API requires an admin account to execute.",
              "path": "v1/settings/{+name}",
              "httpMethod": "PUT",
              "request": {
                "$ref": "SearchApplication"
              },
              "flatPath": "v1/settings/searchapplications/{searchapplicationsId}"
            }
          }
        },
        "datasources": {
          "methods": {
            "get": {
              "flatPath": "v1/settings/datasources/{datasourcesId}",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "httpMethod": "GET",
              "description": "Gets a datasource. **Note:** This API requires an admin account to execute.",
              "path": "v1/settings/{+name}",
              "parameters": {
                "name": {
                  "pattern": "^datasources/[^/]+$",
                  "location": "path",
                  "description": "The name of the datasource resource. Format: datasources/{source_id}.",
                  "type": "string",
                  "required": true
                },
                "debugOptions.enableDebugging": {
                  "location": "query",
                  "type": "boolean",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field."
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "DataSource"
              },
              "id": "cloudsearch.settings.datasources.get"
            },
            "list": {
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "response": {
                "$ref": "ListDataSourceResponse"
              },
              "parameters": {
                "pageToken": {
                  "location": "query",
                  "type": "string",
                  "description": "Starting index of the results."
                },
                "debugOptions.enableDebugging": {
                  "location": "query",
                  "type": "boolean",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field."
                },
                "pageSize": {
                  "location": "query",
                  "type": "integer",
                  "description": "Maximum number of datasources to fetch in a request. The max value is 1000. The default value is 1000.",
                  "format": "int32"
                }
              },
              "path": "v1/settings/datasources",
              "httpMethod": "GET",
              "parameterOrder": [],
              "flatPath": "v1/settings/datasources",
              "id": "cloudsearch.settings.datasources.list",
              "description": "Lists datasources. **Note:** This API requires an admin account to execute."
            },
            "create": {
              "description": "Creates a datasource. **Note:** This API requires an admin account to execute.",
              "request": {
                "$ref": "DataSource"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "parameterOrder": [],
              "response": {
                "$ref": "Operation"
              },
              "parameters": {},
              "id": "cloudsearch.settings.datasources.create",
              "path": "v1/settings/datasources",
              "flatPath": "v1/settings/datasources",
              "httpMethod": "POST"
            },
            "delete": {
              "id": "cloudsearch.settings.datasources.delete",
              "response": {
                "$ref": "Operation"
              },
              "httpMethod": "DELETE",
              "description": "Deletes a datasource. **Note:** This API requires an admin account to execute.",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "path": "v1/settings/{+name}",
              "parameters": {
                "name": {
                  "required": true,
                  "location": "path",
                  "description": "The name of the datasource. Format: datasources/{source_id}.",
                  "pattern": "^datasources/[^/]+$",
                  "type": "string"
                },
                "debugOptions.enableDebugging": {
                  "type": "boolean",
                  "location": "query",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field."
                }
              },
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1/settings/datasources/{datasourcesId}"
            },
            "update": {
              "httpMethod": "PUT",
              "flatPath": "v1/settings/datasources/{datasourcesId}",
              "id": "cloudsearch.settings.datasources.update",
              "description": "Updates a datasource. **Note:** This API requires an admin account to execute.",
              "parameterOrder": [
                "name"
              ],
              "request": {
                "$ref": "UpdateDataSourceRequest"
              },
              "parameters": {
                "name": {
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.",
                  "pattern": "^datasources/[^/]+$"
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ],
              "path": "v1/settings/{+name}",
              "response": {
                "$ref": "Operation"
              }
            },
            "patch": {
              "parameters": {
                "name": {
                  "location": "path",
                  "description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.",
                  "pattern": "^datasources/[^/]+$",
                  "required": true,
                  "type": "string"
                },
                "debugOptions.enableDebugging": {
                  "location": "query",
                  "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                  "type": "boolean"
                },
                "updateMask": {
                  "format": "google-fieldmask",
                  "location": "query",
                  "description": "Only applies to [`settings.datasources.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.",
                  "type": "string"
                }
              },
              "id": "cloudsearch.settings.datasources.patch",
              "request": {
                "$ref": "DataSource"
              },
              "response": {
                "$ref": "Operation"
              },
              "description": "Updates a datasource. **Note:** This API requires an admin account to execute.",
              "httpMethod": "PATCH",
              "path": "v1/settings/{+name}",
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1/settings/datasources/{datasourcesId}",
              "scopes": [
                "https://www.googleapis.com/auth/cloud_search",
                "https://www.googleapis.com/auth/cloud_search.settings",
                "https://www.googleapis.com/auth/cloud_search.settings.indexing"
              ]
            }
          }
        }
      }
    },
    "debug": {
      "resources": {
        "datasources": {
          "resources": {
            "items": {
              "methods": {
                "searchByViewUrl": {
                  "path": "v1/debug/{+name}/items:searchByViewUrl",
                  "response": {
                    "$ref": "SearchItemsByViewUrlResponse"
                  },
                  "description": "Fetches the item whose viewUrl exactly matches that of the URL provided in the request. **Note:** This API requires an admin account to execute.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.debug"
                  ],
                  "flatPath": "v1/debug/datasources/{datasourcesId}/items:searchByViewUrl",
                  "request": {
                    "$ref": "SearchItemsByViewUrlRequest"
                  },
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "cloudsearch.debug.datasources.items.searchByViewUrl",
                  "parameters": {
                    "name": {
                      "description": "Source name, format: datasources/{source_id}",
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "pattern": "^datasources/[^/]+$"
                    }
                  }
                },
                "checkAccess": {
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "Principal"
                  },
                  "description": "Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. **Note:** This API requires an admin account to execute.",
                  "path": "v1/debug/{+name}:checkAccess",
                  "response": {
                    "$ref": "CheckAccessResponse"
                  },
                  "parameters": {
                    "debugOptions.enableDebugging": {
                      "type": "boolean",
                      "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                      "location": "query"
                    },
                    "name": {
                      "pattern": "^datasources/[^/]+/items/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "Item name, format: datasources/{source_id}/items/{item_id}"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.debug"
                  ],
                  "flatPath": "v1/debug/datasources/{datasourcesId}/items/{itemsId}:checkAccess",
                  "id": "cloudsearch.debug.datasources.items.checkAccess",
                  "httpMethod": "POST"
                }
              },
              "resources": {
                "unmappedids": {
                  "methods": {
                    "list": {
                      "flatPath": "v1/debug/datasources/{datasourcesId}/items/{itemsId}/unmappedids",
                      "id": "cloudsearch.debug.datasources.items.unmappedids.list",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "description": "The name of the item, in the following format: datasources/{source_id}/items/{ID}",
                          "location": "path",
                          "pattern": "^datasources/[^/]+/items/[^/]+$",
                          "required": true,
                          "type": "string"
                        },
                        "debugOptions.enableDebugging": {
                          "location": "query",
                          "type": "boolean",
                          "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field."
                        },
                        "pageSize": {
                          "type": "integer",
                          "format": "int32",
                          "description": "Maximum number of items to fetch in a request. Defaults to 100.",
                          "location": "query"
                        },
                        "pageToken": {
                          "description": "The next_page_token value returned from a previous List request, if any.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud_search",
                        "https://www.googleapis.com/auth/cloud_search.debug"
                      ],
                      "response": {
                        "$ref": "ListUnmappedIdentitiesResponse"
                      },
                      "description": "List all unmapped identities for a specific item. **Note:** This API requires an admin account to execute.",
                      "path": "v1/debug/{+parent}/unmappedids"
                    }
                  }
                }
              }
            }
          }
        },
        "identitysources": {
          "resources": {
            "unmappedids": {
              "methods": {
                "list": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.debug"
                  ],
                  "response": {
                    "$ref": "ListUnmappedIdentitiesResponse"
                  },
                  "id": "cloudsearch.debug.identitysources.unmappedids.list",
                  "parameters": {
                    "debugOptions.enableDebugging": {
                      "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                      "location": "query",
                      "type": "boolean"
                    },
                    "resolutionStatusCode": {
                      "location": "query",
                      "description": "Limit users selection to this status.",
                      "type": "string",
                      "enum": [
                        "CODE_UNSPECIFIED",
                        "NOT_FOUND",
                        "IDENTITY_SOURCE_NOT_FOUND",
                        "IDENTITY_SOURCE_MISCONFIGURED",
                        "TOO_MANY_MAPPINGS_FOUND",
                        "INTERNAL_ERROR"
                      ],
                      "enumDescriptions": [
                        "Input-only value. Used to list all unmapped identities regardless of status.",
                        "The unmapped identity was not found in IDaaS, and needs to be provided by the user.",
                        "The identity source associated with the identity was either not found or deleted.",
                        "IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.",
                        "The number of users associated with the external identity is too large.",
                        "Internal error."
                      ]
                    },
                    "pageSize": {
                      "type": "integer",
                      "location": "query",
                      "description": "Maximum number of items to fetch in a request. Defaults to 100.",
                      "format": "int32"
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "The next_page_token value returned from a previous List request, if any.",
                      "type": "string"
                    },
                    "parent": {
                      "description": "The name of the identity source, in the following format: identitysources/{source_id}",
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "pattern": "^identitysources/[^/]+$"
                    }
                  },
                  "description": "Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute.",
                  "httpMethod": "GET",
                  "path": "v1/debug/{+parent}/unmappedids",
                  "flatPath": "v1/debug/identitysources/{identitysourcesId}/unmappedids"
                }
              }
            },
            "items": {
              "methods": {
                "listForunmappedidentity": {
                  "flatPath": "v1/debug/identitysources/{identitysourcesId}/items:forunmappedidentity",
                  "httpMethod": "GET",
                  "id": "cloudsearch.debug.identitysources.items.listForunmappedidentity",
                  "parameters": {
                    "groupResourceName": {
                      "location": "query",
                      "type": "string"
                    },
                    "parent": {
                      "pattern": "^identitysources/[^/]+$",
                      "type": "string",
                      "required": true,
                      "description": "The name of the identity source, in the following format: identitysources/{source_id}}",
                      "location": "path"
                    },
                    "userResourceName": {
                      "location": "query",
                      "type": "string"
                    },
                    "pageSize": {
                      "type": "integer",
                      "location": "query",
                      "format": "int32",
                      "description": "Maximum number of items to fetch in a request. Defaults to 100."
                    },
                    "debugOptions.enableDebugging": {
                      "type": "boolean",
                      "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
                      "location": "query"
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "The next_page_token value returned from a previous List request, if any.",
                      "type": "string"
                    }
                  },
                  "path": "v1/debug/{+parent}/items:forunmappedidentity",
                  "response": {
                    "$ref": "ListItemNamesForUnmappedIdentityResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud_search",
                    "https://www.googleapis.com/auth/cloud_search.debug"
                  ],
                  "description": "Lists names of items associated with an unmapped identity. **Note:** This API requires an admin account to execute.",
                  "parameterOrder": [
                    "parent"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "fullyEncodeReservedExpansion": true,
  "documentationLink": "https://developers.google.com/workspace/cloud-search/docs/guides/",
  "servicePath": "",
  "schemas": {
    "ErrorInfo": {
      "id": "ErrorInfo",
      "type": "object",
      "description": "Error information about the response.",
      "properties": {
        "errorMessages": {
          "type": "array",
          "items": {
            "$ref": "ErrorMessage"
          }
        }
      }
    },
    "EnumValues": {
      "id": "EnumValues",
      "description": "List of enum values.",
      "type": "object",
      "properties": {
        "values": {
          "description": "The maximum allowable length for string values is 32 characters.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "RetrievalImportance": {
      "properties": {
        "importance": {
          "enum": [
            "DEFAULT",
            "HIGHEST",
            "HIGH",
            "LOW",
            "NONE"
          ],
          "enumDescriptions": [
            "Treat the match like a body text match.",
            "Treat the match like a match against title of the item.",
            "Treat the match with higher importance than body text.",
            "Treat the match with lower importance than body text.",
            "Do not match against this field during retrieval. The property can still be used for operator matching, faceting, and suggest if desired."
          ],
          "description": "Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed.",
          "type": "string"
        }
      },
      "id": "RetrievalImportance",
      "type": "object"
    },
    "EnterpriseTopazSidekickAssistCardProto": {
      "description": "Wrapper proto for the Assist cards.",
      "type": "object",
      "id": "EnterpriseTopazSidekickAssistCardProto",
      "properties": {
        "meeting": {
          "$ref": "EnterpriseTopazSidekickAgendaEntry",
          "description": "Meeting card.",
          "deprecated": true
        },
        "genericAnswerCard": {
          "$ref": "EnterpriseTopazSidekickGenericAnswerCard",
          "description": "Generic answer card."
        },
        "documentsWithMentions": {
          "description": "Documents with mentions.",
          "deprecated": true,
          "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList"
        },
        "agendaGroupCardProto": {
          "description": "Agenda group card.",
          "$ref": "EnterpriseTopazSidekickAgendaGroupCardProto"
        },
        "workInProgressCardProto": {
          "$ref": "EnterpriseTopazSidekickRecentDocumentsCardProto",
          "description": "Work In Progress card."
        },
        "shareMeetingDocsCard": {
          "description": "Sahre meeting docs card.",
          "deprecated": true,
          "$ref": "EnterpriseTopazSidekickShareMeetingDocsCardProto"
        },
        "documentListCard": {
          "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList",
          "description": "Answer card for documents that are applicable to the current query."
        },
        "getAndKeepAheadCard": {
          "description": "Get and keep ahead card.",
          "$ref": "EnterpriseTopazSidekickGetAndKeepAheadCardProto"
        },
        "conflictingMeetingsCard": {
          "$ref": "EnterpriseTopazSidekickConflictingEventsCardProto",
          "description": "Conflicting events card.",
          "deprecated": true
        },
        "cardMetadata": {
          "$ref": "EnterpriseTopazSidekickCardMetadata",
          "description": "Card metadata such as chronology and render mode of the card."
        },
        "meetingNotesCardRequest": {
          "description": "Request for meeting notes card.",
          "$ref": "EnterpriseTopazSidekickMeetingNotesCardRequest"
        },
        "personAnswerCard": {
          "$ref": "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard",
          "description": "Answer card that represents a single person."
        },
        "personalizedDocsCard": {
          "deprecated": true,
          "description": "Card with recommended documents for the user.",
          "$ref": "EnterpriseTopazSidekickPersonalizedDocsCardProto"
        },
        "meetingNotesCard": {
          "description": "Meeting notes card.",
          "$ref": "EnterpriseTopazSidekickMeetingNotesCardProto"
        },
        "thirdPartyAnswerCard": {
          "$ref": "ThirdPartyGenericCard",
          "description": "Third party answer cards."
        },
        "suggestedQueryAnswerCard": {
          "description": "Answer card for what natural language queries the user can ask.",
          "$ref": "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard"
        },
        "personProfileCard": {
          "$ref": "EnterpriseTopazSidekickPersonProfileCard",
          "description": "Full profile card."
        },
        "relatedPeopleAnswerCard": {
          "description": "Answer card that represents a list of people related to a person.",
          "$ref": "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard"
        },
        "findMeetingTimeCard": {
          "description": "Find meeting time card.",
          "$ref": "EnterpriseTopazSidekickFindMeetingTimeCardProto"
        },
        "sharedDocuments": {
          "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList",
          "deprecated": true,
          "description": "Shared documents."
        },
        "peopleDisambiguationCard": {
          "$ref": "EnterpriseTopazSidekickPeopleDisambiguationCard",
          "description": "The people disambiguation card."
        },
        "cardType": {
          "enumDescriptions": [
            "The default type, an unknown card type.",
            "The user's agenda for the day.",
            "Changelists.",
            "Any group of meetings for the day that are overlapping.",
            "Create notes for a meeting specified in the request.",
            "Create notes for meeting query.",
            "News about your SFDC customers.",
            "Find a time for two people to meet.",
            "The user's next non-declined meeting.",
            "Important documents for you since you have viewed them in the last month and there's some action going on.",
            "Documents that are trending in your company. A TRENDING_DOCS card can be of two types: TRENDING_IN_COLLABORATORS (i.e., Stay in the Loop) and TRENDING_IN_DOMAIN (i.e., Popular Content). Use DOMAIN_TRENDING_DOCS/TEAM_TRENDING_DOCS instead.",
            "An upcoming trip with all trip information along with calendar events in the destination timezone.",
            "The Morning/Evening Summary Card for the next working day.",
            "A meeting. When requesting meetings, the service will return a MEETING card for each meeting the user has in his agenda.",
            "All cards related to the homepage (agenda, conflicting-meetings, summary, etc...). This type should no longer be used. Use HOMEPAGE_V3 instead.",
            "A card to with specifics to share meeting documents with all attendees.",
            "Represents a set of users that the requesting user has low affinity with.",
            "All cards related to the homepage-v3 (agenda-group, WIP, etc...)",
            "A group of agenda-events (meeting, conflicts)",
            "The documents that you were recently working on.",
            "(v3) The \"get and keep ahead\" card for today and tomorrow",
            "Generic answer card.",
            "Third party answer card.",
            "Documents that are trending in your company/domain (i.e., Popular Content).",
            "Documents that are trending in your team (i.e., Stay in the Loop).",
            "Documents that match the user's query (e.g. sheets shared with me).",
            "A help card that provides examples of queries the user can ask.",
            "Answer card for a single person (e.g. what is x's phone number).",
            "Answer card for a list of people related to the person that is the subject of the query (e.g. who reports to x).",
            "Knowledge card for a single person and their related people.",
            "People Search promotion card."
          ],
          "enum": [
            "UNKNOWN_TYPE",
            "AGENDA",
            "CHANGELISTS",
            "CONFLICTING_MEETINGS",
            "CREATE_NOTES_FOR_MEETING",
            "CREATE_NOTES_FOR_MEETING_REQUEST",
            "CUSTOMER_NEWS",
            "FIND_MEETING_TIME",
            "NEXT_MEETING",
            "PERSONALIZED_DOCS",
            "TRENDING_DOCS",
            "UPCOMING_TRIP",
            "SUMMARY",
            "MEETINGS",
            "HOMEPAGE",
            "SHARE_MEETING_DOCS",
            "DISCOVER_PEOPLE",
            "HOMEPAGE_V3",
            "AGENDA_GROUP",
            "WORK_IN_PROGRESS",
            "GET_AND_KEEP_AHEAD",
            "GENERIC_ANSWER_CARD",
            "THIRD_PARTY_ANSWER_CARD",
            "DOMAIN_TRENDING_DOCS",
            "TEAM_TRENDING_DOCS",
            "DOCUMENT_LIST_ANSWER_CARD",
            "SUGGESTED_QUERY_ANSWER_CARD",
            "PERSON_ANSWER_CARD",
            "RELATED_PEOPLE_ANSWER_CARD",
            "PERSON_KNOWLEDGE_CARD",
            "PEOPLE_SEARCH_PROMOTION_CARD"
          ],
          "type": "string",
          "description": "Card type.",
          "enumDeprecated": [
            false,
            true,
            true,
            true,
            true,
            true,
            true,
            false,
            true,
            true,
            true,
            true,
            true,
            true,
            true,
            true,
            true,
            true,
            false,
            false,
            false,
            false,
            false,
            true,
            true,
            false,
            false,
            false,
            false,
            false,
            false
          ]
        },
        "peoplePromotionCard": {
          "description": "People Search promotion card.",
          "$ref": "PeoplePromotionCard"
        }
      }
    },
    "DoublePropertyOptions": {
      "description": "The options for double properties.",
      "id": "DoublePropertyOptions",
      "properties": {
        "operatorOptions": {
          "description": "If set, describes how the double should be used as a search operator.",
          "$ref": "DoubleOperatorOptions"
        }
      },
      "type": "object"
    },
    "Operation": {
      "id": "Operation",
      "properties": {
        "response": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "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`."
        },
        "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}`."
        },
        "done": {
          "type": "boolean",
          "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."
        },
        "error": {
          "$ref": "Status",
          "description": "The error result of the operation in case of failure or cancellation."
        },
        "metadata": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "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."
        }
      },
      "type": "object",
      "description": "This resource represents a long-running operation that is the result of a network API call."
    },
    "SuggestResponse": {
      "id": "SuggestResponse",
      "description": "Response of the suggest API.",
      "type": "object",
      "properties": {
        "suggestResults": {
          "type": "array",
          "description": "List of suggestions.",
          "items": {
            "$ref": "SuggestResult"
          }
        }
      }
    },
    "UpdateSchemaRequest": {
      "properties": {
        "debugOptions": {
          "$ref": "DebugOptions",
          "description": "Common debug options."
        },
        "validateOnly": {
          "description": "If true, the schema will be checked for validity, but will not be registered with the data source, even if valid.",
          "type": "boolean"
        },
        "schema": {
          "description": "The new schema for the source.",
          "$ref": "Schema"
        }
      },
      "type": "object",
      "id": "UpdateSchemaRequest"
    },
    "ListDataSourceResponse": {
      "id": "ListDataSourceResponse",
      "properties": {
        "nextPageToken": {
          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
          "type": "string"
        },
        "sources": {
          "type": "array",
          "items": {
            "$ref": "DataSource"
          }
        }
      },
      "type": "object"
    },
    "ContextAttribute": {
      "id": "ContextAttribute",
      "properties": {
        "values": {
          "description": "Text values of the attribute. The maximum number of elements is 10. The maximum length of an element in the array is 32 characters. The value will be normalized (lower-cased) before being matched.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "A named attribute associated with an item which can be used for influencing the ranking of the item based on the context in the request."
    },
    "EnterpriseTopazSidekickCommonDocumentJustification": {
      "type": "object",
      "id": "EnterpriseTopazSidekickCommonDocumentJustification",
      "description": "Justification of why we are reporting the document.",
      "properties": {
        "reason": {
          "description": "Reason on why the document is selected. Populate for trending documents.",
          "enum": [
            "UNKNOWN",
            "TRENDING_IN_COLLABORATORS",
            "TRENDING_IN_DOMAIN",
            "FREQUENTLY_VIEWED",
            "FREQUENTLY_EDITED",
            "NEW_UPDATES",
            "NEW_COMMENTS",
            "EVENT_DESCRIPTION",
            "EVENT_ATTACHMENT",
            "EVENT_METADATA_ATTACHMENT",
            "MINED_DOCUMENT",
            "NEW_MENTIONS",
            "NEW_SHARES"
          ],
          "enumDescriptions": [
            "Unknown justification.",
            "Popular documents within collaborators.",
            "Popular documents within the domain.",
            "Documents being reviewed frequently by the current user .",
            "Documents being edited frequently by the current user .",
            "Documents updated since user's last visit.",
            "Documents that receive comments since user's last visit.",
            "Documents in the calendar event description.",
            "Documents in the calendar event attachments section.",
            "Documents attached in calendar event metadata instead of the attachment section. Event metadata is not visible to the final user. Enterprise assist uses this metadata to store auto-generated documents such as meeting notes.",
            "Documents mined, and so, probably related to the request context. For example, this category includes documents related to a meeting.",
            "Documents that contains mentions of the user.",
            "Documents that are shared with the user."
          ],
          "type": "string"
        },
        "justification": {
          "type": "string",
          "description": "A locale aware message that explains why this document was selected."
        }
      }
    },
    "StartUploadItemRequest": {
      "id": "StartUploadItemRequest",
      "description": "Start upload file request.",
      "type": "object",
      "properties": {
        "connectorName": {
          "type": "string",
          "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}"
        },
        "debugOptions": {
          "description": "Common debug options.",
          "$ref": "DebugOptions"
        }
      }
    },
    "IndexItemRequest": {
      "id": "IndexItemRequest",
      "type": "object",
      "properties": {
        "item": {
          "description": "The name of the item. Format: datasources/{source_id}/items/{item_id}",
          "$ref": "Item"
        },
        "debugOptions": {
          "$ref": "DebugOptions",
          "description": "Common debug options."
        },
        "mode": {
          "description": "Required. The RequestMode for this request.",
          "enumDescriptions": [
            "The priority is not specified in the update request. Leaving priority unspecified results in an update failure.",
            "For real-time updates.",
            "For changes that are executed after the response is sent back to the caller."
          ],
          "enum": [
            "UNSPECIFIED",
            "SYNCHRONOUS",
            "ASYNCHRONOUS"
          ],
          "type": "string"
        },
        "indexItemOptions": {
          "$ref": "IndexItemOptions"
        },
        "connectorName": {
          "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
          "type": "string"
        }
      }
    },
    "Action": {
      "type": "object",
      "id": "Action",
      "properties": {
        "url": {
          "type": "string",
          "description": "[Optional] Url of the action."
        },
        "title": {
          "description": "[Required] Title of the action.",
          "type": "string"
        }
      }
    },
    "GetDataSourceIndexStatsResponse": {
      "properties": {
        "stats": {
          "items": {
            "$ref": "DataSourceIndexStats"
          },
          "type": "array",
          "description": "Summary of indexed item counts, one for each day in the requested range."
        },
        "averageIndexedItemCount": {
          "type": "string",
          "format": "int64",
          "description": "Average item count for the given date range for which billing is done."
        }
      },
      "type": "object",
      "id": "GetDataSourceIndexStatsResponse"
    },
    "TextPropertyOptions": {
      "properties": {
        "retrievalImportance": {
          "$ref": "RetrievalImportance",
          "description": "Indicates the search quality importance of the tokens within the field when used for retrieval."
        },
        "operatorOptions": {
          "description": "If set, describes how the property should be used as a search operator.",
          "$ref": "TextOperatorOptions"
        }
      },
      "description": "The options for text properties.",
      "type": "object",
      "id": "TextPropertyOptions"
    },
    "EnterpriseTopazSidekickMeetingNotesCardError": {
      "properties": {
        "reason": {
          "type": "string",
          "enumDescriptions": [
            "No reason (default value).",
            "The user is not an owner.",
            "Unknown reason."
          ],
          "enum": [
            "NONE",
            "NOT_OWNER",
            "UNKNOWN"
          ],
          "description": "The reason why create-meeting-notes failed."
        },
        "description": {
          "type": "string",
          "description": "The description of the reason why create-meeting-notes failed."
        },
        "event": {
          "$ref": "EnterpriseTopazSidekickAgendaEntry",
          "description": "The event to request meeting notes creation"
        }
      },
      "id": "EnterpriseTopazSidekickMeetingNotesCardError",
      "description": "Errors in the creation of meeting notes.",
      "type": "object"
    },
    "EnterpriseTopazSidekickConflictingEventsCardProto": {
      "type": "object",
      "properties": {
        "mainEvent": {
          "$ref": "EnterpriseTopazSidekickAgendaEntry",
          "description": "The event identified as being the most important."
        },
        "conflictingEvent": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickAgendaEntry"
          },
          "description": "All the events that conflict with main_event."
        }
      },
      "description": "Conflicting meetings card proto.",
      "id": "EnterpriseTopazSidekickConflictingEventsCardProto"
    },
    "DebugOptions": {
      "properties": {
        "enableDebugging": {
          "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.",
          "type": "boolean"
        }
      },
      "description": "Shared request debug options for all cloudsearch RPC methods.",
      "id": "DebugOptions",
      "type": "object"
    },
    "DoubleOperatorOptions": {
      "id": "DoubleOperatorOptions",
      "description": "Used to provide a search operator for double properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
      "properties": {
        "operatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to use the double property in sorting or as a facet. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        }
      },
      "type": "object"
    },
    "SourceScoringConfig": {
      "id": "SourceScoringConfig",
      "description": "Set the scoring configuration. This allows modifying the ranking of results for a source.",
      "type": "object",
      "properties": {
        "sourceImportance": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "DEFAULT",
            "LOW",
            "HIGH"
          ],
          "description": "Importance of the source."
        }
      }
    },
    "FreshnessOptions": {
      "id": "FreshnessOptions",
      "description": "Indicates which freshness property to use when adjusting search ranking for an item. Fresher, more recent dates indicate higher quality. Use the freshness option property that best works with your data. For fileshare documents, last modified time is most relevant. For calendar event data, the time when the event occurs is a more relevant freshness indicator. In this way, calendar events that occur closer to the time of the search query are considered higher quality and ranked accordingly.",
      "properties": {
        "freshnessProperty": {
          "type": "string",
          "description": "This property indicates the freshness level of the object in the index. If set, this property must be a top-level property within the property definitions and it must be a timestamp type or date type. Otherwise, the Indexing API uses updateTime as the freshness indicator. The maximum length is 256 characters. When a property is used to calculate freshness, the value defaults to 2 years from the current time."
        },
        "freshnessDuration": {
          "format": "google-duration",
          "type": "string",
          "description": "The duration after which an object should be considered stale. The default value is 180 days (in seconds)."
        }
      },
      "type": "object"
    },
    "ResultDebugInfo": {
      "properties": {
        "formattedDebugInfo": {
          "description": "General debug info formatted for display.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Debugging information about the result.",
      "id": "ResultDebugInfo"
    },
    "ObjectValues": {
      "type": "object",
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "$ref": "StructuredDataObject"
          }
        }
      },
      "id": "ObjectValues",
      "description": "List of object values."
    },
    "QueryActivity": {
      "type": "object",
      "description": "Details about a user's query activity.",
      "properties": {
        "query": {
          "description": "User input query to be logged/removed.",
          "type": "string"
        }
      },
      "id": "QueryActivity"
    },
    "SourceConfig": {
      "id": "SourceConfig",
      "type": "object",
      "description": "Configurations for a source while processing a Search or Suggest request.",
      "properties": {
        "crowdingConfig": {
          "description": "The crowding configuration for the source.",
          "$ref": "SourceCrowdingConfig"
        },
        "source": {
          "$ref": "Source",
          "description": "The source for which this configuration is to be used."
        },
        "scoringConfig": {
          "$ref": "SourceScoringConfig",
          "description": "The scoring configuration for the source."
        }
      }
    },
    "GetSearchApplicationQueryStatsResponse": {
      "properties": {
        "stats": {
          "description": "Query stats per date for a search application.",
          "items": {
            "$ref": "SearchApplicationQueryStats"
          },
          "type": "array"
        },
        "totalQueryCount": {
          "description": "Total successful query count (status code 200) for the given date range.",
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Response format for getting query stats for a search application between given dates.",
      "id": "GetSearchApplicationQueryStatsResponse",
      "type": "object"
    },
    "Interaction": {
      "type": "object",
      "properties": {
        "principal": {
          "$ref": "Principal",
          "description": "The user that acted on the item."
        },
        "type": {
          "enum": [
            "UNSPECIFIED",
            "VIEW",
            "EDIT"
          ],
          "enumDescriptions": [
            "Invalid value.",
            "This interaction indicates the user viewed the item.",
            "This interaction indicates the user edited the item."
          ],
          "type": "string"
        },
        "interactionTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The time when the user acted on the item. If multiple actions of the same type exist for a single user, only the most recent action is recorded."
        }
      },
      "id": "Interaction",
      "description": "Represents an interaction between a user and an item."
    },
    "PollItemsRequest": {
      "type": "object",
      "id": "PollItemsRequest",
      "properties": {
        "debugOptions": {
          "description": "Common debug options.",
          "$ref": "DebugOptions"
        },
        "queue": {
          "type": "string",
          "description": "Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters."
        },
        "connectorName": {
          "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
          "type": "string"
        },
        "limit": {
          "type": "integer",
          "description": "Maximum number of items to return. The maximum value is 100 and the default value is 20.",
          "format": "int32"
        },
        "statusCodes": {
          "items": {
            "type": "string",
            "enumDescriptions": [
              "Input-only value. Used with Items.list to list all items in the queue, regardless of status.",
              "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.",
              "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.",
              "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.",
              "API has accepted the up-to-date data of this item."
            ],
            "enum": [
              "CODE_UNSPECIFIED",
              "ERROR",
              "MODIFIED",
              "NEW_ITEM",
              "ACCEPTED"
            ]
          },
          "type": "array",
          "description": "Limit the items polled to the ones with these statuses."
        }
      }
    },
    "ItemMetadata": {
      "type": "object",
      "id": "ItemMetadata",
      "properties": {
        "hash": {
          "type": "string",
          "description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters."
        },
        "keywords": {
          "items": {
            "type": "string"
          },
          "description": "Additional keywords or phrases that should match the item. Used internally for user generated content. The maximum number of elements is 100. The maximum length is 8192 characters.",
          "type": "array"
        },
        "contextAttributes": {
          "description": "A set of named attributes associated with the item. This can be used for influencing the ranking of the item based on the context in the request. The maximum number of elements is 10.",
          "type": "array",
          "items": {
            "$ref": "ContextAttribute"
          }
        },
        "sourceRepositoryUrl": {
          "type": "string",
          "description": "Link to the source repository serving the data. Seach results apply this link to the title. Whitespace or special characters may cause Cloud Seach result links to trigger a redirect notice; to avoid this, encode the URL. The maximum length is 2048 characters."
        },
        "objectType": {
          "type": "string",
          "description": "The type of the item. This should correspond to the name of an object definition in the schema registered for the data source. For example, if the schema for the data source contains an object definition with name 'document', then item indexing requests for objects of that type should set objectType to 'document'. The maximum length is 256 characters."
        },
        "createTime": {
          "format": "google-datetime",
          "description": "The time when the item was created in the source repository.",
          "type": "string"
        },
        "title": {
          "description": "The title of the item. If given, this will be the displayed title of the Search result. The maximum length is 2048 characters.",
          "type": "string"
        },
        "searchQualityMetadata": {
          "description": "Additional search quality metadata of the item",
          "$ref": "SearchQualityMetadata"
        },
        "contentLanguage": {
          "type": "string",
          "description": "The BCP-47 language code for the item, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The maximum length is 32 characters."
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The time when the item was last modified in the source repository."
        },
        "mimeType": {
          "type": "string",
          "description": "The original mime-type of ItemContent.content in the source repository. The maximum length is 256 characters."
        },
        "containerName": {
          "type": "string",
          "description": "The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters."
        },
        "interactions": {
          "items": {
            "$ref": "Interaction"
          },
          "type": "array",
          "description": "A list of interactions for the item. Interactions are used to improve Search quality, but are not exposed to end users. The maximum number of elements is 1000."
        }
      },
      "description": "Available metadata fields for the item."
    },
    "ListUnmappedIdentitiesResponse": {
      "properties": {
        "nextPageToken": {
          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
          "type": "string"
        },
        "unmappedIdentities": {
          "items": {
            "$ref": "UnmappedIdentity"
          },
          "type": "array"
        }
      },
      "type": "object",
      "id": "ListUnmappedIdentitiesResponse"
    },
    "EnumPropertyOptions": {
      "id": "EnumPropertyOptions",
      "description": "The options for enum properties, which allow you to define a restricted set of strings to match user queries, set rankings for those string values, and define an operator name to be paired with those strings so that users can narrow results to only items with a specific value. For example, for items in a request tracking system with priority information, you could define *p0* as an allowable enum value and tie this enum to the operator name *priority* so that search users could add *priority:p0* to their query to restrict the set of results to only those items indexed with the value *p0*.",
      "properties": {
        "orderedRanking": {
          "description": "Used to specify the ordered ranking for the enumeration that determines how the integer values provided in the possible EnumValuePairs are used to rank results. If specified, integer values must be provided for all possible EnumValuePair values given for this property. Can only be used if isRepeatable is false.",
          "type": "string",
          "enumDescriptions": [
            "There is no ranking order for the property. Results aren't adjusted by this property's value.",
            "This property is ranked in ascending order. Lower values indicate lower ranking.",
            "This property is ranked in descending order. Lower values indicate higher ranking."
          ],
          "enum": [
            "NO_ORDER",
            "ASCENDING",
            "DESCENDING"
          ]
        },
        "operatorOptions": {
          "$ref": "EnumOperatorOptions",
          "description": "If set, describes how the enum should be used as a search operator."
        },
        "possibleValues": {
          "description": "The list of possible values for the enumeration property. All EnumValuePairs must provide a string value. If you specify an integer value for one EnumValuePair, then all possible EnumValuePairs must provide an integer value. Both the string value and integer value must be unique over all possible values. Once set, possible values cannot be removed or modified. If you supply an ordered ranking and think you might insert additional enum values in the future, leave gaps in the initial integer values to allow adding a value in between previously registered values. The maximum number of elements is 100.",
          "items": {
            "$ref": "EnumValuePair"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "QuerySource": {
      "description": "List of sources that the user can search using the query API.",
      "properties": {
        "operators": {
          "items": {
            "$ref": "QueryOperator"
          },
          "type": "array",
          "description": "List of all operators applicable for this source."
        },
        "displayName": {
          "description": "Display name of the data source.",
          "type": "string"
        },
        "source": {
          "description": "The name of the source",
          "$ref": "Source"
        },
        "shortName": {
          "description": "A short name or alias for the source. This value can be used with the 'source' operator.",
          "type": "string"
        }
      },
      "id": "QuerySource",
      "type": "object"
    },
    "ResetSearchApplicationRequest": {
      "properties": {
        "debugOptions": {
          "description": "Common debug options.",
          "$ref": "DebugOptions"
        }
      },
      "type": "object",
      "id": "ResetSearchApplicationRequest"
    },
    "VPCSettings": {
      "id": "VPCSettings",
      "properties": {
        "project": {
          "description": "The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}",
          "type": "string"
        }
      },
      "type": "object"
    },
    "UnmappedIdentity": {
      "id": "UnmappedIdentity",
      "type": "object",
      "properties": {
        "externalIdentity": {
          "description": "The resource name for an external user.",
          "$ref": "Principal"
        },
        "resolutionStatusCode": {
          "enum": [
            "CODE_UNSPECIFIED",
            "NOT_FOUND",
            "IDENTITY_SOURCE_NOT_FOUND",
            "IDENTITY_SOURCE_MISCONFIGURED",
            "TOO_MANY_MAPPINGS_FOUND",
            "INTERNAL_ERROR"
          ],
          "enumDescriptions": [
            "Input-only value. Used to list all unmapped identities regardless of status.",
            "The unmapped identity was not found in IDaaS, and needs to be provided by the user.",
            "The identity source associated with the identity was either not found or deleted.",
            "IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.",
            "The number of users associated with the external identity is too large.",
            "Internal error."
          ],
          "description": "The resolution status for the external identity.",
          "type": "string"
        }
      }
    },
    "ListItemNamesForUnmappedIdentityResponse": {
      "id": "ListItemNamesForUnmappedIdentityResponse",
      "properties": {
        "nextPageToken": {
          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
          "type": "string"
        },
        "itemNames": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "EnterpriseTopazSidekickPersonProfileCard": {
      "type": "object",
      "id": "EnterpriseTopazSidekickPersonProfileCard",
      "properties": {
        "subject": {
          "$ref": "EnterpriseTopazSidekickCommonPerson",
          "description": "The subject of the card."
        },
        "relatedPeople": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickPersonProfileCardRelatedPeople"
          }
        }
      }
    },
    "EnterpriseTopazSidekickTimeSlot": {
      "id": "EnterpriseTopazSidekickTimeSlot",
      "properties": {
        "endTimeInMillis": {
          "type": "string",
          "format": "int64",
          "description": "End time in milliseconds."
        },
        "endTimeHourAndMinute": {
          "description": "Hour and minute of the end time at the user's timezone.",
          "type": "string"
        },
        "endTimeDay": {
          "description": "Day end time at the user's timezone.",
          "type": "string"
        },
        "startTimeHourAndMinute": {
          "type": "string",
          "description": "Hour and minute of the start time at the user's timezone."
        },
        "startTimeDay": {
          "type": "string",
          "description": "Day start time at user's timezone."
        },
        "startTimeInMillis": {
          "type": "string",
          "format": "int64",
          "description": "Start time in milliseconds."
        }
      },
      "type": "object",
      "description": "Slot of time."
    },
    "ListSearchApplicationsResponse": {
      "type": "object",
      "id": "ListSearchApplicationsResponse",
      "properties": {
        "searchApplications": {
          "items": {
            "$ref": "SearchApplication"
          },
          "type": "array"
        },
        "nextPageToken": {
          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
          "type": "string"
        }
      }
    },
    "EnterpriseTopazFrontendTeamsLink": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The identifying link type"
        },
        "url": {
          "$ref": "SafeUrlProto"
        }
      },
      "id": "EnterpriseTopazFrontendTeamsLink"
    },
    "CustomerIndexStats": {
      "type": "object",
      "properties": {
        "date": {
          "$ref": "Date",
          "description": "The date for which statistics were calculated."
        },
        "itemCountByStatus": {
          "items": {
            "$ref": "ItemCountByStatus"
          },
          "type": "array",
          "description": "Number of items aggregrated by status code."
        }
      },
      "description": "Aggregation of items by status code as of the specified date.",
      "id": "CustomerIndexStats"
    },
    "EnterpriseTopazSidekickPeopleDisambiguationCard": {
      "type": "object",
      "id": "EnterpriseTopazSidekickPeopleDisambiguationCard",
      "properties": {
        "person": {
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonPerson"
          },
          "type": "array",
          "description": "Candidate persons for the query."
        }
      }
    },
    "CustomerSessionStats": {
      "id": "CustomerSessionStats",
      "properties": {
        "searchSessionsCount": {
          "format": "int64",
          "type": "string",
          "description": "The count of search sessions on the day"
        },
        "date": {
          "$ref": "Date",
          "description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned."
        }
      },
      "type": "object"
    },
    "EnterpriseTopazSidekickPersonalizedDocsCardProto": {
      "id": "EnterpriseTopazSidekickPersonalizedDocsCardProto",
      "type": "object",
      "properties": {
        "documentGroup": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickDocumentGroup"
          },
          "description": "Document group."
        }
      },
      "description": "Personalized docs card proto."
    },
    "EnterpriseTopazSidekickCommonPersonBirthday": {
      "properties": {
        "value": {
          "description": "Unstructured birthday.",
          "type": "string"
        }
      },
      "id": "EnterpriseTopazSidekickCommonPersonBirthday",
      "type": "object"
    },
    "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard": {
      "description": "Contains a list of suggested queries. Allows the user to determine what natural language queries they can ask Cloud Search (e.g. \"what can I search for?\").",
      "type": "object",
      "properties": {
        "suggestedQueryCategory": {
          "items": {
            "$ref": "EnterpriseTopazSidekickAnswerSuggestedQueryCategory"
          },
          "type": "array",
          "description": "A list of queries to suggest."
        }
      },
      "id": "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard"
    },
    "EnterpriseTopazSidekickCommonDocument": {
      "description": "Representation of a document. NEXT_TAG: 15",
      "id": "EnterpriseTopazSidekickCommonDocument",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "UNKNOWN",
            "DOCUMENT",
            "PRESENTATION",
            "SPREADSHEET",
            "PDF",
            "IMAGE",
            "BINARY_BLOB",
            "FUSION_TABLE",
            "FOLDER",
            "DRAWING",
            "VIDEO",
            "FORM",
            "LINK_URL",
            "LINK_GO",
            "LINK_GOO_GL",
            "LINK_BIT_LY",
            "LINK_GMAIL",
            "LINK_MAILTO",
            "VIDEO_YOUTUBE",
            "VIDEO_LIVE",
            "GROUPS",
            "NEWS",
            "SITES",
            "HANGOUT",
            "AUDIO",
            "MS_WORD",
            "MS_POWERPOINT",
            "MS_EXCEL",
            "MS_OUTLOOK"
          ],
          "description": "Type of the document.",
          "enumDescriptions": [
            "If the type is unknown or not represented in this enum.",
            "Drive document types Writely, Word, etc.",
            "Presently, PowerPoint, etc.",
            "Trix, Excel, etc.",
            "File types for Gdrive objects are below. PDF.",
            "Image.",
            "Fall-back for unknown Gdrive types.",
            "Fusion table.",
            "Folder.",
            "Drawing.",
            "Video.",
            "Form.",
            "Link formats uncategorized URL links",
            "meaningful links that should be renderred specifically",
            "Link to goo.gl.",
            "Link to bit_ly.",
            "Link to Gmail.",
            "Mailto link.",
            "Videos Youtube videos.",
            "Live streams (e.g., liveplayer.googleplex.com)",
            "Other types. Google Groups.",
            "Google News.",
            "Google Sites.",
            "Google Hangout.",
            "Audio files.",
            "Microsoft-specific file types.",
            "",
            "",
            ""
          ]
        },
        "justification": {
          "description": "Justification on why the document is selected.",
          "$ref": "EnterpriseTopazSidekickCommonDocumentJustification"
        },
        "accessType": {
          "enumDescriptions": [
            "Unknown access type.",
            "Access allowed.",
            "Access not allowed."
          ],
          "description": "Access type, i.e., whether the user has access to the document or not.",
          "type": "string",
          "enum": [
            "UNKNOWN_ACCESS",
            "ALLOWED",
            "NOT_ALLOWED"
          ]
        },
        "documentId": {
          "type": "string",
          "description": "Document id."
        },
        "provenance": {
          "deprecated": true,
          "description": "Document provenance.",
          "enumDescriptions": [
            "Unknown provenance.",
            "Calendar event description.",
            "Calendar event attachment.",
            "Mined (extracted by some offline/online analysis).",
            "Attachment created by enterprise assist."
          ],
          "type": "string",
          "enum": [
            "UNKNOWN_PROVENANCE",
            "CALENDAR_DESCRIPTION",
            "CALENDAR_ATTACHMENT",
            "MINED",
            "CALENDAR_ASSIST_ATTACHMENT"
          ]
        },
        "debugInfo": {
          "description": "Information for debugging.",
          "$ref": "EnterpriseTopazSidekickCommonDebugInfo"
        },
        "genericUrl": {
          "type": "string",
          "description": "Generic Drive-based url in the format of drive.google.com/open to be used for deeplink"
        },
        "thumbnailUrl": {
          "description": "Thumbnail URL.",
          "type": "string"
        },
        "title": {
          "description": "Title of the document.",
          "type": "string"
        },
        "url": {
          "type": "string",
          "description": "Absolute URL of the document."
        },
        "mimeType": {
          "type": "string",
          "description": "MIME type"
        },
        "reason": {
          "deprecated": true,
          "enum": [
            "UNKNOWN",
            "TRENDING_IN_COLLABORATORS",
            "TRENDING_IN_DOMAIN",
            "FREQUENTLY_VIEWED",
            "FREQUENTLY_EDITED",
            "NEW_UPDATES",
            "NEW_COMMENTS",
            "EVENT_DESCRIPTION",
            "EVENT_ATTACHMENT",
            "EVENT_METADATA_ATTACHMENT",
            "MINED_DOCUMENT",
            "NEW_MENTIONS",
            "NEW_SHARES"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unknown justification.",
            "Popular documents within collaborators.",
            "Popular documents within the domain.",
            "Documents being reviewed frequently by the current user .",
            "Documents being edited frequently by the current user .",
            "Documents updated since user's last visit.",
            "Documents that receive comments since user's last visit.",
            "Documents in the calendar event description.",
            "Documents in the calendar event attachments section.",
            "Documents attached in calendar event metadata instead of the attachment section. Event metadata is not visible to the final user. Enterprise assist uses this metadata to store auto-generated documents such as meeting notes.",
            "Documents mined, and so, probably related to the request context. For example, this category includes documents related to a meeting.",
            "Documents that contains mentions of the user.",
            "Documents that are shared with the user."
          ],
          "description": "Justification of why this document is being returned."
        },
        "driveDocumentMetadata": {
          "description": "Drive document metadata.",
          "$ref": "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata"
        },
        "snippet": {
          "description": "A sampling of the text from the document.",
          "type": "string"
        }
      }
    },
    "IntegerPropertyOptions": {
      "properties": {
        "integerFacetingOptions": {
          "$ref": "IntegerFacetingOptions",
          "description": "If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable."
        },
        "maximumValue": {
          "description": "The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.",
          "format": "int64",
          "type": "string"
        },
        "operatorOptions": {
          "description": "If set, describes how the integer should be used as a search operator.",
          "$ref": "IntegerOperatorOptions"
        },
        "minimumValue": {
          "type": "string",
          "description": "The minimum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values less than the minimum are accepted and ranked with the same weight as items indexed with the minimum value.",
          "format": "int64"
        },
        "orderedRanking": {
          "type": "string",
          "description": "Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false.",
          "enumDescriptions": [
            "There is no ranking order for the property. Results are not adjusted by this property's value.",
            "This property is ranked in ascending order. Lower values indicate lower ranking.",
            "This property is ranked in descending order. Lower values indicate higher ranking."
          ],
          "enum": [
            "NO_ORDER",
            "ASCENDING",
            "DESCENDING"
          ]
        }
      },
      "type": "object",
      "description": "The options for integer properties.",
      "id": "IntegerPropertyOptions"
    },
    "SafeUrlProto": {
      "properties": {
        "privateDoNotAccessOrElseSafeUrlWrappedValue": {
          "type": "string",
          "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message."
        }
      },
      "type": "object",
      "id": "SafeUrlProto",
      "description": "Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code."
    },
    "Item": {
      "properties": {
        "content": {
          "description": "Item content to be indexed and made text searchable.",
          "$ref": "ItemContent"
        },
        "payload": {
          "format": "byte",
          "type": "string",
          "description": "Additional state connector can store for this item. The maximum length is 10000 bytes."
        },
        "metadata": {
          "$ref": "ItemMetadata",
          "description": "The metadata information."
        },
        "itemType": {
          "enum": [
            "UNSPECIFIED",
            "CONTENT_ITEM",
            "CONTAINER_ITEM",
            "VIRTUAL_CONTAINER_ITEM"
          ],
          "enumDescriptions": [
            "",
            "An item that is indexed for the only purpose of serving information. These items cannot be referred in containerName or inheritAclFrom fields.",
            "An item that gets indexed and whose purpose is to supply other items with ACLs and/or contain other items.",
            "An item that does not get indexed, but otherwise has the same purpose as CONTAINER_ITEM."
          ],
          "type": "string",
          "description": "The type for this item."
        },
        "version": {
          "description": "Required. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't index or delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/workspace/cloud-search/docs/guides/operations).",
          "type": "string",
          "format": "byte"
        },
        "queue": {
          "type": "string",
          "description": "Queue this item belongs to. The maximum length is 100 characters."
        },
        "acl": {
          "$ref": "ItemAcl",
          "description": "Access control list for this item."
        },
        "name": {
          "type": "string",
          "description": "The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters."
        },
        "structuredData": {
          "description": "The structured data for the item that should conform to a registered object definition in the schema for the data source.",
          "$ref": "ItemStructuredData"
        },
        "status": {
          "description": "Status of the item. Output only field.",
          "$ref": "ItemStatus"
        }
      },
      "type": "object",
      "description": "Represents a single object that is an item in the search index, such as a file, folder, or a database record.",
      "id": "Item"
    },
    "QuerySuggestion": {
      "id": "QuerySuggestion",
      "properties": {
        "lastQueryTime": {
          "type": "string",
          "description": "Last query time of the suggestion for query history suggestions.",
          "format": "google-datetime"
        },
        "sourceCorpus": {
          "description": "Source corpus of the suggestion.",
          "enum": [
            "SOURCE_CORPUS_UNSPECIFIED",
            "GMAIL",
            "DRIVE",
            "CHAT",
            "CALENDAR"
          ],
          "type": "string",
          "enumDescriptions": [
            "Source corpus is unspecified.",
            "Source corpus is Gmail.",
            "Source corpus is Drive.",
            "Source corpus is Chat.",
            "Source corpus is Calendar."
          ]
        }
      },
      "type": "object"
    },
    "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard": {
      "type": "object",
      "properties": {
        "statusMessage": {
          "description": "Localized user friendly message to display to the user in the case of missing data or an error.",
          "type": "string"
        },
        "subject": {
          "$ref": "EnterpriseTopazSidekickCommonPerson",
          "description": "The profile of the person that was the subject of the query."
        },
        "answerText": {
          "$ref": "EnterpriseTopazSidekickAnswerAnswerList",
          "description": "List of answers."
        },
        "disambiguationInfo": {
          "$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo",
          "description": "Disambiguation information."
        },
        "answer": {
          "deprecated": true,
          "items": {
            "$ref": "SafeHtmlProto"
          },
          "type": "array",
          "description": "List of answers."
        },
        "responseStatus": {
          "enumDescriptions": [
            "Unknown.",
            "Success.",
            "No such person was found in the user's domain.",
            "A person was found to match the query, but an answer could not be obtained."
          ],
          "type": "string",
          "description": "The response status.",
          "enum": [
            "UNKNOWN",
            "SUCCESS",
            "MISSING_PERSON",
            "MISSING_DATA"
          ]
        },
        "header": {
          "description": "The header to display for the card.",
          "$ref": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader"
        }
      },
      "id": "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard",
      "description": "An answer card for a single person."
    },
    "UserActivity": {
      "description": "User's single or bulk query activity. This can be a logging query or deletion query.",
      "id": "UserActivity",
      "type": "object",
      "properties": {
        "queryActivity": {
          "$ref": "QueryActivity",
          "description": "Contains data which needs to be logged/removed."
        }
      }
    },
    "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard": {
      "description": "An answer card for a list of people that are related to the subject of the query.",
      "type": "object",
      "id": "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard",
      "properties": {
        "subject": {
          "$ref": "EnterpriseTopazSidekickCommonPerson",
          "description": "The profile of the person that was the subject of the query."
        },
        "relatedPeople": {
          "description": "A list of people that are related to the query subject.",
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonPerson"
          },
          "type": "array"
        },
        "relationType": {
          "description": "Defines the type of relation the list of people have with the subject of the card.",
          "type": "string",
          "enum": [
            "UNKNOWN",
            "DIRECT_REPORTS",
            "MANAGER",
            "PEERS"
          ],
          "enumDescriptions": [
            "Unknown.",
            "Direct reports.",
            "The manager.",
            "The teammates/peers of the subject."
          ]
        },
        "disambiguationInfo": {
          "$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo",
          "description": "Disambiguation information."
        },
        "responseStatus": {
          "type": "string",
          "description": "The response status.",
          "enumDescriptions": [
            "Unknown.",
            "Success.",
            "No such person was found in the user's domain.",
            "A person was found to match the query, but an answer could not be obtained."
          ],
          "enum": [
            "UNKNOWN",
            "SUCCESS",
            "MISSING_PERSON",
            "MISSING_DATA"
          ]
        },
        "statusMessage": {
          "description": "Localized user friendly message to display to the user in the case of missing data or an error.",
          "type": "string"
        },
        "header": {
          "description": "The header to display for the card.",
          "$ref": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader"
        }
      }
    },
    "ObjectDisplayOptions": {
      "properties": {
        "objectDisplayLabel": {
          "description": "The user friendly label to display in the search result to indicate the type of the item. This is OPTIONAL; if not provided, an object label isn't displayed on the context line of the search results. The maximum length is 64 characters.",
          "type": "string"
        },
        "metalines": {
          "description": "Defines the properties that are displayed in the metalines of the search results. The property values are displayed in the order given here. If a property holds multiple values, all of the values are displayed before the next properties. For this reason, it is a good practice to specify singular properties before repeated properties in this list. All of the properties must set is_returnable to true. The maximum number of metalines is 3.",
          "type": "array",
          "items": {
            "$ref": "Metaline"
          }
        }
      },
      "id": "ObjectDisplayOptions",
      "description": "The display options for an object.",
      "type": "object"
    },
    "AuditLoggingSettings": {
      "type": "object",
      "properties": {
        "logAdminReadActions": {
          "type": "boolean",
          "description": "Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc."
        },
        "project": {
          "type": "string",
          "description": "The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{project_id}"
        },
        "logDataReadActions": {
          "type": "boolean",
          "description": "Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc."
        },
        "logDataWriteActions": {
          "description": "Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc.",
          "type": "boolean"
        }
      },
      "description": "Represents the settings for Cloud audit logging",
      "id": "AuditLoggingSettings"
    },
    "FacetBucket": {
      "description": "A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.",
      "id": "FacetBucket",
      "type": "object",
      "properties": {
        "filter": {
          "$ref": "Filter",
          "description": "Filter to be passed in the search request if the corresponding bucket is selected."
        },
        "value": {
          "$ref": "Value"
        },
        "count": {
          "format": "int32",
          "type": "integer",
          "description": "Number of results that match the bucket value. Counts are only returned for searches when count accuracy is ensured. Cloud Search does not guarantee facet counts for any query and facet counts might be present only intermittently, even for identical queries. Do not build dependencies on facet count existence; instead use facet ount percentages which are always returned."
        },
        "percentage": {
          "description": "Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "CustomerSettings": {
      "properties": {
        "vpcSettings": {
          "$ref": "VPCSettings",
          "description": "VPC SC settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request."
        },
        "auditLoggingSettings": {
          "$ref": "AuditLoggingSettings",
          "description": "Audit Logging settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request."
        }
      },
      "id": "CustomerSettings",
      "type": "object",
      "description": "Represents settings at a customer level."
    },
    "DisplayedProperty": {
      "properties": {
        "propertyName": {
          "type": "string",
          "description": "The name of the top-level property as defined in a property definition for the object. If the name is not a defined property in the schema, an error is given when attempting to update the schema."
        }
      },
      "id": "DisplayedProperty",
      "description": "A reference to a top-level property within the object that should be displayed in search results. The values of the chosen properties is displayed in the search results along with the display label for that property if one is specified. If a display label is not specified, only the values is shown.",
      "type": "object"
    },
    "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry": {
      "id": "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry",
      "properties": {
        "category": {
          "enum": [
            "UNKNOWN_DOCUMENT",
            "ACTIONABLE",
            "VIEWED",
            "REPLIED",
            "MENTION_VIEWED",
            "MENTION_REPLIED",
            "MENTION_NOT_VIEWED",
            "SHARED_AND_VIEWED",
            "SHARED_NOT_VIEWED",
            "EDITED"
          ],
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "Mention categories. The mention has been viewed by the user, but the user has not replied.",
            "The user has replied to the mention.",
            "The mention has not been viewed by the user.",
            "Share categories. Consists of documents that have been explicitly shared with the user. Document has been viewed.",
            "Document has not been viewed.",
            "Document has been edited."
          ],
          "enumDeprecated": [
            false,
            true,
            false,
            true,
            false,
            false,
            false,
            false,
            false,
            false
          ],
          "type": "string"
        },
        "rationale": {
          "description": "Reason this document was selected.",
          "type": "string"
        },
        "document": {
          "$ref": "EnterpriseTopazSidekickCommonDocument"
        }
      },
      "type": "object"
    },
    "ResultDisplayMetadata": {
      "properties": {
        "objectTypeLabel": {
          "description": "The display label for the object.",
          "type": "string"
        },
        "metalines": {
          "description": "The metalines content to be displayed with the result.",
          "type": "array",
          "items": {
            "$ref": "ResultDisplayLine"
          }
        }
      },
      "type": "object",
      "id": "ResultDisplayMetadata"
    },
    "EnterpriseTopazSidekickCardMetadata": {
      "id": "EnterpriseTopazSidekickCardMetadata",
      "properties": {
        "chronology": {
          "description": "Chronology.",
          "type": "string",
          "enumDescriptions": [
            "Unknown chronology (default).",
            "Past.",
            "Recently past.",
            "Present.",
            "Near future.",
            "Future."
          ],
          "enum": [
            "UNKNOWN",
            "PAST",
            "RECENTLY_PAST",
            "PRESENT",
            "NEAR_FUTURE",
            "FUTURE"
          ]
        },
        "debugInfo": {
          "description": "Debug info (only reported if request's debug_level \u003e 0).",
          "type": "string"
        },
        "nlpMetadata": {
          "$ref": "EnterpriseTopazSidekickNlpMetadata",
          "description": "Information about the NLP done to get the card."
        },
        "cardId": {
          "type": "string",
          "description": "An ID to identify the card and match actions to it. Be thoughtful of new card IDs since actions will be associated to that ID. E.g., if two card IDs collide, the system will think that the actions have been applied to the same card. Similarly, if EAS can return multiple cards of the same type (e.g., Meetings), ensure that the card_id identifies a given instance of the card so that, e.g., dismissals only affect the dismissed card as opposed to affecting all meeting cards."
        },
        "cardCategory": {
          "enumDescriptions": [
            "Let MSCR decide how this card should be packed. Most cards should choose this type. This type should largely be considered equivalent to ANSWER. However, this is not guaranteed to be the case as the request to MSCR may override the static configuration.",
            "This card should be rendered as an answer card.",
            "This card should be rendered as a knowledge card (a non-organic result).",
            "This card should be rendered in the Homepage."
          ],
          "enum": [
            "DEFAULT",
            "ANSWER",
            "KNOWLEDGE",
            "HOMEPAGE"
          ],
          "description": "Declares a preference for how this card should be packed in MSCR. All cards in a response must correspond to a single category. As a result, cards may be dropped from the response if this field is set. Any card that does not match the category of the card with the highest priority in the response will be dropped.",
          "type": "string"
        },
        "renderMode": {
          "description": "Render mode.",
          "enum": [
            "UNKNOWN_RENDER",
            "COLLAPSED",
            "EXPANDED"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unknown mode (default).",
            "Collapsed.",
            "Expanded."
          ]
        },
        "rankingParams": {
          "description": "Ranking params.",
          "$ref": "EnterpriseTopazSidekickRankingParams"
        }
      },
      "description": "Card metadata.",
      "type": "object"
    },
    "SearchResponse": {
      "description": "The search API response. NEXT ID: 21",
      "id": "SearchResponse",
      "properties": {
        "structuredResults": {
          "description": "Structured results for the user query. These results are not counted against the page_size.",
          "items": {
            "$ref": "StructuredResult"
          },
          "type": "array"
        },
        "spellResults": {
          "type": "array",
          "description": "Suggested spelling for the query.",
          "items": {
            "$ref": "SpellResult"
          }
        },
        "resultCounts": {
          "description": "Expanded result count information.",
          "$ref": "ResultCounts"
        },
        "resultCountExact": {
          "type": "string",
          "format": "int64",
          "description": "The exact result count for this query."
        },
        "hasMoreResults": {
          "description": "Whether there are more search results matching the query.",
          "type": "boolean"
        },
        "debugInfo": {
          "description": "Debugging information about the response.",
          "$ref": "ResponseDebugInfo"
        },
        "queryInterpretation": {
          "$ref": "QueryInterpretation",
          "description": "Query interpretation result for user query. Empty if query interpretation is disabled."
        },
        "errorInfo": {
          "$ref": "ErrorInfo",
          "description": "Error information about the response."
        },
        "resultCountEstimate": {
          "description": "The estimated result count for this query.",
          "type": "string",
          "format": "int64"
        },
        "facetResults": {
          "items": {
            "$ref": "FacetResult"
          },
          "type": "array",
          "description": "Repeated facet results."
        },
        "results": {
          "type": "array",
          "items": {
            "$ref": "SearchResult"
          },
          "description": "Results from a search query."
        }
      },
      "type": "object"
    },
    "BackgroundColoredText": {
      "type": "object",
      "properties": {
        "text": {
          "description": "[Required] The text to display.",
          "type": "string"
        },
        "backgroundColor": {
          "description": "[Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE.",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "UNKNOWN_COLOR",
            "WHITE",
            "YELLOW",
            "ORANGE",
            "GREEN",
            "BLUE",
            "GREY"
          ],
          "type": "string"
        }
      },
      "id": "BackgroundColoredText"
    },
    "SearchApplicationUserStats": {
      "properties": {
        "date": {
          "$ref": "Date",
          "description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned."
        },
        "oneDayActiveUsersCount": {
          "format": "int64",
          "description": "The count of unique active users in the past one day",
          "type": "string"
        },
        "sevenDaysActiveUsersCount": {
          "format": "int64",
          "description": "The count of unique active users in the past seven days",
          "type": "string"
        },
        "thirtyDaysActiveUsersCount": {
          "type": "string",
          "format": "int64",
          "description": "The count of unique active users in the past thirty days"
        }
      },
      "id": "SearchApplicationUserStats",
      "type": "object"
    },
    "EnterpriseTopazSidekickAnswerSuggestedQueryCategory": {
      "properties": {
        "isEnabled": {
          "description": "Whether this category is enabled.",
          "type": "boolean"
        },
        "category": {
          "enumDescriptions": [
            "Unknown.",
            "Calendar based queries (e.g. \"my agenda for tomorrow\").",
            "Document based queries (e.g. \"files shared with me\").",
            "People based queries (e.g. \"what is x's email address?\")."
          ],
          "description": "The query list category.",
          "enum": [
            "UNKNOWN",
            "CALENDAR",
            "DOCUMENT",
            "PEOPLE"
          ],
          "type": "string"
        },
        "query": {
          "description": "List of suggested queries to show the user.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "description": "Contains a list of suggested queries for a single category.",
      "id": "EnterpriseTopazSidekickAnswerSuggestedQueryCategory",
      "type": "object"
    },
    "RemoveActivityResponse": {
      "properties": {},
      "id": "RemoveActivityResponse",
      "type": "object",
      "description": "Remove Logged Activity Response. will return an empty response for now. Will be revisited in later phases."
    },
    "Metaline": {
      "type": "object",
      "description": "A metaline is a list of properties that are displayed along with the search result to provide context.",
      "properties": {
        "properties": {
          "type": "array",
          "description": "The list of displayed properties for the metaline. The maximum number of properties is 5.",
          "items": {
            "$ref": "DisplayedProperty"
          }
        }
      },
      "id": "Metaline"
    },
    "EnterpriseTopazSidekickGap": {
      "id": "EnterpriseTopazSidekickGap",
      "properties": {
        "remainingTime": {
          "type": "string",
          "format": "google-duration"
        },
        "endTimeMs": {
          "format": "uint64",
          "type": "string"
        },
        "endTime": {
          "description": "Localized time string in the format:(Locale CZ) 8:30 odp.",
          "type": "string"
        },
        "startTimeMs": {
          "format": "uint64",
          "type": "string"
        },
        "startTime": {
          "description": "Localized time string in the format:(Locale CZ) 8:30 odp.",
          "type": "string"
        },
        "displayRemainingTime": {
          "description": "Localized time string in the format: 1 hour 15 minutes",
          "type": "string"
        }
      },
      "type": "object"
    },
    "DataSourceRestriction": {
      "id": "DataSourceRestriction",
      "description": "Restriction on Datasource.",
      "type": "object",
      "properties": {
        "source": {
          "description": "The source of restriction.",
          "$ref": "Source"
        },
        "filterOptions": {
          "items": {
            "$ref": "FilterOptions"
          },
          "type": "array",
          "description": "Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: \"objecttype\", \"type\" and \"mimetype\". For now, schema specific filters cannot be used to filter suggestions."
        }
      }
    },
    "CheckAccessResponse": {
      "id": "CheckAccessResponse",
      "type": "object",
      "properties": {
        "hasAccess": {
          "type": "boolean",
          "description": "Returns true if principal has access. Returns false otherwise."
        }
      }
    },
    "ItemContent": {
      "description": "Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.",
      "id": "ItemContent",
      "type": "object",
      "properties": {
        "contentDataRef": {
          "description": "Upload reference ID of a previously uploaded content via write method.",
          "$ref": "UploadItemRef"
        },
        "inlineContent": {
          "description": "Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB).",
          "type": "string",
          "format": "byte"
        },
        "contentFormat": {
          "enum": [
            "UNSPECIFIED",
            "HTML",
            "TEXT",
            "RAW"
          ],
          "enumDescriptions": [
            "Invalid value.",
            "contentFormat is HTML.",
            "contentFormat is free text.",
            "contentFormat is raw bytes."
          ],
          "type": "string"
        },
        "hash": {
          "description": "Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.",
          "type": "string"
        }
      }
    },
    "GetCustomerIndexStatsResponse": {
      "properties": {
        "averageIndexedItemCount": {
          "description": "Average item count for the given date range for which billing is done.",
          "type": "string",
          "format": "int64"
        },
        "stats": {
          "type": "array",
          "description": "Summary of indexed item counts, one for each day in the requested range.",
          "items": {
            "$ref": "CustomerIndexStats"
          }
        }
      },
      "type": "object",
      "id": "GetCustomerIndexStatsResponse"
    },
    "TextOperatorOptions": {
      "type": "object",
      "description": "Used to provide a search operator for text properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
      "id": "TextOperatorOptions",
      "properties": {
        "exactMatchWithOperator": {
          "description": "If true, the text value is tokenized as one atomic value in operator searches and facet matches. For example, if the operator name is \"genre\" and the value is \"science-fiction\" the query restrictions \"genre:science\" and \"genre:fiction\" doesn't match the item; \"genre:science-fiction\" does. Text value matching is case-sensitive and does not remove special characters. If false, the text is tokenized. For example, if the value is \"science-fiction\" the queries \"genre:science\" and \"genre:fiction\" matches the item.",
          "type": "boolean"
        },
        "operatorName": {
          "description": "Indicates the operator name required in the query in order to isolate the text property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:\u003cvalue\u003e* show results only where the value of the property named *subjectLine* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any text properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.",
          "type": "string"
        }
      }
    },
    "UploadItemRef": {
      "id": "UploadItemRef",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the content reference. The maximum length is 2048 characters."
        }
      },
      "type": "object",
      "description": "Represents an upload session reference. This reference is created via upload method. This reference is valid for 30 days after its creation. Updating of item content may refer to this uploaded content via contentDataRef."
    },
    "SearchQualityMetadata": {
      "properties": {
        "quality": {
          "description": "An indication of the quality of the item, used to influence search quality. Value should be between 0.0 (lowest quality) and 1.0 (highest quality). The default value is 0.0.",
          "type": "number",
          "format": "double"
        }
      },
      "type": "object",
      "id": "SearchQualityMetadata",
      "description": "Additional search quality metadata of the item."
    },
    "MapInfo": {
      "type": "object",
      "description": "Geo information used for rendering a map that shows the user's work location.",
      "properties": {
        "locationUrl": {
          "description": "URL to a view of a map centered on the user's work location in Campus Maps (for google.com) or Google Maps (external).",
          "$ref": "SafeUrlProto"
        },
        "mapTile": {
          "description": "MapTiles for the area around a user's work location",
          "items": {
            "$ref": "MapTile"
          },
          "type": "array"
        },
        "zoom": {
          "type": "integer",
          "format": "int32",
          "description": "The zoom level of the map. A constant zoom value of 18 is used for now to match the zoom of the map shown on a Moma Teams Profile page"
        },
        "long": {
          "type": "number",
          "description": "Longitude in degrees",
          "format": "double"
        },
        "lat": {
          "type": "number",
          "format": "double",
          "description": "Latitude in degrees"
        }
      },
      "id": "MapInfo"
    },
    "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo": {
      "description": "Metadata for disambiguation.",
      "type": "object",
      "id": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo",
      "properties": {
        "name": {
          "description": "The name that was extracted from the query. This may be in the form of the given name, last name, full name, LDAP, or email address. This name can be considered suitable for displaying to the user and can largely be considered to be normalized (e.g. \"Bob's\" -\u003e \"Bob\").",
          "type": "string"
        },
        "disambiguation": {
          "type": "array",
          "description": "A list of people that also matched the query. This list is not complete.",
          "items": {
            "$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson"
          }
        }
      }
    },
    "EnterpriseTopazSidekickCommonDebugInfo": {
      "description": "Container of debugging information in all object levels. Extend as needed.",
      "type": "object",
      "properties": {
        "message": {
          "description": "Debug message.",
          "type": "string"
        }
      },
      "id": "EnterpriseTopazSidekickCommonDebugInfo"
    },
    "DateValues": {
      "id": "DateValues",
      "properties": {
        "values": {
          "items": {
            "$ref": "Date"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "List of date values."
    },
    "DatePropertyOptions": {
      "description": "The options for date properties.",
      "id": "DatePropertyOptions",
      "properties": {
        "operatorOptions": {
          "description": "If set, describes how the date should be used as a search operator.",
          "$ref": "DateOperatorOptions"
        }
      },
      "type": "object"
    },
    "ItemCountByStatus": {
      "id": "ItemCountByStatus",
      "properties": {
        "indexedItemsCount": {
          "format": "int64",
          "type": "string",
          "description": "Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code."
        },
        "statusCode": {
          "enum": [
            "CODE_UNSPECIFIED",
            "ERROR",
            "MODIFIED",
            "NEW_ITEM",
            "ACCEPTED"
          ],
          "enumDescriptions": [
            "Input-only value. Used with Items.list to list all items in the queue, regardless of status.",
            "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.",
            "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.",
            "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.",
            "API has accepted the up-to-date data of this item."
          ],
          "type": "string",
          "description": "Status of the items."
        },
        "count": {
          "format": "int64",
          "type": "string",
          "description": "Number of items matching the status code."
        }
      },
      "type": "object"
    },
    "PropertyDefinition": {
      "description": "The definition of a property within an object.",
      "properties": {
        "booleanPropertyOptions": {
          "$ref": "BooleanPropertyOptions"
        },
        "isFacetable": {
          "type": "boolean",
          "description": "Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties."
        },
        "name": {
          "description": "The name of the property. Item indexing requests sent to the Indexing API should set the property name equal to this value. For example, if name is *subject_line*, then indexing requests for document items with subject fields should set the name for that field equal to *subject_line*. Use the name as the identifier for the object property. Once registered as a property for an object, you cannot re-use this name for another property within that object. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.",
          "type": "string"
        },
        "displayOptions": {
          "description": "The options that determine how the property is displayed in the Cloud Search results page if it's specified to be displayed in the object's display options.",
          "$ref": "PropertyDisplayOptions"
        },
        "timestampPropertyOptions": {
          "$ref": "TimestampPropertyOptions"
        },
        "isSortable": {
          "description": "Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties.",
          "type": "boolean"
        },
        "isRepeatable": {
          "type": "boolean",
          "description": "Indicates that multiple values are allowed for the property. For example, a document only has one description but can have multiple comments. Cannot be true for properties whose type is a boolean. If set to false, properties that contain more than one value cause the indexing request for that item to be rejected."
        },
        "enumPropertyOptions": {
          "$ref": "EnumPropertyOptions"
        },
        "objectPropertyOptions": {
          "$ref": "ObjectPropertyOptions"
        },
        "htmlPropertyOptions": {
          "$ref": "HtmlPropertyOptions"
        },
        "doublePropertyOptions": {
          "$ref": "DoublePropertyOptions"
        },
        "isReturnable": {
          "description": "Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object.",
          "type": "boolean"
        },
        "isWildcardSearchable": {
          "type": "boolean",
          "description": "Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/workspace/cloud-search/docs/guides/schema-guide#properties)"
        },
        "datePropertyOptions": {
          "$ref": "DatePropertyOptions"
        },
        "integerPropertyOptions": {
          "$ref": "IntegerPropertyOptions"
        },
        "textPropertyOptions": {
          "$ref": "TextPropertyOptions"
        },
        "isSuggestable": {
          "description": "Indicates that the property can be used for generating query suggestions.",
          "type": "boolean"
        }
      },
      "type": "object",
      "id": "PropertyDefinition"
    },
    "TimestampPropertyOptions": {
      "type": "object",
      "description": "The options for timestamp properties.",
      "id": "TimestampPropertyOptions",
      "properties": {
        "operatorOptions": {
          "description": "If set, describes how the timestamp should be used as a search operator.",
          "$ref": "TimestampOperatorOptions"
        }
      }
    },
    "IndexItemOptions": {
      "id": "IndexItemOptions",
      "properties": {
        "allowUnknownGsuitePrincipals": {
          "type": "boolean",
          "description": "Specifies if the index request should allow Google Workspace principals that do not exist or are deleted."
        }
      },
      "type": "object"
    },
    "RemoveActivityRequest": {
      "description": "Remove Logged Activity Request.",
      "id": "RemoveActivityRequest",
      "type": "object",
      "properties": {
        "requestOptions": {
          "description": "Request options, such as the search application and clientId.",
          "$ref": "RequestOptions"
        },
        "userActivity": {
          "description": "User Activity containing the data to be deleted.",
          "$ref": "UserActivity"
        }
      }
    },
    "ValueFilter": {
      "type": "object",
      "properties": {
        "value": {
          "$ref": "Value",
          "description": "The value to be compared with."
        },
        "operatorName": {
          "type": "string",
          "description": "The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query."
        }
      },
      "id": "ValueFilter"
    },
    "GSuitePrincipal": {
      "type": "object",
      "properties": {
        "gsuiteGroupEmail": {
          "description": "This principal references a Google Workspace group name.",
          "type": "string"
        },
        "gsuiteUserEmail": {
          "description": "This principal references a Google Workspace user account.",
          "type": "string"
        },
        "gsuiteDomain": {
          "description": "This principal represents all users of the Google Workspace domain of the customer.",
          "type": "boolean"
        }
      },
      "id": "GSuitePrincipal"
    },
    "Schema": {
      "properties": {
        "objectDefinitions": {
          "type": "array",
          "description": "The list of top-level objects for the data source. The maximum number of elements is 10.",
          "items": {
            "$ref": "ObjectDefinition"
          }
        },
        "operationIds": {
          "description": "IDs of the Long Running Operations (LROs) currently running for this schema. After modifying the schema, wait for operations to complete before indexing additional content.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "id": "Schema",
      "description": "The schema definition for a data source.",
      "type": "object"
    },
    "UpdateDataSourceRequest": {
      "type": "object",
      "id": "UpdateDataSourceRequest",
      "properties": {
        "updateMask": {
          "description": "Only applies to [`settings.datasources.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.",
          "format": "google-fieldmask",
          "type": "string"
        },
        "source": {
          "$ref": "DataSource"
        },
        "debugOptions": {
          "description": "Common debug options.",
          "$ref": "DebugOptions"
        }
      }
    },
    "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents": {
      "description": "A list of events where all guests declined.",
      "type": "object",
      "properties": {
        "events": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickAgendaEntry"
          }
        }
      },
      "id": "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents"
    },
    "Source": {
      "properties": {
        "name": {
          "description": "Source name for content indexed by the Indexing API.",
          "type": "string"
        },
        "predefinedSource": {
          "enum": [
            "NONE",
            "QUERY_HISTORY",
            "PERSON",
            "GOOGLE_DRIVE",
            "GOOGLE_GMAIL",
            "GOOGLE_SITES",
            "GOOGLE_GROUPS",
            "GOOGLE_CALENDAR",
            "GOOGLE_KEEP"
          ],
          "description": "Predefined content source for Google Apps.",
          "type": "string",
          "enumDescriptions": [
            "",
            "Suggests queries issued by the user in the past. Only valid when used with the suggest API. Ignored when used in the query API.",
            "Suggests people in the organization. Only valid when used with the suggest API. Results in an error when used in the query API.",
            "",
            "",
            "",
            "",
            "",
            ""
          ]
        }
      },
      "type": "object",
      "id": "Source",
      "description": "Defines sources for the suggest/search APIs."
    },
    "Filter": {
      "type": "object",
      "id": "Filter",
      "description": "A generic way of expressing filters in a query, which supports two approaches: **1. Setting a ValueFilter.** The name must match an operator_name defined in the schema for your data source. **2. Setting a CompositeFilter.** The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.",
      "properties": {
        "valueFilter": {
          "$ref": "ValueFilter"
        },
        "compositeFilter": {
          "$ref": "CompositeFilter"
        }
      }
    },
    "DataSourceIndexStats": {
      "id": "DataSourceIndexStats",
      "description": "Aggregation of items by status code as of the specified date.",
      "type": "object",
      "properties": {
        "itemCountByStatus": {
          "items": {
            "$ref": "ItemCountByStatus"
          },
          "type": "array",
          "description": "Number of items aggregrated by status code."
        },
        "date": {
          "$ref": "Date",
          "description": "The date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned."
        }
      }
    },
    "QueryInterpretationOptions": {
      "description": "Options to interpret user query.",
      "id": "QueryInterpretationOptions",
      "type": "object",
      "properties": {
        "enableVerbatimMode": {
          "type": "boolean",
          "description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true."
        },
        "disableNlInterpretation": {
          "type": "boolean",
          "description": "Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources."
        },
        "disableSupplementalResults": {
          "type": "boolean",
          "description": "Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication level will take precedence if set to True."
        }
      }
    },
    "ObjectPropertyOptions": {
      "description": "The options for object properties.",
      "type": "object",
      "id": "ObjectPropertyOptions",
      "properties": {
        "subobjectProperties": {
          "description": "The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named *street*, *city*, and *state*. The maximum number of elements is 1000.",
          "type": "array",
          "items": {
            "$ref": "PropertyDefinition"
          }
        }
      }
    },
    "Principal": {
      "id": "Principal",
      "properties": {
        "groupResourceName": {
          "type": "string",
          "description": "This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}"
        },
        "gsuitePrincipal": {
          "description": "This principal is a Google Workspace user, group or domain.",
          "$ref": "GSuitePrincipal"
        },
        "userResourceName": {
          "type": "string",
          "description": "This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}"
        }
      },
      "type": "object",
      "description": "Reference to a user, group, or domain."
    },
    "EnterpriseTopazSidekickShareMeetingDocsCardProto": {
      "type": "object",
      "description": "Share meeting docs card proto.",
      "id": "EnterpriseTopazSidekickShareMeetingDocsCardProto",
      "properties": {
        "document": {
          "description": "Documents to share for the given meeting.",
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonDocument"
          }
        },
        "event": {
          "description": "Event.",
          "$ref": "EnterpriseTopazSidekickAgendaEntry"
        }
      }
    },
    "Date": {
      "type": "object",
      "description": "Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.",
      "properties": {
        "month": {
          "format": "int32",
          "description": "Month of date. Must be from 1 to 12.",
          "type": "integer"
        },
        "year": {
          "type": "integer",
          "description": "Year of date. Must be from 1 to 9999.",
          "format": "int32"
        },
        "day": {
          "type": "integer",
          "format": "int32",
          "description": "Day of month. Must be from 1 to 31 and valid for the year and month."
        }
      },
      "id": "Date"
    },
    "EmailAddress": {
      "properties": {
        "emailUrl": {
          "description": "The URL to send email.",
          "type": "string"
        },
        "emailAddress": {
          "description": "The email address.",
          "type": "string"
        },
        "customType": {
          "description": "If the value of type is custom, this property contains the custom type string.",
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "The type of the email account. Acceptable values are: \"custom\", \"home\", \"other\", \"work\"."
        },
        "primary": {
          "type": "boolean",
          "description": "Indicates if this is the user's primary email. Only one entry can be marked as primary."
        }
      },
      "type": "object",
      "description": "A person's email address.",
      "id": "EmailAddress"
    },
    "IntegerOperatorOptions": {
      "type": "object",
      "properties": {
        "operatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the integer property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        },
        "greaterThanOperatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the integer property using the greater-than operator. For example, if greaterThanOperatorName is *priorityabove* and the property's name is *priorityVal*, then queries like *priorityabove:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* is greater than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        },
        "lessThanOperatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the integer property using the less-than operator. For example, if lessThanOperatorName is *prioritybelow* and the property's name is *priorityVal*, then queries like *prioritybelow:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* is less than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        }
      },
      "id": "IntegerOperatorOptions",
      "description": "Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched."
    },
    "CustomerSearchApplicationStats": {
      "properties": {
        "date": {
          "description": "The date for which search application stats were calculated.",
          "$ref": "Date"
        },
        "count": {
          "description": "The count of search applications for the date.",
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Search application stats for a customer for the given date.",
      "id": "CustomerSearchApplicationStats"
    },
    "SearchResult": {
      "id": "SearchResult",
      "description": "Results containing indexed information for a document. Next ID: 17",
      "properties": {
        "snippet": {
          "$ref": "Snippet",
          "description": "The concatenation of all snippets (summaries) available for this result."
        },
        "title": {
          "type": "string",
          "description": "Title of the search result."
        },
        "metadata": {
          "$ref": "Metadata",
          "description": "Metadata of the search result."
        },
        "debugInfo": {
          "description": "Debugging information about this search result.",
          "$ref": "ResultDebugInfo"
        },
        "clusteredResults": {
          "description": "If source is clustered, provide list of clustered results. There will only be one level of clustered results. If current source is not enabled for clustering, this field will be empty.",
          "type": "array",
          "items": {
            "$ref": "SearchResult"
          }
        },
        "url": {
          "type": "string",
          "description": "The URL of the search result. The URL contains a Google redirect to the actual item. This URL is signed and shouldn't be changed."
        }
      },
      "type": "object"
    },
    "EnterpriseTopazSidekickAgendaItem": {
      "id": "EnterpriseTopazSidekickAgendaItem",
      "properties": {
        "conflictedGroup": {
          "$ref": "EnterpriseTopazSidekickConflictingEventsCardProto"
        },
        "gapBefore": {
          "$ref": "EnterpriseTopazSidekickGap"
        },
        "meeting": {
          "$ref": "EnterpriseTopazSidekickAgendaEntry"
        }
      },
      "type": "object"
    },
    "DriveLocationRestrict": {
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "UNSPECIFIED",
            "TRASHED",
            "STARRED"
          ],
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        }
      },
      "description": "Drive location search restricts (e.g. \"is:starred\").",
      "id": "DriveLocationRestrict",
      "type": "object"
    },
    "DriveTimeSpanRestrict": {
      "id": "DriveTimeSpanRestrict",
      "description": "The time span search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").",
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "UNSPECIFIED",
            "TODAY",
            "YESTERDAY",
            "LAST_7_DAYS",
            "LAST_30_DAYS",
            "LAST_90_DAYS"
          ],
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "Not Enabled",
            "Not Enabled"
          ],
          "type": "string"
        }
      }
    },
    "EnterpriseTopazSidekickRecentDocumentsCardProto": {
      "type": "object",
      "properties": {
        "document": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonDocument"
          }
        }
      },
      "id": "EnterpriseTopazSidekickRecentDocumentsCardProto"
    },
    "EnterpriseTopazSidekickNlpMetadata": {
      "type": "object",
      "properties": {
        "confidence": {
          "type": "number",
          "description": "Confidence of the interpretation that generated this card.",
          "format": "float"
        }
      },
      "id": "EnterpriseTopazSidekickNlpMetadata",
      "description": "Metadata about the NLP interpretation of the query."
    },
    "Photo": {
      "id": "Photo",
      "type": "object",
      "description": "A person's photo.",
      "properties": {
        "url": {
          "description": "The URL of the photo.",
          "type": "string"
        }
      }
    },
    "PushItemRequest": {
      "id": "PushItemRequest",
      "type": "object",
      "properties": {
        "debugOptions": {
          "$ref": "DebugOptions",
          "description": "Common debug options."
        },
        "connectorName": {
          "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
          "type": "string"
        },
        "item": {
          "description": "Item to push onto the queue.",
          "$ref": "PushItem"
        }
      }
    },
    "ObjectOptions": {
      "description": "The options for an object.",
      "type": "object",
      "properties": {
        "displayOptions": {
          "description": "The options that determine how the object is displayed in the Cloud Search results page.",
          "$ref": "ObjectDisplayOptions"
        },
        "suggestionFilteringOperators": {
          "description": "Operators that can be used to filter suggestions. For Suggest API, only operators mentioned here will be honored in the FilterOptions. Only TEXT and ENUM operators are supported. NOTE: \"objecttype\", \"type\" and \"mimetype\" are already supported. This property is to configure schema specific operators. Even though this is an array, only one operator can be specified. This is an array for future extensibility. Operators mapping to multiple properties within the same object are not supported. If the operator spans across different object types, this option has to be set once for each object definition.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "freshnessOptions": {
          "$ref": "FreshnessOptions",
          "description": "The freshness options for an object."
        }
      },
      "id": "ObjectOptions"
    },
    "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer": {
      "type": "object",
      "properties": {
        "label": {
          "description": "A localized label for the answer (e.g. \"Cell phone\" vs \"Desk phone\").",
          "type": "string"
        },
        "answer": {
          "type": "string",
          "description": "The free text answer."
        }
      },
      "id": "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer",
      "description": "An answer with a corresponding label."
    },
    "DriveFollowUpRestrict": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "UNSPECIFIED",
            "FOLLOWUP_SUGGESTIONS",
            "FOLLOWUP_ACTION_ITEMS"
          ],
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "type": "string"
        }
      },
      "description": "Drive follow-up search restricts (e.g. \"followup:suggestions\").",
      "id": "DriveFollowUpRestrict"
    },
    "BooleanOperatorOptions": {
      "type": "object",
      "properties": {
        "operatorName": {
          "description": "Indicates the operator name required in the query in order to isolate the boolean property. For example, if operatorName is *closed* and the property's name is *isClosed*, then queries like *closed:\u003cvalue\u003e* show results only where the value of the property named *isClosed* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.",
          "type": "string"
        }
      },
      "id": "BooleanOperatorOptions",
      "description": "Used to provide a search operator for boolean properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched."
    },
    "FieldViolation": {
      "id": "FieldViolation",
      "properties": {
        "description": {
          "description": "The description of the error.",
          "type": "string"
        },
        "field": {
          "type": "string",
          "description": "Path of field with violation."
        }
      },
      "type": "object"
    },
    "TimestampValues": {
      "properties": {
        "values": {
          "items": {
            "type": "string",
            "format": "google-datetime"
          },
          "type": "array"
        }
      },
      "id": "TimestampValues",
      "description": "List of timestamp values.",
      "type": "object"
    },
    "GetCustomerSessionStatsResponse": {
      "type": "object",
      "properties": {
        "stats": {
          "items": {
            "$ref": "CustomerSessionStats"
          },
          "type": "array"
        }
      },
      "id": "GetCustomerSessionStatsResponse"
    },
    "PeoplePromotionCard": {
      "properties": {
        "people": {
          "items": {
            "$ref": "PersonCore"
          },
          "type": "array"
        }
      },
      "id": "PeoplePromotionCard",
      "type": "object"
    },
    "ScoringConfig": {
      "id": "ScoringConfig",
      "properties": {
        "disablePersonalization": {
          "type": "boolean",
          "description": "Whether to personalize the results. By default, personal signals will be used to boost results."
        },
        "disableFreshness": {
          "type": "boolean",
          "description": "Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI."
        }
      },
      "type": "object",
      "description": "Scoring configurations for a source while processing a Search or Suggest request."
    },
    "SafeHtmlProto": {
      "description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.",
      "type": "object",
      "properties": {
        "privateDoNotAccessOrElseSafeHtmlWrappedValue": {
          "type": "string",
          "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message."
        }
      },
      "id": "SafeHtmlProto"
    },
    "FacetResult": {
      "type": "object",
      "id": "FacetResult",
      "properties": {
        "sourceName": {
          "description": "Source name for which facet results are returned. Will not be empty.",
          "type": "string"
        },
        "operatorName": {
          "description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions",
          "type": "string"
        },
        "buckets": {
          "description": "FacetBuckets for values in response containing at least a single result with the corresponding filter.",
          "type": "array",
          "items": {
            "$ref": "FacetBucket"
          }
        },
        "objectType": {
          "type": "string",
          "description": "Object type for which facet results are returned. Can be empty."
        }
      },
      "description": "Source specific facet response"
    },
    "GetCustomerUserStatsResponse": {
      "id": "GetCustomerUserStatsResponse",
      "type": "object",
      "properties": {
        "stats": {
          "type": "array",
          "items": {
            "$ref": "CustomerUserStats"
          }
        }
      }
    },
    "SpellResult": {
      "type": "object",
      "id": "SpellResult",
      "properties": {
        "suggestionType": {
          "enumDescriptions": [
            "Default spell check type",
            "Spell suggestion without any results changed. The results are still shown for the original query (which has non zero / results) with a suggestion for spelling that would have results.",
            "Spell suggestion triggered when original query has no results. When the original query has no results, and spell suggestion has results we trigger results for the spell corrected query."
          ],
          "enum": [
            "SUGGESTION_TYPE_UNSPECIFIED",
            "NON_EMPTY_RESULTS_SPELL_SUGGESTION",
            "ZERO_RESULTS_FULL_PAGE_REPLACEMENT"
          ],
          "type": "string",
          "description": "Suggestion triggered for the current query."
        },
        "suggestedQuery": {
          "type": "string",
          "description": "The suggested spelling of the query."
        },
        "suggestedQueryHtml": {
          "$ref": "SafeHtmlProto",
          "description": "The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked."
        }
      }
    },
    "DataSource": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "Required. Display name of the datasource The maximum length is 300 characters."
        },
        "itemsVisibility": {
          "type": "array",
          "items": {
            "$ref": "GSuitePrincipal"
          },
          "description": "This field restricts visibility to items at the datasource level. Items within the datasource are restricted to the union of users and groups included in this field. Note that, this does not ensure access to a specific item, as users need to have ACL permissions on the contained items. This ensures a high level access on the entire datasource, and that the individual items are not shared outside this visibility."
        },
        "name": {
          "description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.",
          "type": "string"
        },
        "shortName": {
          "description": "A short name or alias for the source. This value will be used to match the 'source' operator. For example, if the short name is *\u003cvalue\u003e* then queries like *source:\u003cvalue\u003e* will only return results for this source. The value must be unique across all datasources. The value must only contain alphanumeric characters (a-zA-Z0-9). The value cannot start with 'google' and cannot be one of the following: mail, gmail, docs, drive, groups, sites, calendar, hangouts, gplus, keep, people, teams. Its maximum length is 32 characters.",
          "type": "string"
        },
        "returnThumbnailUrls": {
          "type": "boolean",
          "description": "Can a user request to get thumbnail URI for Items indexed in this data source."
        },
        "disableServing": {
          "description": "Disable serving any search or assist results.",
          "type": "boolean"
        },
        "operationIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "IDs of the Long Running Operations (LROs) currently running for this schema."
        },
        "disableModifications": {
          "description": "If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.",
          "type": "boolean"
        },
        "indexingServiceAccounts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of service accounts that have indexing access."
        }
      },
      "description": "Datasource is a logical namespace for items to be indexed. All items must belong to a datasource. This is the prerequisite before items can be indexed into Cloud Search. ",
      "id": "DataSource"
    },
    "SearchApplicationSessionStats": {
      "type": "object",
      "properties": {
        "date": {
          "$ref": "Date",
          "description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned."
        },
        "searchSessionsCount": {
          "format": "int64",
          "description": "The count of search sessions on the day",
          "type": "string"
        }
      },
      "id": "SearchApplicationSessionStats"
    },
    "FacetOptions": {
      "description": "Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.",
      "properties": {
        "objectType": {
          "description": "If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.",
          "type": "string"
        },
        "numFacetBuckets": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100."
        },
        "sourceName": {
          "type": "string",
          "description": "Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used."
        },
        "integerFacetingOptions": {
          "$ref": "IntegerFacetingOptions",
          "description": "If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets."
        },
        "operatorName": {
          "description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions",
          "type": "string"
        }
      },
      "id": "FacetOptions",
      "type": "object"
    },
    "ResultDisplayField": {
      "id": "ResultDisplayField",
      "properties": {
        "property": {
          "description": "The name value pair for the property.",
          "$ref": "NamedProperty"
        },
        "operatorName": {
          "type": "string",
          "description": "The operator name of the property."
        },
        "label": {
          "description": "The display label for the property.",
          "type": "string"
        }
      },
      "description": "Display Fields for Search Results",
      "type": "object"
    },
    "EnterpriseTopazSidekickScheduledMeeting": {
      "type": "object",
      "description": "Details about scheduled meetings.",
      "properties": {
        "meetingLocation": {
          "description": "The meeting location.",
          "type": "string"
        },
        "meetingTitle": {
          "description": "The meeting title.",
          "type": "string"
        },
        "meetingTime": {
          "description": "The meeting time slot.",
          "$ref": "EnterpriseTopazSidekickTimeSlot"
        }
      },
      "id": "EnterpriseTopazSidekickScheduledMeeting"
    },
    "DeleteQueueItemsRequest": {
      "type": "object",
      "id": "DeleteQueueItemsRequest",
      "properties": {
        "queue": {
          "type": "string",
          "description": "The name of a queue to delete items from."
        },
        "connectorName": {
          "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
          "type": "string"
        },
        "debugOptions": {
          "description": "Common debug options.",
          "$ref": "DebugOptions"
        }
      }
    },
    "FilterOptions": {
      "type": "object",
      "id": "FilterOptions",
      "description": "Filter options to be applied on query.",
      "properties": {
        "objectType": {
          "description": "If object_type is set, only objects of that type are returned. This should correspond to the name of the object that was registered within the definition of schema. The maximum length is 256 characters.",
          "type": "string"
        },
        "filter": {
          "$ref": "Filter",
          "description": "Generic filter to restrict the search, such as `lang:en`, `site:xyz`."
        }
      }
    },
    "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson": {
      "description": "A person that also matches the query, but was not selected due to a lower affinity with the requesting user.",
      "type": "object",
      "properties": {
        "person": {
          "description": "The profile of this person.",
          "$ref": "EnterpriseTopazSidekickCommonPerson"
        },
        "query": {
          "type": "string",
          "description": "The query that can be used to produce an answer card with the same attribute, but for this person."
        }
      },
      "id": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson"
    },
    "EnterpriseTopazSidekickDocumentGroup": {
      "description": "Represents a mapping between a document type and its corresponding documents. Use for Work in Progress card in v1 homepage.",
      "id": "EnterpriseTopazSidekickDocumentGroup",
      "type": "object",
      "properties": {
        "personalizedDocument": {
          "description": "The list of corresponding documents.",
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonDocument"
          }
        },
        "groupType": {
          "enumDescriptions": [
            "Unknown type.",
            "A mix of all the document types."
          ],
          "deprecated": true,
          "type": "string",
          "description": "Document group type",
          "enum": [
            "UNKNOWN_TYPE",
            "ALL"
          ]
        }
      }
    },
    "Media": {
      "description": "Media resource.",
      "properties": {
        "resourceName": {
          "type": "string",
          "description": "Name of the media resource."
        }
      },
      "id": "Media",
      "type": "object"
    },
    "QueryInterpretation": {
      "id": "QueryInterpretation",
      "properties": {
        "reason": {
          "type": "string",
          "description": "The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE.",
          "enum": [
            "UNSPECIFIED",
            "QUERY_HAS_NATURAL_LANGUAGE_INTENT",
            "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY"
          ],
          "enumDescriptions": [
            "",
            "Natural language interpretation of the query is used to fetch the search results.",
            "Query and document terms similarity is used to selectively broaden the query to retrieve additional search results since enough results were not found for the user query. Interpreted query will be empty for this case."
          ]
        },
        "interpretedQuery": {
          "description": "The interpretation of the query used in search. For example, queries with natural language intent like \"email from john\" will be interpreted as \"from:john source:mail\". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.",
          "type": "string"
        },
        "interpretationType": {
          "enum": [
            "NONE",
            "BLEND",
            "REPLACE"
          ],
          "type": "string",
          "enumDescriptions": [
            "Neither the natural language interpretation, nor a broader version of the query is used to fetch the search results.",
            "The results from original query are blended with other results. The reason for blending these other results with the results from original query is populated in the 'Reason' field below.",
            "The results from original query are replaced. The reason for replacing the results from original query is populated in the 'Reason' field below."
          ]
        },
        "interpretedQueryEstimatedResultCount": {
          "type": "string",
          "description": "The estimated number of results returned by the interpreted query.",
          "format": "int64"
        },
        "interpretedQueryActualResultCount": {
          "type": "integer",
          "format": "int32",
          "description": "The actual number of results returned by the interpreted query."
        }
      },
      "type": "object"
    },
    "PropertyDisplayOptions": {
      "id": "PropertyDisplayOptions",
      "description": "The display options for a property.",
      "properties": {
        "displayLabel": {
          "type": "string",
          "description": "The user friendly label for the property that is used if the property is specified to be displayed in ObjectDisplayOptions. If provided, the display label is shown in front of the property values when the property is part of the object display options. For example, if the property value is '1', the value by itself may not be useful context for the user. If the display name given was 'priority', then the user sees 'priority : 1' in the search results which provides clear context to search users. This is OPTIONAL; if not given, only the property values are displayed. The maximum length is 64 characters."
        }
      },
      "type": "object"
    },
    "EnterpriseTopazSidekickRankingParams": {
      "properties": {
        "score": {
          "format": "float",
          "type": "number",
          "description": "The score of the card to be used to break priority-ties"
        },
        "startTimeMs": {
          "description": "The start-time that this object will bid-for If the type is marked as FIXED, then this start-time will persist after bidding. If the type is marked as FLEXIBLE, then it will occur at the given time or sometime after the requested time. Expected to be set for all types.",
          "type": "string",
          "format": "uint64"
        },
        "priority": {
          "description": "The priority to determine between objects that have the same start_time_ms The lower-value of priority == ranked higher. Max-priority = 0. Expected to be set for all types.",
          "type": "string",
          "enum": [
            "UNKNOWN",
            "CRITICAL",
            "IMPORTANT",
            "HIGH",
            "NORMAL",
            "BEST_EFFORT"
          ],
          "enumDescriptions": [
            "Unknown (default).",
            "Critical.",
            "Important.",
            "High.",
            "Normal.",
            "Best effort."
          ]
        },
        "endTimeMs": {
          "description": "The end-time that this object will expect to occur. If the type is marked as FIXED, then this end-time will persist after bidding. If the type is marked as FLEXIBLE, this field is NOT expected to be filled and will be filled in after it has won a bid. Expected to be set when type is set to FIXED.",
          "format": "uint64",
          "type": "string"
        },
        "spanMs": {
          "format": "uint64",
          "description": "The span that this card will take in the stream Expected to be set when type is set to FLEXIBLE.",
          "type": "string"
        },
        "type": {
          "enum": [
            "FIXED",
            "FLEXIBLE"
          ],
          "enumDescriptions": [
            "Fixed, i.e., the card is time sensitive.",
            "Flexible, i.e., the card is not time sensitive."
          ],
          "description": "The packing type of this object.",
          "type": "string"
        }
      },
      "description": "Ranking params.",
      "id": "EnterpriseTopazSidekickRankingParams",
      "type": "object"
    },
    "ListQuerySourcesResponse": {
      "description": "List sources response.",
      "id": "ListQuerySourcesResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string"
        },
        "sources": {
          "type": "array",
          "items": {
            "$ref": "QuerySource"
          }
        }
      }
    },
    "EnumOperatorOptions": {
      "properties": {
        "operatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the enum property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        }
      },
      "type": "object",
      "id": "EnumOperatorOptions",
      "description": "Used to provide a search operator for enum properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. For example, if you provide no operator for a *priority* enum property with possible values *p0* and *p1*, a query that contains the term *p0* returns items that have *p0* as the value of the *priority* property, as well as any items that contain the string *p0* in other fields. If you provide an operator name for the enum, such as *priority*, then search users can use that operator to refine results to only items that have *p0* as this property's value, with the query *priority:p0*."
    },
    "EnterpriseTopazSidekickCommonPerson": {
      "type": "object",
      "id": "EnterpriseTopazSidekickCommonPerson",
      "description": "Common representation of a person.",
      "properties": {
        "jobTitle": {
          "type": "string",
          "description": "The person's job title (e.g. Software Engineer)."
        },
        "birthday": {
          "description": "The birthday.",
          "$ref": "EnterpriseTopazSidekickCommonPersonBirthday"
        },
        "givenName": {
          "type": "string",
          "description": "The first name."
        },
        "photoUrl": {
          "type": "string",
          "description": "The URL for the Focus profile picture."
        },
        "gaiaId": {
          "deprecated": true,
          "type": "string",
          "format": "int64",
          "description": "This field is deprecated. The obfuscated_id should be used instead."
        },
        "deskPhone": {
          "description": "Work desk phone number.",
          "type": "string"
        },
        "streetAddress": {
          "description": "The street address (e.g. 1255 Pear Avenue).",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "The full name."
        },
        "obfuscatedId": {
          "description": "The obfuscated GAIA ID.",
          "type": "string"
        },
        "familyName": {
          "description": "The last name.",
          "type": "string"
        },
        "email": {
          "description": "Email.",
          "type": "string"
        },
        "manager": {
          "$ref": "EnterpriseTopazSidekickCommonPerson",
          "description": "The manager."
        },
        "fullAddress": {
          "type": "string",
          "description": "The fully formatted address (e.g. 1255 Pear Avenue, Mountain View 94043, United States)."
        },
        "cellPhone": {
          "type": "string",
          "description": "Cell phone number."
        },
        "deskLocation": {
          "description": "Desk location (e.g. US-MTV-PR55-5-5B1I).",
          "type": "string"
        },
        "department": {
          "type": "string",
          "description": "The department the person works in (e.g. Engineering)."
        }
      }
    },
    "EnterpriseTopazSidekickAgendaGroupCardProto": {
      "id": "EnterpriseTopazSidekickAgendaGroupCardProto",
      "properties": {
        "context": {
          "$ref": "EnterpriseTopazSidekickAgendaGroupCardProtoContext"
        },
        "currentAgendaItem": {
          "$ref": "EnterpriseTopazSidekickAgendaItem"
        },
        "agendaItem": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickAgendaItem"
          }
        }
      },
      "type": "object"
    },
    "RequestOptions": {
      "id": "RequestOptions",
      "type": "object",
      "description": "Shared request options for all RPC methods.",
      "properties": {
        "searchApplicationId": {
          "description": "The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).",
          "type": "string"
        },
        "countryCode": {
          "description": "Optional. Specifies the country/region where the query originated, as a lowercase ISO 3166-1 alpha-2 region code (using 'uk' instead of 'gb' for the United Kingdom).",
          "type": "string"
        },
        "languageCode": {
          "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions.",
          "type": "string"
        },
        "timeZone": {
          "type": "string",
          "description": "Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used."
        },
        "debugOptions": {
          "description": "Debug options of the request",
          "$ref": "DebugOptions"
        },
        "queryLanguageCode": {
          "description": "Optional. The BCP-47 language code representing the language of the query.",
          "type": "string"
        },
        "clientDisplayLanguageCode": {
          "type": "string",
          "description": "The BCP-47 language code, such as \"pt\" or \"en\". It represents the user's preferred Display Language."
        }
      }
    },
    "EnterpriseTopazSidekickAnswerAnswerList": {
      "properties": {
        "labeledAnswer": {
          "description": "Answers that have a corresponding label.",
          "items": {
            "$ref": "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer"
          },
          "type": "array"
        },
        "type": {
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "type": "string",
          "description": "Answer type.",
          "enum": [
            "UNKNOWN",
            "PERSON_ADDRESS",
            "PERSON_BIRTHDAY",
            "PERSON_DEPARTMENT",
            "PERSON_DESK_LOCATION",
            "PERSON_EMAIL",
            "PERSON_JOB_TITLE",
            "PERSON_PHONE"
          ]
        }
      },
      "type": "object",
      "id": "EnterpriseTopazSidekickAnswerAnswerList",
      "description": "A list of answers represented as free text."
    },
    "ItemAcl": {
      "properties": {
        "owners": {
          "type": "array",
          "items": {
            "$ref": "Principal"
          },
          "description": "Optional. List of owners for the item. This field has no bearing on document access permissions. It does, however, offer a slight ranking boosts items where the querying user is an owner. The maximum number of elements is 5."
        },
        "readers": {
          "type": "array",
          "items": {
            "$ref": "Principal"
          },
          "description": "List of principals who are allowed to see the item in search results. Optional if inheriting permissions from another item or if the item is not intended to be visible, such as virtual containers. The maximum number of elements is 1000."
        },
        "deniedReaders": {
          "items": {
            "$ref": "Principal"
          },
          "description": "List of principals who are explicitly denied access to the item in search results. While principals are denied access by default, use denied readers to handle exceptions and override the list allowed readers. The maximum number of elements is 100.",
          "type": "array"
        },
        "inheritAclFrom": {
          "description": "The name of the item to inherit the Access Permission List (ACL) from. Note: ACL inheritance *only* provides access permissions to child items and does not define structural relationships, nor does it provide convenient ways to delete large groups of items. Deleting an ACL parent from the index only alters the access permissions of child items that reference the parent in the inheritAclFrom field. The item is still in the index, but may not visible in search results. By contrast, deletion of a container item also deletes all items that reference the container via the containerName field. The maximum length for this field is 1536 characters.",
          "type": "string"
        },
        "aclInheritanceType": {
          "type": "string",
          "enumDescriptions": [
            "The default value when this item does not inherit an ACL. Use NOT_APPLICABLE when inheritAclFrom is empty. An item without ACL inheritance can still have ACLs supplied by its own readers and deniedReaders fields.",
            "During an authorization conflict, the ACL of the child item determines its read access.",
            "During an authorization conflict, the ACL of the parent item specified in the inheritAclFrom field determines read access.",
            "Access is granted only if this item and the parent item specified in the inheritAclFrom field both permit read access."
          ],
          "description": "Sets the type of access rules to apply when an item inherits its ACL from a parent. This should always be set in tandem with the inheritAclFrom field. Also, when the inheritAclFrom field is set, this field should be set to a valid AclInheritanceType.",
          "enum": [
            "NOT_APPLICABLE",
            "CHILD_OVERRIDE",
            "PARENT_OVERRIDE",
            "BOTH_PERMIT"
          ]
        }
      },
      "id": "ItemAcl",
      "description": "Access control list information for the item. For more information see [Map ACLs](https://developers.google.com/workspace/cloud-search/docs/guides/acls).",
      "type": "object"
    },
    "ObjectDefinition": {
      "id": "ObjectDefinition",
      "description": "The definition for an object within a data source.",
      "properties": {
        "options": {
          "description": "The optional object-specific options.",
          "$ref": "ObjectOptions"
        },
        "name": {
          "description": "The name for the object, which then defines its type. Item indexing requests should set the objectType field equal to this value. For example, if *name* is *Document*, then indexing requests for items of type Document should set objectType equal to *Document*. Each object definition must be uniquely named within a schema. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.",
          "type": "string"
        },
        "propertyDefinitions": {
          "description": "The property definitions for the object. The maximum number of elements is 1000.",
          "type": "array",
          "items": {
            "$ref": "PropertyDefinition"
          }
        }
      },
      "type": "object"
    },
    "SourceCrowdingConfig": {
      "properties": {
        "numResults": {
          "description": "Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100.",
          "format": "int32",
          "type": "integer"
        },
        "numSuggestions": {
          "description": "Maximum number of suggestions allowed from a source. No limits will be set on results if this value is less than or equal to 0.",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host \"crowd out\" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source.",
      "type": "object",
      "id": "SourceCrowdingConfig"
    },
    "GetSearchApplicationUserStatsResponse": {
      "type": "object",
      "properties": {
        "stats": {
          "type": "array",
          "items": {
            "$ref": "SearchApplicationUserStats"
          }
        }
      },
      "id": "GetSearchApplicationUserStatsResponse"
    },
    "EnterpriseTopazSidekickMeetingNotesCardRequest": {
      "type": "object",
      "description": "Meeting notes card request.",
      "properties": {
        "event": {
          "description": "The event to request meeting notes creation",
          "$ref": "EnterpriseTopazSidekickAgendaEntry"
        },
        "canCreateFor": {
          "description": "Who are the meeting notes created for.",
          "type": "array",
          "items": {
            "enum": [
              "UNKNOWN",
              "MYSELF",
              "ALL_ATTENDEES"
            ],
            "enumDescriptions": [
              "Unknown (default).",
              "For the requester.",
              "For all the meeting attendees."
            ],
            "type": "string"
          }
        },
        "error": {
          "$ref": "EnterpriseTopazSidekickMeetingNotesCardError",
          "description": "The error and reason if known error occured."
        }
      },
      "id": "EnterpriseTopazSidekickMeetingNotesCardRequest"
    },
    "QueryItem": {
      "description": "Information relevant only to a query entry.",
      "type": "object",
      "id": "QueryItem",
      "properties": {
        "isSynthetic": {
          "description": "True if the text was generated by means other than a previous user search.",
          "type": "boolean"
        }
      }
    },
    "SuggestResult": {
      "type": "object",
      "description": "One suggestion result.",
      "properties": {
        "source": {
          "$ref": "Source",
          "description": "The source of the suggestion."
        },
        "querySuggestion": {
          "description": "This field will be present if the suggested query is a word/phrase completion.",
          "$ref": "QuerySuggestion"
        },
        "suggestedQuery": {
          "description": "The suggested query that will be used for search, when the user clicks on the suggestion",
          "type": "string"
        },
        "peopleSuggestion": {
          "description": "This is present when the suggestion indicates a person. It contains more information about the person - like their email ID, name etc.",
          "$ref": "PeopleSuggestion"
        }
      },
      "id": "SuggestResult"
    },
    "Content": {
      "properties": {
        "actions": {
          "type": "array",
          "description": "[Optional] Actions for this card.",
          "items": {
            "$ref": "Action"
          }
        },
        "title": {
          "description": "[Optional] Title of the card.",
          "$ref": "BackgroundColoredText"
        },
        "subtitle": {
          "description": "[Optional] Subtitle of the card.",
          "$ref": "BackgroundColoredText"
        },
        "description": {
          "$ref": "SafeHtmlProto",
          "description": "[Optional] Description of the card."
        }
      },
      "id": "Content",
      "type": "object"
    },
    "EnterpriseTopazSidekickPerson": {
      "description": "Person.",
      "type": "object",
      "id": "EnterpriseTopazSidekickPerson",
      "properties": {
        "photoUrl": {
          "description": "Absolute URL to the profile photo of the person.",
          "type": "string"
        },
        "name": {
          "description": "Name.",
          "type": "string"
        },
        "affinityLevel": {
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "UNKNOWN",
            "LOW",
            "MEDIUM",
            "HIGH"
          ],
          "description": "The level of affinity this person has with the requesting user.",
          "type": "string"
        },
        "email": {
          "description": "Email.",
          "type": "string"
        },
        "gaiaId": {
          "type": "string",
          "description": "Gaia id.",
          "deprecated": true,
          "format": "int64"
        },
        "attendingStatus": {
          "description": "Attendance status of the person when included in a meeting event.",
          "enumDescriptions": [
            "Awaiting for the user to set the status.",
            "Attending.",
            "Not attending.",
            "Tentatively attending."
          ],
          "enum": [
            "AWAITING",
            "YES",
            "NO",
            "MAYBE"
          ],
          "type": "string"
        },
        "obfuscatedGaiaId": {
          "description": "Obfuscated Gaia id.",
          "type": "string"
        },
        "isGroup": {
          "type": "boolean",
          "description": "Whether the invitee is a group."
        }
      }
    },
    "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader": {
      "description": "Recommended header to display for the card.",
      "properties": {
        "title": {
          "type": "string",
          "description": "The suggested title to display. This defaults to the user's query."
        }
      },
      "id": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader",
      "type": "object"
    },
    "DoubleValues": {
      "description": "List of double values.",
      "id": "DoubleValues",
      "type": "object",
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      }
    },
    "Context": {
      "type": "object",
      "id": "Context",
      "properties": {
        "endDayOffsetSec": {
          "description": "[Optional] End time in seconds, within a day, when the card should stop being shown if it's within [start_date_sec, end_date_sec]. If missing, this is set to 86400 (24 hours x 3600 sec/hour), i.e., midnight next day.",
          "format": "int64",
          "type": "string"
        },
        "endDateSec": {
          "description": "[Optional] Date (in seconds since epoch) when the card should stop being shown. If missing, end_date_sec will be set to Jan 1st, 2100.",
          "type": "string",
          "format": "int64"
        },
        "dayOfWeek": {
          "type": "array",
          "description": "[Optional] Day of week when the card should be shown, where 0 is Monday.",
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "query": {
          "description": "[Required only for Answer and RHS cards - will be ignored for Homepage] cards. It's the exact case-insensitive queries that will trigger the Answer or RHS card.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "surface": {
          "description": "[Optional] Surface where the card should be shown in. If missing, the card will be shown in any surface.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "",
              "",
              "",
              "",
              "Any mobile device.",
              ""
            ],
            "enum": [
              "UNKNOWN_SURFACE",
              "DESKTOP",
              "ANDROID",
              "IOS",
              "MOBILE",
              "ANY"
            ]
          }
        },
        "startDayOffsetSec": {
          "description": "[Optional] Start time in seconds, within a day, when the card should be shown if it's within [start_date_sec, end_date_sec]. If 0, the card will be shown from 12:00am on.",
          "type": "string",
          "format": "int64"
        },
        "location": {
          "description": "[Optional] Text-free locations where the card should be shown. This is expected to match the user's location in focus. If no location is specified, the card will be shown for any location.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "locale": {
          "description": "[Optional] The locales for which the card should be triggered (e.g., en_US and en_CA). If missing, the card is going to show to clients regardless of their locale.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "startDateSec": {
          "format": "int64",
          "description": "[Optional] Date (in seconds since epoch) when the card should start being shown. If missing, start_date_sec will be Jan 1st, 1970 UTC.",
          "type": "string"
        },
        "app": {
          "description": "[Optional] App where the card should be shown. If missing, the card will be shown in TOPAZ.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "",
              "",
              ""
            ],
            "enum": [
              "UNKNOWN_APP",
              "TOPAZ",
              "MOMA"
            ]
          }
        },
        "type": {
          "description": "[Required] Type of the card (homepage, Answer or RHS).",
          "items": {
            "enumDescriptions": [
              "",
              "",
              "",
              ""
            ],
            "type": "string",
            "enum": [
              "UNKNOWN_CARD_TYPE",
              "HOMEPAGE_CARD",
              "ANSWER_CARD",
              "RHS_CARD"
            ]
          },
          "type": "array"
        }
      }
    },
    "PeopleSuggestion": {
      "id": "PeopleSuggestion",
      "description": "This field contains information about the person being suggested.",
      "type": "object",
      "properties": {
        "person": {
          "$ref": "Person",
          "description": "Suggested person. All fields of the person object might not be populated."
        }
      }
    },
    "QueryOperator": {
      "properties": {
        "enumValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator."
        },
        "objectType": {
          "type": "string",
          "description": "The name of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators."
        },
        "lessThanOperatorName": {
          "description": "Indicates the operator name that can be used to isolate the property using the less-than operator.",
          "type": "string"
        },
        "type": {
          "description": "The type of the operator.",
          "type": "string",
          "enumDescriptions": [
            "Invalid value.",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "UNKNOWN",
            "INTEGER",
            "DOUBLE",
            "TIMESTAMP",
            "BOOLEAN",
            "ENUM",
            "DATE",
            "TEXT",
            "HTML"
          ]
        },
        "operatorName": {
          "type": "string",
          "description": "The name of the operator."
        },
        "isFacetable": {
          "type": "boolean",
          "description": "Can this operator be used to get facets."
        },
        "isReturnable": {
          "type": "boolean",
          "description": "Will the property associated with this facet be returned as part of search results."
        },
        "isSortable": {
          "description": "Can this operator be used to sort results.",
          "type": "boolean"
        },
        "isRepeatable": {
          "description": "Indicates if multiple values can be set for this property.",
          "type": "boolean"
        },
        "greaterThanOperatorName": {
          "type": "string",
          "description": "Indicates the operator name that can be used to isolate the property using the greater-than operator."
        },
        "isSuggestable": {
          "description": "Can get suggestions for this field.",
          "type": "boolean"
        },
        "displayName": {
          "type": "string",
          "description": "Display name of the operator"
        }
      },
      "type": "object",
      "id": "QueryOperator",
      "description": "The definition of a operator that can be used in a Search/Suggest request."
    },
    "QueryCountByStatus": {
      "type": "object",
      "id": "QueryCountByStatus",
      "properties": {
        "count": {
          "type": "string",
          "format": "int64"
        },
        "statusCode": {
          "type": "integer",
          "format": "int32",
          "description": "This represents the http status code."
        }
      }
    },
    "ItemStatus": {
      "description": "This contains item's status and any errors.",
      "type": "object",
      "id": "ItemStatus",
      "properties": {
        "repositoryErrors": {
          "type": "array",
          "items": {
            "$ref": "RepositoryError"
          },
          "description": "Repository error reported by connector."
        },
        "code": {
          "description": "Status code.",
          "enum": [
            "CODE_UNSPECIFIED",
            "ERROR",
            "MODIFIED",
            "NEW_ITEM",
            "ACCEPTED"
          ],
          "type": "string",
          "enumDescriptions": [
            "Input-only value. Used with Items.list to list all items in the queue, regardless of status.",
            "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.",
            "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.",
            "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.",
            "API has accepted the up-to-date data of this item."
          ]
        },
        "processingErrors": {
          "description": "Error details in case the item is in ERROR state.",
          "items": {
            "$ref": "ProcessingError"
          },
          "type": "array"
        }
      }
    },
    "EnterpriseTopazSidekickFindMeetingTimeCardProto": {
      "type": "object",
      "id": "EnterpriseTopazSidekickFindMeetingTimeCardProto",
      "properties": {
        "scheduledMeeting": {
          "description": "Details about the scheduled meeting, if one exists.",
          "$ref": "EnterpriseTopazSidekickScheduledMeeting"
        },
        "timeBoundaries": {
          "description": "Min and max timestamp used to find a common available timeslot.",
          "$ref": "EnterpriseTopazSidekickTimeSlot"
        },
        "commonAvailableTimeSlots": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickTimeSlot"
          },
          "description": "Slots when all attendees have availability."
        },
        "skippedInvitees": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickPerson"
          },
          "description": "Invitees that have been skipped in the computation, most likely because they are groups."
        },
        "invitees": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickPerson"
          },
          "description": "Invitees to the event."
        },
        "requester": {
          "$ref": "EnterpriseTopazSidekickPerson",
          "description": "Requester."
        },
        "timezoneId": {
          "description": "Timezone ID.",
          "type": "string"
        }
      },
      "description": "Response to find meeting time among a set of people."
    },
    "EnterpriseTopazSidekickDocumentPerCategoryList": {
      "id": "EnterpriseTopazSidekickDocumentPerCategoryList",
      "type": "object",
      "properties": {
        "documents": {
          "items": {
            "$ref": "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry"
          },
          "type": "array"
        },
        "responseMessage": {
          "description": "Response message in case no documents are present in the card.",
          "type": "string"
        },
        "listType": {
          "enumDescriptions": [
            "",
            "All documents in the list correspond to one of the mention categories.",
            "All documents in the list correspond to one of the share categories.",
            "A mixture of document categories that correspond to documents that need the users attention (e.g. documents that have been explicitly shared with the user but have not been viewed and documents where the user was mentioned but has not replied).",
            "All documents in the list correspond to one of the view categories.",
            "All documents in the list correspond to one of the edit categories."
          ],
          "type": "string",
          "enum": [
            "UNKNOWN_LIST_TYPE",
            "MENTIONS",
            "SHARES",
            "NEEDS_ATTENTION",
            "VIEWS",
            "EDITS"
          ]
        },
        "listTypeDescription": {
          "description": "Description of the types of documents present in the list.",
          "type": "string"
        },
        "helpMessage": {
          "description": "Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional.",
          "type": "string"
        }
      }
    },
    "EnumValuePair": {
      "id": "EnumValuePair",
      "type": "object",
      "description": "The enumeration value pair defines two things: a required string value and an optional integer value. The string value defines the necessary query term required to retrieve that item, such as *p0* for a priority item. The integer value determines the ranking of that string value relative to other enumerated values for the same property. For example, you might associate *p0* with *0* and define another enum pair such as *p1* and *1*. You must use the integer value in combination with ordered ranking to set the ranking of a given value relative to other enumerated values for the same property name. Here, a ranking order of DESCENDING for *priority* properties results in a ranking boost for items indexed with a value of *p0* compared to items indexed with a value of *p1*. Without a specified ranking order, the integer value has no effect on item ranking.",
      "properties": {
        "integerValue": {
          "type": "integer",
          "description": "The integer value of the EnumValuePair which must be non-negative. Optional.",
          "format": "int32"
        },
        "stringValue": {
          "description": "The string value of the EnumValuePair. The maximum length is 32 characters.",
          "type": "string"
        }
      }
    },
    "HtmlOperatorOptions": {
      "description": "Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
      "id": "HtmlOperatorOptions",
      "properties": {
        "operatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the html property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:\u003cvalue\u003e* show results only where the value of the property named *subjectLine* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator return all items where *\u003cvalue\u003e* matches the value of any html properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        }
      },
      "type": "object"
    },
    "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber": {
      "id": "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber",
      "type": "object",
      "properties": {
        "phoneNumber": {
          "type": "string",
          "description": "Phone number in no particular format (as comes from the Focus profile)."
        },
        "phoneUrl": {
          "description": "Phone number URL",
          "$ref": "SafeUrlProto"
        },
        "type": {
          "enum": [
            "UNKNOWN",
            "MOBILE",
            "OFFICE",
            "OTHER"
          ],
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "type": "string"
        }
      }
    },
    "EnterpriseTopazSidekickAgendaEntry": {
      "type": "object",
      "properties": {
        "invitee": {
          "description": "People attending the meeting.",
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazSidekickPerson"
          }
        },
        "document": {
          "type": "array",
          "description": "Items related to the current AgendaEntry. E.g., related drive/mail/groups documents.",
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonDocument"
          }
        },
        "showFullEventDetailsToUse": {
          "type": "boolean",
          "description": "Whether the details of this entry should be displayed to the user."
        },
        "hangoutId": {
          "description": "Hangout meeting identifier.",
          "type": "string"
        },
        "agendaItemUrl": {
          "type": "string",
          "description": "URL of the agenda item."
        },
        "guestsCanSeeGuests": {
          "type": "boolean",
          "description": "Whether the guests of the event can be seen. If false, the user is going to be reported as the only attendee to the meeting, even though there may be more attendees."
        },
        "lastModificationTimeMs": {
          "format": "int64",
          "description": "Last time the event was modified.",
          "type": "string"
        },
        "creator": {
          "$ref": "EnterpriseTopazSidekickPerson",
          "description": "Person who created the event."
        },
        "startDate": {
          "description": "Start date \"Friday, August 26\" in the user's timezone.",
          "type": "string"
        },
        "guestsCanModify": {
          "description": "Whether the guests can modify the event.",
          "type": "boolean"
        },
        "guestsCanInviteOthers": {
          "description": "Whether the guests can invite other guests.",
          "type": "boolean"
        },
        "description": {
          "description": "Description of the agenda item (i.e., typically, summary in calendar event).",
          "type": "string"
        },
        "hangoutUrl": {
          "description": "Absolute URL for the Hangout meeting.",
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Title of the agenda item."
        },
        "startTime": {
          "description": "Start time (HH:mm) in the user's timezone.",
          "type": "string"
        },
        "isAllDay": {
          "description": "Whether the entry lasts all day.",
          "type": "boolean"
        },
        "otherAttendeesExcluded": {
          "description": "Whether guest list is not returned because number of attendees is too large.",
          "type": "boolean"
        },
        "endTime": {
          "description": "End time (HH:mm) in the user's timezone.",
          "type": "string"
        },
        "startTimeMs": {
          "type": "string",
          "format": "int64",
          "description": "Start time in milliseconds."
        },
        "location": {
          "type": "string",
          "description": "Agenda item location."
        },
        "notifyToUser": {
          "description": "Whether this should be notified to the user.",
          "type": "boolean"
        },
        "requesterIsOwner": {
          "description": "Whether the requester is the owner of the agenda entry.",
          "type": "boolean"
        },
        "endTimeMs": {
          "type": "string",
          "description": "End time in milliseconds",
          "format": "int64"
        },
        "chronology": {
          "description": "The chronology from the present.",
          "enum": [
            "STALE",
            "ALL_DAY",
            "PAST",
            "RECENTLY_PAST",
            "PRESENT",
            "NEAR_FUTURE",
            "FUTURE"
          ],
          "enumDescriptions": [
            "Stale.",
            "All day.",
            "Past.",
            "Recently past.",
            "Present.",
            "Near future.",
            "Future."
          ],
          "type": "string"
        },
        "timeZone": {
          "type": "string",
          "description": "User's calendar timezone;"
        },
        "endDate": {
          "type": "string",
          "description": "End date \"Friday, August 26\" in the user's timezone."
        },
        "eventId": {
          "description": "Event id provided by Calendar API.",
          "type": "string"
        },
        "currentUserAttendingStatus": {
          "enum": [
            "AWAITING",
            "YES",
            "NO",
            "MAYBE"
          ],
          "enumDescriptions": [
            "Awaiting for the user to set the status.",
            "Attending.",
            "Not attending.",
            "Tentatively attending."
          ],
          "description": "Attendance status for the current user making the request. This is a convenience data member in order to avoid figuring out the same by iterating the invitee list above on the caller side.",
          "type": "string"
        }
      },
      "description": "An AgendaEntry, e.g., a Calendar Event.",
      "id": "EnterpriseTopazSidekickAgendaEntry"
    },
    "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata": {
      "id": "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata",
      "description": "Meta data for drive documents.",
      "type": "object",
      "properties": {
        "owner": {
          "description": "The owner of the document.",
          "$ref": "EnterpriseTopazSidekickCommonPerson"
        },
        "documentId": {
          "description": "The drive document cosmo id. Client could use the id to build a URL to open a document. Please use Document.document_id.",
          "deprecated": true,
          "type": "string"
        },
        "scope": {
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "UNKNOWN_DOCUMENT_SCOPE",
            "LIMITED",
            "DASHER_DOMAIN_WITH_LINK",
            "DASHER_DOMAIN",
            "PUBLIC_WITH_LINK",
            "PUBLIC",
            "TEAM_DRIVE"
          ],
          "description": "ACL scope of the document which identifies the sharing status of the doc (e.g., limited, shared with link, team drive, ...).",
          "type": "string"
        },
        "isPrivate": {
          "description": "Additional field to identify whether a document is private since scope set to LIMITED can mean both that the doc is private or that it's shared with others. is_private indicates whether the doc is not shared with anyone except for the owner.",
          "type": "boolean"
        },
        "lastCommentTimeMs": {
          "description": "Timestamp of the most recent comment added to the document in milliseconds since epoch.",
          "format": "uint64",
          "type": "string"
        },
        "lastEditTimeMs": {
          "format": "uint64",
          "type": "string",
          "description": "Timestamp of the most recent edit from the current user in milliseconds since epoch."
        },
        "lastModificationTimeMillis": {
          "description": "Last modification time of the document (independent of the user that modified it).",
          "format": "int64",
          "type": "string"
        },
        "lastUpdatedTimeMs": {
          "description": "Timestamp of the last updated time of the document in milliseconds since epoch.",
          "format": "uint64",
          "type": "string"
        },
        "lastViewTimeMs": {
          "type": "string",
          "format": "uint64",
          "description": "Timestamp of the most recent view from the current user in milliseconds since epoch."
        }
      }
    },
    "GetSearchApplicationSessionStatsResponse": {
      "type": "object",
      "properties": {
        "stats": {
          "type": "array",
          "items": {
            "$ref": "SearchApplicationSessionStats"
          }
        }
      },
      "id": "GetSearchApplicationSessionStatsResponse"
    },
    "EnterpriseTopazSidekickGenericAnswerCard": {
      "type": "object",
      "properties": {
        "answer": {
          "description": "The answer.",
          "type": "string"
        },
        "title": {
          "description": "Title or header of the card.",
          "type": "string"
        }
      },
      "id": "EnterpriseTopazSidekickGenericAnswerCard"
    },
    "IntegerFacetingOptions": {
      "id": "IntegerFacetingOptions",
      "properties": {
        "integerBuckets": {
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          },
          "description": "Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {\u003c1, [1,5), [5-10), [10-100), \u003e=100}."
        }
      },
      "description": "Used to specify integer faceting options.",
      "type": "object"
    },
    "MapTile": {
      "id": "MapTile",
      "properties": {
        "imageUrl": {
          "description": "URL to an image file containing an office layout of the user's location for their organization, if one is available. For google.com, this image is from Corp Campus Maps.",
          "$ref": "SafeUrlProto"
        },
        "tileX": {
          "description": "Map tile x coordinate",
          "type": "number",
          "format": "double"
        },
        "tileY": {
          "type": "number",
          "description": "Map tile y coordinate",
          "format": "double"
        }
      },
      "description": "Information used to render a map tile image in the proper location on a map.",
      "type": "object"
    },
    "EnterpriseTopazSidekickGetAndKeepAheadCardProto": {
      "description": "Get and keep ahead card",
      "type": "object",
      "properties": {
        "sharedDocuments": {
          "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList"
        },
        "declinedEvents": {
          "$ref": "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents"
        },
        "mentionedDocuments": {
          "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList"
        }
      },
      "id": "EnterpriseTopazSidekickGetAndKeepAheadCardProto"
    },
    "PhoneNumber": {
      "type": "object",
      "properties": {
        "phoneNumber": {
          "description": "The phone number of the person.",
          "type": "string"
        },
        "type": {
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "type": "string",
          "enum": [
            "OTHER",
            "MOBILE",
            "OFFICE"
          ]
        }
      },
      "id": "PhoneNumber",
      "description": "A person's Phone Number"
    },
    "Snippet": {
      "properties": {
        "matchRanges": {
          "items": {
            "$ref": "MatchRange"
          },
          "description": "The matched ranges in the snippet.",
          "type": "array"
        },
        "snippet": {
          "description": "The snippet of the document. May contain escaped HTML character that should be unescaped prior to rendering.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "Snippet",
      "description": "Snippet of the search result, which summarizes the content of the resulting page."
    },
    "DriveMimeTypeRestrict": {
      "id": "DriveMimeTypeRestrict",
      "type": "object",
      "description": "Drive mime-type search restricts (e.g. \"type:pdf\").",
      "properties": {
        "type": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "enum": [
            "UNSPECIFIED",
            "PDF",
            "DOCUMENT",
            "PRESENTATION",
            "SPREADSHEET",
            "FORM",
            "DRAWING",
            "SCRIPT",
            "MAP",
            "IMAGE",
            "AUDIO",
            "VIDEO",
            "FOLDER",
            "ARCHIVE",
            "SITE"
          ]
        }
      }
    },
    "IntegerValues": {
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        }
      },
      "id": "IntegerValues",
      "description": "List of integer values.",
      "type": "object"
    },
    "HtmlValues": {
      "id": "HtmlValues",
      "properties": {
        "values": {
          "type": "array",
          "description": "The maximum allowable length for html values is 2048 characters.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "List of html values.",
      "type": "object"
    },
    "UnreserveItemsRequest": {
      "id": "UnreserveItemsRequest",
      "properties": {
        "connectorName": {
          "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}",
          "type": "string"
        },
        "debugOptions": {
          "$ref": "DebugOptions",
          "description": "Common debug options."
        },
        "queue": {
          "type": "string",
          "description": "The name of a queue to unreserve items from."
        }
      },
      "type": "object"
    },
    "ProcessingError": {
      "type": "object",
      "properties": {
        "fieldViolations": {
          "description": "In case the item fields are invalid, this field contains the details about the validation errors.",
          "items": {
            "$ref": "FieldViolation"
          },
          "type": "array"
        },
        "code": {
          "type": "string",
          "description": "Error code indicating the nature of the error.",
          "enumDescriptions": [
            "Input only value. Use this value in Items.",
            "Item's ACL, metadata, or content is malformed or in invalid state. FieldViolations contains more details on where the problem is.",
            "Countent format is unsupported.",
            "Items with incomplete ACL information due to inheriting other items with broken ACL or having groups with unmapped descendants.",
            "ACL inheritance graph formed a cycle."
          ],
          "enum": [
            "PROCESSING_ERROR_CODE_UNSPECIFIED",
            "MALFORMED_REQUEST",
            "UNSUPPORTED_CONTENT_FORMAT",
            "INDIRECT_BROKEN_ACL",
            "ACL_CYCLE"
          ]
        },
        "errorMessage": {
          "type": "string",
          "description": "The description of the error."
        }
      },
      "id": "ProcessingError"
    },
    "SearchItemsByViewUrlRequest": {
      "id": "SearchItemsByViewUrlRequest",
      "type": "object",
      "properties": {
        "debugOptions": {
          "$ref": "DebugOptions",
          "description": "Common debug options."
        },
        "viewUrl": {
          "description": "Specify the full view URL to find the corresponding item. The maximum length is 2048 characters.",
          "type": "string"
        },
        "pageToken": {
          "type": "string",
          "description": "The next_page_token value returned from a previous request, if any."
        }
      }
    },
    "ItemStructuredData": {
      "properties": {
        "object": {
          "$ref": "StructuredDataObject",
          "description": "The structured data object that should conform to a registered object definition in the schema for the data source."
        },
        "hash": {
          "type": "string",
          "description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters."
        }
      },
      "id": "ItemStructuredData",
      "type": "object",
      "description": "Available structured data fields for the item."
    },
    "StructuredDataObject": {
      "id": "StructuredDataObject",
      "description": "A structured data object consisting of named properties.",
      "type": "object",
      "properties": {
        "properties": {
          "type": "array",
          "description": "The properties for the object. The maximum number of elements is 1000.",
          "items": {
            "$ref": "NamedProperty"
          }
        }
      }
    },
    "RestrictItem": {
      "properties": {
        "searchOperator": {
          "type": "string",
          "description": "The search restrict (e.g. \"after:2017-09-11 before:2017-09-12\")."
        },
        "driveLocationRestrict": {
          "$ref": "DriveLocationRestrict"
        },
        "driveFollowUpRestrict": {
          "$ref": "DriveFollowUpRestrict"
        },
        "driveMimeTypeRestrict": {
          "description": "Drive Types.",
          "$ref": "DriveMimeTypeRestrict"
        },
        "driveTimeSpanRestrict": {
          "$ref": "DriveTimeSpanRestrict"
        }
      },
      "type": "object",
      "id": "RestrictItem",
      "description": "Information relevant only to a restrict entry. NextId: 12"
    },
    "SearchApplicationQueryStats": {
      "properties": {
        "queryCountByStatus": {
          "items": {
            "$ref": "QueryCountByStatus"
          },
          "type": "array"
        },
        "date": {
          "description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned.",
          "$ref": "Date"
        }
      },
      "type": "object",
      "description": "Search application level query stats per date",
      "id": "SearchApplicationQueryStats"
    },
    "ListOperationsResponse": {
      "properties": {
        "operations": {
          "type": "array",
          "items": {
            "$ref": "Operation"
          },
          "description": "A list of operations that matches the specified filter in the request."
        },
        "unreachable": {
          "items": {
            "type": "string"
          },
          "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.",
          "type": "array"
        },
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        }
      },
      "description": "The response message for Operations.ListOperations.",
      "type": "object",
      "id": "ListOperationsResponse"
    },
    "PollItemsResponse": {
      "properties": {
        "items": {
          "description": "Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue",
          "items": {
            "$ref": "Item"
          },
          "type": "array"
        }
      },
      "type": "object",
      "id": "PollItemsResponse"
    },
    "SearchItemsByViewUrlResponse": {
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "Item"
          }
        },
        "nextPageToken": {
          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "SearchItemsByViewUrlResponse"
    },
    "EnterpriseTopazSidekickPersonProfileCardRelatedPeople": {
      "properties": {
        "relation": {
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "UNKNOWN",
            "MANAGER",
            "DIRECT_REPORT"
          ],
          "description": "Relation type."
        },
        "relatedPerson": {
          "description": "Related people.",
          "items": {
            "$ref": "EnterpriseTopazSidekickCommonPerson"
          },
          "type": "array"
        }
      },
      "type": "object",
      "id": "EnterpriseTopazSidekickPersonProfileCardRelatedPeople"
    },
    "EnterpriseTopazSidekickAgendaGroupCardProtoContext": {
      "id": "EnterpriseTopazSidekickAgendaGroupCardProtoContext",
      "type": "object",
      "properties": {
        "context": {
          "description": "User friendly free text that describes the context of the card (e.g. \"Next meeting with Bob\"). This is largely only applicable when the card is generated from a query.",
          "type": "string"
        },
        "date": {
          "type": "string",
          "description": "Localized free text that describes the dates represented by the card. Currently, the card will only represent a single day."
        },
        "eventsRestrict": {
          "enumDescriptions": [
            "No specific event was requested.",
            "The next meeting was requested."
          ],
          "type": "string",
          "description": "Represents restrictions applied to the events requested in the user's query.",
          "enum": [
            "NONE",
            "NEXT_MEETING"
          ]
        }
      },
      "description": "The context that resulted in the generation of the card."
    },
    "TimestampOperatorOptions": {
      "properties": {
        "lessThanOperatorName": {
          "description": "Indicates the operator name required in the query in order to isolate the timestamp property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is earlier than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.",
          "type": "string"
        },
        "greaterThanOperatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the timestamp property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is later than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        },
        "operatorName": {
          "type": "string",
          "description": "Indicates the operator name required in the query in order to isolate the timestamp property. For example, if operatorName is *closedon* and the property's name is *closeDate*, then queries like *closedon:\u003cvalue\u003e* show results only where the value of the property named *closeDate* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        }
      },
      "type": "object",
      "id": "TimestampOperatorOptions",
      "description": "Used to provide a search operator for timestamp properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched."
    },
    "TextValues": {
      "id": "TextValues",
      "description": "List of text values.",
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The maximum allowable length for text values is 2048 characters."
        }
      },
      "type": "object"
    },
    "PushItem": {
      "type": "object",
      "properties": {
        "structuredDataHash": {
          "description": "Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.",
          "type": "string"
        },
        "type": {
          "enum": [
            "UNSPECIFIED",
            "MODIFIED",
            "NOT_MODIFIED",
            "REPOSITORY_ERROR",
            "REQUEUE"
          ],
          "enumDescriptions": [
            "Default UNSPECIFIED. Specifies that the push operation should not modify ItemStatus",
            "Indicates that the repository document has been modified or updated since the previous update call. This changes status to MODIFIED state for an existing item. If this is called on a non existing item, the status is changed to NEW_ITEM.",
            "Item in the repository has not been modified since the last update call. This push operation will set status to ACCEPTED state.",
            "Connector is facing a repository error regarding this item. Change status to REPOSITORY_ERROR state. Item is unreserved and rescheduled at a future time determined by exponential backoff.",
            "Call push with REQUEUE only for items that have been reserved. This action unreserves the item and resets its available time to the wall clock time."
          ],
          "description": "The type of the push operation that defines the push behavior.",
          "type": "string"
        },
        "repositoryError": {
          "$ref": "RepositoryError",
          "description": "Populate this field to store Connector or repository error details. This information is displayed in the Admin Console. This field may only be populated when the Type is REPOSITORY_ERROR."
        },
        "contentHash": {
          "description": "Content hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.",
          "type": "string"
        },
        "metadataHash": {
          "type": "string",
          "description": "The metadata hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters."
        },
        "queue": {
          "description": "Queue to which this item belongs. The `default` queue is chosen if this field is not specified. The maximum length is 512 characters.",
          "type": "string"
        },
        "payload": {
          "format": "byte",
          "description": "Provides additional document state information for the connector, such as an alternate repository ID and other metadata. The maximum length is 8192 bytes.",
          "type": "string"
        }
      },
      "description": "Represents an item to be pushed to the indexing queue.",
      "id": "PushItem"
    },
    "ResultCounts": {
      "properties": {
        "sourceResultCounts": {
          "type": "array",
          "items": {
            "$ref": "SourceResultCount"
          },
          "description": "Result count information for each source with results."
        }
      },
      "id": "ResultCounts",
      "description": "Result count information",
      "type": "object"
    },
    "Person": {
      "type": "object",
      "description": "Object to represent a person.",
      "properties": {
        "obfuscatedId": {
          "type": "string",
          "description": "Obfuscated ID of a person."
        },
        "personNames": {
          "items": {
            "$ref": "Name"
          },
          "type": "array",
          "description": "The person's name"
        },
        "photos": {
          "items": {
            "$ref": "Photo"
          },
          "description": "A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results.",
          "type": "array"
        },
        "name": {
          "description": "The resource name of the person to provide information about. See [`People.get`](https://developers.google.com/people/api/rest/v1/people/get) from the Google People API.",
          "type": "string"
        },
        "phoneNumbers": {
          "items": {
            "$ref": "PhoneNumber"
          },
          "type": "array",
          "description": "The person's phone numbers"
        },
        "emailAddresses": {
          "type": "array",
          "description": "The person's email addresses",
          "items": {
            "$ref": "EmailAddress"
          }
        }
      },
      "id": "Person"
    },
    "SuggestRequest": {
      "type": "object",
      "properties": {
        "dataSourceRestrictions": {
          "description": "The sources to use for suggestions. If not specified, the data sources are taken from the current search application. NOTE: Suggestions are only supported for the following sources: * Third-party data sources * PredefinedSource.PERSON * PredefinedSource.GOOGLE_DRIVE",
          "type": "array",
          "items": {
            "$ref": "DataSourceRestriction"
          }
        },
        "requestOptions": {
          "description": "Request options, such as the search application and user timezone.",
          "$ref": "RequestOptions"
        },
        "query": {
          "description": "Partial query for which autocomplete suggestions will be shown. For example, if the query is \"sea\", then the server might return \"season\", \"search\", \"seagull\" and so on.",
          "type": "string"
        }
      },
      "description": "Request of suggest API.",
      "id": "SuggestRequest"
    },
    "SourceResultCount": {
      "id": "SourceResultCount",
      "type": "object",
      "description": "Per source result count information.",
      "properties": {
        "source": {
          "$ref": "Source",
          "description": "The source the result count information is associated with."
        },
        "resultCountEstimate": {
          "description": "The estimated result count for this source.",
          "type": "string",
          "format": "int64"
        },
        "hasMoreResults": {
          "type": "boolean",
          "description": "Whether there are more search results for this source."
        },
        "resultCountExact": {
          "type": "string",
          "format": "int64",
          "description": "The exact result count for this source."
        }
      }
    },
    "NamedProperty": {
      "description": "A typed name-value pair for structured data. The type of the value should be the same as the registered type for the `name` property in the object definition of `objectType`.",
      "id": "NamedProperty",
      "type": "object",
      "properties": {
        "integerValues": {
          "$ref": "IntegerValues"
        },
        "name": {
          "description": "The name of the property. This name should correspond to the name of the property that was registered for object definition in the schema. The maximum allowable length for this property is 256 characters.",
          "type": "string"
        },
        "timestampValues": {
          "$ref": "TimestampValues"
        },
        "enumValues": {
          "$ref": "EnumValues"
        },
        "doubleValues": {
          "$ref": "DoubleValues"
        },
        "dateValues": {
          "$ref": "DateValues"
        },
        "textValues": {
          "$ref": "TextValues"
        },
        "htmlValues": {
          "$ref": "HtmlValues"
        },
        "objectValues": {
          "$ref": "ObjectValues"
        },
        "booleanValue": {
          "type": "boolean"
        }
      }
    },
    "QueryInterpretationConfig": {
      "id": "QueryInterpretationConfig",
      "type": "object",
      "description": "Default options to interpret user query.",
      "properties": {
        "forceVerbatimMode": {
          "type": "boolean",
          "description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental results retrieval, and usage of synonyms including custom ones. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for verbatim mode."
        },
        "forceDisableSupplementalResults": {
          "type": "boolean",
          "description": "Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results."
        }
      }
    },
    "PersonCore": {
      "id": "PersonCore",
      "properties": {
        "keywordTypes": {
          "description": "List of keys to use from the map 'keywords'.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "totalDlrCount": {
          "format": "int32",
          "description": "Total count of the profile owner's dotted-line reports.",
          "type": "integer"
        },
        "dottedLineManagers": {
          "type": "array",
          "description": "The profile owner's direct dotted line managers in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.",
          "items": {
            "$ref": "PersonCore"
          }
        },
        "personId": {
          "type": "string",
          "description": "The person's obfuscated Gaia ID."
        },
        "phoneNumbers": {
          "type": "array",
          "items": {
            "$ref": "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber"
          }
        },
        "jobTitle": {
          "description": "Profile owner's job title (e.g. \"Software Engineer\"). For google.com this is the Workday preferred job title.",
          "type": "string"
        },
        "birthday": {
          "description": "Person birthday.",
          "$ref": "Date"
        },
        "geoLocation": {
          "$ref": "MapInfo"
        },
        "fingerprint": {
          "type": "string",
          "description": "A fingerprint used by PAPI to reliably determine if a resource has changed Externally it is used as part of the etag."
        },
        "directReports": {
          "description": "A subset of the profile owner's direct reports. The number of entities here may be less than total_direct_reports_count, because typically ProfileResponse does not include all the person's reports, if there are too many to retrieve efficiently. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.",
          "type": "array",
          "items": {
            "$ref": "PersonCore"
          }
        },
        "managers": {
          "items": {
            "$ref": "PersonCore"
          },
          "type": "array",
          "description": "The profile owner's management chain from top to bottom, where managers[0] is the CEO, manager[N-2] is the person's manager's manager and managers[N-1] is the person's direct manager. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty."
        },
        "addressMeAs": {
          "description": "Instructions for how to address this person (e.g. custom pronouns). For google.com this is a set of pronouns from a defined list of options.",
          "type": "string"
        },
        "costCenter": {
          "description": "Person's cost center as a string, e.g. \"926: Googler Apps\".",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Human-readable Unicode display name."
        },
        "calendarUrl": {
          "description": "The URL to open the profile owner's primary calendar.",
          "$ref": "SafeUrlProto"
        },
        "postalAddress": {
          "type": "string",
          "description": "Postal address of office/building."
        },
        "links": {
          "items": {
            "$ref": "EnterpriseTopazFrontendTeamsLink"
          },
          "description": "Custom links the profile owner has added.",
          "type": "array"
        },
        "waldoComeBackTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "totalFteCount": {
          "type": "string",
          "description": "The sum of all profile owner's reports and their own full-time-equivalents in ‰ (e.g. 1800 if one report is working 80% and profile owner 100%).",
          "format": "int64"
        },
        "officeLocation": {
          "description": "Office/building identifier within the company. For google.com this is the office code (e.g. \"DE-MUC-ARP\").",
          "type": "string"
        },
        "department": {
          "description": "The person's Organization department, e.g. \"People Operations\". For google.com this is usually called \"area\".",
          "type": "string"
        },
        "dottedLineReports": {
          "type": "array",
          "description": "A subset of the profile owner's dotted-line reports. The number of entities here may be less than total_dlr_count. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.",
          "items": {
            "$ref": "PersonCore"
          }
        },
        "ftePermille": {
          "description": "Full-time equivalent (in ‰) (e.g. 800 for a person who's working 80%).",
          "type": "string",
          "format": "int64"
        },
        "chatUrl": {
          "$ref": "SafeUrlProto",
          "description": "The URL to start a chat conversation with the profile owner. For google.com this is a Hangouts URL."
        },
        "totalDirectReportsCount": {
          "type": "integer",
          "description": "Total count of the profile owner's direct reports.",
          "format": "int32"
        },
        "username": {
          "type": "string",
          "description": "External ID of type \"login_id\" for the profile. For google.com this is the username/LDAP."
        },
        "keywords": {
          "description": "Custom keywords the domain admin has added.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "admins": {
          "description": "The profile owner's admins in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.",
          "type": "array",
          "items": {
            "$ref": "PersonCore"
          }
        },
        "location": {
          "type": "string",
          "description": "Detailed desk location within the company. For google.com this is the desk location code (e.g. \"DE-MUC-ARP-6T2-6T2C0C\") if the person has a desk."
        },
        "gmailUrl": {
          "type": "string"
        },
        "photoUrl": {
          "description": "Person photo.",
          "$ref": "SafeUrlProto"
        },
        "emails": {
          "items": {
            "type": "string"
          },
          "description": "E-mail addresses of the person. The primary or preferred email should be first.",
          "type": "array"
        },
        "adminTo": {
          "type": "array",
          "items": {
            "$ref": "PersonCore"
          },
          "description": "People the profile owner is an admin to. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty."
        },
        "mission": {
          "description": "Custom mission statement the profile owner has added.",
          "type": "string"
        },
        "employeeId": {
          "description": "Person's employee number (external ID of type \"organization\") For google.com this is the badge number (e.g. 2 for Larry Page).",
          "type": "string"
        },
        "availabilityStatus": {
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ],
          "type": "string",
          "enum": [
            "UNKNOWN",
            "OUT_OF_OFFICE",
            "OUTSIDE_WORKING_HOURS",
            "AVAILABLE"
          ]
        }
      },
      "type": "object",
      "description": "Information for rendering a person. NEXT ID: 37"
    },
    "ThirdPartyGenericCard": {
      "id": "ThirdPartyGenericCard",
      "type": "object",
      "properties": {
        "context": {
          "description": "[Required] Context where the card should be triggered.",
          "$ref": "Context"
        },
        "cardId": {
          "type": "string",
          "description": "Unique identifier for the card."
        },
        "priority": {
          "format": "int32",
          "type": "integer",
          "description": "Priority of the card, where 0 is the highest priority."
        },
        "category": {
          "type": "string",
          "description": "Category that the card belongs to."
        },
        "isDismissible": {
          "type": "boolean",
          "description": "Whether the card can be dismissed."
        },
        "content": {
          "description": "[Required] Card content.",
          "$ref": "Content"
        }
      }
    },
    "DateOperatorOptions": {
      "id": "DateOperatorOptions",
      "description": "Optional. Provides a search operator for date properties. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
      "properties": {
        "greaterThanOperatorName": {
          "description": "Indicates the operator name required in the query in order to isolate the date property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is later than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.",
          "type": "string"
        },
        "lessThanOperatorName": {
          "description": "Indicates the operator name required in the query in order to isolate the date property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is earlier than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.",
          "type": "string"
        },
        "operatorName": {
          "type": "string",
          "description": "Indicates the actual string required in the query in order to isolate the date property. For example, suppose an issue tracking schema object has a property named *closeDate* that specifies an operator with an operatorName of *closedon*. For searches on that data, queries like *closedon:\u003cvalue\u003e* show results only where the value of the *closeDate* property matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the indexed datasource. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters."
        }
      },
      "type": "object"
    },
    "ListItemsResponse": {
      "type": "object",
      "id": "ListItemsResponse",
      "properties": {
        "nextPageToken": {
          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "Item"
          },
          "type": "array"
        }
      }
    },
    "GetCustomerQueryStatsResponse": {
      "type": "object",
      "id": "GetCustomerQueryStatsResponse",
      "properties": {
        "totalQueryCount": {
          "type": "string",
          "description": "Total successful query count (status code 200) for the given date range.",
          "format": "int64"
        },
        "stats": {
          "type": "array",
          "items": {
            "$ref": "CustomerQueryStats"
          }
        }
      }
    },
    "CustomerQueryStats": {
      "properties": {
        "date": {
          "$ref": "Date",
          "description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned."
        },
        "queryCountByStatus": {
          "type": "array",
          "items": {
            "$ref": "QueryCountByStatus"
          }
        }
      },
      "id": "CustomerQueryStats",
      "type": "object"
    },
    "CompositeFilter": {
      "type": "object",
      "id": "CompositeFilter",
      "properties": {
        "subFilters": {
          "description": "Sub filters.",
          "type": "array",
          "items": {
            "$ref": "Filter"
          }
        },
        "logicOperator": {
          "type": "string",
          "enumDescriptions": [
            "Logical operators, which can only be applied to sub filters.",
            "",
            "NOT can only be applied on a single sub filter."
          ],
          "enum": [
            "AND",
            "OR",
            "NOT"
          ],
          "description": "The logic operator of the sub filter."
        }
      }
    },
    "BooleanPropertyOptions": {
      "id": "BooleanPropertyOptions",
      "description": "The options for boolean properties.",
      "properties": {
        "operatorOptions": {
          "$ref": "BooleanOperatorOptions",
          "description": "If set, describes how the boolean should be used as a search operator."
        }
      },
      "type": "object"
    },
    "HtmlPropertyOptions": {
      "type": "object",
      "id": "HtmlPropertyOptions",
      "properties": {
        "retrievalImportance": {
          "$ref": "RetrievalImportance",
          "description": "Indicates the search quality importance of the tokens within the field when used for retrieval. Can only be set to DEFAULT or NONE."
        },
        "operatorOptions": {
          "$ref": "HtmlOperatorOptions",
          "description": "If set, describes how the property should be used as a search operator."
        }
      },
      "description": "The options for html properties."
    },
    "RepositoryError": {
      "properties": {
        "type": {
          "enum": [
            "UNKNOWN",
            "NETWORK_ERROR",
            "DNS_ERROR",
            "CONNECTION_ERROR",
            "AUTHENTICATION_ERROR",
            "AUTHORIZATION_ERROR",
            "SERVER_ERROR",
            "QUOTA_EXCEEDED",
            "SERVICE_UNAVAILABLE",
            "CLIENT_ERROR"
          ],
          "description": "The type of error.",
          "enumDescriptions": [
            "Unknown error.",
            "Unknown or unreachable host.",
            "DNS problem, such as the DNS server is not responding.",
            "Cannot connect to the repository server.",
            "Failed authentication due to incorrect credentials.",
            "Service account is not authorized for the repository.",
            "Repository server error.",
            "Quota exceeded.",
            "Server temporarily unavailable.",
            "Client-related error, such as an invalid request from the connector to the repository server."
          ],
          "type": "string"
        },
        "httpStatusCode": {
          "type": "integer",
          "description": "Error codes. Matches the definition of HTTP status codes.",
          "format": "int32"
        },
        "errorMessage": {
          "type": "string",
          "description": "Message that describes the error. The maximum allowable length of the message is 8192 characters."
        }
      },
      "id": "RepositoryError",
      "description": "Errors when the connector is communicating to the source repository.",
      "type": "object"
    },
    "GetCustomerSearchApplicationStatsResponse": {
      "type": "object",
      "id": "GetCustomerSearchApplicationStatsResponse",
      "properties": {
        "averageSearchApplicationCount": {
          "format": "int64",
          "type": "string",
          "description": "Average search application count for the given date range."
        },
        "stats": {
          "description": "Search application stats by date.",
          "items": {
            "$ref": "CustomerSearchApplicationStats"
          },
          "type": "array"
        }
      },
      "description": "Response format for search application stats for a customer."
    },
    "SearchApplication": {
      "description": "SearchApplication",
      "id": "SearchApplication",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the Search Application. Format: searchapplications/{application_id}."
        },
        "scoringConfig": {
          "description": "Configuration for ranking results.",
          "$ref": "ScoringConfig"
        },
        "enableAuditLog": {
          "description": "Indicates whether audit logging is on/off for requests made for the search application in query APIs.",
          "type": "boolean"
        },
        "operationIds": {
          "items": {
            "type": "string"
          },
          "description": "Output only. IDs of the Long Running Operations (LROs) currently running for this schema. Output only field.",
          "type": "array",
          "readOnly": true
        },
        "defaultSortOptions": {
          "$ref": "SortOptions",
          "description": "The default options for sorting the search results"
        },
        "returnResultThumbnailUrls": {
          "type": "boolean",
          "description": "With each result we should return the URI for its thumbnail (when applicable)"
        },
        "sourceConfig": {
          "items": {
            "$ref": "SourceConfig"
          },
          "description": "Configuration for a sources specified in data_source_restrictions.",
          "type": "array"
        },
        "displayName": {
          "description": "Display name of the Search Application. The maximum length is 300 characters.",
          "type": "string"
        },
        "defaultFacetOptions": {
          "items": {
            "$ref": "FacetOptions"
          },
          "type": "array",
          "description": "The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above."
        },
        "dataSourceRestrictions": {
          "description": "Retrictions applied to the configurations. The maximum number of elements is 10.",
          "type": "array",
          "items": {
            "$ref": "DataSourceRestriction"
          }
        },
        "queryInterpretationConfig": {
          "description": "The default options for query interpretation",
          "$ref": "QueryInterpretationConfig"
        }
      }
    },
    "StructuredResult": {
      "type": "object",
      "properties": {
        "person": {
          "description": "Representation of a person",
          "$ref": "Person"
        }
      },
      "description": "Structured results that are returned as part of search request.",
      "id": "StructuredResult"
    },
    "ResultDisplayLine": {
      "type": "object",
      "description": "The collection of fields that make up a displayed line",
      "properties": {
        "fields": {
          "items": {
            "$ref": "ResultDisplayField"
          },
          "type": "array"
        }
      },
      "id": "ResultDisplayLine"
    },
    "Status": {
      "id": "Status",
      "type": "object",
      "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": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "type": "array"
        },
        "code": {
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "format": "int32",
          "type": "integer"
        }
      },
      "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)."
    },
    "SortOptions": {
      "type": "object",
      "properties": {
        "sortOrder": {
          "description": "Ascending is the default sort order",
          "type": "string",
          "enumDescriptions": [
            "",
            ""
          ],
          "enum": [
            "ASCENDING",
            "DESCENDING"
          ]
        },
        "operatorName": {
          "type": "string",
          "description": "The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable."
        }
      },
      "id": "SortOptions"
    },
    "Name": {
      "description": "A person's name.",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header."
        }
      },
      "type": "object",
      "id": "Name"
    },
    "MatchRange": {
      "type": "object",
      "description": "Matched range of a snippet [start, end).",
      "id": "MatchRange",
      "properties": {
        "end": {
          "type": "integer",
          "description": "End of the match in the snippet.",
          "format": "int32"
        },
        "start": {
          "type": "integer",
          "format": "int32",
          "description": "Starting position of the match in the snippet."
        }
      }
    },
    "ResponseDebugInfo": {
      "properties": {
        "formattedDebugInfo": {
          "type": "string",
          "description": "General debug info formatted for display."
        }
      },
      "id": "ResponseDebugInfo",
      "type": "object",
      "description": "Debugging information about the response."
    },
    "CustomerUserStats": {
      "properties": {
        "oneDayActiveUsersCount": {
          "format": "int64",
          "type": "string",
          "description": "The count of unique active users in the past one day"
        },
        "sevenDaysActiveUsersCount": {
          "format": "int64",
          "description": "The count of unique active users in the past seven days",
          "type": "string"
        },
        "thirtyDaysActiveUsersCount": {
          "type": "string",
          "format": "int64",
          "description": "The count of unique active users in the past thirty days"
        },
        "date": {
          "description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned.",
          "$ref": "Date"
        }
      },
      "type": "object",
      "id": "CustomerUserStats"
    },
    "ErrorMessage": {
      "description": "Error message per source response.",
      "type": "object",
      "id": "ErrorMessage",
      "properties": {
        "errorMessage": {
          "type": "string"
        },
        "source": {
          "$ref": "Source"
        }
      }
    },
    "EnterpriseTopazSidekickMeetingNotesCardProto": {
      "properties": {
        "url": {
          "type": "string",
          "description": "New URL."
        },
        "event": {
          "$ref": "EnterpriseTopazSidekickAgendaEntry",
          "description": "The event to request meeting notes creation."
        },
        "title": {
          "description": "Title we want to show for meeting notes in the answer card",
          "type": "string"
        },
        "fileId": {
          "description": "Google Drive ID (a.k.a. resource ID) of the file.",
          "type": "string"
        }
      },
      "description": "Information about the meeting notes created.",
      "type": "object",
      "id": "EnterpriseTopazSidekickMeetingNotesCardProto"
    },
    "SearchRequest": {
      "properties": {
        "contextAttributes": {
          "items": {
            "$ref": "ContextAttribute"
          },
          "type": "array",
          "description": "Context attributes for the request which will be used to adjust ranking of search results. The maximum number of elements is 10."
        },
        "start": {
          "format": "int32",
          "description": "Starting index of the results.",
          "type": "integer"
        },
        "dataSourceRestrictions": {
          "description": "The sources to use for querying. If not specified, all data sources from the current search application are used.",
          "items": {
            "$ref": "DataSourceRestriction"
          },
          "type": "array"
        },
        "query": {
          "type": "string",
          "description": "The raw query string. See supported search operators in the [Narrow your search with operators](https://support.google.com/cloudsearch/answer/6172299)"
        },
        "queryInterpretationOptions": {
          "description": "Options to interpret the user query.",
          "$ref": "QueryInterpretationOptions"
        },
        "requestOptions": {
          "description": "Request options, such as the search application and user timezone.",
          "$ref": "RequestOptions"
        },
        "pageSize": {
          "type": "integer",
          "description": "Maximum number of search results to return in one page. Valid values are between 1 and 100, inclusive. Default value is 10. Minimum value is 50 when results beyond 2000 are requested.",
          "format": "int32"
        },
        "facetOptions": {
          "type": "array",
          "items": {
            "$ref": "FacetOptions"
          }
        },
        "sortOptions": {
          "$ref": "SortOptions",
          "description": "The options for sorting the search results"
        }
      },
      "description": "The search API request. NEXT ID: 26",
      "id": "SearchRequest",
      "type": "object"
    },
    "Metadata": {
      "description": "Metadata of a matched search result.",
      "type": "object",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The creation time for this document or object in the search result."
        },
        "fields": {
          "description": "Indexed fields in structured data, returned as a generic named property.",
          "items": {
            "$ref": "NamedProperty"
          },
          "type": "array"
        },
        "thumbnailUrl": {
          "type": "string",
          "description": "The thumbnail URL of the result."
        },
        "mimeType": {
          "description": "Mime type of the search result.",
          "type": "string"
        },
        "owner": {
          "$ref": "Person",
          "description": "Owner (usually creator) of the document or object of the search result."
        },
        "displayOptions": {
          "description": "Options that specify how to display a structured data search result.",
          "$ref": "ResultDisplayMetadata"
        },
        "objectType": {
          "type": "string",
          "description": "Object type of the search result."
        },
        "source": {
          "description": "The named source for the result, such as Gmail.",
          "$ref": "Source"
        },
        "updateTime": {
          "description": "The last modified date for the object in the search result. If not set in the item, the value returned here is empty. When `updateTime` is used for calculating freshness and is not set, this value defaults to 2 years from the current time.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "Metadata"
    },
    "Value": {
      "description": "Definition of a single value with generic type.",
      "id": "Value",
      "properties": {
        "dateValue": {
          "$ref": "Date"
        },
        "timestampValue": {
          "type": "string",
          "format": "google-datetime"
        },
        "integerValue": {
          "format": "int64",
          "type": "string"
        },
        "booleanValue": {
          "type": "boolean"
        },
        "stringValue": {
          "type": "string"
        },
        "doubleValue": {
          "type": "number",
          "format": "double"
        }
      },
      "type": "object"
    },
    "InitializeCustomerRequest": {
      "id": "InitializeCustomerRequest",
      "type": "object",
      "properties": {},
      "description": "Request message for `InitializeCustomer` method."
    }
  },
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud_search.settings": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "https://www.googleapis.com/auth/cloud_search.settings.query": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "https://www.googleapis.com/auth/cloud_search": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "https://www.googleapis.com/auth/cloud_search.debug": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "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_search.stats.indexing": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "https://www.googleapis.com/auth/cloud_search.settings.indexing": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "https://www.googleapis.com/auth/cloud_search.stats": {
          "description": "Index and serve your organization's data with Cloud Search"
        },
        "https://www.googleapis.com/auth/cloud_search.indexing": {
          "description": "Index and serve your organization's data with Cloud Search"
        }
      }
    }
  },
  "parameters": {
    "access_token": {
      "type": "string",
      "location": "query",
      "description": "OAuth access token."
    },
    "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"
    },
    "alt": {
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "default": "json",
      "location": "query",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "description": "Data format for response.",
      "type": "string"
    },
    "prettyPrint": {
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query",
      "type": "boolean"
    },
    "quotaUser": {
      "type": "string",
      "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"
    },
    "$.xgafv": {
      "location": "query",
      "enum": [
        "1",
        "2"
      ],
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "type": "string",
      "description": "V1 error format."
    },
    "uploadType": {
      "type": "string",
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "callback": {
      "location": "query",
      "type": "string",
      "description": "JSONP"
    },
    "fields": {
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string"
    }
  },
  "canonicalName": "Cloud Search",
  "basePath": "",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  }
}
