@maxim_mazurok/gapi.client.discoveryengine-v1 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 +188 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250509
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -436,6 +436,22 @@ declare namespace gapi.client {
|
|
|
436
436
|
/** TargetSites created. */
|
|
437
437
|
targetSites?: GoogleCloudDiscoveryengineV1alphaTargetSite[];
|
|
438
438
|
}
|
|
439
|
+
interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata {
|
|
440
|
+
/** Operation create time. */
|
|
441
|
+
createTime?: string;
|
|
442
|
+
/** Count of user licenses that failed to be updated. */
|
|
443
|
+
failureCount?: string;
|
|
444
|
+
/** Count of user licenses successfully updated. */
|
|
445
|
+
successCount?: string;
|
|
446
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
447
|
+
updateTime?: string;
|
|
448
|
+
}
|
|
449
|
+
interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse {
|
|
450
|
+
/** A sample of errors encountered while processing the request. */
|
|
451
|
+
errorSamples?: GoogleRpcStatus[];
|
|
452
|
+
/** UserLicenses successfully updated. */
|
|
453
|
+
userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
|
|
454
|
+
}
|
|
439
455
|
interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
|
|
440
456
|
/** Output only. The default CmekConfig for the Customer. */
|
|
441
457
|
isDefault?: boolean;
|
|
@@ -551,7 +567,7 @@ declare namespace gapi.client {
|
|
|
551
567
|
filterAction?: GoogleCloudDiscoveryengineV1alphaControlFilterAction;
|
|
552
568
|
/** Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*` */
|
|
553
569
|
name?: string;
|
|
554
|
-
/** Promote certain links based on predefined trigger queries.
|
|
570
|
+
/** Promote certain links based on predefined trigger queries. */
|
|
555
571
|
promoteAction?: GoogleCloudDiscoveryengineV1alphaControlPromoteAction;
|
|
556
572
|
/** Defines a redirect-type control. */
|
|
557
573
|
redirectAction?: GoogleCloudDiscoveryengineV1alphaControlRedirectAction;
|
|
@@ -656,7 +672,7 @@ declare namespace gapi.client {
|
|
|
656
672
|
actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
|
|
657
673
|
/** Optional. The connector level alert config. */
|
|
658
674
|
alertPolicyConfigs?: GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[];
|
|
659
|
-
/** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
|
|
675
|
+
/** 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 */
|
|
660
676
|
autoRunDisabled?: boolean;
|
|
661
677
|
/** Optional. The configuration for establishing a BAP connection. */
|
|
662
678
|
bapConfig?: GoogleCloudDiscoveryengineV1alphaBAPConfig;
|
|
@@ -664,8 +680,10 @@ declare namespace gapi.client {
|
|
|
664
680
|
blockingReasons?: string[];
|
|
665
681
|
/** Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */
|
|
666
682
|
connectorModes?: string[];
|
|
667
|
-
/** 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
|
|
683
|
+
/** 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. */
|
|
668
684
|
connectorType?: string;
|
|
685
|
+
/** Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. */
|
|
686
|
+
createEuaSaas?: boolean;
|
|
669
687
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
670
688
|
createTime?: string;
|
|
671
689
|
/** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
|
|
@@ -682,6 +700,10 @@ declare namespace gapi.client {
|
|
|
682
700
|
identityRefreshInterval?: string;
|
|
683
701
|
/** 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. */
|
|
684
702
|
identityScheduleConfig?: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig;
|
|
703
|
+
/** 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. */
|
|
704
|
+
incrementalRefreshInterval?: string;
|
|
705
|
+
/** Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. */
|
|
706
|
+
incrementalSyncDisabled?: boolean;
|
|
685
707
|
/** 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. */
|
|
686
708
|
kmsKeyName?: string;
|
|
687
709
|
/** Output only. For periodic connectors only, the last time a data sync was completed. */
|
|
@@ -1687,6 +1709,8 @@ declare namespace gapi.client {
|
|
|
1687
1709
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec {
|
|
1688
1710
|
/** 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) */
|
|
1689
1711
|
boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
|
|
1712
|
+
/** 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). */
|
|
1713
|
+
customSearchOperators?: string;
|
|
1690
1714
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
1691
1715
|
dataStore?: string;
|
|
1692
1716
|
/** 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) */
|
|
@@ -1925,6 +1949,24 @@ declare namespace gapi.client {
|
|
|
1925
1949
|
/** 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. */
|
|
1926
1950
|
userId?: string;
|
|
1927
1951
|
}
|
|
1952
|
+
interface GoogleCloudDiscoveryengineV1alphaUserLicense {
|
|
1953
|
+
/** Output only. User created timestamp. */
|
|
1954
|
+
createTime?: string;
|
|
1955
|
+
/** Output only. User last logged in time. If the user has not logged in yet, this field will be empty. */
|
|
1956
|
+
lastLoginTime?: string;
|
|
1957
|
+
/** 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; */
|
|
1958
|
+
licenseAssignmentState?: string;
|
|
1959
|
+
/** Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. */
|
|
1960
|
+
licenseConfig?: string;
|
|
1961
|
+
/** Output only. User update timestamp. */
|
|
1962
|
+
updateTime?: string;
|
|
1963
|
+
/** 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. */
|
|
1964
|
+
user?: string;
|
|
1965
|
+
/** 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. */
|
|
1966
|
+
userPrincipal?: string;
|
|
1967
|
+
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
1968
|
+
userProfile?: string;
|
|
1969
|
+
}
|
|
1928
1970
|
interface GoogleCloudDiscoveryengineV1alphaWorkspaceConfig {
|
|
1929
1971
|
/** Obfuscated Dasher customer ID. */
|
|
1930
1972
|
dasherCustomerId?: string;
|
|
@@ -2367,6 +2409,20 @@ declare namespace gapi.client {
|
|
|
2367
2409
|
/** If match by URI, the URI of the Document. */
|
|
2368
2410
|
uri?: string;
|
|
2369
2411
|
}
|
|
2412
|
+
interface GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest {
|
|
2413
|
+
/** 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. */
|
|
2414
|
+
deleteUnassignedUserLicenses?: boolean;
|
|
2415
|
+
/** Cloud Storage location for the input content. */
|
|
2416
|
+
gcsSource?: GoogleCloudDiscoveryengineV1GcsSource;
|
|
2417
|
+
/** The inline source for the input content for document embeddings. */
|
|
2418
|
+
inlineSource?: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource;
|
|
2419
|
+
}
|
|
2420
|
+
interface GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource {
|
|
2421
|
+
/** Optional. The list of fields to update. */
|
|
2422
|
+
updateMask?: string;
|
|
2423
|
+
/** Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal. */
|
|
2424
|
+
userLicenses?: GoogleCloudDiscoveryengineV1UserLicense[];
|
|
2425
|
+
}
|
|
2370
2426
|
interface GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest {}
|
|
2371
2427
|
interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {
|
|
2372
2428
|
/** If set true, automatic refresh is disabled for the DataStore. */
|
|
@@ -2435,7 +2491,7 @@ declare namespace gapi.client {
|
|
|
2435
2491
|
filterAction?: GoogleCloudDiscoveryengineV1betaControlFilterAction;
|
|
2436
2492
|
/** Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*` */
|
|
2437
2493
|
name?: string;
|
|
2438
|
-
/** Promote certain links based on predefined trigger queries.
|
|
2494
|
+
/** Promote certain links based on predefined trigger queries. */
|
|
2439
2495
|
promoteAction?: GoogleCloudDiscoveryengineV1betaControlPromoteAction;
|
|
2440
2496
|
/** Defines a redirect-type control. */
|
|
2441
2497
|
redirectAction?: GoogleCloudDiscoveryengineV1betaControlRedirectAction;
|
|
@@ -3256,6 +3312,8 @@ declare namespace gapi.client {
|
|
|
3256
3312
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
|
|
3257
3313
|
/** 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) */
|
|
3258
3314
|
boostSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
|
|
3315
|
+
/** 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). */
|
|
3316
|
+
customSearchOperators?: string;
|
|
3259
3317
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
3260
3318
|
dataStore?: string;
|
|
3261
3319
|
/** 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) */
|
|
@@ -3537,7 +3595,7 @@ declare namespace gapi.client {
|
|
|
3537
3595
|
endPos?: number;
|
|
3538
3596
|
/** 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. */
|
|
3539
3597
|
groundingCheckRequired?: boolean;
|
|
3540
|
-
/** 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. */
|
|
3598
|
+
/** 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. */
|
|
3541
3599
|
score?: number;
|
|
3542
3600
|
/** 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). */
|
|
3543
3601
|
startPos?: number;
|
|
@@ -3689,7 +3747,7 @@ declare namespace gapi.client {
|
|
|
3689
3747
|
filterAction?: GoogleCloudDiscoveryengineV1ControlFilterAction;
|
|
3690
3748
|
/** Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*` */
|
|
3691
3749
|
name?: string;
|
|
3692
|
-
/** Promote certain links based on predefined trigger queries.
|
|
3750
|
+
/** Promote certain links based on predefined trigger queries. */
|
|
3693
3751
|
promoteAction?: GoogleCloudDiscoveryengineV1ControlPromoteAction;
|
|
3694
3752
|
/** Defines a redirect-type control. */
|
|
3695
3753
|
redirectAction?: GoogleCloudDiscoveryengineV1ControlRedirectAction;
|
|
@@ -4521,6 +4579,12 @@ declare namespace gapi.client {
|
|
|
4521
4579
|
/** The total number of items matching the request. This will always be populated in the response. */
|
|
4522
4580
|
totalSize?: number;
|
|
4523
4581
|
}
|
|
4582
|
+
interface GoogleCloudDiscoveryengineV1ListUserLicensesResponse {
|
|
4583
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
4584
|
+
nextPageToken?: string;
|
|
4585
|
+
/** All the customer's UserLicenses. */
|
|
4586
|
+
userLicenses?: GoogleCloudDiscoveryengineV1UserLicense[];
|
|
4587
|
+
}
|
|
4524
4588
|
interface GoogleCloudDiscoveryengineV1MediaInfo {
|
|
4525
4589
|
/** 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. */
|
|
4526
4590
|
mediaProgressDuration?: string;
|
|
@@ -4945,6 +5009,8 @@ declare namespace gapi.client {
|
|
|
4945
5009
|
interface GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec {
|
|
4946
5010
|
/** 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) */
|
|
4947
5011
|
boostSpec?: GoogleCloudDiscoveryengineV1SearchRequestBoostSpec;
|
|
5012
|
+
/** 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). */
|
|
5013
|
+
customSearchOperators?: string;
|
|
4948
5014
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
4949
5015
|
dataStore?: string;
|
|
4950
5016
|
/** 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) */
|
|
@@ -5410,6 +5476,24 @@ declare namespace gapi.client {
|
|
|
5410
5476
|
/** 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. */
|
|
5411
5477
|
userId?: string;
|
|
5412
5478
|
}
|
|
5479
|
+
interface GoogleCloudDiscoveryengineV1UserLicense {
|
|
5480
|
+
/** Output only. User created timestamp. */
|
|
5481
|
+
createTime?: string;
|
|
5482
|
+
/** Output only. User last logged in time. If the user has not logged in yet, this field will be empty. */
|
|
5483
|
+
lastLoginTime?: string;
|
|
5484
|
+
/** 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; */
|
|
5485
|
+
licenseAssignmentState?: string;
|
|
5486
|
+
/** Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. */
|
|
5487
|
+
licenseConfig?: string;
|
|
5488
|
+
/** Output only. User update timestamp. */
|
|
5489
|
+
updateTime?: string;
|
|
5490
|
+
/** 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. */
|
|
5491
|
+
user?: string;
|
|
5492
|
+
/** 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. */
|
|
5493
|
+
userPrincipal?: string;
|
|
5494
|
+
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
5495
|
+
userProfile?: string;
|
|
5496
|
+
}
|
|
5413
5497
|
interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
|
|
5414
5498
|
/** Obfuscated Dasher customer ID. */
|
|
5415
5499
|
dasherCustomerId?: string;
|
|
@@ -14741,6 +14825,102 @@ declare namespace gapi.client {
|
|
|
14741
14825
|
body: GoogleCloudDiscoveryengineV1UserEvent,
|
|
14742
14826
|
): Request<GoogleCloudDiscoveryengineV1UserEvent>;
|
|
14743
14827
|
}
|
|
14828
|
+
interface UserLicensesResource {
|
|
14829
|
+
/** Lists the User Licenses. */
|
|
14830
|
+
list(request?: {
|
|
14831
|
+
/** V1 error format. */
|
|
14832
|
+
'$.xgafv'?: string;
|
|
14833
|
+
/** OAuth access token. */
|
|
14834
|
+
access_token?: string;
|
|
14835
|
+
/** Data format for response. */
|
|
14836
|
+
alt?: string;
|
|
14837
|
+
/** JSONP */
|
|
14838
|
+
callback?: string;
|
|
14839
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14840
|
+
fields?: string;
|
|
14841
|
+
/** 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. */
|
|
14842
|
+
filter?: string;
|
|
14843
|
+
/** 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. */
|
|
14844
|
+
key?: string;
|
|
14845
|
+
/** OAuth 2.0 token for the current user. */
|
|
14846
|
+
oauth_token?: string;
|
|
14847
|
+
/** 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. */
|
|
14848
|
+
pageSize?: number;
|
|
14849
|
+
/** 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. */
|
|
14850
|
+
pageToken?: string;
|
|
14851
|
+
/** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
14852
|
+
parent: string;
|
|
14853
|
+
/** Returns response with indentations and line breaks. */
|
|
14854
|
+
prettyPrint?: boolean;
|
|
14855
|
+
/** 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. */
|
|
14856
|
+
quotaUser?: string;
|
|
14857
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14858
|
+
upload_protocol?: string;
|
|
14859
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14860
|
+
uploadType?: string;
|
|
14861
|
+
}): Request<GoogleCloudDiscoveryengineV1ListUserLicensesResponse>;
|
|
14862
|
+
}
|
|
14863
|
+
interface UserStoresResource {
|
|
14864
|
+
/** Updates the User License. This method is used for batch assign/unassign licenses to users. */
|
|
14865
|
+
batchUpdateUserLicenses(request: {
|
|
14866
|
+
/** V1 error format. */
|
|
14867
|
+
'$.xgafv'?: string;
|
|
14868
|
+
/** OAuth access token. */
|
|
14869
|
+
access_token?: string;
|
|
14870
|
+
/** Data format for response. */
|
|
14871
|
+
alt?: string;
|
|
14872
|
+
/** JSONP */
|
|
14873
|
+
callback?: string;
|
|
14874
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14875
|
+
fields?: string;
|
|
14876
|
+
/** 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. */
|
|
14877
|
+
key?: string;
|
|
14878
|
+
/** OAuth 2.0 token for the current user. */
|
|
14879
|
+
oauth_token?: string;
|
|
14880
|
+
/** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
14881
|
+
parent: string;
|
|
14882
|
+
/** Returns response with indentations and line breaks. */
|
|
14883
|
+
prettyPrint?: boolean;
|
|
14884
|
+
/** 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. */
|
|
14885
|
+
quotaUser?: string;
|
|
14886
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14887
|
+
upload_protocol?: string;
|
|
14888
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14889
|
+
uploadType?: string;
|
|
14890
|
+
/** Request body */
|
|
14891
|
+
resource: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest;
|
|
14892
|
+
}): Request<GoogleLongrunningOperation>;
|
|
14893
|
+
batchUpdateUserLicenses(
|
|
14894
|
+
request: {
|
|
14895
|
+
/** V1 error format. */
|
|
14896
|
+
'$.xgafv'?: string;
|
|
14897
|
+
/** OAuth access token. */
|
|
14898
|
+
access_token?: string;
|
|
14899
|
+
/** Data format for response. */
|
|
14900
|
+
alt?: string;
|
|
14901
|
+
/** JSONP */
|
|
14902
|
+
callback?: string;
|
|
14903
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14904
|
+
fields?: string;
|
|
14905
|
+
/** 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. */
|
|
14906
|
+
key?: string;
|
|
14907
|
+
/** OAuth 2.0 token for the current user. */
|
|
14908
|
+
oauth_token?: string;
|
|
14909
|
+
/** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
14910
|
+
parent: string;
|
|
14911
|
+
/** Returns response with indentations and line breaks. */
|
|
14912
|
+
prettyPrint?: boolean;
|
|
14913
|
+
/** 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. */
|
|
14914
|
+
quotaUser?: string;
|
|
14915
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14916
|
+
upload_protocol?: string;
|
|
14917
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14918
|
+
uploadType?: string;
|
|
14919
|
+
},
|
|
14920
|
+
body: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest,
|
|
14921
|
+
): Request<GoogleLongrunningOperation>;
|
|
14922
|
+
userLicenses: UserLicensesResource;
|
|
14923
|
+
}
|
|
14744
14924
|
interface LocationsResource {
|
|
14745
14925
|
/** Gets the CmekConfig. */
|
|
14746
14926
|
getCmekConfig(request?: {
|
|
@@ -14840,6 +15020,7 @@ declare namespace gapi.client {
|
|
|
14840
15020
|
podcasts: PodcastsResource;
|
|
14841
15021
|
rankingConfigs: RankingConfigsResource;
|
|
14842
15022
|
userEvents: UserEventsResource;
|
|
15023
|
+
userStores: UserStoresResource;
|
|
14843
15024
|
}
|
|
14844
15025
|
interface OperationsResource {
|
|
14845
15026
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|