@googleapis/discoveryengine 37.1.0 → 37.2.0
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/CHANGELOG.md +7 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +25 -5
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +126 -6
- package/build/v1alpha.js +63 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +21 -5
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.build.json +10 -0
- package/v1.ts +21 -5
- package/v1alpha.ts +225 -6
- package/v1beta.ts +17 -5
package/build/v1alpha.d.ts
CHANGED
|
@@ -2378,6 +2378,12 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2378
2378
|
* Reasons for not answering the assist call.
|
|
2379
2379
|
*/
|
|
2380
2380
|
assistSkippedReasons?: string[] | null;
|
|
2381
|
+
/**
|
|
2382
|
+
* Output only. Maps an internal connector agent name (the machine identifier embedded in tool names, e.g. `custom_mcp__agent`) to the connector's human-readable display name. Populated at serving time for custom MCP / agent gateway connectors so user-facing surfaces (e.g. the tool-call chip) can show the connector name instead of its internal identifier. Empty when there are no such connectors.
|
|
2383
|
+
*/
|
|
2384
|
+
connectorDisplayNames?: {
|
|
2385
|
+
[key: string]: string;
|
|
2386
|
+
} | null;
|
|
2381
2387
|
/**
|
|
2382
2388
|
* Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation.
|
|
2383
2389
|
*/
|
|
@@ -2879,6 +2885,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2879
2885
|
* Required. The URI the user is directed to when they need to authorize. Should include everything required for a successful authorization: OAuth ID, extra flags, etc. Example: `https://accounts.google.com/o/oauth2/v2/auth?client_id=OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=code&access_type=offline&prompt=consent` The `redirect_uri` parameter will be overwritten by the Vertex AI Search frontend.
|
|
2880
2886
|
*/
|
|
2881
2887
|
authorizationUri?: string | null;
|
|
2888
|
+
/**
|
|
2889
|
+
* Optional. Whether the OAuth token exchange uses HTTP Basic authentication (`client_secret_basic`) instead of sending the client credentials in the request body (`client_secret_post`). When `true`, the credentials (`client_id:client_secret`) are Base64 encoded and sent in the `Authorization` header. Some OAuth providers (e.g. Splunk) require `client_secret_basic`. When `false` or unset, the default `client_secret_post` is used.
|
|
2890
|
+
*/
|
|
2891
|
+
basicAuthenticationEnabled?: boolean | null;
|
|
2882
2892
|
/**
|
|
2883
2893
|
* Required. The OAuth2 client ID.
|
|
2884
2894
|
*/
|
|
@@ -3880,7 +3890,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3880
3890
|
*/
|
|
3881
3891
|
selectedPosition?: number | null;
|
|
3882
3892
|
/**
|
|
3883
|
-
* End user selected CompleteQueryResponse.QuerySuggestion.suggestion.
|
|
3893
|
+
* Optional. End user selected CompleteQueryResponse.QuerySuggestion.suggestion.
|
|
3884
3894
|
*/
|
|
3885
3895
|
selectedSuggestion?: string | null;
|
|
3886
3896
|
}
|
|
@@ -4695,7 +4705,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4695
4705
|
*/
|
|
4696
4706
|
syncMode?: string | null;
|
|
4697
4707
|
/**
|
|
4698
|
-
* Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
|
|
4708
|
+
* Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
|
|
4699
4709
|
*/
|
|
4700
4710
|
tag?: string | null;
|
|
4701
4711
|
/**
|
|
@@ -6195,6 +6205,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
6195
6205
|
* Required. The output location of the data.
|
|
6196
6206
|
*/
|
|
6197
6207
|
outputConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOutputConfig;
|
|
6208
|
+
/**
|
|
6209
|
+
* Optional. The earliest date (inclusive), interpreted in the UTC time zone, whose metrics are included in the export. If unset, defaults to 30 days before the current UTC date. The value must be a valid calendar date that is not in the future and not older than 180 days (the source data retention window); otherwise the request fails with `INVALID_ARGUMENT`.
|
|
6210
|
+
*/
|
|
6211
|
+
startDate?: Schema$GoogleTypeDate;
|
|
6198
6212
|
}
|
|
6199
6213
|
/**
|
|
6200
6214
|
* Response of the ExportMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.
|
|
@@ -7346,6 +7360,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7346
7360
|
* Optional. Whether the license config should be auto renewed when it reaches the end date.
|
|
7347
7361
|
*/
|
|
7348
7362
|
autoRenew?: boolean | null;
|
|
7363
|
+
/**
|
|
7364
|
+
* Output only. The name of the BillingAccountLicenseConfig from which this LicenseConfig is assigned, if this field is set.
|
|
7365
|
+
*/
|
|
7366
|
+
billingAccountLicenseConfig?: string | null;
|
|
7349
7367
|
/**
|
|
7350
7368
|
* Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
|
|
7351
7369
|
*/
|
|
@@ -9436,7 +9454,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
9436
9454
|
*/
|
|
9437
9455
|
orderBy?: string | null;
|
|
9438
9456
|
/**
|
|
9439
|
-
* The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
9457
|
+
* Optional. The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
9440
9458
|
*/
|
|
9441
9459
|
searchQuery?: string | null;
|
|
9442
9460
|
}
|
|
@@ -11705,7 +11723,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
11705
11723
|
*/
|
|
11706
11724
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaUserEvent {
|
|
11707
11725
|
/**
|
|
11708
|
-
* 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.
|
|
11726
|
+
* 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.
|
|
11709
11727
|
*/
|
|
11710
11728
|
attributes?: {
|
|
11711
11729
|
[key: string]: Schema$GoogleCloudDiscoveryengineV1alphaCustomAttribute;
|
|
@@ -12206,6 +12224,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
12206
12224
|
* The name of the collection. It should be collection resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field. For synthetic placeholder entries (see message-level comment) this carries a synthetic placeholder collection id that does not correspond to a real collection. Callers must not attempt to resolve / GET this resource until the user authorizes the connector.
|
|
12207
12225
|
*/
|
|
12208
12226
|
name?: string | null;
|
|
12227
|
+
/**
|
|
12228
|
+
* Output only. The version-independent label of the connector backing this collection, mirroring `DataConnector.tag`. Unlike the version-pinned data store id it survives a connector version upgrade, so an upgraded connector keeps the same tag. Not a unique key. As `DataConnector.tag` documents, several connectors may share a tag under the same (project, location, collection, data_source), and tag-based lookup resolves to the one with the greatest create_time. Clients must not treat this as a connector identifier. Empty when the connector was created before the tag-write launch, and for synthetic placeholder entries, which have no underlying `DataConnector`. Populated only when `ConnectorsFeature.enable_connector_tag` is on.
|
|
12229
|
+
*/
|
|
12230
|
+
tag?: string | null;
|
|
12209
12231
|
}
|
|
12210
12232
|
/**
|
|
12211
12233
|
* Read-only connector in CollectionComponent auth state.
|
|
@@ -16558,7 +16580,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
16558
16580
|
*/
|
|
16559
16581
|
syncMode?: string | null;
|
|
16560
16582
|
/**
|
|
16561
|
-
* Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
|
|
16583
|
+
* Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
|
|
16562
16584
|
*/
|
|
16563
16585
|
tag?: string | null;
|
|
16564
16586
|
/**
|
|
@@ -33965,6 +33987,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
33965
33987
|
context: APIRequestContext;
|
|
33966
33988
|
analytics: Resource$Projects$Locations$Collections$Engines$Analytics;
|
|
33967
33989
|
assistants: Resource$Projects$Locations$Collections$Engines$Assistants;
|
|
33990
|
+
collaborativeProjects: Resource$Projects$Locations$Collections$Engines$Collaborativeprojects;
|
|
33968
33991
|
completionConfig: Resource$Projects$Locations$Collections$Engines$Completionconfig;
|
|
33969
33992
|
controls: Resource$Projects$Locations$Collections$Engines$Controls;
|
|
33970
33993
|
conversations: Resource$Projects$Locations$Collections$Engines$Conversations;
|
|
@@ -35283,7 +35306,8 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
35283
35306
|
* requestBody: {
|
|
35284
35307
|
* // request body parameters
|
|
35285
35308
|
* // {
|
|
35286
|
-
* // "outputConfig": {}
|
|
35309
|
+
* // "outputConfig": {},
|
|
35310
|
+
* // "startDate": {}
|
|
35287
35311
|
* // }
|
|
35288
35312
|
* },
|
|
35289
35313
|
* },
|
|
@@ -37242,6 +37266,97 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
37242
37266
|
*/
|
|
37243
37267
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaCannedQuery;
|
|
37244
37268
|
}
|
|
37269
|
+
export class Resource$Projects$Locations$Collections$Engines$Collaborativeprojects {
|
|
37270
|
+
context: APIRequestContext;
|
|
37271
|
+
knowledgeSpaces: Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces;
|
|
37272
|
+
constructor(context: APIRequestContext);
|
|
37273
|
+
}
|
|
37274
|
+
export class Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces {
|
|
37275
|
+
context: APIRequestContext;
|
|
37276
|
+
operations: Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations;
|
|
37277
|
+
constructor(context: APIRequestContext);
|
|
37278
|
+
}
|
|
37279
|
+
export class Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations {
|
|
37280
|
+
context: APIRequestContext;
|
|
37281
|
+
constructor(context: APIRequestContext);
|
|
37282
|
+
/**
|
|
37283
|
+
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
|
|
37284
|
+
* @example
|
|
37285
|
+
* ```js
|
|
37286
|
+
* // Before running the sample:
|
|
37287
|
+
* // - Enable the API at:
|
|
37288
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
37289
|
+
* // - Login into gcloud by running:
|
|
37290
|
+
* // ```sh
|
|
37291
|
+
* // $ gcloud auth application-default login
|
|
37292
|
+
* // ```
|
|
37293
|
+
* // - Install the npm module by running:
|
|
37294
|
+
* // ```sh
|
|
37295
|
+
* // $ npm install googleapis
|
|
37296
|
+
* // ```
|
|
37297
|
+
*
|
|
37298
|
+
* const {google} = require('googleapis');
|
|
37299
|
+
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
37300
|
+
*
|
|
37301
|
+
* async function main() {
|
|
37302
|
+
* const auth = new google.auth.GoogleAuth({
|
|
37303
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
37304
|
+
* scopes: [
|
|
37305
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
37306
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
37307
|
+
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
37308
|
+
* ],
|
|
37309
|
+
* });
|
|
37310
|
+
*
|
|
37311
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
37312
|
+
* const authClient = await auth.getClient();
|
|
37313
|
+
* google.options({auth: authClient});
|
|
37314
|
+
*
|
|
37315
|
+
* // Do the magic
|
|
37316
|
+
* const res =
|
|
37317
|
+
* await discoveryengine.projects.locations.collections.engines.collaborativeProjects.knowledgeSpaces.operations.get(
|
|
37318
|
+
* {
|
|
37319
|
+
* // The name of the operation resource.
|
|
37320
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/collaborativeProjects/my-collaborativeProject/knowledgeSpaces/my-knowledgeSpace/operations/my-operation',
|
|
37321
|
+
* },
|
|
37322
|
+
* );
|
|
37323
|
+
* console.log(res.data);
|
|
37324
|
+
*
|
|
37325
|
+
* // Example response
|
|
37326
|
+
* // {
|
|
37327
|
+
* // "done": false,
|
|
37328
|
+
* // "error": {},
|
|
37329
|
+
* // "metadata": {},
|
|
37330
|
+
* // "name": "my_name",
|
|
37331
|
+
* // "response": {}
|
|
37332
|
+
* // }
|
|
37333
|
+
* }
|
|
37334
|
+
*
|
|
37335
|
+
* main().catch(e => {
|
|
37336
|
+
* console.error(e);
|
|
37337
|
+
* throw e;
|
|
37338
|
+
* });
|
|
37339
|
+
*
|
|
37340
|
+
* ```
|
|
37341
|
+
*
|
|
37342
|
+
* @param params - Parameters for request
|
|
37343
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
37344
|
+
* @param callback - Optional callback that handles the response.
|
|
37345
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
37346
|
+
*/
|
|
37347
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
37348
|
+
get(params?: Params$Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
37349
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
37350
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
37351
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations$Get, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
37352
|
+
get(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
37353
|
+
}
|
|
37354
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations$Get extends StandardParameters {
|
|
37355
|
+
/**
|
|
37356
|
+
* The name of the operation resource.
|
|
37357
|
+
*/
|
|
37358
|
+
name?: string;
|
|
37359
|
+
}
|
|
37245
37360
|
export class Resource$Projects$Locations$Collections$Engines$Completionconfig {
|
|
37246
37361
|
context: APIRequestContext;
|
|
37247
37362
|
constructor(context: APIRequestContext);
|
|
@@ -52181,6 +52296,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52181
52296
|
* // {
|
|
52182
52297
|
* // "alertPolicyResourceConfig": {},
|
|
52183
52298
|
* // "autoRenew": false,
|
|
52299
|
+
* // "billingAccountLicenseConfig": "my_billingAccountLicenseConfig",
|
|
52184
52300
|
* // "earlyTerminated": false,
|
|
52185
52301
|
* // "earlyTerminationDate": {},
|
|
52186
52302
|
* // "endDate": {},
|
|
@@ -52202,6 +52318,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52202
52318
|
* // {
|
|
52203
52319
|
* // "alertPolicyResourceConfig": {},
|
|
52204
52320
|
* // "autoRenew": false,
|
|
52321
|
+
* // "billingAccountLicenseConfig": "my_billingAccountLicenseConfig",
|
|
52205
52322
|
* // "earlyTerminated": false,
|
|
52206
52323
|
* // "earlyTerminationDate": {},
|
|
52207
52324
|
* // "endDate": {},
|
|
@@ -52279,6 +52396,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52279
52396
|
* // {
|
|
52280
52397
|
* // "alertPolicyResourceConfig": {},
|
|
52281
52398
|
* // "autoRenew": false,
|
|
52399
|
+
* // "billingAccountLicenseConfig": "my_billingAccountLicenseConfig",
|
|
52282
52400
|
* // "earlyTerminated": false,
|
|
52283
52401
|
* // "earlyTerminationDate": {},
|
|
52284
52402
|
* // "endDate": {},
|
|
@@ -52429,6 +52547,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52429
52547
|
* // {
|
|
52430
52548
|
* // "alertPolicyResourceConfig": {},
|
|
52431
52549
|
* // "autoRenew": false,
|
|
52550
|
+
* // "billingAccountLicenseConfig": "my_billingAccountLicenseConfig",
|
|
52432
52551
|
* // "earlyTerminated": false,
|
|
52433
52552
|
* // "earlyTerminationDate": {},
|
|
52434
52553
|
* // "endDate": {},
|
|
@@ -52450,6 +52569,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52450
52569
|
* // {
|
|
52451
52570
|
* // "alertPolicyResourceConfig": {},
|
|
52452
52571
|
* // "autoRenew": false,
|
|
52572
|
+
* // "billingAccountLicenseConfig": "my_billingAccountLicenseConfig",
|
|
52453
52573
|
* // "earlyTerminated": false,
|
|
52454
52574
|
* // "earlyTerminationDate": {},
|
|
52455
52575
|
* // "endDate": {},
|
package/build/v1alpha.js
CHANGED
|
@@ -5391,6 +5391,7 @@ var discoveryengine_v1alpha;
|
|
|
5391
5391
|
context;
|
|
5392
5392
|
analytics;
|
|
5393
5393
|
assistants;
|
|
5394
|
+
collaborativeProjects;
|
|
5394
5395
|
completionConfig;
|
|
5395
5396
|
controls;
|
|
5396
5397
|
conversations;
|
|
@@ -5404,6 +5405,8 @@ var discoveryengine_v1alpha;
|
|
|
5404
5405
|
new Resource$Projects$Locations$Collections$Engines$Analytics(this.context);
|
|
5405
5406
|
this.assistants =
|
|
5406
5407
|
new Resource$Projects$Locations$Collections$Engines$Assistants(this.context);
|
|
5408
|
+
this.collaborativeProjects =
|
|
5409
|
+
new Resource$Projects$Locations$Collections$Engines$Collaborativeprojects(this.context);
|
|
5407
5410
|
this.completionConfig =
|
|
5408
5411
|
new Resource$Projects$Locations$Collections$Engines$Completionconfig(this.context);
|
|
5409
5412
|
this.controls =
|
|
@@ -6597,6 +6600,66 @@ var discoveryengine_v1alpha;
|
|
|
6597
6600
|
}
|
|
6598
6601
|
}
|
|
6599
6602
|
discoveryengine_v1alpha.Resource$Projects$Locations$Collections$Engines$Assistants$Cannedqueries = Resource$Projects$Locations$Collections$Engines$Assistants$Cannedqueries;
|
|
6603
|
+
class Resource$Projects$Locations$Collections$Engines$Collaborativeprojects {
|
|
6604
|
+
context;
|
|
6605
|
+
knowledgeSpaces;
|
|
6606
|
+
constructor(context) {
|
|
6607
|
+
this.context = context;
|
|
6608
|
+
this.knowledgeSpaces =
|
|
6609
|
+
new Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces(this.context);
|
|
6610
|
+
}
|
|
6611
|
+
}
|
|
6612
|
+
discoveryengine_v1alpha.Resource$Projects$Locations$Collections$Engines$Collaborativeprojects = Resource$Projects$Locations$Collections$Engines$Collaborativeprojects;
|
|
6613
|
+
class Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces {
|
|
6614
|
+
context;
|
|
6615
|
+
operations;
|
|
6616
|
+
constructor(context) {
|
|
6617
|
+
this.context = context;
|
|
6618
|
+
this.operations =
|
|
6619
|
+
new Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations(this.context);
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6622
|
+
discoveryengine_v1alpha.Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces = Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces;
|
|
6623
|
+
class Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations {
|
|
6624
|
+
context;
|
|
6625
|
+
constructor(context) {
|
|
6626
|
+
this.context = context;
|
|
6627
|
+
}
|
|
6628
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
6629
|
+
let params = (paramsOrCallback ||
|
|
6630
|
+
{});
|
|
6631
|
+
let options = (optionsOrCallback || {});
|
|
6632
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6633
|
+
callback = paramsOrCallback;
|
|
6634
|
+
params =
|
|
6635
|
+
{};
|
|
6636
|
+
options = {};
|
|
6637
|
+
}
|
|
6638
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6639
|
+
callback = optionsOrCallback;
|
|
6640
|
+
options = {};
|
|
6641
|
+
}
|
|
6642
|
+
const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
|
|
6643
|
+
const parameters = {
|
|
6644
|
+
options: Object.assign({
|
|
6645
|
+
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
6646
|
+
method: 'GET',
|
|
6647
|
+
apiVersion: '',
|
|
6648
|
+
}, options),
|
|
6649
|
+
params,
|
|
6650
|
+
requiredParams: ['name'],
|
|
6651
|
+
pathParams: ['name'],
|
|
6652
|
+
context: this.context,
|
|
6653
|
+
};
|
|
6654
|
+
if (callback) {
|
|
6655
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
6656
|
+
}
|
|
6657
|
+
else {
|
|
6658
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
6659
|
+
}
|
|
6660
|
+
}
|
|
6661
|
+
}
|
|
6662
|
+
discoveryengine_v1alpha.Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations = Resource$Projects$Locations$Collections$Engines$Collaborativeprojects$Knowledgespaces$Operations;
|
|
6600
6663
|
class Resource$Projects$Locations$Collections$Engines$Completionconfig {
|
|
6601
6664
|
context;
|
|
6602
6665
|
constructor(context) {
|