@maxim_mazurok/gapi.client.discoveryengine-v1 0.1.20260130 → 0.1.20260209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +215 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260209
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -375,6 +375,8 @@ declare namespace gapi.client {
|
|
|
375
375
|
contactDetails?: GoogleCloudDiscoveryengineV1alphaContactDetails[];
|
|
376
376
|
/** Optional. The language code used for notifications */
|
|
377
377
|
languageCode?: string;
|
|
378
|
+
/** Optional. The region code used of the user that subscribed to the alert policy. */
|
|
379
|
+
regionCode?: string;
|
|
378
380
|
}
|
|
379
381
|
interface GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment {
|
|
380
382
|
/** Immutable. The id of an alert. */
|
|
@@ -994,6 +996,8 @@ declare namespace gapi.client {
|
|
|
994
996
|
createEuaSaas?: boolean;
|
|
995
997
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
996
998
|
createTime?: string;
|
|
999
|
+
/** Optional. Specifies the data protection policy for the connector. */
|
|
1000
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
|
|
997
1001
|
/** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
|
|
998
1002
|
dataSource?: string;
|
|
999
1003
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
@@ -1099,6 +1103,14 @@ declare namespace gapi.client {
|
|
|
1099
1103
|
/** Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
1100
1104
|
startingSchema?: GoogleCloudDiscoveryengineV1alphaSchema;
|
|
1101
1105
|
}
|
|
1106
|
+
interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy {
|
|
1107
|
+
/** Optional. The sensitive data protection policy for the connector source. */
|
|
1108
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
1109
|
+
}
|
|
1110
|
+
interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
1111
|
+
/** Optional. The Sensitive Data Protection content policy resource name. */
|
|
1112
|
+
policy?: string;
|
|
1113
|
+
}
|
|
1102
1114
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
1103
1115
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
1104
1116
|
aclEnabled?: boolean;
|
|
@@ -1709,6 +1721,10 @@ declare namespace gapi.client {
|
|
|
1709
1721
|
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
|
|
1710
1722
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
1711
1723
|
autoRenew?: boolean;
|
|
1724
|
+
/** Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. */
|
|
1725
|
+
earlyTerminated?: boolean;
|
|
1726
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
1727
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
1712
1728
|
/** Optional. The planed end date. */
|
|
1713
1729
|
endDate?: GoogleTypeDate;
|
|
1714
1730
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -1817,6 +1833,8 @@ declare namespace gapi.client {
|
|
|
1817
1833
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
1818
1834
|
}
|
|
1819
1835
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
1836
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
1837
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
1820
1838
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
1821
1839
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
1822
1840
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -1824,6 +1842,14 @@ declare namespace gapi.client {
|
|
|
1824
1842
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
1825
1843
|
optOutNotebookSharing?: boolean;
|
|
1826
1844
|
}
|
|
1845
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
1846
|
+
/** Optional. The sensitive data protection policy. */
|
|
1847
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
1848
|
+
}
|
|
1849
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
1850
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
1851
|
+
policy?: string;
|
|
1852
|
+
}
|
|
1827
1853
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
1828
1854
|
/** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
|
|
1829
1855
|
responseTemplate?: string;
|
|
@@ -1922,11 +1948,71 @@ declare namespace gapi.client {
|
|
|
1922
1948
|
top5?: number;
|
|
1923
1949
|
}
|
|
1924
1950
|
interface GoogleCloudDiscoveryengineV1alphaQuery {
|
|
1951
|
+
/** Query content parts. */
|
|
1952
|
+
parts?: GoogleCloudDiscoveryengineV1alphaQueryPart[];
|
|
1925
1953
|
/** Output only. Unique Id for the query. */
|
|
1926
1954
|
queryId?: string;
|
|
1927
1955
|
/** Plain text. */
|
|
1928
1956
|
text?: string;
|
|
1929
1957
|
}
|
|
1958
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPart {
|
|
1959
|
+
/** Other VAIS Document references. */
|
|
1960
|
+
documentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference;
|
|
1961
|
+
/** Reference to a Google Drive document. */
|
|
1962
|
+
driveDocumentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference;
|
|
1963
|
+
/** Optional. The IANA standard MIME type of the data. See https://www.iana.org/assignments/media-types/media-types.xhtml. This field is optional. If not set, the default assumed MIME type is "text/plain" for the "data" field. */
|
|
1964
|
+
mimeType?: string;
|
|
1965
|
+
/** Reference to a person. */
|
|
1966
|
+
personReference?: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference;
|
|
1967
|
+
/** Text content. */
|
|
1968
|
+
text?: string;
|
|
1969
|
+
/** This field is expected to be a ui message in JSON format. As of Q1 2026, ui_json_payload is only supported for A2UI messages. */
|
|
1970
|
+
uiJsonPayload?: string;
|
|
1971
|
+
}
|
|
1972
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference {
|
|
1973
|
+
/** The destination uri of the reference. */
|
|
1974
|
+
destinationUri?: string;
|
|
1975
|
+
/** The display title of the reference. */
|
|
1976
|
+
displayTitle?: string;
|
|
1977
|
+
/** The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
|
|
1978
|
+
documentName?: string;
|
|
1979
|
+
/** Output only. The file id of the document data stored in the session context files. */
|
|
1980
|
+
fileId?: string;
|
|
1981
|
+
/** The icon uri of the reference. */
|
|
1982
|
+
iconUri?: string;
|
|
1983
|
+
/** Input only. The url_for_connector of the document returned by Federated Search. */
|
|
1984
|
+
urlForConnector?: string;
|
|
1985
|
+
}
|
|
1986
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference {
|
|
1987
|
+
/** The destination uri of the reference. */
|
|
1988
|
+
destinationUri?: string;
|
|
1989
|
+
/** The display title of the reference. */
|
|
1990
|
+
displayTitle?: string;
|
|
1991
|
+
/** The full resource name of the document. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. */
|
|
1992
|
+
documentName?: string;
|
|
1993
|
+
/** The Drive id of the document. */
|
|
1994
|
+
driveId?: string;
|
|
1995
|
+
/** Output only. The file id of the Drive document data stored in the session context files. */
|
|
1996
|
+
fileId?: string;
|
|
1997
|
+
/** The icon uri of the Drive document reference. */
|
|
1998
|
+
iconUri?: string;
|
|
1999
|
+
}
|
|
2000
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference {
|
|
2001
|
+
/** The destination uri of the person. */
|
|
2002
|
+
destinationUri?: string;
|
|
2003
|
+
/** The display name of the person. */
|
|
2004
|
+
displayName?: string;
|
|
2005
|
+
/** The display photo url of the person. */
|
|
2006
|
+
displayPhotoUri?: string;
|
|
2007
|
+
/** The full resource name of the person. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. */
|
|
2008
|
+
documentName?: string;
|
|
2009
|
+
/** The email of the person. */
|
|
2010
|
+
email?: string;
|
|
2011
|
+
/** Output only. The file id of the person data stored in the session context files. */
|
|
2012
|
+
fileId?: string;
|
|
2013
|
+
/** The person id of the person. */
|
|
2014
|
+
personId?: string;
|
|
2015
|
+
}
|
|
1930
2016
|
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
|
|
1931
2017
|
/** Operation create time. */
|
|
1932
2018
|
createTime?: string;
|
|
@@ -2062,6 +2148,8 @@ declare namespace gapi.client {
|
|
|
2062
2148
|
languageCode?: string;
|
|
2063
2149
|
/** Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done. */
|
|
2064
2150
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
2151
|
+
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.data_store_specs.num_results if provided, otherwise there is no limit. */
|
|
2152
|
+
numResultsPerDataStore?: number;
|
|
2065
2153
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. */
|
|
2066
2154
|
offset?: number;
|
|
2067
2155
|
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
@@ -2236,6 +2324,8 @@ declare namespace gapi.client {
|
|
|
2236
2324
|
dataStore?: string;
|
|
2237
2325
|
/** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
|
|
2238
2326
|
filter?: string;
|
|
2327
|
+
/** Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. */
|
|
2328
|
+
numResults?: number;
|
|
2239
2329
|
}
|
|
2240
2330
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec {
|
|
2241
2331
|
/** The condition under which match highlighting should occur. */
|
|
@@ -3860,6 +3950,10 @@ declare namespace gapi.client {
|
|
|
3860
3950
|
interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
|
|
3861
3951
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
3862
3952
|
autoRenew?: boolean;
|
|
3953
|
+
/** Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. */
|
|
3954
|
+
earlyTerminated?: boolean;
|
|
3955
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
3956
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
3863
3957
|
/** Optional. The planed end date. */
|
|
3864
3958
|
endDate?: GoogleTypeDate;
|
|
3865
3959
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -3940,6 +4034,8 @@ declare namespace gapi.client {
|
|
|
3940
4034
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
3941
4035
|
}
|
|
3942
4036
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
4037
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
4038
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
3943
4039
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
3944
4040
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
3945
4041
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -3947,6 +4043,14 @@ declare namespace gapi.client {
|
|
|
3947
4043
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
3948
4044
|
optOutNotebookSharing?: boolean;
|
|
3949
4045
|
}
|
|
4046
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
4047
|
+
/** Optional. The sensitive data protection policy. */
|
|
4048
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
4049
|
+
}
|
|
4050
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
4051
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
4052
|
+
policy?: string;
|
|
4053
|
+
}
|
|
3950
4054
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
3951
4055
|
/** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
|
|
3952
4056
|
responseTemplate?: string;
|
|
@@ -4079,6 +4183,8 @@ declare namespace gapi.client {
|
|
|
4079
4183
|
languageCode?: string;
|
|
4080
4184
|
/** Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done. */
|
|
4081
4185
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
4186
|
+
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.data_store_specs.num_results if provided, otherwise there is no limit. */
|
|
4187
|
+
numResultsPerDataStore?: number;
|
|
4082
4188
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. */
|
|
4083
4189
|
offset?: number;
|
|
4084
4190
|
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
@@ -4251,6 +4357,8 @@ declare namespace gapi.client {
|
|
|
4251
4357
|
dataStore?: string;
|
|
4252
4358
|
/** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
|
|
4253
4359
|
filter?: string;
|
|
4360
|
+
/** Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. */
|
|
4361
|
+
numResults?: number;
|
|
4254
4362
|
}
|
|
4255
4363
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec {
|
|
4256
4364
|
/** The condition under which match highlighting should occur. */
|
|
@@ -5759,6 +5867,10 @@ declare namespace gapi.client {
|
|
|
5759
5867
|
interface GoogleCloudDiscoveryengineV1LicenseConfig {
|
|
5760
5868
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
5761
5869
|
autoRenew?: boolean;
|
|
5870
|
+
/** Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. */
|
|
5871
|
+
earlyTerminated?: boolean;
|
|
5872
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
5873
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
5762
5874
|
/** Optional. The planed end date. */
|
|
5763
5875
|
endDate?: GoogleTypeDate;
|
|
5764
5876
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -5957,6 +6069,8 @@ declare namespace gapi.client {
|
|
|
5957
6069
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
|
|
5958
6070
|
}
|
|
5959
6071
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
|
|
6072
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
6073
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
5960
6074
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
5961
6075
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
5962
6076
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -5964,6 +6078,14 @@ declare namespace gapi.client {
|
|
|
5964
6078
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
5965
6079
|
optOutNotebookSharing?: boolean;
|
|
5966
6080
|
}
|
|
6081
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
6082
|
+
/** Optional. The sensitive data protection policy. */
|
|
6083
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
6084
|
+
}
|
|
6085
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
6086
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
6087
|
+
policy?: string;
|
|
6088
|
+
}
|
|
5967
6089
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
5968
6090
|
/** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
|
|
5969
6091
|
responseTemplate?: string;
|
|
@@ -7303,6 +7425,26 @@ declare namespace gapi.client {
|
|
|
7303
7425
|
/** The Google Workspace data source. */
|
|
7304
7426
|
type?: string;
|
|
7305
7427
|
}
|
|
7428
|
+
interface GoogleIamV1Binding {
|
|
7429
|
+
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
7430
|
+
condition?: GoogleTypeExpr;
|
|
7431
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
7432
|
+
members?: string[];
|
|
7433
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
7434
|
+
role?: string;
|
|
7435
|
+
}
|
|
7436
|
+
interface GoogleIamV1Policy {
|
|
7437
|
+
/** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
|
|
7438
|
+
bindings?: GoogleIamV1Binding[];
|
|
7439
|
+
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
7440
|
+
etag?: string;
|
|
7441
|
+
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
7442
|
+
version?: number;
|
|
7443
|
+
}
|
|
7444
|
+
interface GoogleIamV1SetIamPolicyRequest {
|
|
7445
|
+
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
7446
|
+
policy?: GoogleIamV1Policy;
|
|
7447
|
+
}
|
|
7306
7448
|
interface GoogleLongrunningCancelOperationRequest {}
|
|
7307
7449
|
interface GoogleLongrunningListOperationsResponse {
|
|
7308
7450
|
/** The standard List next-page token. */
|
|
@@ -7403,6 +7545,16 @@ declare namespace gapi.client {
|
|
|
7403
7545
|
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
7404
7546
|
year?: number;
|
|
7405
7547
|
}
|
|
7548
|
+
interface GoogleTypeExpr {
|
|
7549
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
7550
|
+
description?: string;
|
|
7551
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
7552
|
+
expression?: string;
|
|
7553
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
7554
|
+
location?: string;
|
|
7555
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
7556
|
+
title?: string;
|
|
7557
|
+
}
|
|
7406
7558
|
interface GoogleTypeTimeZone {
|
|
7407
7559
|
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
7408
7560
|
id?: string;
|
|
@@ -13319,7 +13471,7 @@ declare namespace gapi.client {
|
|
|
13319
13471
|
): Request<GoogleCloudDiscoveryengineV1WidgetConfig>;
|
|
13320
13472
|
}
|
|
13321
13473
|
interface EnginesResource {
|
|
13322
|
-
/** Creates
|
|
13474
|
+
/** Creates an Engine. */
|
|
13323
13475
|
create(request: {
|
|
13324
13476
|
/** V1 error format. */
|
|
13325
13477
|
'$.xgafv'?: string;
|
|
@@ -13381,7 +13533,7 @@ declare namespace gapi.client {
|
|
|
13381
13533
|
},
|
|
13382
13534
|
body: GoogleCloudDiscoveryengineV1Engine,
|
|
13383
13535
|
): Request<GoogleLongrunningOperation>;
|
|
13384
|
-
/** Deletes
|
|
13536
|
+
/** Deletes an Engine. */
|
|
13385
13537
|
delete(request?: {
|
|
13386
13538
|
/** V1 error format. */
|
|
13387
13539
|
'$.xgafv'?: string;
|
|
@@ -13408,7 +13560,7 @@ declare namespace gapi.client {
|
|
|
13408
13560
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13409
13561
|
uploadType?: string;
|
|
13410
13562
|
}): Request<GoogleLongrunningOperation>;
|
|
13411
|
-
/** Gets
|
|
13563
|
+
/** Gets an Engine. */
|
|
13412
13564
|
get(request?: {
|
|
13413
13565
|
/** V1 error format. */
|
|
13414
13566
|
'$.xgafv'?: string;
|
|
@@ -13435,6 +13587,35 @@ declare namespace gapi.client {
|
|
|
13435
13587
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13436
13588
|
uploadType?: string;
|
|
13437
13589
|
}): Request<GoogleCloudDiscoveryengineV1Engine>;
|
|
13590
|
+
/** Gets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
13591
|
+
getIamPolicy(request?: {
|
|
13592
|
+
/** V1 error format. */
|
|
13593
|
+
'$.xgafv'?: string;
|
|
13594
|
+
/** OAuth access token. */
|
|
13595
|
+
access_token?: string;
|
|
13596
|
+
/** Data format for response. */
|
|
13597
|
+
alt?: string;
|
|
13598
|
+
/** JSONP */
|
|
13599
|
+
callback?: string;
|
|
13600
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13601
|
+
fields?: string;
|
|
13602
|
+
/** 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. */
|
|
13603
|
+
key?: string;
|
|
13604
|
+
/** OAuth 2.0 token for the current user. */
|
|
13605
|
+
oauth_token?: string;
|
|
13606
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
13607
|
+
'options.requestedPolicyVersion'?: number;
|
|
13608
|
+
/** Returns response with indentations and line breaks. */
|
|
13609
|
+
prettyPrint?: boolean;
|
|
13610
|
+
/** 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. */
|
|
13611
|
+
quotaUser?: string;
|
|
13612
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13613
|
+
resource: string;
|
|
13614
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13615
|
+
upload_protocol?: string;
|
|
13616
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13617
|
+
uploadType?: string;
|
|
13618
|
+
}): Request<GoogleIamV1Policy>;
|
|
13438
13619
|
/** Lists all the Engines associated with the project. */
|
|
13439
13620
|
list(request?: {
|
|
13440
13621
|
/** V1 error format. */
|
|
@@ -13530,6 +13711,36 @@ declare namespace gapi.client {
|
|
|
13530
13711
|
},
|
|
13531
13712
|
body: GoogleCloudDiscoveryengineV1Engine,
|
|
13532
13713
|
): Request<GoogleCloudDiscoveryengineV1Engine>;
|
|
13714
|
+
/** Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging. */
|
|
13715
|
+
setIamPolicy(
|
|
13716
|
+
request: {
|
|
13717
|
+
/** V1 error format. */
|
|
13718
|
+
'$.xgafv'?: string;
|
|
13719
|
+
/** OAuth access token. */
|
|
13720
|
+
access_token?: string;
|
|
13721
|
+
/** Data format for response. */
|
|
13722
|
+
alt?: string;
|
|
13723
|
+
/** JSONP */
|
|
13724
|
+
callback?: string;
|
|
13725
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13726
|
+
fields?: string;
|
|
13727
|
+
/** 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. */
|
|
13728
|
+
key?: string;
|
|
13729
|
+
/** OAuth 2.0 token for the current user. */
|
|
13730
|
+
oauth_token?: string;
|
|
13731
|
+
/** Returns response with indentations and line breaks. */
|
|
13732
|
+
prettyPrint?: boolean;
|
|
13733
|
+
/** 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. */
|
|
13734
|
+
quotaUser?: string;
|
|
13735
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13736
|
+
resource: string;
|
|
13737
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13738
|
+
upload_protocol?: string;
|
|
13739
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13740
|
+
uploadType?: string;
|
|
13741
|
+
},
|
|
13742
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
13743
|
+
): Request<GoogleIamV1Policy>;
|
|
13533
13744
|
assistants: AssistantsResource;
|
|
13534
13745
|
completionConfig: CompletionConfigResource;
|
|
13535
13746
|
controls: ControlsResource;
|