@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.4.20261111 → 0.4.20261117

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.
Files changed (2) hide show
  1. package/index.d.ts +154 -194
  2. 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=v1alpha
12
- // Revision: 20261111
12
+ // Revision: 20261117
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1551,14 +1551,6 @@ declare namespace gapi.client {
1551
1551
  /** If match by URI, the URI of the Document. */
1552
1552
  uri?: string;
1553
1553
  }
1554
- interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest {
1555
- /** Required. The UserAvailabilitys to update. Maximum of 1000 at a time: if more are passed in, returns INVALID_ARGUMENT. Batch is all or nothing; either all updates succeed or none. The `parent` field in each child request must either be empty, or match the `parent` field in the batch request. If there is a mismatch, that will also result in an INVALID_ARGUMENT being returned. */
1556
- requests?: GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest[];
1557
- }
1558
- interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse {
1559
- /** The updated UserAvailabilitys. */
1560
- userAvailabilities?: GoogleCloudDiscoveryengineV1alphaUserAvailability[];
1561
- }
1562
1554
  interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata {
1563
1555
  /** Operation create time. */
1564
1556
  createTime?: string;
@@ -4243,12 +4235,6 @@ declare namespace gapi.client {
4243
4235
  /** The total number of items matching the request. This will always be populated in the response. */
4244
4236
  totalSize?: number;
4245
4237
  }
4246
- interface GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse {
4247
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4248
- nextPageToken?: string;
4249
- /** The UserAvailabilitys matching the request. */
4250
- userAvailabilities?: GoogleCloudDiscoveryengineV1alphaUserAvailability[];
4251
- }
4252
4238
  interface GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse {
4253
4239
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4254
4240
  nextPageToken?: string;
@@ -4275,10 +4261,14 @@ declare namespace gapi.client {
4275
4261
  mode?: 'MODE_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
4276
4262
  }
4277
4263
  interface GoogleCloudDiscoveryengineV1alphaObservabilityConfig {
4264
+ /** Optional. The Cloud Storage bucket that agent artifacts are written to. Artifacts are the multi-modal content (e.g. generated images and files) that an agent produces while handling an invocation. Persisting them makes them available for inspection alongside the observability traces and logs emitted for the same invocation. This must be a bucket URI without an object path. Example value: `gs://my-observability-bucket`. The bucket must be owned by the same project as the resource, and the Gemini Enterprise service agent must be able to write to it. Otherwise an `INVALID_ARGUMENT` or `PERMISSION_DENIED` error is returned. If unset, artifacts are only held for the duration of the invocation and are not persisted. This field has no effect when set on a Project; setting it there returns an `INVALID_ARGUMENT` error. Configure it on an Engine or an Agent instead. When set on both, the agent-level value takes precedence. */
4265
+ artifactGcsBucket?: string;
4278
4266
  /** Optional. Enables observability. If `false`, all other flags are ignored. */
4279
4267
  observabilityEnabled?: boolean;
4280
4268
  /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. */
4281
4269
  sensitiveLoggingEnabled?: boolean;
4270
+ /** Optional. Logs the end user's identity on activity log entries even when `sensitive_logging_enabled` is `false`. Prompt and response content stays redacted. Has no effect when `sensitive_logging_enabled` is `true`. Setting this field on a Project returns an `INVALID_ARGUMENT` error. Configure it on an Engine or an Agent instead. */
4271
+ userPrincipalLoggingEnabled?: boolean;
4282
4272
  }
4283
4273
  interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest {
4284
4274
  /** Required. The scope of the crawl rate that the user wants to monitor. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
@@ -4473,6 +4463,8 @@ declare namespace gapi.client {
4473
4463
  dataUseTermsVersion?: string;
4474
4464
  /** Optional. The identity provider for this location. When provided, the location's AclConfig is set from it as part of provisioning. */
4475
4465
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
4466
+ /** Optional. Runs only the common project-level pre-provisioning steps (service agents, agent identity pools, project-scoped extension bindings, App Hub registry, Sobi agent default identity, and Sobi default Model Armor template) without reading or writing the Customer, Collection, or UserStore tables, CapabilityConfig, tenant project, default engine, or trial licenses when `true`. Assumes no customer exists yet. Customer-level or non-SOBI fields (`accept_data_use_terms`, `data_use_terms_version`, `saas_params`, `idp_config`, and `PROVISION_INTENT_LEGACY`) are rejected with `INVALID_ARGUMENT`, and the returned completed `Operation` has an empty response. */
4467
+ preProvisionMode?: boolean;
4476
4468
  /** Optional. The caller states whether the provisioning is for the new or the classic Gemini Enterprise experience. */
4477
4469
  provisionIntent?:
4478
4470
  | 'PROVISION_INTENT_UNSPECIFIED'
@@ -6132,6 +6124,23 @@ declare namespace gapi.client {
6132
6124
  /** Required. Total non-zero value associated with the transaction. This value may include shipping, tax, or other adjustments to the total value that you want to include. */
6133
6125
  value?: number;
6134
6126
  }
6127
+ interface GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest {
6128
+ /** Optional. Transfers ownership to the caller. */
6129
+ currentUser?: any;
6130
+ /** Optional. What happens to the previous owner after the transfer. If unspecified, the previous owner is removed and loses access. */
6131
+ previousOwnerDisposition?:
6132
+ | 'PREVIOUS_OWNER_DISPOSITION_UNSPECIFIED'
6133
+ | 'REMOVE'
6134
+ | 'KEEP_AS_AGENT_USER';
6135
+ /** Optional. Transfers ownership to a specific principal. */
6136
+ targetPrincipal?: GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequestTransferToTargetPrincipal;
6137
+ }
6138
+ interface GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequestTransferToCurrentUser {}
6139
+ interface GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequestTransferToTargetPrincipal {
6140
+ /** Required. The new owner, as an IAM member string. Use `user:` for Google identities (e.g. `user:alice@example.com`); use `principal://` for workforce identity federation principals. The new owner must be an individual user who has signed in to the app and has a license that allows creating agents. Groups and service accounts are not supported. */
6141
+ principal?: string;
6142
+ }
6143
+ interface GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse {}
6135
6144
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata {
6136
6145
  /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
6137
6146
  engine?: string;
@@ -6168,24 +6177,6 @@ declare namespace gapi.client {
6168
6177
  /** Operation last update time. If the operation is done, this is also the finish time. */
6169
6178
  updateTime?: string;
6170
6179
  }
6171
- interface GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest {
6172
- /** Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
6173
- parent?: string;
6174
- /** Optional. The list of fields to update. Only 'state' is supported; if unset, defaults to 'state'. */
6175
- updateMask?: string;
6176
- /** Required. The UserAvailability to update. */
6177
- userAvailability?: GoogleCloudDiscoveryengineV1alphaUserAvailability;
6178
- }
6179
- interface GoogleCloudDiscoveryengineV1alphaUserAvailability {
6180
- /** Optional. Deprecated: use `update_time` only. */
6181
- observeTime?: string;
6182
- /** Optional. Whether the user can currently use the resource. Set by the caller on update. If unspecified, defaults to `ACTIVE`. */
6183
- state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
6184
- /** Output only. Timestamp when the most recent update to `state` was saved. */
6185
- updateTime?: string;
6186
- /** Required. Immutable. User principal (IdP subject for Workforce Identity, email for Google sign-in). */
6187
- userPrincipal?: string;
6188
- }
6189
6180
  interface GoogleCloudDiscoveryengineV1alphaUserEvent {
6190
6181
  /** Optional. Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways. */
6191
6182
  attributes?: {
@@ -6288,6 +6279,13 @@ declare namespace gapi.client {
6288
6279
  /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
6289
6280
  name?: string;
6290
6281
  }
6282
+ interface GoogleCloudDiscoveryengineV1alphaValidateUserAuthorizationRequest {
6283
+ /** Required. The downstream connector (auth provider) resource name from the consent redirect (`auth_provider_name`). Named `downstream_connector` to disambiguate from the "connector" in the remote agent. */
6284
+ downstreamConnector?: string;
6285
+ /** Required. The opaque, encrypted validation state returned by Auth Manager in the consent redirect. Forwarded verbatim to FinalizeCredentials. */
6286
+ userIdValidationState?: string;
6287
+ }
6288
+ interface GoogleCloudDiscoveryengineV1alphaValidateUserAuthorizationResponse {}
6291
6289
  interface GoogleCloudDiscoveryengineV1alphaVideoCharacteristics {
6292
6290
  /** Output only. Bitrate of the audio in kbps. */
6293
6291
  audioBitrateKbps?: number;
@@ -12511,23 +12509,22 @@ declare namespace gapi.client {
12511
12509
  alt?: 'json' | 'media' | 'proto';
12512
12510
  /** JSONP */
12513
12511
  callback?: string;
12514
- collectionsId: string;
12512
+ /** Selector specifying which fields to include in a partial response. */
12513
+ fields?: string;
12515
12514
  /** The HTTP Content-Type header value specifying the content type of the body. */
12516
- contentType?: string;
12515
+ 'httpBody.contentType'?: string;
12517
12516
  /** The HTTP request/response body as raw binary. */
12518
- data?: string;
12517
+ 'httpBody.data'?: string;
12519
12518
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
12520
- extensions?: {[P in string]: any};
12521
- /** Selector specifying which fields to include in a partial response. */
12522
- fields?: string;
12519
+ 'httpBody.extensions'?: {[P in string]: any};
12523
12520
  /** 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. */
12524
12521
  key?: string;
12525
- locationsId: string;
12522
+ /** Required. The DataConnector the MCP request is for. Format: `projects/{project}/locations/{location}/collections/{collection}/dataConnector` */
12523
+ name: string;
12526
12524
  /** OAuth 2.0 token for the current user. */
12527
12525
  oauth_token?: string;
12528
12526
  /** Returns response with indentations and line breaks. */
12529
12527
  prettyPrint?: boolean;
12530
- projectsId: string;
12531
12528
  /** 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. */
12532
12529
  quotaUser?: string;
12533
12530
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -18544,6 +18541,64 @@ declare namespace gapi.client {
18544
18541
  },
18545
18542
  body: GoogleCloudDiscoveryengineV1alphaAgent,
18546
18543
  ): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
18544
+ /** Transfers ownership of an Agent to a new owner. The new owner becomes the agent's only owner. The previous owner loses access unless `previous_owner_disposition` keeps them as a user. The previous owner's schedules and event triggers on the agent are disabled (their configuration stays on the agent), and the new owner is notified. Requires the `discoveryengine.agents.manage` permission on the agent. Private agents cannot be transferred. A failed call can be retried with the same request; the retry completes the transfer. */
18545
+ transferAgentOwner(request: {
18546
+ /** V1 error format. */
18547
+ '$.xgafv'?: '1' | '2';
18548
+ /** OAuth access token. */
18549
+ access_token?: string;
18550
+ /** Data format for response. */
18551
+ alt?: 'json' | 'media' | 'proto';
18552
+ /** JSONP */
18553
+ callback?: string;
18554
+ /** Selector specifying which fields to include in a partial response. */
18555
+ fields?: string;
18556
+ /** 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. */
18557
+ key?: string;
18558
+ /** Required. The name of the Agent whose ownership is being transferred. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
18559
+ name: string;
18560
+ /** OAuth 2.0 token for the current user. */
18561
+ oauth_token?: string;
18562
+ /** Returns response with indentations and line breaks. */
18563
+ prettyPrint?: boolean;
18564
+ /** 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. */
18565
+ quotaUser?: string;
18566
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18567
+ upload_protocol?: string;
18568
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18569
+ uploadType?: string;
18570
+ /** Request body */
18571
+ resource: GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest;
18572
+ }): Request<{}>;
18573
+ transferAgentOwner(
18574
+ request: {
18575
+ /** V1 error format. */
18576
+ '$.xgafv'?: '1' | '2';
18577
+ /** OAuth access token. */
18578
+ access_token?: string;
18579
+ /** Data format for response. */
18580
+ alt?: 'json' | 'media' | 'proto';
18581
+ /** JSONP */
18582
+ callback?: string;
18583
+ /** Selector specifying which fields to include in a partial response. */
18584
+ fields?: string;
18585
+ /** 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. */
18586
+ key?: string;
18587
+ /** Required. The name of the Agent whose ownership is being transferred. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
18588
+ name: string;
18589
+ /** OAuth 2.0 token for the current user. */
18590
+ oauth_token?: string;
18591
+ /** Returns response with indentations and line breaks. */
18592
+ prettyPrint?: boolean;
18593
+ /** 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. */
18594
+ quotaUser?: string;
18595
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18596
+ upload_protocol?: string;
18597
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18598
+ uploadType?: string;
18599
+ },
18600
+ body: GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest,
18601
+ ): Request<{}>;
18547
18602
  files: {
18548
18603
  /** Imports a file to an Agent. Currently only No-Code agents are supported. */
18549
18604
  import(request: {
@@ -20229,6 +20284,64 @@ declare namespace gapi.client {
20229
20284
  },
20230
20285
  body: GoogleCloudDiscoveryengineV1alphaSession,
20231
20286
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
20287
+ /** Validates an A2A 3-legged-OAuth (3LO) downstream-auth consent flow after the user returns from the third-party consent screen, and finalizes the downstream credential with Auth Manager. */
20288
+ validateUserAuthorization(request: {
20289
+ /** V1 error format. */
20290
+ '$.xgafv'?: '1' | '2';
20291
+ /** OAuth access token. */
20292
+ access_token?: string;
20293
+ /** Data format for response. */
20294
+ alt?: 'json' | 'media' | 'proto';
20295
+ /** JSONP */
20296
+ callback?: string;
20297
+ /** Selector specifying which fields to include in a partial response. */
20298
+ fields?: string;
20299
+ /** 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. */
20300
+ key?: string;
20301
+ /** OAuth 2.0 token for the current user. */
20302
+ oauth_token?: string;
20303
+ /** Returns response with indentations and line breaks. */
20304
+ prettyPrint?: boolean;
20305
+ /** 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. */
20306
+ quotaUser?: string;
20307
+ /** Required. The resource name of the assist Session that initiated the consent flow. Used together with `downstream_connector` to recover the server-stored `consent_nonce`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
20308
+ session: string;
20309
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20310
+ upload_protocol?: string;
20311
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20312
+ uploadType?: string;
20313
+ /** Request body */
20314
+ resource: GoogleCloudDiscoveryengineV1alphaValidateUserAuthorizationRequest;
20315
+ }): Request<{}>;
20316
+ validateUserAuthorization(
20317
+ request: {
20318
+ /** V1 error format. */
20319
+ '$.xgafv'?: '1' | '2';
20320
+ /** OAuth access token. */
20321
+ access_token?: string;
20322
+ /** Data format for response. */
20323
+ alt?: 'json' | 'media' | 'proto';
20324
+ /** JSONP */
20325
+ callback?: string;
20326
+ /** Selector specifying which fields to include in a partial response. */
20327
+ fields?: string;
20328
+ /** 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. */
20329
+ key?: string;
20330
+ /** OAuth 2.0 token for the current user. */
20331
+ oauth_token?: string;
20332
+ /** Returns response with indentations and line breaks. */
20333
+ prettyPrint?: boolean;
20334
+ /** 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. */
20335
+ quotaUser?: string;
20336
+ /** Required. The resource name of the assist Session that initiated the consent flow. Used together with `downstream_connector` to recover the server-stored `consent_nonce`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
20337
+ session: string;
20338
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20339
+ upload_protocol?: string;
20340
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20341
+ uploadType?: string;
20342
+ },
20343
+ body: GoogleCloudDiscoveryengineV1alphaValidateUserAuthorizationRequest,
20344
+ ): Request<{}>;
20232
20345
  alphaEvolveExperiments: {
20233
20346
  /** Acquires one or more AlphaEvolveProgram from the generated queue of programs for evaluation. */
20234
20347
  acquirePrograms(request: {
@@ -27590,159 +27703,6 @@ declare namespace gapi.client {
27590
27703
  uploadType?: string;
27591
27704
  }): Request<GoogleLongrunningListOperationsResponse>;
27592
27705
  };
27593
- userAvailabilities: {
27594
- /** Updates multiple UserAvailabilitys. */
27595
- batchUpdate(request: {
27596
- /** V1 error format. */
27597
- '$.xgafv'?: '1' | '2';
27598
- /** OAuth access token. */
27599
- access_token?: string;
27600
- /** Data format for response. */
27601
- alt?: 'json' | 'media' | 'proto';
27602
- /** JSONP */
27603
- callback?: string;
27604
- /** Selector specifying which fields to include in a partial response. */
27605
- fields?: string;
27606
- /** 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. */
27607
- key?: string;
27608
- /** OAuth 2.0 token for the current user. */
27609
- oauth_token?: string;
27610
- /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
27611
- parent: string;
27612
- /** Returns response with indentations and line breaks. */
27613
- prettyPrint?: boolean;
27614
- /** 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. */
27615
- quotaUser?: string;
27616
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27617
- upload_protocol?: string;
27618
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27619
- uploadType?: string;
27620
- /** Request body */
27621
- resource: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest;
27622
- }): Request<GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse>;
27623
- batchUpdate(
27624
- request: {
27625
- /** V1 error format. */
27626
- '$.xgafv'?: '1' | '2';
27627
- /** OAuth access token. */
27628
- access_token?: string;
27629
- /** Data format for response. */
27630
- alt?: 'json' | 'media' | 'proto';
27631
- /** JSONP */
27632
- callback?: string;
27633
- /** Selector specifying which fields to include in a partial response. */
27634
- fields?: string;
27635
- /** 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. */
27636
- key?: string;
27637
- /** OAuth 2.0 token for the current user. */
27638
- oauth_token?: string;
27639
- /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
27640
- parent: string;
27641
- /** Returns response with indentations and line breaks. */
27642
- prettyPrint?: boolean;
27643
- /** 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. */
27644
- quotaUser?: string;
27645
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27646
- upload_protocol?: string;
27647
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27648
- uploadType?: string;
27649
- },
27650
- body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest,
27651
- ): Request<GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse>;
27652
- /** Lists the UserAvailabilitys. */
27653
- list(request?: {
27654
- /** V1 error format. */
27655
- '$.xgafv'?: '1' | '2';
27656
- /** OAuth access token. */
27657
- access_token?: string;
27658
- /** Data format for response. */
27659
- alt?: 'json' | 'media' | 'proto';
27660
- /** JSONP */
27661
- callback?: string;
27662
- /** Selector specifying which fields to include in a partial response. */
27663
- fields?: string;
27664
- /** Optional. Filter for the list request. Supported fields (only `user_principal` is supported for now): * `user_principal` (will be normalized for matching) Examples: * `user_principal = "user1@example.com"` to list user availability for `user1@example.com`. */
27665
- filter?: string;
27666
- /** 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. */
27667
- key?: string;
27668
- /** OAuth 2.0 token for the current user. */
27669
- oauth_token?: string;
27670
- /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
27671
- pageSize?: number;
27672
- /** Optional. A page token, received from a previous `ListUserAvailabilities` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserAvailabilities` must match the call that provided the page token. */
27673
- pageToken?: string;
27674
- /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
27675
- parent: string;
27676
- /** Returns response with indentations and line breaks. */
27677
- prettyPrint?: boolean;
27678
- /** 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. */
27679
- quotaUser?: string;
27680
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27681
- upload_protocol?: string;
27682
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27683
- uploadType?: string;
27684
- }): Request<GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse>;
27685
- };
27686
- userAvailability: {
27687
- /** Updates a UserAvailability. */
27688
- update(request: {
27689
- /** V1 error format. */
27690
- '$.xgafv'?: '1' | '2';
27691
- /** OAuth access token. */
27692
- access_token?: string;
27693
- /** Data format for response. */
27694
- alt?: 'json' | 'media' | 'proto';
27695
- /** JSONP */
27696
- callback?: string;
27697
- /** Selector specifying which fields to include in a partial response. */
27698
- fields?: string;
27699
- /** 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. */
27700
- key?: string;
27701
- /** OAuth 2.0 token for the current user. */
27702
- oauth_token?: string;
27703
- /** Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
27704
- parent: string;
27705
- /** Returns response with indentations and line breaks. */
27706
- prettyPrint?: boolean;
27707
- /** 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. */
27708
- quotaUser?: string;
27709
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27710
- upload_protocol?: string;
27711
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27712
- uploadType?: string;
27713
- /** Request body */
27714
- resource: GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest;
27715
- }): Request<GoogleCloudDiscoveryengineV1alphaUserAvailability>;
27716
- update(
27717
- request: {
27718
- /** V1 error format. */
27719
- '$.xgafv'?: '1' | '2';
27720
- /** OAuth access token. */
27721
- access_token?: string;
27722
- /** Data format for response. */
27723
- alt?: 'json' | 'media' | 'proto';
27724
- /** JSONP */
27725
- callback?: string;
27726
- /** Selector specifying which fields to include in a partial response. */
27727
- fields?: string;
27728
- /** 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. */
27729
- key?: string;
27730
- /** OAuth 2.0 token for the current user. */
27731
- oauth_token?: string;
27732
- /** Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
27733
- parent: string;
27734
- /** Returns response with indentations and line breaks. */
27735
- prettyPrint?: boolean;
27736
- /** 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. */
27737
- quotaUser?: string;
27738
- /** Upload protocol for media (e.g. "raw", "multipart"). */
27739
- upload_protocol?: string;
27740
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27741
- uploadType?: string;
27742
- },
27743
- body: GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest,
27744
- ): Request<GoogleCloudDiscoveryengineV1alphaUserAvailability>;
27745
- };
27746
27706
  userLicenses: {
27747
27707
  /** Exports all the UserLicenses under the parent UserStore as a single CSV document. This is the backend for the admin console "Download as CSV" action: it reuses the ListUserLicenses read path so admins can sort/filter offline in Excel or Sheets. The response carries the full CSV (header row followed by data rows) inline in ExportUserLicensesResponse.csv_data. */
27748
27708
  export(request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.4.20261111",
3
+ "version": "0.4.20261117",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",