@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.1.20260204 → 0.1.20260215
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 +224 -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: 20260215
|
|
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;
|
|
@@ -1231,6 +1243,8 @@ declare namespace gapi.client {
|
|
|
1231
1243
|
commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
1232
1244
|
/** Optional. Configuration for configurable billing approach. */
|
|
1233
1245
|
configurableBillingApproach?: string;
|
|
1246
|
+
/** Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent. */
|
|
1247
|
+
connectorTenantInfo?: {[P in string]: string};
|
|
1234
1248
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
1235
1249
|
createTime?: string;
|
|
1236
1250
|
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
@@ -1597,6 +1611,10 @@ declare namespace gapi.client {
|
|
|
1597
1611
|
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
|
|
1598
1612
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
1599
1613
|
autoRenew?: boolean;
|
|
1614
|
+
/** 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. */
|
|
1615
|
+
earlyTerminated?: boolean;
|
|
1616
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
1617
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
1600
1618
|
/** Optional. The planed end date. */
|
|
1601
1619
|
endDate?: GoogleTypeDate;
|
|
1602
1620
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -1705,6 +1723,8 @@ declare namespace gapi.client {
|
|
|
1705
1723
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
1706
1724
|
}
|
|
1707
1725
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
1726
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
1727
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
1708
1728
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
1709
1729
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
1710
1730
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -1712,6 +1732,14 @@ declare namespace gapi.client {
|
|
|
1712
1732
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
1713
1733
|
optOutNotebookSharing?: boolean;
|
|
1714
1734
|
}
|
|
1735
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
1736
|
+
/** Optional. The sensitive data protection policy. */
|
|
1737
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
1738
|
+
}
|
|
1739
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
1740
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
1741
|
+
policy?: string;
|
|
1742
|
+
}
|
|
1715
1743
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
1716
1744
|
/** 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
1745
|
responseTemplate?: string;
|
|
@@ -1810,11 +1838,71 @@ declare namespace gapi.client {
|
|
|
1810
1838
|
top5?: number;
|
|
1811
1839
|
}
|
|
1812
1840
|
interface GoogleCloudDiscoveryengineV1alphaQuery {
|
|
1841
|
+
/** Query content parts. */
|
|
1842
|
+
parts?: GoogleCloudDiscoveryengineV1alphaQueryPart[];
|
|
1813
1843
|
/** Output only. Unique Id for the query. */
|
|
1814
1844
|
queryId?: string;
|
|
1815
1845
|
/** Plain text. */
|
|
1816
1846
|
text?: string;
|
|
1817
1847
|
}
|
|
1848
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPart {
|
|
1849
|
+
/** Other VAIS Document references. */
|
|
1850
|
+
documentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference;
|
|
1851
|
+
/** Reference to a Google Drive document. */
|
|
1852
|
+
driveDocumentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference;
|
|
1853
|
+
/** 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. */
|
|
1854
|
+
mimeType?: string;
|
|
1855
|
+
/** Reference to a person. */
|
|
1856
|
+
personReference?: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference;
|
|
1857
|
+
/** Text content. */
|
|
1858
|
+
text?: string;
|
|
1859
|
+
/** 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. */
|
|
1860
|
+
uiJsonPayload?: string;
|
|
1861
|
+
}
|
|
1862
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference {
|
|
1863
|
+
/** The destination uri of the reference. */
|
|
1864
|
+
destinationUri?: string;
|
|
1865
|
+
/** The display title of the reference. */
|
|
1866
|
+
displayTitle?: string;
|
|
1867
|
+
/** The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
|
|
1868
|
+
documentName?: string;
|
|
1869
|
+
/** Output only. The file id of the document data stored in the session context files. */
|
|
1870
|
+
fileId?: string;
|
|
1871
|
+
/** The icon uri of the reference. */
|
|
1872
|
+
iconUri?: string;
|
|
1873
|
+
/** Input only. The url_for_connector of the document returned by Federated Search. */
|
|
1874
|
+
urlForConnector?: string;
|
|
1875
|
+
}
|
|
1876
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference {
|
|
1877
|
+
/** The destination uri of the reference. */
|
|
1878
|
+
destinationUri?: string;
|
|
1879
|
+
/** The display title of the reference. */
|
|
1880
|
+
displayTitle?: string;
|
|
1881
|
+
/** The full resource name of the document. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. */
|
|
1882
|
+
documentName?: string;
|
|
1883
|
+
/** The Drive id of the document. */
|
|
1884
|
+
driveId?: string;
|
|
1885
|
+
/** Output only. The file id of the Drive document data stored in the session context files. */
|
|
1886
|
+
fileId?: string;
|
|
1887
|
+
/** The icon uri of the Drive document reference. */
|
|
1888
|
+
iconUri?: string;
|
|
1889
|
+
}
|
|
1890
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference {
|
|
1891
|
+
/** The destination uri of the person. */
|
|
1892
|
+
destinationUri?: string;
|
|
1893
|
+
/** The display name of the person. */
|
|
1894
|
+
displayName?: string;
|
|
1895
|
+
/** The display photo url of the person. */
|
|
1896
|
+
displayPhotoUri?: string;
|
|
1897
|
+
/** The full resource name of the person. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. */
|
|
1898
|
+
documentName?: string;
|
|
1899
|
+
/** The email of the person. */
|
|
1900
|
+
email?: string;
|
|
1901
|
+
/** Output only. The file id of the person data stored in the session context files. */
|
|
1902
|
+
fileId?: string;
|
|
1903
|
+
/** The person id of the person. */
|
|
1904
|
+
personId?: string;
|
|
1905
|
+
}
|
|
1818
1906
|
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
|
|
1819
1907
|
/** Operation create time. */
|
|
1820
1908
|
createTime?: string;
|
|
@@ -1950,6 +2038,8 @@ declare namespace gapi.client {
|
|
|
1950
2038
|
languageCode?: string;
|
|
1951
2039
|
/** 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
2040
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
2041
|
+
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. */
|
|
2042
|
+
numResultsPerDataStore?: number;
|
|
1953
2043
|
/** 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
2044
|
offset?: number;
|
|
1955
2045
|
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
@@ -2124,6 +2214,8 @@ declare namespace gapi.client {
|
|
|
2124
2214
|
dataStore?: string;
|
|
2125
2215
|
/** 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
2216
|
filter?: string;
|
|
2217
|
+
/** 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. */
|
|
2218
|
+
numResults?: number;
|
|
2127
2219
|
}
|
|
2128
2220
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec {
|
|
2129
2221
|
/** The condition under which match highlighting should occur. */
|
|
@@ -4068,6 +4160,8 @@ declare namespace gapi.client {
|
|
|
4068
4160
|
commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
|
|
4069
4161
|
/** Optional. Configuration for configurable billing approach. */
|
|
4070
4162
|
configurableBillingApproach?: string;
|
|
4163
|
+
/** Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent. */
|
|
4164
|
+
connectorTenantInfo?: {[P in string]: string};
|
|
4071
4165
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
4072
4166
|
createTime?: string;
|
|
4073
4167
|
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
@@ -4534,6 +4628,10 @@ declare namespace gapi.client {
|
|
|
4534
4628
|
interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
|
|
4535
4629
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
4536
4630
|
autoRenew?: boolean;
|
|
4631
|
+
/** 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. */
|
|
4632
|
+
earlyTerminated?: boolean;
|
|
4633
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
4634
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
4537
4635
|
/** Optional. The planed end date. */
|
|
4538
4636
|
endDate?: GoogleTypeDate;
|
|
4539
4637
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -4783,6 +4881,8 @@ declare namespace gapi.client {
|
|
|
4783
4881
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
4784
4882
|
}
|
|
4785
4883
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
4884
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
4885
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
4786
4886
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
4787
4887
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
4788
4888
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -4790,6 +4890,14 @@ declare namespace gapi.client {
|
|
|
4790
4890
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
4791
4891
|
optOutNotebookSharing?: boolean;
|
|
4792
4892
|
}
|
|
4893
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
4894
|
+
/** Optional. The sensitive data protection policy. */
|
|
4895
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
4896
|
+
}
|
|
4897
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
4898
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
4899
|
+
policy?: string;
|
|
4900
|
+
}
|
|
4793
4901
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
4794
4902
|
/** 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
4903
|
responseTemplate?: string;
|
|
@@ -5138,6 +5246,8 @@ declare namespace gapi.client {
|
|
|
5138
5246
|
languageCode?: string;
|
|
5139
5247
|
/** 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
5248
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
5249
|
+
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. */
|
|
5250
|
+
numResultsPerDataStore?: number;
|
|
5141
5251
|
/** 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
5252
|
offset?: number;
|
|
5143
5253
|
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
@@ -5310,6 +5420,8 @@ declare namespace gapi.client {
|
|
|
5310
5420
|
dataStore?: string;
|
|
5311
5421
|
/** 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
5422
|
filter?: string;
|
|
5423
|
+
/** 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. */
|
|
5424
|
+
numResults?: number;
|
|
5313
5425
|
}
|
|
5314
5426
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec {
|
|
5315
5427
|
/** The condition under which match highlighting should occur. */
|
|
@@ -6567,6 +6679,8 @@ declare namespace gapi.client {
|
|
|
6567
6679
|
commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
|
|
6568
6680
|
/** Optional. Configuration for configurable billing approach. */
|
|
6569
6681
|
configurableBillingApproach?: string;
|
|
6682
|
+
/** Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent. */
|
|
6683
|
+
connectorTenantInfo?: {[P in string]: string};
|
|
6570
6684
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
6571
6685
|
createTime?: string;
|
|
6572
6686
|
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
@@ -6795,6 +6909,10 @@ declare namespace gapi.client {
|
|
|
6795
6909
|
interface GoogleCloudDiscoveryengineV1LicenseConfig {
|
|
6796
6910
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
6797
6911
|
autoRenew?: boolean;
|
|
6912
|
+
/** 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. */
|
|
6913
|
+
earlyTerminated?: boolean;
|
|
6914
|
+
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
6915
|
+
earlyTerminationDate?: GoogleTypeDate;
|
|
6798
6916
|
/** Optional. The planed end date. */
|
|
6799
6917
|
endDate?: GoogleTypeDate;
|
|
6800
6918
|
/** Optional. Whether the license config is for free trial. */
|
|
@@ -6859,6 +6977,8 @@ declare namespace gapi.client {
|
|
|
6859
6977
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
|
|
6860
6978
|
}
|
|
6861
6979
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
|
|
6980
|
+
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
6981
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
|
|
6862
6982
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
6863
6983
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
6864
6984
|
/** Optional. Observability config for NotebookLM. */
|
|
@@ -6866,6 +6986,14 @@ declare namespace gapi.client {
|
|
|
6866
6986
|
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
6867
6987
|
optOutNotebookSharing?: boolean;
|
|
6868
6988
|
}
|
|
6989
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
|
|
6990
|
+
/** Optional. The sensitive data protection policy. */
|
|
6991
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
6992
|
+
}
|
|
6993
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
6994
|
+
/** Optional. The Sensitive Data Protection policy resource name. */
|
|
6995
|
+
policy?: string;
|
|
6996
|
+
}
|
|
6869
6997
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
6870
6998
|
/** 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
6999
|
responseTemplate?: string;
|
|
@@ -7206,6 +7334,26 @@ declare namespace gapi.client {
|
|
|
7206
7334
|
/** The Google Workspace data source. */
|
|
7207
7335
|
type?: string;
|
|
7208
7336
|
}
|
|
7337
|
+
interface GoogleIamV1Binding {
|
|
7338
|
+
/** 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). */
|
|
7339
|
+
condition?: GoogleTypeExpr;
|
|
7340
|
+
/** 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`. */
|
|
7341
|
+
members?: string[];
|
|
7342
|
+
/** 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). */
|
|
7343
|
+
role?: string;
|
|
7344
|
+
}
|
|
7345
|
+
interface GoogleIamV1Policy {
|
|
7346
|
+
/** 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`. */
|
|
7347
|
+
bindings?: GoogleIamV1Binding[];
|
|
7348
|
+
/** `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. */
|
|
7349
|
+
etag?: string;
|
|
7350
|
+
/** 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). */
|
|
7351
|
+
version?: number;
|
|
7352
|
+
}
|
|
7353
|
+
interface GoogleIamV1SetIamPolicyRequest {
|
|
7354
|
+
/** 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. */
|
|
7355
|
+
policy?: GoogleIamV1Policy;
|
|
7356
|
+
}
|
|
7209
7357
|
interface GoogleLongrunningCancelOperationRequest {}
|
|
7210
7358
|
interface GoogleLongrunningListOperationsResponse {
|
|
7211
7359
|
/** The standard List next-page token. */
|
|
@@ -7306,6 +7454,16 @@ declare namespace gapi.client {
|
|
|
7306
7454
|
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
7307
7455
|
year?: number;
|
|
7308
7456
|
}
|
|
7457
|
+
interface GoogleTypeExpr {
|
|
7458
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
7459
|
+
description?: string;
|
|
7460
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
7461
|
+
expression?: string;
|
|
7462
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
7463
|
+
location?: string;
|
|
7464
|
+
/** 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. */
|
|
7465
|
+
title?: string;
|
|
7466
|
+
}
|
|
7309
7467
|
interface GoogleTypeTimeZone {
|
|
7310
7468
|
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
7311
7469
|
id?: string;
|
|
@@ -13031,7 +13189,7 @@ declare namespace gapi.client {
|
|
|
13031
13189
|
answers: AnswersResource;
|
|
13032
13190
|
}
|
|
13033
13191
|
interface EnginesResource {
|
|
13034
|
-
/** Creates
|
|
13192
|
+
/** Creates an Engine. */
|
|
13035
13193
|
create(request: {
|
|
13036
13194
|
/** V1 error format. */
|
|
13037
13195
|
'$.xgafv'?: string;
|
|
@@ -13093,7 +13251,7 @@ declare namespace gapi.client {
|
|
|
13093
13251
|
},
|
|
13094
13252
|
body: GoogleCloudDiscoveryengineV1betaEngine,
|
|
13095
13253
|
): Request<GoogleLongrunningOperation>;
|
|
13096
|
-
/** Deletes
|
|
13254
|
+
/** Deletes an Engine. */
|
|
13097
13255
|
delete(request?: {
|
|
13098
13256
|
/** V1 error format. */
|
|
13099
13257
|
'$.xgafv'?: string;
|
|
@@ -13120,7 +13278,7 @@ declare namespace gapi.client {
|
|
|
13120
13278
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13121
13279
|
uploadType?: string;
|
|
13122
13280
|
}): Request<GoogleLongrunningOperation>;
|
|
13123
|
-
/** Gets
|
|
13281
|
+
/** Gets an Engine. */
|
|
13124
13282
|
get(request?: {
|
|
13125
13283
|
/** V1 error format. */
|
|
13126
13284
|
'$.xgafv'?: string;
|
|
@@ -13147,6 +13305,35 @@ declare namespace gapi.client {
|
|
|
13147
13305
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13148
13306
|
uploadType?: string;
|
|
13149
13307
|
}): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13308
|
+
/** 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. */
|
|
13309
|
+
getIamPolicy(request?: {
|
|
13310
|
+
/** V1 error format. */
|
|
13311
|
+
'$.xgafv'?: string;
|
|
13312
|
+
/** OAuth access token. */
|
|
13313
|
+
access_token?: string;
|
|
13314
|
+
/** Data format for response. */
|
|
13315
|
+
alt?: string;
|
|
13316
|
+
/** JSONP */
|
|
13317
|
+
callback?: string;
|
|
13318
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13319
|
+
fields?: string;
|
|
13320
|
+
/** 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. */
|
|
13321
|
+
key?: string;
|
|
13322
|
+
/** OAuth 2.0 token for the current user. */
|
|
13323
|
+
oauth_token?: string;
|
|
13324
|
+
/** 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). */
|
|
13325
|
+
'options.requestedPolicyVersion'?: number;
|
|
13326
|
+
/** Returns response with indentations and line breaks. */
|
|
13327
|
+
prettyPrint?: boolean;
|
|
13328
|
+
/** 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. */
|
|
13329
|
+
quotaUser?: string;
|
|
13330
|
+
/** 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. */
|
|
13331
|
+
resource: string;
|
|
13332
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13333
|
+
upload_protocol?: string;
|
|
13334
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13335
|
+
uploadType?: string;
|
|
13336
|
+
}): Request<GoogleIamV1Policy>;
|
|
13150
13337
|
/** Lists all the Engines associated with the project. */
|
|
13151
13338
|
list(request?: {
|
|
13152
13339
|
/** V1 error format. */
|
|
@@ -13242,7 +13429,7 @@ declare namespace gapi.client {
|
|
|
13242
13429
|
},
|
|
13243
13430
|
body: GoogleCloudDiscoveryengineV1betaEngine,
|
|
13244
13431
|
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13245
|
-
/** Pauses the training of an existing
|
|
13432
|
+
/** Pauses the training of an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
13246
13433
|
pause(request: {
|
|
13247
13434
|
/** V1 error format. */
|
|
13248
13435
|
'$.xgafv'?: string;
|
|
@@ -13300,7 +13487,7 @@ declare namespace gapi.client {
|
|
|
13300
13487
|
},
|
|
13301
13488
|
body: GoogleCloudDiscoveryengineV1betaPauseEngineRequest,
|
|
13302
13489
|
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13303
|
-
/** Resumes the training of an existing
|
|
13490
|
+
/** Resumes the training of an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
13304
13491
|
resume(request: {
|
|
13305
13492
|
/** V1 error format. */
|
|
13306
13493
|
'$.xgafv'?: string;
|
|
@@ -13358,7 +13545,37 @@ declare namespace gapi.client {
|
|
|
13358
13545
|
},
|
|
13359
13546
|
body: GoogleCloudDiscoveryengineV1betaResumeEngineRequest,
|
|
13360
13547
|
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
13361
|
-
/**
|
|
13548
|
+
/** 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. */
|
|
13549
|
+
setIamPolicy(
|
|
13550
|
+
request: {
|
|
13551
|
+
/** V1 error format. */
|
|
13552
|
+
'$.xgafv'?: string;
|
|
13553
|
+
/** OAuth access token. */
|
|
13554
|
+
access_token?: string;
|
|
13555
|
+
/** Data format for response. */
|
|
13556
|
+
alt?: string;
|
|
13557
|
+
/** JSONP */
|
|
13558
|
+
callback?: string;
|
|
13559
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13560
|
+
fields?: string;
|
|
13561
|
+
/** 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. */
|
|
13562
|
+
key?: string;
|
|
13563
|
+
/** OAuth 2.0 token for the current user. */
|
|
13564
|
+
oauth_token?: string;
|
|
13565
|
+
/** Returns response with indentations and line breaks. */
|
|
13566
|
+
prettyPrint?: boolean;
|
|
13567
|
+
/** 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. */
|
|
13568
|
+
quotaUser?: string;
|
|
13569
|
+
/** 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. */
|
|
13570
|
+
resource: string;
|
|
13571
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13572
|
+
upload_protocol?: string;
|
|
13573
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13574
|
+
uploadType?: string;
|
|
13575
|
+
},
|
|
13576
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
13577
|
+
): Request<GoogleIamV1Policy>;
|
|
13578
|
+
/** Tunes an existing Engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
13362
13579
|
tune(request: {
|
|
13363
13580
|
/** V1 error format. */
|
|
13364
13581
|
'$.xgafv'?: string;
|