@maxim_mazurok/gapi.client.discoveryengine-v1beta 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 +218 -7
- 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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260209
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -263,6 +263,8 @@ declare namespace gapi.client {
|
|
|
263
263
|
contactDetails?: GoogleCloudDiscoveryengineV1alphaContactDetails[];
|
|
264
264
|
/** Optional. The language code used for notifications */
|
|
265
265
|
languageCode?: string;
|
|
266
|
+
/** Optional. The region code used of the user that subscribed to the alert policy. */
|
|
267
|
+
regionCode?: string;
|
|
266
268
|
}
|
|
267
269
|
interface GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment {
|
|
268
270
|
/** Immutable. The id of an alert. */
|
|
@@ -882,6 +884,8 @@ declare namespace gapi.client {
|
|
|
882
884
|
createEuaSaas?: boolean;
|
|
883
885
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
884
886
|
createTime?: string;
|
|
887
|
+
/** Optional. Specifies the data protection policy for the connector. */
|
|
888
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
|
|
885
889
|
/** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
|
|
886
890
|
dataSource?: string;
|
|
887
891
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
@@ -987,6 +991,14 @@ declare namespace gapi.client {
|
|
|
987
991
|
/** 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). */
|
|
988
992
|
startingSchema?: GoogleCloudDiscoveryengineV1alphaSchema;
|
|
989
993
|
}
|
|
994
|
+
interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy {
|
|
995
|
+
/** Optional. The sensitive data protection policy for the connector source. */
|
|
996
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
997
|
+
}
|
|
998
|
+
interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
999
|
+
/** Optional. The Sensitive Data Protection content policy resource name. */
|
|
1000
|
+
policy?: string;
|
|
1001
|
+
}
|
|
990
1002
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
991
1003
|
/** 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. */
|
|
992
1004
|
aclEnabled?: boolean;
|
|
@@ -1597,6 +1609,10 @@ declare namespace gapi.client {
|
|
|
1597
1609
|
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
|
|
1598
1610
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
1599
1611
|
autoRenew?: boolean;
|
|
1612
|
+
/** 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. */
|
|
1613
|
+
earlyTerminated?: boolean;
|
|
1614
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
1615
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
1600
1616
|
/** Optional. The planed end date. */
|
|
1601
1617
|
endDate?: GoogleTypeDate;
|
|
1602
1618
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -1705,6 +1721,8 @@ declare namespace gapi.client {
|
|
|
1705
1721
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
1706
1722
|
}
|
|
1707
1723
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
1724
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
1725
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
1708
1726
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
1709
1727
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
1710
1728
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -1712,6 +1730,14 @@ declare namespace gapi.client {
|
|
|
1712
1730
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
1713
1731
|
optOutNotebookSharing?: boolean;
|
|
1714
1732
|
}
|
|
1733
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
1734
|
+
/** Optional. The sensitive data protection policy. */
|
|
1735
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
1736
|
+
}
|
|
1737
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
1738
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
1739
|
+
policy?: string;
|
|
1740
|
+
}
|
|
1715
1741
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
1716
1742
|
/** 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. */
|
|
1717
1743
|
responseTemplate?: string;
|
|
@@ -1810,11 +1836,71 @@ declare namespace gapi.client {
|
|
|
1810
1836
|
top5?: number;
|
|
1811
1837
|
}
|
|
1812
1838
|
interface GoogleCloudDiscoveryengineV1alphaQuery {
|
|
1839
|
+
/** Query content parts. */
|
|
1840
|
+
parts?: GoogleCloudDiscoveryengineV1alphaQueryPart[];
|
|
1813
1841
|
/** Output only. Unique Id for the query. */
|
|
1814
1842
|
queryId?: string;
|
|
1815
1843
|
/** Plain text. */
|
|
1816
1844
|
text?: string;
|
|
1817
1845
|
}
|
|
1846
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPart {
|
|
1847
|
+
/** Other VAIS Document references. */
|
|
1848
|
+
documentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference;
|
|
1849
|
+
/** Reference to a Google Drive document. */
|
|
1850
|
+
driveDocumentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference;
|
|
1851
|
+
/** 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. */
|
|
1852
|
+
mimeType?: string;
|
|
1853
|
+
/** Reference to a person. */
|
|
1854
|
+
personReference?: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference;
|
|
1855
|
+
/** Text content. */
|
|
1856
|
+
text?: string;
|
|
1857
|
+
/** 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. */
|
|
1858
|
+
uiJsonPayload?: string;
|
|
1859
|
+
}
|
|
1860
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference {
|
|
1861
|
+
/** The destination uri of the reference. */
|
|
1862
|
+
destinationUri?: string;
|
|
1863
|
+
/** The display title of the reference. */
|
|
1864
|
+
displayTitle?: string;
|
|
1865
|
+
/** The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
|
|
1866
|
+
documentName?: string;
|
|
1867
|
+
/** Output only. The file id of the document data stored in the session context files. */
|
|
1868
|
+
fileId?: string;
|
|
1869
|
+
/** The icon uri of the reference. */
|
|
1870
|
+
iconUri?: string;
|
|
1871
|
+
/** Input only. The url_for_connector of the document returned by Federated Search. */
|
|
1872
|
+
urlForConnector?: string;
|
|
1873
|
+
}
|
|
1874
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference {
|
|
1875
|
+
/** The destination uri of the reference. */
|
|
1876
|
+
destinationUri?: string;
|
|
1877
|
+
/** The display title of the reference. */
|
|
1878
|
+
displayTitle?: string;
|
|
1879
|
+
/** The full resource name of the document. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. */
|
|
1880
|
+
documentName?: string;
|
|
1881
|
+
/** The Drive id of the document. */
|
|
1882
|
+
driveId?: string;
|
|
1883
|
+
/** Output only. The file id of the Drive document data stored in the session context files. */
|
|
1884
|
+
fileId?: string;
|
|
1885
|
+
/** The icon uri of the Drive document reference. */
|
|
1886
|
+
iconUri?: string;
|
|
1887
|
+
}
|
|
1888
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference {
|
|
1889
|
+
/** The destination uri of the person. */
|
|
1890
|
+
destinationUri?: string;
|
|
1891
|
+
/** The display name of the person. */
|
|
1892
|
+
displayName?: string;
|
|
1893
|
+
/** The display photo url of the person. */
|
|
1894
|
+
displayPhotoUri?: string;
|
|
1895
|
+
/** The full resource name of the person. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. */
|
|
1896
|
+
documentName?: string;
|
|
1897
|
+
/** The email of the person. */
|
|
1898
|
+
email?: string;
|
|
1899
|
+
/** Output only. The file id of the person data stored in the session context files. */
|
|
1900
|
+
fileId?: string;
|
|
1901
|
+
/** The person id of the person. */
|
|
1902
|
+
personId?: string;
|
|
1903
|
+
}
|
|
1818
1904
|
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
|
|
1819
1905
|
/** Operation create time. */
|
|
1820
1906
|
createTime?: string;
|
|
@@ -1950,6 +2036,8 @@ declare namespace gapi.client {
|
|
|
1950
2036
|
languageCode?: string;
|
|
1951
2037
|
/** 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. */
|
|
1952
2038
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
2039
|
+
/** 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. */
|
|
2040
|
+
numResultsPerDataStore?: number;
|
|
1953
2041
|
/** 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. */
|
|
1954
2042
|
offset?: number;
|
|
1955
2043
|
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
@@ -2124,6 +2212,8 @@ declare namespace gapi.client {
|
|
|
2124
2212
|
dataStore?: string;
|
|
2125
2213
|
/** 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) */
|
|
2126
2214
|
filter?: string;
|
|
2215
|
+
/** 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. */
|
|
2216
|
+
numResults?: number;
|
|
2127
2217
|
}
|
|
2128
2218
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec {
|
|
2129
2219
|
/** The condition under which match highlighting should occur. */
|
|
@@ -4534,6 +4624,10 @@ declare namespace gapi.client {
|
|
|
4534
4624
|
interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
|
|
4535
4625
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
4536
4626
|
autoRenew?: boolean;
|
|
4627
|
+
/** 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. */
|
|
4628
|
+
earlyTerminated?: boolean;
|
|
4629
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
4630
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
4537
4631
|
/** Optional. The planed end date. */
|
|
4538
4632
|
endDate?: GoogleTypeDate;
|
|
4539
4633
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -4783,6 +4877,8 @@ declare namespace gapi.client {
|
|
|
4783
4877
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
4784
4878
|
}
|
|
4785
4879
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
4880
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
4881
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
4786
4882
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
4787
4883
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
4788
4884
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -4790,6 +4886,14 @@ declare namespace gapi.client {
|
|
|
4790
4886
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
4791
4887
|
optOutNotebookSharing?: boolean;
|
|
4792
4888
|
}
|
|
4889
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
4890
|
+
/** Optional. The sensitive data protection policy. */
|
|
4891
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
4892
|
+
}
|
|
4893
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
4894
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
4895
|
+
policy?: string;
|
|
4896
|
+
}
|
|
4793
4897
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
4794
4898
|
/** 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. */
|
|
4795
4899
|
responseTemplate?: string;
|
|
@@ -5138,6 +5242,8 @@ declare namespace gapi.client {
|
|
|
5138
5242
|
languageCode?: string;
|
|
5139
5243
|
/** 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. */
|
|
5140
5244
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
5245
|
+
/** 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. */
|
|
5246
|
+
numResultsPerDataStore?: number;
|
|
5141
5247
|
/** 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. */
|
|
5142
5248
|
offset?: number;
|
|
5143
5249
|
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
@@ -5310,6 +5416,8 @@ declare namespace gapi.client {
|
|
|
5310
5416
|
dataStore?: string;
|
|
5311
5417
|
/** 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) */
|
|
5312
5418
|
filter?: string;
|
|
5419
|
+
/** 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. */
|
|
5420
|
+
numResults?: number;
|
|
5313
5421
|
}
|
|
5314
5422
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec {
|
|
5315
5423
|
/** The condition under which match highlighting should occur. */
|
|
@@ -6795,6 +6903,10 @@ declare namespace gapi.client {
|
|
|
6795
6903
|
interface GoogleCloudDiscoveryengineV1LicenseConfig {
|
|
6796
6904
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
6797
6905
|
autoRenew?: boolean;
|
|
6906
|
+
/** 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. */
|
|
6907
|
+
earlyTerminated?: boolean;
|
|
6908
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
6909
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
6798
6910
|
/** Optional. The planed end date. */
|
|
6799
6911
|
endDate?: GoogleTypeDate;
|
|
6800
6912
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -6859,6 +6971,8 @@ declare namespace gapi.client {
|
|
|
6859
6971
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
|
|
6860
6972
|
}
|
|
6861
6973
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
|
|
6974
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
6975
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
6862
6976
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
6863
6977
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
6864
6978
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -6866,6 +6980,14 @@ declare namespace gapi.client {
|
|
|
6866
6980
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
6867
6981
|
optOutNotebookSharing?: boolean;
|
|
6868
6982
|
}
|
|
6983
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
6984
|
+
/** Optional. The sensitive data protection policy. */
|
|
6985
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
6986
|
+
}
|
|
6987
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
6988
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
6989
|
+
policy?: string;
|
|
6990
|
+
}
|
|
6869
6991
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
6870
6992
|
/** 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. */
|
|
6871
6993
|
responseTemplate?: string;
|
|
@@ -7206,6 +7328,26 @@ declare namespace gapi.client {
|
|
|
7206
7328
|
/** The Google Workspace data source. */
|
|
7207
7329
|
type?: string;
|
|
7208
7330
|
}
|
|
7331
|
+
interface GoogleIamV1Binding {
|
|
7332
|
+
/** 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). */
|
|
7333
|
+
condition?: GoogleTypeExpr;
|
|
7334
|
+
/** 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`. */
|
|
7335
|
+
members?: string[];
|
|
7336
|
+
/** 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). */
|
|
7337
|
+
role?: string;
|
|
7338
|
+
}
|
|
7339
|
+
interface GoogleIamV1Policy {
|
|
7340
|
+
/** 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`. */
|
|
7341
|
+
bindings?: GoogleIamV1Binding[];
|
|
7342
|
+
/** `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. */
|
|
7343
|
+
etag?: string;
|
|
7344
|
+
/** 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). */
|
|
7345
|
+
version?: number;
|
|
7346
|
+
}
|
|
7347
|
+
interface GoogleIamV1SetIamPolicyRequest {
|
|
7348
|
+
/** 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. */
|
|
7349
|
+
policy?: GoogleIamV1Policy;
|
|
7350
|
+
}
|
|
7209
7351
|
interface GoogleLongrunningCancelOperationRequest {}
|
|
7210
7352
|
interface GoogleLongrunningListOperationsResponse {
|
|
7211
7353
|
/** The standard List next-page token. */
|
|
@@ -7306,6 +7448,16 @@ declare namespace gapi.client {
|
|
|
7306
7448
|
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
7307
7449
|
year?: number;
|
|
7308
7450
|
}
|
|
7451
|
+
interface GoogleTypeExpr {
|
|
7452
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
7453
|
+
description?: string;
|
|
7454
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
7455
|
+
expression?: string;
|
|
7456
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
7457
|
+
location?: string;
|
|
7458
|
+
/** 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. */
|
|
7459
|
+
title?: string;
|
|
7460
|
+
}
|
|
7309
7461
|
interface GoogleTypeTimeZone {
|
|
7310
7462
|
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
7311
7463
|
id?: string;
|
|
@@ -13031,7 +13183,7 @@ declare namespace gapi.client {
|
|
|
13031
13183
|
answers: AnswersResource;
|
|
13032
13184
|
}
|
|
13033
13185
|
interface EnginesResource {
|
|
13034
|
-
/** Creates
|
|
13186
|
+
/** Creates an Engine. */
|
|
13035
13187
|
create(request: {
|
|
13036
13188
|
/** V1 error format. */
|
|
13037
13189
|
'$.xgafv'?: string;
|
|
@@ -13093,7 +13245,7 @@ declare namespace gapi.client {
|
|
|
13093
13245
|
},
|
|
13094
13246
|
body: GoogleCloudDiscoveryengineV1betaEngine,
|
|
13095
13247
|
): Request<GoogleLongrunningOperation>;
|
|
13096
|
-
/** Deletes
|
|
13248
|
+
/** Deletes an Engine. */
|
|
13097
13249
|
delete(request?: {
|
|
13098
13250
|
/** V1 error format. */
|
|
13099
13251
|
'$.xgafv'?: string;
|
|
@@ -13120,7 +13272,7 @@ declare namespace gapi.client {
|
|
|
13120
13272
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13121
13273
|
uploadType?: string;
|
|
13122
13274
|
}): Request<GoogleLongrunningOperation>;
|
|
13123
|
-
/** Gets
|
|
13275
|
+
/** Gets an Engine. */
|
|
13124
13276
|
get(request?: {
|
|
13125
13277
|
/** V1 error format. */
|
|
13126
13278
|
'$.xgafv'?: string;
|
|
@@ -13147,6 +13299,35 @@ declare namespace gapi.client {
|
|
|
13147
13299
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13148
13300
|
uploadType?: string;
|
|
13149
13301
|
}): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13302
|
+
/** 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. */
|
|
13303
|
+
getIamPolicy(request?: {
|
|
13304
|
+
/** V1 error format. */
|
|
13305
|
+
'$.xgafv'?: string;
|
|
13306
|
+
/** OAuth access token. */
|
|
13307
|
+
access_token?: string;
|
|
13308
|
+
/** Data format for response. */
|
|
13309
|
+
alt?: string;
|
|
13310
|
+
/** JSONP */
|
|
13311
|
+
callback?: string;
|
|
13312
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13313
|
+
fields?: string;
|
|
13314
|
+
/** 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. */
|
|
13315
|
+
key?: string;
|
|
13316
|
+
/** OAuth 2.0 token for the current user. */
|
|
13317
|
+
oauth_token?: string;
|
|
13318
|
+
/** 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). */
|
|
13319
|
+
'options.requestedPolicyVersion'?: number;
|
|
13320
|
+
/** Returns response with indentations and line breaks. */
|
|
13321
|
+
prettyPrint?: boolean;
|
|
13322
|
+
/** 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. */
|
|
13323
|
+
quotaUser?: string;
|
|
13324
|
+
/** 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. */
|
|
13325
|
+
resource: string;
|
|
13326
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13327
|
+
upload_protocol?: string;
|
|
13328
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13329
|
+
uploadType?: string;
|
|
13330
|
+
}): Request<GoogleIamV1Policy>;
|
|
13150
13331
|
/** Lists all the Engines associated with the project. */
|
|
13151
13332
|
list(request?: {
|
|
13152
13333
|
/** V1 error format. */
|
|
@@ -13242,7 +13423,7 @@ declare namespace gapi.client {
|
|
|
13242
13423
|
},
|
|
13243
13424
|
body: GoogleCloudDiscoveryengineV1betaEngine,
|
|
13244
13425
|
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13245
|
-
/** Pauses the training of an existing
|
|
13426
|
+
/** Pauses the training of an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
13246
13427
|
pause(request: {
|
|
13247
13428
|
/** V1 error format. */
|
|
13248
13429
|
'$.xgafv'?: string;
|
|
@@ -13300,7 +13481,7 @@ declare namespace gapi.client {
|
|
|
13300
13481
|
},
|
|
13301
13482
|
body: GoogleCloudDiscoveryengineV1betaPauseEngineRequest,
|
|
13302
13483
|
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13303
|
-
/** Resumes the training of an existing
|
|
13484
|
+
/** Resumes the training of an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
13304
13485
|
resume(request: {
|
|
13305
13486
|
/** V1 error format. */
|
|
13306
13487
|
'$.xgafv'?: string;
|
|
@@ -13358,7 +13539,37 @@ declare namespace gapi.client {
|
|
|
13358
13539
|
},
|
|
13359
13540
|
body: GoogleCloudDiscoveryengineV1betaResumeEngineRequest,
|
|
13360
13541
|
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13361
|
-
/**
|
|
13542
|
+
/** 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. */
|
|
13543
|
+
setIamPolicy(
|
|
13544
|
+
request: {
|
|
13545
|
+
/** V1 error format. */
|
|
13546
|
+
'$.xgafv'?: string;
|
|
13547
|
+
/** OAuth access token. */
|
|
13548
|
+
access_token?: string;
|
|
13549
|
+
/** Data format for response. */
|
|
13550
|
+
alt?: string;
|
|
13551
|
+
/** JSONP */
|
|
13552
|
+
callback?: string;
|
|
13553
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13554
|
+
fields?: string;
|
|
13555
|
+
/** 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. */
|
|
13556
|
+
key?: string;
|
|
13557
|
+
/** OAuth 2.0 token for the current user. */
|
|
13558
|
+
oauth_token?: string;
|
|
13559
|
+
/** Returns response with indentations and line breaks. */
|
|
13560
|
+
prettyPrint?: boolean;
|
|
13561
|
+
/** 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. */
|
|
13562
|
+
quotaUser?: string;
|
|
13563
|
+
/** 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. */
|
|
13564
|
+
resource: string;
|
|
13565
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13566
|
+
upload_protocol?: string;
|
|
13567
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13568
|
+
uploadType?: string;
|
|
13569
|
+
},
|
|
13570
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
13571
|
+
): Request<GoogleIamV1Policy>;
|
|
13572
|
+
/** Tunes an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
13362
13573
|
tune(request: {
|
|
13363
13574
|
/** V1 error format. */
|
|
13364
13575
|
'$.xgafv'?: string;
|