Skip to content

Commit 7bc2ccd

Browse files
committed
fix(discovery-v1): property indexed corrected to available for model EnvironmentDocuments
plus, docs changes
1 parent 40fd822 commit 7bc2ccd

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

discovery/v1.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,7 +2238,7 @@ class DiscoveryV1 extends BaseService {
22382238
* Query a collection.
22392239
*
22402240
* By using this method, you can construct long queries. For details, see the [Discovery
2241-
* documentation](https://cloud.ibm.com/docs/services/discovery?topic=discovery-query-concepts#query-concepts).
2241+
* documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-concepts#query-concepts).
22422242
*
22432243
* @param {Object} params - The parameters to send to the service.
22442244
* @param {string} params.environmentId - The ID of the environment.
@@ -2383,8 +2383,8 @@ class DiscoveryV1 extends BaseService {
23832383
*
23842384
* Queries for notices (errors or warnings) that might have been generated by the system. Notices are generated when
23852385
* ingesting documents and performing relevance training. See the [Discovery
2386-
* documentation](https://cloud.ibm.com/docs/services/discovery?topic=discovery-query-concepts#query-concepts) for
2387-
* more details on the query language.
2386+
* documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-concepts#query-concepts) for more details
2387+
* on the query language.
23882388
*
23892389
* @param {Object} params - The parameters to send to the service.
23902390
* @param {string} params.environmentId - The ID of the environment.
@@ -2509,8 +2509,7 @@ class DiscoveryV1 extends BaseService {
25092509
* Query multiple collections.
25102510
*
25112511
* By using this method, you can construct long queries that search multiple collection. For details, see the
2512-
* [Discovery
2513-
* documentation](https://cloud.ibm.com/docs/services/discovery?topic=discovery-query-concepts#query-concepts).
2512+
* [Discovery documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-concepts#query-concepts).
25142513
*
25152514
* @param {Object} params - The parameters to send to the service.
25162515
* @param {string} params.environmentId - The ID of the environment.
@@ -2649,8 +2648,8 @@ class DiscoveryV1 extends BaseService {
26492648
*
26502649
* Queries for notices (errors or warnings) that might have been generated by the system. Notices are generated when
26512650
* ingesting documents and performing relevance training. See the [Discovery
2652-
* documentation](https://cloud.ibm.com/docs/services/discovery?topic=discovery-query-concepts#query-concepts) for
2653-
* more details on the query language.
2651+
* documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-concepts#query-concepts) for more details
2652+
* on the query language.
26542653
*
26552654
* @param {Object} params - The parameters to send to the service.
26562655
* @param {string} params.environmentId - The ID of the environment.
@@ -3554,7 +3553,7 @@ class DiscoveryV1 extends BaseService {
35543553
*
35553554
* You associate a customer ID with data by passing the **X-Watson-Metadata** header with a request that passes data.
35563555
* For more information about personal data and customer IDs, see [Information
3557-
* security](https://cloud.ibm.com/docs/services/discovery?topic=discovery-information-security#information-security).
3556+
* security](https://cloud.ibm.com/docs/discovery?topic=discovery-information-security#information-security).
35583557
*
35593558
* @param {Object} params - The parameters to send to the service.
35603559
* @param {string} params.customerId - The customer ID for which all data is to be deleted.
@@ -6138,13 +6137,13 @@ namespace DiscoveryV1 {
61386137
/** The access key ID associated with the cloud object store. Only valid, and required, with a
61396138
* **credential_type** of `aws4_hmac`. This value is never returned and is only used when creating or modifying
61406139
* **credentials**. For more infomation, see the [cloud object store
6141-
* documentation](https://cloud.ibm.com/docs/services/cloud-object-storage?topic=cloud-object-storage-using-hmac-credentials#using-hmac-credentials).
6140+
* documentation](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-using-hmac-credentials#using-hmac-credentials).
61426141
*/
61436142
access_key_id?: string;
61446143
/** The secret access key associated with the cloud object store. Only valid, and required, with a
61456144
* **credential_type** of `aws4_hmac`. This value is never returned and is only used when creating or modifying
61466145
* **credentials**. For more infomation, see the [cloud object store
6147-
* documentation](https://cloud.ibm.com/docs/services/cloud-object-storage?topic=cloud-object-storage-using-hmac-credentials#using-hmac-credentials).
6146+
* documentation](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-using-hmac-credentials#using-hmac-credentials).
61486147
*/
61496148
secret_access_key?: string;
61506149
}
@@ -6298,7 +6297,7 @@ namespace DiscoveryV1 {
62986297
* When using `elements` the **options** object must contain Element Classification options. Additionally, when
62996298
* using the `elements` enrichment the configuration specified and files ingested must meet all the criteria
63006299
* specified in [the
6301-
* documentation](https://cloud.ibm.com/docs/services/discovery?topic=discovery-element-classification#element-classification).
6300+
* documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-element-classification#element-classification).
63026301
*/
63036302
enrichment: string;
63046303
/** If true, then most errors generated during the enrichment process will be treated as warnings and will not
@@ -6359,7 +6358,7 @@ namespace DiscoveryV1 {
63596358
/** Summary of the document usage statistics for the environment. */
63606359
export interface EnvironmentDocuments {
63616360
/** Number of documents indexed for the environment. */
6362-
indexed?: number;
6361+
available?: number;
63636362
/** Total number of documents allowed in the environment's capacity. */
63646363
maximum_allowed?: number;
63656364
}

0 commit comments

Comments
 (0)