@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20250430 → 0.0.20250509
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 +186 -13
- 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: 20250509
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -422,6 +422,22 @@ declare namespace gapi.client {
|
|
|
422
422
|
/** TargetSites created. */
|
|
423
423
|
targetSites?: GoogleCloudDiscoveryengineV1alphaTargetSite[];
|
|
424
424
|
}
|
|
425
|
+
interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata {
|
|
426
|
+
/** Operation create time. */
|
|
427
|
+
createTime?: string;
|
|
428
|
+
/** Count of user licenses that failed to be updated. */
|
|
429
|
+
failureCount?: string;
|
|
430
|
+
/** Count of user licenses successfully updated. */
|
|
431
|
+
successCount?: string;
|
|
432
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
433
|
+
updateTime?: string;
|
|
434
|
+
}
|
|
435
|
+
interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse {
|
|
436
|
+
/** A sample of errors encountered while processing the request. */
|
|
437
|
+
errorSamples?: GoogleRpcStatus[];
|
|
438
|
+
/** UserLicenses successfully updated. */
|
|
439
|
+
userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
|
|
440
|
+
}
|
|
425
441
|
interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
|
|
426
442
|
/** Output only. The default CmekConfig for the Customer. */
|
|
427
443
|
isDefault?: boolean;
|
|
@@ -537,7 +553,7 @@ declare namespace gapi.client {
|
|
|
537
553
|
filterAction?: GoogleCloudDiscoveryengineV1alphaControlFilterAction;
|
|
538
554
|
/** Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*` */
|
|
539
555
|
name?: string;
|
|
540
|
-
/** Promote certain links based on predefined trigger queries.
|
|
556
|
+
/** Promote certain links based on predefined trigger queries. */
|
|
541
557
|
promoteAction?: GoogleCloudDiscoveryengineV1alphaControlPromoteAction;
|
|
542
558
|
/** Defines a redirect-type control. */
|
|
543
559
|
redirectAction?: GoogleCloudDiscoveryengineV1alphaControlRedirectAction;
|
|
@@ -642,7 +658,7 @@ declare namespace gapi.client {
|
|
|
642
658
|
actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
|
|
643
659
|
/** Optional. The connector level alert config. */
|
|
644
660
|
alertPolicyConfigs?: GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[];
|
|
645
|
-
/** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
|
|
661
|
+
/** Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs */
|
|
646
662
|
autoRunDisabled?: boolean;
|
|
647
663
|
/** Optional. The configuration for establishing a BAP connection. */
|
|
648
664
|
bapConfig?: GoogleCloudDiscoveryengineV1alphaBAPConfig;
|
|
@@ -650,8 +666,10 @@ declare namespace gapi.client {
|
|
|
650
666
|
blockingReasons?: string[];
|
|
651
667
|
/** Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */
|
|
652
668
|
connectorModes?: string[];
|
|
653
|
-
/** Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is
|
|
669
|
+
/** Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */
|
|
654
670
|
connectorType?: string;
|
|
671
|
+
/** Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. */
|
|
672
|
+
createEuaSaas?: boolean;
|
|
655
673
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
656
674
|
createTime?: string;
|
|
657
675
|
/** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
|
|
@@ -668,6 +686,10 @@ declare namespace gapi.client {
|
|
|
668
686
|
identityRefreshInterval?: string;
|
|
669
687
|
/** The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector. */
|
|
670
688
|
identityScheduleConfig?: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig;
|
|
689
|
+
/** Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. */
|
|
690
|
+
incrementalRefreshInterval?: string;
|
|
691
|
+
/** Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. */
|
|
692
|
+
incrementalSyncDisabled?: boolean;
|
|
671
693
|
/** Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key. */
|
|
672
694
|
kmsKeyName?: string;
|
|
673
695
|
/** Output only. For periodic connectors only, the last time a data sync was completed. */
|
|
@@ -1673,6 +1695,8 @@ declare namespace gapi.client {
|
|
|
1673
1695
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec {
|
|
1674
1696
|
/** Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */
|
|
1675
1697
|
boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
|
|
1698
|
+
/** Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). */
|
|
1699
|
+
customSearchOperators?: string;
|
|
1676
1700
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
1677
1701
|
dataStore?: string;
|
|
1678
1702
|
/** 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) */
|
|
@@ -1911,6 +1935,24 @@ declare namespace gapi.client {
|
|
|
1911
1935
|
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
1912
1936
|
userId?: string;
|
|
1913
1937
|
}
|
|
1938
|
+
interface GoogleCloudDiscoveryengineV1alphaUserLicense {
|
|
1939
|
+
/** Output only. User created timestamp. */
|
|
1940
|
+
createTime?: string;
|
|
1941
|
+
/** Output only. User last logged in time. If the user has not logged in yet, this field will be empty. */
|
|
1942
|
+
lastLoginTime?: string;
|
|
1943
|
+
/** Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; */
|
|
1944
|
+
licenseAssignmentState?: string;
|
|
1945
|
+
/** Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. */
|
|
1946
|
+
licenseConfig?: string;
|
|
1947
|
+
/** Output only. User update timestamp. */
|
|
1948
|
+
updateTime?: string;
|
|
1949
|
+
/** Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. */
|
|
1950
|
+
user?: string;
|
|
1951
|
+
/** Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. */
|
|
1952
|
+
userPrincipal?: string;
|
|
1953
|
+
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
1954
|
+
userProfile?: string;
|
|
1955
|
+
}
|
|
1914
1956
|
interface GoogleCloudDiscoveryengineV1alphaWorkspaceConfig {
|
|
1915
1957
|
/** Obfuscated Dasher customer ID. */
|
|
1916
1958
|
dasherCustomerId?: string;
|
|
@@ -2529,6 +2571,20 @@ declare namespace gapi.client {
|
|
|
2529
2571
|
/** If match by URI, the URI of the Document. */
|
|
2530
2572
|
uri?: string;
|
|
2531
2573
|
}
|
|
2574
|
+
interface GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest {
|
|
2575
|
+
/** Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state. */
|
|
2576
|
+
deleteUnassignedUserLicenses?: boolean;
|
|
2577
|
+
/** Cloud Storage location for the input content. */
|
|
2578
|
+
gcsSource?: GoogleCloudDiscoveryengineV1betaGcsSource;
|
|
2579
|
+
/** The inline source for the input content for document embeddings. */
|
|
2580
|
+
inlineSource?: GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource;
|
|
2581
|
+
}
|
|
2582
|
+
interface GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource {
|
|
2583
|
+
/** Optional. The list of fields to update. */
|
|
2584
|
+
updateMask?: string;
|
|
2585
|
+
/** Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal. */
|
|
2586
|
+
userLicenses?: GoogleCloudDiscoveryengineV1betaUserLicense[];
|
|
2587
|
+
}
|
|
2532
2588
|
interface GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest {}
|
|
2533
2589
|
interface GoogleCloudDiscoveryengineV1betaBigQuerySource {
|
|
2534
2590
|
/** The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One UserEvent per row. Supported values for document imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical. */
|
|
@@ -2615,7 +2671,7 @@ declare namespace gapi.client {
|
|
|
2615
2671
|
endPos?: number;
|
|
2616
2672
|
/** Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices should not be returned. */
|
|
2617
2673
|
groundingCheckRequired?: boolean;
|
|
2618
|
-
/** Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true. */
|
|
2674
|
+
/** Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true. */
|
|
2619
2675
|
score?: number;
|
|
2620
2676
|
/** Position indicating the start of the claim in the answer candidate, measured in bytes. Note that this is not measured in characters and, therefore, must be rendered in the user interface keeping in mind that some characters may take more than one byte. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent). */
|
|
2621
2677
|
startPos?: number;
|
|
@@ -2767,7 +2823,7 @@ declare namespace gapi.client {
|
|
|
2767
2823
|
filterAction?: GoogleCloudDiscoveryengineV1betaControlFilterAction;
|
|
2768
2824
|
/** Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*` */
|
|
2769
2825
|
name?: string;
|
|
2770
|
-
/** Promote certain links based on predefined trigger queries.
|
|
2826
|
+
/** Promote certain links based on predefined trigger queries. */
|
|
2771
2827
|
promoteAction?: GoogleCloudDiscoveryengineV1betaControlPromoteAction;
|
|
2772
2828
|
/** Defines a redirect-type control. */
|
|
2773
2829
|
redirectAction?: GoogleCloudDiscoveryengineV1betaControlRedirectAction;
|
|
@@ -3724,6 +3780,12 @@ declare namespace gapi.client {
|
|
|
3724
3780
|
/** The total number of items matching the request. This will always be populated in the response. */
|
|
3725
3781
|
totalSize?: number;
|
|
3726
3782
|
}
|
|
3783
|
+
interface GoogleCloudDiscoveryengineV1betaListUserLicensesResponse {
|
|
3784
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3785
|
+
nextPageToken?: string;
|
|
3786
|
+
/** All the customer's UserLicenses. */
|
|
3787
|
+
userLicenses?: GoogleCloudDiscoveryengineV1betaUserLicense[];
|
|
3788
|
+
}
|
|
3727
3789
|
interface GoogleCloudDiscoveryengineV1betaMediaInfo {
|
|
3728
3790
|
/** The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90. */
|
|
3729
3791
|
mediaProgressDuration?: string;
|
|
@@ -4279,6 +4341,8 @@ declare namespace gapi.client {
|
|
|
4279
4341
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
|
|
4280
4342
|
/** Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */
|
|
4281
4343
|
boostSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
|
|
4344
|
+
/** Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). */
|
|
4345
|
+
customSearchOperators?: string;
|
|
4282
4346
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
4283
4347
|
dataStore?: string;
|
|
4284
4348
|
/** 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) */
|
|
@@ -4438,15 +4502,9 @@ declare namespace gapi.client {
|
|
|
4438
4502
|
extractedFilters?: string;
|
|
4439
4503
|
/** Rewritten input query minus the extracted filters. */
|
|
4440
4504
|
rewrittenQuery?: string;
|
|
4441
|
-
/** Optional. The SQL request that was generated from the natural language query understanding phase. */
|
|
4442
|
-
sqlRequest?: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest;
|
|
4443
4505
|
/** The filters that were extracted from the input query represented in a structured form. */
|
|
4444
4506
|
structuredExtractedFilter?: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter;
|
|
4445
4507
|
}
|
|
4446
|
-
interface GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest {
|
|
4447
|
-
/** Optional. The SQL query in text format. */
|
|
4448
|
-
sqlQuery?: string;
|
|
4449
|
-
}
|
|
4450
4508
|
interface GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter {
|
|
4451
4509
|
/** The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators. */
|
|
4452
4510
|
expression?: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression;
|
|
@@ -4913,6 +4971,24 @@ declare namespace gapi.client {
|
|
|
4913
4971
|
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4914
4972
|
userId?: string;
|
|
4915
4973
|
}
|
|
4974
|
+
interface GoogleCloudDiscoveryengineV1betaUserLicense {
|
|
4975
|
+
/** Output only. User created timestamp. */
|
|
4976
|
+
createTime?: string;
|
|
4977
|
+
/** Output only. User last logged in time. If the user has not logged in yet, this field will be empty. */
|
|
4978
|
+
lastLoginTime?: string;
|
|
4979
|
+
/** Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; */
|
|
4980
|
+
licenseAssignmentState?: string;
|
|
4981
|
+
/** Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. */
|
|
4982
|
+
licenseConfig?: string;
|
|
4983
|
+
/** Output only. User update timestamp. */
|
|
4984
|
+
updateTime?: string;
|
|
4985
|
+
/** Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. */
|
|
4986
|
+
user?: string;
|
|
4987
|
+
/** Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. */
|
|
4988
|
+
userPrincipal?: string;
|
|
4989
|
+
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
4990
|
+
userProfile?: string;
|
|
4991
|
+
}
|
|
4916
4992
|
interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
|
|
4917
4993
|
/** Obfuscated Dasher customer ID. */
|
|
4918
4994
|
dasherCustomerId?: string;
|
|
@@ -4974,7 +5050,7 @@ declare namespace gapi.client {
|
|
|
4974
5050
|
filterAction?: GoogleCloudDiscoveryengineV1ControlFilterAction;
|
|
4975
5051
|
/** Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*` */
|
|
4976
5052
|
name?: string;
|
|
4977
|
-
/** Promote certain links based on predefined trigger queries.
|
|
5053
|
+
/** Promote certain links based on predefined trigger queries. */
|
|
4978
5054
|
promoteAction?: GoogleCloudDiscoveryengineV1ControlPromoteAction;
|
|
4979
5055
|
/** Defines a redirect-type control. */
|
|
4980
5056
|
redirectAction?: GoogleCloudDiscoveryengineV1ControlRedirectAction;
|
|
@@ -16259,6 +16335,102 @@ declare namespace gapi.client {
|
|
|
16259
16335
|
body: GoogleCloudDiscoveryengineV1betaUserEvent,
|
|
16260
16336
|
): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
|
|
16261
16337
|
}
|
|
16338
|
+
interface UserLicensesResource {
|
|
16339
|
+
/** Lists the User Licenses. */
|
|
16340
|
+
list(request?: {
|
|
16341
|
+
/** V1 error format. */
|
|
16342
|
+
'$.xgafv'?: string;
|
|
16343
|
+
/** OAuth access token. */
|
|
16344
|
+
access_token?: string;
|
|
16345
|
+
/** Data format for response. */
|
|
16346
|
+
alt?: string;
|
|
16347
|
+
/** JSONP */
|
|
16348
|
+
callback?: string;
|
|
16349
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16350
|
+
fields?: string;
|
|
16351
|
+
/** Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. */
|
|
16352
|
+
filter?: string;
|
|
16353
|
+
/** 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. */
|
|
16354
|
+
key?: string;
|
|
16355
|
+
/** OAuth 2.0 token for the current user. */
|
|
16356
|
+
oauth_token?: string;
|
|
16357
|
+
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. */
|
|
16358
|
+
pageSize?: number;
|
|
16359
|
+
/** Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. */
|
|
16360
|
+
pageToken?: string;
|
|
16361
|
+
/** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
16362
|
+
parent: string;
|
|
16363
|
+
/** Returns response with indentations and line breaks. */
|
|
16364
|
+
prettyPrint?: boolean;
|
|
16365
|
+
/** 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. */
|
|
16366
|
+
quotaUser?: string;
|
|
16367
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16368
|
+
upload_protocol?: string;
|
|
16369
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16370
|
+
uploadType?: string;
|
|
16371
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListUserLicensesResponse>;
|
|
16372
|
+
}
|
|
16373
|
+
interface UserStoresResource {
|
|
16374
|
+
/** Updates the User License. This method is used for batch assign/unassign licenses to users. */
|
|
16375
|
+
batchUpdateUserLicenses(request: {
|
|
16376
|
+
/** V1 error format. */
|
|
16377
|
+
'$.xgafv'?: string;
|
|
16378
|
+
/** OAuth access token. */
|
|
16379
|
+
access_token?: string;
|
|
16380
|
+
/** Data format for response. */
|
|
16381
|
+
alt?: string;
|
|
16382
|
+
/** JSONP */
|
|
16383
|
+
callback?: string;
|
|
16384
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16385
|
+
fields?: string;
|
|
16386
|
+
/** 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. */
|
|
16387
|
+
key?: string;
|
|
16388
|
+
/** OAuth 2.0 token for the current user. */
|
|
16389
|
+
oauth_token?: string;
|
|
16390
|
+
/** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
16391
|
+
parent: string;
|
|
16392
|
+
/** Returns response with indentations and line breaks. */
|
|
16393
|
+
prettyPrint?: boolean;
|
|
16394
|
+
/** 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. */
|
|
16395
|
+
quotaUser?: string;
|
|
16396
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16397
|
+
upload_protocol?: string;
|
|
16398
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16399
|
+
uploadType?: string;
|
|
16400
|
+
/** Request body */
|
|
16401
|
+
resource: GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest;
|
|
16402
|
+
}): Request<GoogleLongrunningOperation>;
|
|
16403
|
+
batchUpdateUserLicenses(
|
|
16404
|
+
request: {
|
|
16405
|
+
/** V1 error format. */
|
|
16406
|
+
'$.xgafv'?: string;
|
|
16407
|
+
/** OAuth access token. */
|
|
16408
|
+
access_token?: string;
|
|
16409
|
+
/** Data format for response. */
|
|
16410
|
+
alt?: string;
|
|
16411
|
+
/** JSONP */
|
|
16412
|
+
callback?: string;
|
|
16413
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16414
|
+
fields?: string;
|
|
16415
|
+
/** 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. */
|
|
16416
|
+
key?: string;
|
|
16417
|
+
/** OAuth 2.0 token for the current user. */
|
|
16418
|
+
oauth_token?: string;
|
|
16419
|
+
/** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
16420
|
+
parent: string;
|
|
16421
|
+
/** Returns response with indentations and line breaks. */
|
|
16422
|
+
prettyPrint?: boolean;
|
|
16423
|
+
/** 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. */
|
|
16424
|
+
quotaUser?: string;
|
|
16425
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16426
|
+
upload_protocol?: string;
|
|
16427
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16428
|
+
uploadType?: string;
|
|
16429
|
+
},
|
|
16430
|
+
body: GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest,
|
|
16431
|
+
): Request<GoogleLongrunningOperation>;
|
|
16432
|
+
userLicenses: UserLicensesResource;
|
|
16433
|
+
}
|
|
16262
16434
|
interface LocationsResource {
|
|
16263
16435
|
/** Gets the CmekConfig. */
|
|
16264
16436
|
getCmekConfig(request?: {
|
|
@@ -16534,6 +16706,7 @@ declare namespace gapi.client {
|
|
|
16534
16706
|
rankingConfigs: RankingConfigsResource;
|
|
16535
16707
|
sampleQuerySets: SampleQuerySetsResource;
|
|
16536
16708
|
userEvents: UserEventsResource;
|
|
16709
|
+
userStores: UserStoresResource;
|
|
16537
16710
|
}
|
|
16538
16711
|
interface OperationsResource {
|
|
16539
16712
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|