Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RequestOptions

import type { RequestOptions } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

Shared request options for all RPC methods.

interface RequestOptions {
debugOptions?: DebugOptions;
languageCode?: string;
searchApplicationId?: string;
timeZone?: string;
}

§Properties

§
debugOptions?: DebugOptions
[src]

Debug options of the request

§
languageCode?: string
[src]

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.

§
searchApplicationId?: string
[src]

The ID generated when you create a search application using the admin console.

§
timeZone?: string
[src]

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) project, and currently available in the file 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.