@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20261102 → 0.3.20261106

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 +350 -6
  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: 20261102
12
+ // Revision: 20261106
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1546,6 +1546,14 @@ declare namespace gapi.client {
1546
1546
  /** If match by URI, the URI of the Document. */
1547
1547
  uri?: string;
1548
1548
  }
1549
+ interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest {
1550
+ /** 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. */
1551
+ requests?: GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest[];
1552
+ }
1553
+ interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse {
1554
+ /** The updated UserAvailabilitys. */
1555
+ userAvailabilities?: GoogleCloudDiscoveryengineV1alphaUserAvailability[];
1556
+ }
1549
1557
  interface GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata {
1550
1558
  /** Operation create time. */
1551
1559
  createTime?: string;
@@ -1761,6 +1769,23 @@ declare namespace gapi.client {
1761
1769
  /** Required. The text of the suggested prompt. */
1762
1770
  promptText?: string;
1763
1771
  }
1772
+ interface GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersRequest {
1773
+ /** Required. The members to check, in the form a policy takes them. At least 1 and at most 100. `verification` is ignored. */
1774
+ members?: GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember[];
1775
+ }
1776
+ interface GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponse {
1777
+ /** Where the project's groups are looked up. */
1778
+ directorySource?:
1779
+ 'DIRECTORY_SOURCE_UNSPECIFIED' | 'GOOGLE' | 'SCIM' | 'NONE';
1780
+ /** One result per requested member, in request order. Members are checked independently, so two emails for the same Google group both pass. */
1781
+ memberChecks?: GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponseMemberCheck[];
1782
+ }
1783
+ interface GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponseMemberCheck {
1784
+ /** The member as EngineService.UpdateEngine would save it: `id` normalized, `display_name` taken from the directory when it has one, and `verification` set. Echoes the request's member when `status` is an INVALID_ARGUMENT from the member's format. */
1785
+ member?: GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember;
1786
+ /** OK when the member is valid and, for a group, in the directory. Otherwise INVALID_ARGUMENT for a malformed member or a group the directory doesn't have, and UNAVAILABLE for a Google group the directory couldn't be asked about. EngineService.UpdateEngine fails on all of these, except that it leaves out an allowed group the directory doesn't have, saves the other members, and lists the group in Engine.feature_policy_rejections. */
1787
+ status?: GoogleRpcStatus;
1788
+ }
1764
1789
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest {
1765
1790
  /** Answer candidate to check. It can have a maximum length of 4096 tokens. */
1766
1791
  answerCandidate?: string;
@@ -3033,7 +3058,11 @@ declare namespace gapi.client {
3033
3058
  | 'FEATURE_STATE_ON'
3034
3059
  | 'FEATURE_STATE_OFF';
3035
3060
  };
3036
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-agents` */
3061
+ /** Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature with no entry is available to every user when it is on. Only features that support access policies are accepted. */
3062
+ featurePolicies?: {
3063
+ [P in string]: GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicy;
3064
+ };
3065
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins` */
3037
3066
  features?: {
3038
3067
  [P in string]:
3039
3068
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -3120,6 +3149,29 @@ declare namespace gapi.client {
3120
3149
  /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
3121
3150
  companyName?: string;
3122
3151
  }
3152
+ interface GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicy {
3153
+ /** Optional. Members who may use the feature. */
3154
+ allowedMembers?: GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember[];
3155
+ /** Optional. Access for users who match neither list. */
3156
+ defaultAccess?: 'DEFAULT_ACCESS_UNSPECIFIED' | 'ALLOW' | 'DENY';
3157
+ /** Optional. Members who may not use the feature. Takes precedence over `allowed_members`. */
3158
+ deniedMembers?: GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember[];
3159
+ }
3160
+ interface GoogleCloudDiscoveryengineV1alphaEngineFeaturePolicyMember {
3161
+ /** Optional. Label shown in the console. Never used for evaluation. */
3162
+ displayName?: string;
3163
+ /** Required. Identifier evaluated at serving time. Its format depends on the project's identity provider: * Google identity (`GSUITE`): the group or user email. For groups, the server resolves the email to a group ID on write and returns the email on read. * Workforce Identity Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity subject. */
3164
+ id?: string;
3165
+ /** Required. Kind of member. */
3166
+ type?: 'TYPE_UNSPECIFIED' | 'USER' | 'GROUP';
3167
+ /** Output only. Result of the server's directory check when the member was saved. */
3168
+ verification?:
3169
+ | 'VERIFICATION_UNSPECIFIED'
3170
+ | 'VERIFIED'
3171
+ | 'NOT_FOUND'
3172
+ | 'NOT_VERIFIABLE'
3173
+ | 'CHECK_FAILED';
3174
+ }
3123
3175
  interface GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig {
3124
3176
  /** Specify entity types to support. */
3125
3177
  cloudKnowledgeGraphTypes?: string[];
@@ -4180,6 +4232,12 @@ declare namespace gapi.client {
4180
4232
  /** The total number of items matching the request. This will always be populated in the response. */
4181
4233
  totalSize?: number;
4182
4234
  }
4235
+ interface GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse {
4236
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4237
+ nextPageToken?: string;
4238
+ /** The UserAvailabilitys matching the request. */
4239
+ userAvailabilities?: GoogleCloudDiscoveryengineV1alphaUserAvailability[];
4240
+ }
4183
4241
  interface GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse {
4184
4242
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4185
4243
  nextPageToken?: string;
@@ -6097,6 +6155,24 @@ declare namespace gapi.client {
6097
6155
  /** Operation last update time. If the operation is done, this is also the finish time. */
6098
6156
  updateTime?: string;
6099
6157
  }
6158
+ interface GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest {
6159
+ /** Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
6160
+ parent?: string;
6161
+ /** Optional. The list of fields to update. Only 'state' is supported; if unset, defaults to 'state'. */
6162
+ updateMask?: string;
6163
+ /** Required. The UserAvailability to update. */
6164
+ userAvailability?: GoogleCloudDiscoveryengineV1alphaUserAvailability;
6165
+ }
6166
+ interface GoogleCloudDiscoveryengineV1alphaUserAvailability {
6167
+ /** Optional. Deprecated: use `update_time` only. */
6168
+ observeTime?: string;
6169
+ /** Optional. Whether the user can currently use the resource. Set by the caller on update. If unspecified, defaults to `ACTIVE`. */
6170
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
6171
+ /** Output only. Timestamp when the most recent update to `state` was saved. */
6172
+ updateTime?: string;
6173
+ /** Required. Immutable. User principal (IdP subject for Workforce Identity, email for Google sign-in). */
6174
+ userPrincipal?: string;
6175
+ }
6100
6176
  interface GoogleCloudDiscoveryengineV1alphaUserEvent {
6101
6177
  /** 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. */
6102
6178
  attributes?: {
@@ -6396,7 +6472,8 @@ declare namespace gapi.client {
6396
6472
  | 'COMPLIANCE_LEVEL_UNSPECIFIED'
6397
6473
  | 'COMPLIANCE_LEVEL_FEDRAMP_HIGH'
6398
6474
  | 'COMPLIANCE_LEVEL_IL4'
6399
- | 'COMPLIANCE_LEVEL_IL5';
6475
+ | 'COMPLIANCE_LEVEL_IL5'
6476
+ | 'COMPLIANCE_LEVEL_ITAR';
6400
6477
  /** Customer type. */
6401
6478
  customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
6402
6479
  }
@@ -6519,7 +6596,7 @@ declare namespace gapi.client {
6519
6596
  enableSearchAsYouType?: boolean;
6520
6597
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
6521
6598
  enableVisualContentSummary?: boolean;
6522
- /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-agents` */
6599
+ /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins` */
6523
6600
  features?: {
6524
6601
  [P in string]:
6525
6602
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7332,7 +7409,11 @@ declare namespace gapi.client {
7332
7409
  | 'FEATURE_STATE_ON'
7333
7410
  | 'FEATURE_STATE_OFF';
7334
7411
  };
7335
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-agents` */
7412
+ /** Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature with no entry is available to every user when it is on. Only features that support access policies are accepted. */
7413
+ featurePolicies?: {
7414
+ [P in string]: GoogleCloudDiscoveryengineV1betaEngineFeaturePolicy;
7415
+ };
7416
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins` */
7336
7417
  features?: {
7337
7418
  [P in string]:
7338
7419
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -7415,6 +7496,29 @@ declare namespace gapi.client {
7415
7496
  /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
7416
7497
  companyName?: string;
7417
7498
  }
7499
+ interface GoogleCloudDiscoveryengineV1betaEngineFeaturePolicy {
7500
+ /** Optional. Members who may use the feature. */
7501
+ allowedMembers?: GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember[];
7502
+ /** Optional. Access for users who match neither list. */
7503
+ defaultAccess?: 'DEFAULT_ACCESS_UNSPECIFIED' | 'ALLOW' | 'DENY';
7504
+ /** Optional. Members who may not use the feature. Takes precedence over `allowed_members`. */
7505
+ deniedMembers?: GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember[];
7506
+ }
7507
+ interface GoogleCloudDiscoveryengineV1betaEngineFeaturePolicyMember {
7508
+ /** Optional. Label shown in the console. Never used for evaluation. */
7509
+ displayName?: string;
7510
+ /** Required. Identifier evaluated at serving time. Its format depends on the project's identity provider: * Google identity (`GSUITE`): the group or user email. For groups, the server resolves the email to a group ID on write and returns the email on read. * Workforce Identity Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity subject. */
7511
+ id?: string;
7512
+ /** Required. Kind of member. */
7513
+ type?: 'TYPE_UNSPECIFIED' | 'USER' | 'GROUP';
7514
+ /** Output only. Result of the server's directory check when the member was saved. */
7515
+ verification?:
7516
+ | 'VERIFICATION_UNSPECIFIED'
7517
+ | 'VERIFIED'
7518
+ | 'NOT_FOUND'
7519
+ | 'NOT_VERIFIABLE'
7520
+ | 'CHECK_FAILED';
7521
+ }
7418
7522
  interface GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig {
7419
7523
  /** Specify entity types to support. */
7420
7524
  cloudKnowledgeGraphTypes?: string[];
@@ -9203,7 +9307,11 @@ declare namespace gapi.client {
9203
9307
  | 'FEATURE_STATE_ON'
9204
9308
  | 'FEATURE_STATE_OFF';
9205
9309
  };
9206
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-agents` */
9310
+ /** Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature with no entry is available to every user when it is on. Only features that support access policies are accepted. */
9311
+ featurePolicies?: {
9312
+ [P in string]: GoogleCloudDiscoveryengineV1EngineFeaturePolicy;
9313
+ };
9314
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-marketplace` * `agent-scheduling` * `preview-agents` * `plugins` */
9207
9315
  features?: {
9208
9316
  [P in string]:
9209
9317
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -9286,6 +9394,29 @@ declare namespace gapi.client {
9286
9394
  /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
9287
9395
  companyName?: string;
9288
9396
  }
9397
+ interface GoogleCloudDiscoveryengineV1EngineFeaturePolicy {
9398
+ /** Optional. Members who may use the feature. */
9399
+ allowedMembers?: GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember[];
9400
+ /** Optional. Access for users who match neither list. */
9401
+ defaultAccess?: 'DEFAULT_ACCESS_UNSPECIFIED' | 'ALLOW' | 'DENY';
9402
+ /** Optional. Members who may not use the feature. Takes precedence over `allowed_members`. */
9403
+ deniedMembers?: GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember[];
9404
+ }
9405
+ interface GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember {
9406
+ /** Optional. Label shown in the console. Never used for evaluation. */
9407
+ displayName?: string;
9408
+ /** Required. Identifier evaluated at serving time. Its format depends on the project's identity provider: * Google identity (`GSUITE`): the group or user email. For groups, the server resolves the email to a group ID on write and returns the email on read. * Workforce Identity Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity subject. */
9409
+ id?: string;
9410
+ /** Required. Kind of member. */
9411
+ type?: 'TYPE_UNSPECIFIED' | 'USER' | 'GROUP';
9412
+ /** Output only. Result of the server's directory check when the member was saved. */
9413
+ verification?:
9414
+ | 'VERIFICATION_UNSPECIFIED'
9415
+ | 'VERIFIED'
9416
+ | 'NOT_FOUND'
9417
+ | 'NOT_VERIFIABLE'
9418
+ | 'CHECK_FAILED';
9419
+ }
9289
9420
  interface GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig {
9290
9421
  /** Specify entity types to support. */
9291
9422
  cloudKnowledgeGraphTypes?: string[];
@@ -19037,6 +19168,64 @@ declare namespace gapi.client {
19037
19168
  ): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
19038
19169
  }
19039
19170
  interface EnginesResource {
19171
+ /** Checks members for Engine.feature_policies against the project's directory, as EngineService.UpdateEngine does when it saves them, and saves nothing. */
19172
+ checkFeaturePolicyMembers(request: {
19173
+ /** V1 error format. */
19174
+ '$.xgafv'?: '1' | '2';
19175
+ /** OAuth access token. */
19176
+ access_token?: string;
19177
+ /** Data format for response. */
19178
+ alt?: 'json' | 'media' | 'proto';
19179
+ /** JSONP */
19180
+ callback?: string;
19181
+ /** Selector specifying which fields to include in a partial response. */
19182
+ fields?: string;
19183
+ /** 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. */
19184
+ key?: string;
19185
+ /** Required. The engine resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
19186
+ name: string;
19187
+ /** OAuth 2.0 token for the current user. */
19188
+ oauth_token?: string;
19189
+ /** Returns response with indentations and line breaks. */
19190
+ prettyPrint?: boolean;
19191
+ /** 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. */
19192
+ quotaUser?: string;
19193
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19194
+ upload_protocol?: string;
19195
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19196
+ uploadType?: string;
19197
+ /** Request body */
19198
+ resource: GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersRequest;
19199
+ }): Request<GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponse>;
19200
+ checkFeaturePolicyMembers(
19201
+ request: {
19202
+ /** V1 error format. */
19203
+ '$.xgafv'?: '1' | '2';
19204
+ /** OAuth access token. */
19205
+ access_token?: string;
19206
+ /** Data format for response. */
19207
+ alt?: 'json' | 'media' | 'proto';
19208
+ /** JSONP */
19209
+ callback?: string;
19210
+ /** Selector specifying which fields to include in a partial response. */
19211
+ fields?: string;
19212
+ /** 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. */
19213
+ key?: string;
19214
+ /** Required. The engine resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
19215
+ name: string;
19216
+ /** OAuth 2.0 token for the current user. */
19217
+ oauth_token?: string;
19218
+ /** Returns response with indentations and line breaks. */
19219
+ prettyPrint?: boolean;
19220
+ /** 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. */
19221
+ quotaUser?: string;
19222
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19223
+ upload_protocol?: string;
19224
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19225
+ uploadType?: string;
19226
+ },
19227
+ body: GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersRequest,
19228
+ ): Request<GoogleCloudDiscoveryengineV1alphaCheckFeaturePolicyMembersResponse>;
19040
19229
  /** Creates an Engine. */
19041
19230
  create(request: {
19042
19231
  /** V1 error format. */
@@ -26414,6 +26603,159 @@ declare namespace gapi.client {
26414
26603
  uploadType?: string;
26415
26604
  }): Request<GoogleLongrunningListOperationsResponse>;
26416
26605
  }
26606
+ interface UserAvailabilitiesResource {
26607
+ /** Updates multiple UserAvailabilitys. */
26608
+ batchUpdate(request: {
26609
+ /** V1 error format. */
26610
+ '$.xgafv'?: '1' | '2';
26611
+ /** OAuth access token. */
26612
+ access_token?: string;
26613
+ /** Data format for response. */
26614
+ alt?: 'json' | 'media' | 'proto';
26615
+ /** JSONP */
26616
+ callback?: string;
26617
+ /** Selector specifying which fields to include in a partial response. */
26618
+ fields?: string;
26619
+ /** 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. */
26620
+ key?: string;
26621
+ /** OAuth 2.0 token for the current user. */
26622
+ oauth_token?: string;
26623
+ /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
26624
+ parent: string;
26625
+ /** Returns response with indentations and line breaks. */
26626
+ prettyPrint?: boolean;
26627
+ /** 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. */
26628
+ quotaUser?: string;
26629
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26630
+ upload_protocol?: string;
26631
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26632
+ uploadType?: string;
26633
+ /** Request body */
26634
+ resource: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest;
26635
+ }): Request<GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse>;
26636
+ batchUpdate(
26637
+ request: {
26638
+ /** V1 error format. */
26639
+ '$.xgafv'?: '1' | '2';
26640
+ /** OAuth access token. */
26641
+ access_token?: string;
26642
+ /** Data format for response. */
26643
+ alt?: 'json' | 'media' | 'proto';
26644
+ /** JSONP */
26645
+ callback?: string;
26646
+ /** Selector specifying which fields to include in a partial response. */
26647
+ fields?: string;
26648
+ /** 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. */
26649
+ key?: string;
26650
+ /** OAuth 2.0 token for the current user. */
26651
+ oauth_token?: string;
26652
+ /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
26653
+ parent: string;
26654
+ /** Returns response with indentations and line breaks. */
26655
+ prettyPrint?: boolean;
26656
+ /** 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. */
26657
+ quotaUser?: string;
26658
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26659
+ upload_protocol?: string;
26660
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26661
+ uploadType?: string;
26662
+ },
26663
+ body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesRequest,
26664
+ ): Request<GoogleCloudDiscoveryengineV1alphaBatchUpdateUserAvailabilitiesResponse>;
26665
+ /** Lists the UserAvailabilitys. */
26666
+ list(request?: {
26667
+ /** V1 error format. */
26668
+ '$.xgafv'?: '1' | '2';
26669
+ /** OAuth access token. */
26670
+ access_token?: string;
26671
+ /** Data format for response. */
26672
+ alt?: 'json' | 'media' | 'proto';
26673
+ /** JSONP */
26674
+ callback?: string;
26675
+ /** Selector specifying which fields to include in a partial response. */
26676
+ fields?: string;
26677
+ /** 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`. */
26678
+ filter?: string;
26679
+ /** 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. */
26680
+ key?: string;
26681
+ /** OAuth 2.0 token for the current user. */
26682
+ oauth_token?: string;
26683
+ /** 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. */
26684
+ pageSize?: number;
26685
+ /** 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. */
26686
+ pageToken?: string;
26687
+ /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
26688
+ parent: string;
26689
+ /** Returns response with indentations and line breaks. */
26690
+ prettyPrint?: boolean;
26691
+ /** 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. */
26692
+ quotaUser?: string;
26693
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26694
+ upload_protocol?: string;
26695
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26696
+ uploadType?: string;
26697
+ }): Request<GoogleCloudDiscoveryengineV1alphaListUserAvailabilitiesResponse>;
26698
+ }
26699
+ interface UserAvailabilityResource {
26700
+ /** Updates a UserAvailability. */
26701
+ update(request: {
26702
+ /** V1 error format. */
26703
+ '$.xgafv'?: '1' | '2';
26704
+ /** OAuth access token. */
26705
+ access_token?: string;
26706
+ /** Data format for response. */
26707
+ alt?: 'json' | 'media' | 'proto';
26708
+ /** JSONP */
26709
+ callback?: string;
26710
+ /** Selector specifying which fields to include in a partial response. */
26711
+ fields?: string;
26712
+ /** 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. */
26713
+ key?: string;
26714
+ /** OAuth 2.0 token for the current user. */
26715
+ oauth_token?: string;
26716
+ /** Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
26717
+ parent: string;
26718
+ /** Returns response with indentations and line breaks. */
26719
+ prettyPrint?: boolean;
26720
+ /** 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. */
26721
+ quotaUser?: string;
26722
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26723
+ upload_protocol?: string;
26724
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26725
+ uploadType?: string;
26726
+ /** Request body */
26727
+ resource: GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest;
26728
+ }): Request<GoogleCloudDiscoveryengineV1alphaUserAvailability>;
26729
+ update(
26730
+ request: {
26731
+ /** V1 error format. */
26732
+ '$.xgafv'?: '1' | '2';
26733
+ /** OAuth access token. */
26734
+ access_token?: string;
26735
+ /** Data format for response. */
26736
+ alt?: 'json' | 'media' | 'proto';
26737
+ /** JSONP */
26738
+ callback?: string;
26739
+ /** Selector specifying which fields to include in a partial response. */
26740
+ fields?: string;
26741
+ /** 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. */
26742
+ key?: string;
26743
+ /** OAuth 2.0 token for the current user. */
26744
+ oauth_token?: string;
26745
+ /** Optional. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
26746
+ parent: string;
26747
+ /** Returns response with indentations and line breaks. */
26748
+ prettyPrint?: boolean;
26749
+ /** 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. */
26750
+ quotaUser?: string;
26751
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26752
+ upload_protocol?: string;
26753
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26754
+ uploadType?: string;
26755
+ },
26756
+ body: GoogleCloudDiscoveryengineV1alphaUpdateUserAvailabilityRequest,
26757
+ ): Request<GoogleCloudDiscoveryengineV1alphaUserAvailability>;
26758
+ }
26417
26759
  interface UserLicensesResource {
26418
26760
  /** 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. */
26419
26761
  export(request: {
@@ -26659,6 +27001,8 @@ declare namespace gapi.client {
26659
27001
  ): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
26660
27002
  licenseConfigsUsageStats: LicenseConfigsUsageStatsResource;
26661
27003
  operations: OperationsResource;
27004
+ userAvailabilities: UserAvailabilitiesResource;
27005
+ userAvailability: UserAvailabilityResource;
26662
27006
  userLicenses: UserLicensesResource;
26663
27007
  }
26664
27008
  interface LocationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.3.20261102",
3
+ "version": "0.3.20261106",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",