@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240313 → 0.0.20240322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1908 -84
- package/package.json +1 -1
- package/readme.md +4 -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://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240322
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -220,6 +220,8 @@ declare namespace gapi.client {
|
|
|
220
220
|
functionResponse?: CloudAiNlLlmProtoServiceFunctionResponse;
|
|
221
221
|
/** Inline bytes data */
|
|
222
222
|
inlineData?: CloudAiNlLlmProtoServicePartBlob;
|
|
223
|
+
/** Metadata provides extra info for building the LM Root request. Note: High enough tag number for internal only fields. */
|
|
224
|
+
lmRootMetadata?: CloudAiNlLlmProtoServicePartLMRootMetadata;
|
|
223
225
|
/** Text input. */
|
|
224
226
|
text?: string;
|
|
225
227
|
/** Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
@@ -245,6 +247,10 @@ declare namespace gapi.client {
|
|
|
245
247
|
/** The mime type corresponding to this input. */
|
|
246
248
|
mimeType?: string;
|
|
247
249
|
}
|
|
250
|
+
interface CloudAiNlLlmProtoServicePartLMRootMetadata {
|
|
251
|
+
/** Chunk id that will be used when mapping the part to the LM Root's chunk. */
|
|
252
|
+
chunkId?: string;
|
|
253
|
+
}
|
|
248
254
|
interface CloudAiNlLlmProtoServicePartVideoMetadata {
|
|
249
255
|
/** The end offset of the video. */
|
|
250
256
|
endOffset?: string;
|
|
@@ -476,7 +482,7 @@ declare namespace gapi.client {
|
|
|
476
482
|
oidcConfig?: GoogleCloudAiplatformV1beta1AuthConfigOidcConfig;
|
|
477
483
|
}
|
|
478
484
|
interface GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig {
|
|
479
|
-
/** Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` */
|
|
485
|
+
/** Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. */
|
|
480
486
|
apiKeySecret?: string;
|
|
481
487
|
/** Required. The location of the API key. */
|
|
482
488
|
httpElementLocation?: string;
|
|
@@ -484,23 +490,25 @@ declare namespace gapi.client {
|
|
|
484
490
|
name?: string;
|
|
485
491
|
}
|
|
486
492
|
interface GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig {
|
|
487
|
-
/** Optional. The service account that the extension execution service runs as. - If
|
|
493
|
+
/** Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension. */
|
|
488
494
|
serviceAccount?: string;
|
|
489
495
|
}
|
|
490
496
|
interface GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig {
|
|
491
|
-
/** Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` */
|
|
497
|
+
/** Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. */
|
|
492
498
|
credentialSecret?: string;
|
|
493
499
|
}
|
|
494
500
|
interface GoogleCloudAiplatformV1beta1AuthConfigNoAuth {}
|
|
495
501
|
interface GoogleCloudAiplatformV1beta1AuthConfigOauthConfig {
|
|
496
|
-
/** Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. */
|
|
502
|
+
/** Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. */
|
|
497
503
|
accessToken?: string;
|
|
498
|
-
/** The service account
|
|
504
|
+
/** The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account. */
|
|
499
505
|
serviceAccount?: string;
|
|
500
506
|
}
|
|
501
507
|
interface GoogleCloudAiplatformV1beta1AuthConfigOidcConfig {
|
|
502
|
-
/** OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. */
|
|
508
|
+
/** OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. */
|
|
503
509
|
idToken?: string;
|
|
510
|
+
/** The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). */
|
|
511
|
+
serviceAccount?: string;
|
|
504
512
|
}
|
|
505
513
|
interface GoogleCloudAiplatformV1beta1AutomaticResources {
|
|
506
514
|
/** Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number. */
|
|
@@ -749,8 +757,29 @@ declare namespace gapi.client {
|
|
|
749
757
|
/** Required. BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. */
|
|
750
758
|
inputUri?: string;
|
|
751
759
|
}
|
|
760
|
+
interface GoogleCloudAiplatformV1beta1BleuInput {
|
|
761
|
+
/** Required. Repeated bleu instances. */
|
|
762
|
+
instances?: GoogleCloudAiplatformV1beta1BleuInstance[];
|
|
763
|
+
/** Required. Spec for bleu score metric. */
|
|
764
|
+
metricSpec?: any;
|
|
765
|
+
}
|
|
766
|
+
interface GoogleCloudAiplatformV1beta1BleuInstance {
|
|
767
|
+
/** Required. Output of the evaluated model. */
|
|
768
|
+
prediction?: string;
|
|
769
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
770
|
+
reference?: string;
|
|
771
|
+
}
|
|
772
|
+
interface GoogleCloudAiplatformV1beta1BleuMetricValue {
|
|
773
|
+
/** Output only. Bleu score. */
|
|
774
|
+
score?: number;
|
|
775
|
+
}
|
|
776
|
+
interface GoogleCloudAiplatformV1beta1BleuResults {
|
|
777
|
+
/** Output only. Bleu metric values. */
|
|
778
|
+
bleuMetricValues?: GoogleCloudAiplatformV1beta1BleuMetricValue[];
|
|
779
|
+
}
|
|
780
|
+
interface GoogleCloudAiplatformV1beta1BleuSpec {}
|
|
752
781
|
interface GoogleCloudAiplatformV1beta1Blob {
|
|
753
|
-
/** Required. Raw bytes
|
|
782
|
+
/** Required. Raw bytes. */
|
|
754
783
|
data?: string;
|
|
755
784
|
/** Required. The IANA standard MIME type of the source data. */
|
|
756
785
|
mimeType?: string;
|
|
@@ -817,6 +846,28 @@ declare namespace gapi.client {
|
|
|
817
846
|
/** Output only. List of citations. */
|
|
818
847
|
citations?: GoogleCloudAiplatformV1beta1Citation[];
|
|
819
848
|
}
|
|
849
|
+
interface GoogleCloudAiplatformV1beta1CoherenceInput {
|
|
850
|
+
/** Required. Coherence instance. */
|
|
851
|
+
instance?: GoogleCloudAiplatformV1beta1CoherenceInstance;
|
|
852
|
+
/** Required. Spec for coherence score metric. */
|
|
853
|
+
metricSpec?: GoogleCloudAiplatformV1beta1CoherenceSpec;
|
|
854
|
+
}
|
|
855
|
+
interface GoogleCloudAiplatformV1beta1CoherenceInstance {
|
|
856
|
+
/** Required. Output of the evaluated model. */
|
|
857
|
+
prediction?: string;
|
|
858
|
+
}
|
|
859
|
+
interface GoogleCloudAiplatformV1beta1CoherenceResult {
|
|
860
|
+
/** Output only. Confidence for coherence score. */
|
|
861
|
+
confidence?: number;
|
|
862
|
+
/** Output only. Explanation for coherence score. */
|
|
863
|
+
explanation?: string;
|
|
864
|
+
/** Output only. Coherence score. */
|
|
865
|
+
score?: number;
|
|
866
|
+
}
|
|
867
|
+
interface GoogleCloudAiplatformV1beta1CoherenceSpec {
|
|
868
|
+
/** Optional. Which version to use for evaluation. */
|
|
869
|
+
version?: number;
|
|
870
|
+
}
|
|
820
871
|
interface GoogleCloudAiplatformV1beta1CompleteTrialRequest {
|
|
821
872
|
/** Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement */
|
|
822
873
|
finalMeasurement?: GoogleCloudAiplatformV1beta1Measurement;
|
|
@@ -1419,6 +1470,7 @@ declare namespace gapi.client {
|
|
|
1419
1470
|
/** The prediction output. */
|
|
1420
1471
|
output?: string;
|
|
1421
1472
|
}
|
|
1473
|
+
interface GoogleCloudAiplatformV1beta1DirectUploadSource {}
|
|
1422
1474
|
interface GoogleCloudAiplatformV1beta1DiskSpec {
|
|
1423
1475
|
/** Size in GB of the boot disk (default is 100GB). */
|
|
1424
1476
|
bootDiskSizeGb?: number;
|
|
@@ -1531,6 +1583,102 @@ declare namespace gapi.client {
|
|
|
1531
1583
|
/** Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai` */
|
|
1532
1584
|
explanationType?: string;
|
|
1533
1585
|
}
|
|
1586
|
+
interface GoogleCloudAiplatformV1beta1EvaluateInstancesRequest {
|
|
1587
|
+
/** Instances and metric spec for bleu metric. */
|
|
1588
|
+
bleuInput?: GoogleCloudAiplatformV1beta1BleuInput;
|
|
1589
|
+
/** Input for coherence metric. */
|
|
1590
|
+
coherenceInput?: GoogleCloudAiplatformV1beta1CoherenceInput;
|
|
1591
|
+
/** Auto metric instances. Instances and metric spec for exact match metric. */
|
|
1592
|
+
exactMatchInput?: GoogleCloudAiplatformV1beta1ExactMatchInput;
|
|
1593
|
+
/** LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric. */
|
|
1594
|
+
fluencyInput?: GoogleCloudAiplatformV1beta1FluencyInput;
|
|
1595
|
+
/** Input for fulfillment metric. */
|
|
1596
|
+
fulfillmentInput?: GoogleCloudAiplatformV1beta1FulfillmentInput;
|
|
1597
|
+
/** Input for groundedness metric. */
|
|
1598
|
+
groundednessInput?: GoogleCloudAiplatformV1beta1GroundednessInput;
|
|
1599
|
+
/** Input for pairwise question answering quality metric. */
|
|
1600
|
+
pairwiseQuestionAnsweringQualityInput?: GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInput;
|
|
1601
|
+
/** Input for pairwise summarization quality metric. */
|
|
1602
|
+
pairwiseSummarizationQualityInput?: GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInput;
|
|
1603
|
+
/** Input for question answering correctness metric. */
|
|
1604
|
+
questionAnsweringCorrectnessInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInput;
|
|
1605
|
+
/** Input for question answering helpfulness metric. */
|
|
1606
|
+
questionAnsweringHelpfulnessInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInput;
|
|
1607
|
+
/** Input for question answering quality metric. */
|
|
1608
|
+
questionAnsweringQualityInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInput;
|
|
1609
|
+
/** Input for question answering relevance metric. */
|
|
1610
|
+
questionAnsweringRelevanceInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput;
|
|
1611
|
+
/** Input for rag context recall metric. */
|
|
1612
|
+
ragContextRecallInput?: GoogleCloudAiplatformV1beta1RagContextRecallInput;
|
|
1613
|
+
/** Input for response recall metric. */
|
|
1614
|
+
responseRecallInput?: GoogleCloudAiplatformV1beta1ResponseRecallInput;
|
|
1615
|
+
/** Instances and metric spec for rouge metric. */
|
|
1616
|
+
rougeInput?: GoogleCloudAiplatformV1beta1RougeInput;
|
|
1617
|
+
/** Input for safety metric. */
|
|
1618
|
+
safetyInput?: GoogleCloudAiplatformV1beta1SafetyInput;
|
|
1619
|
+
/** Input for summarization helpfulness metric. */
|
|
1620
|
+
summarizationHelpfulnessInput?: GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInput;
|
|
1621
|
+
/** Input for summarization quality metric. */
|
|
1622
|
+
summarizationQualityInput?: GoogleCloudAiplatformV1beta1SummarizationQualityInput;
|
|
1623
|
+
/** Input for summarization verbosity metric. */
|
|
1624
|
+
summarizationVerbosityInput?: GoogleCloudAiplatformV1beta1SummarizationVerbosityInput;
|
|
1625
|
+
/** Tool call metric instances. Input for tool call valid metric. */
|
|
1626
|
+
toolCallValidInput?: GoogleCloudAiplatformV1beta1ToolCallValidInput;
|
|
1627
|
+
/** Input for tool name match metric. */
|
|
1628
|
+
toolNameMatchInput?: GoogleCloudAiplatformV1beta1ToolNameMatchInput;
|
|
1629
|
+
/** Input for tool parameter key match metric. */
|
|
1630
|
+
toolParameterKeyMatchInput?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInput;
|
|
1631
|
+
/** Input for tool parameter key value match metric. */
|
|
1632
|
+
toolParameterKvMatchInput?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput;
|
|
1633
|
+
}
|
|
1634
|
+
interface GoogleCloudAiplatformV1beta1EvaluateInstancesResponse {
|
|
1635
|
+
/** Results for bleu metric. */
|
|
1636
|
+
bleuResults?: GoogleCloudAiplatformV1beta1BleuResults;
|
|
1637
|
+
/** Result for coherence metric. */
|
|
1638
|
+
coherenceResult?: GoogleCloudAiplatformV1beta1CoherenceResult;
|
|
1639
|
+
/** Auto metric evaluation results. Results for exact match metric. */
|
|
1640
|
+
exactMatchResults?: GoogleCloudAiplatformV1beta1ExactMatchResults;
|
|
1641
|
+
/** LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric. */
|
|
1642
|
+
fluencyResult?: GoogleCloudAiplatformV1beta1FluencyResult;
|
|
1643
|
+
/** Result for fulfillment metric. */
|
|
1644
|
+
fulfillmentResult?: GoogleCloudAiplatformV1beta1FulfillmentResult;
|
|
1645
|
+
/** Result for groundedness metric. */
|
|
1646
|
+
groundednessResult?: GoogleCloudAiplatformV1beta1GroundednessResult;
|
|
1647
|
+
/** Result for pairwise question answering quality metric. */
|
|
1648
|
+
pairwiseQuestionAnsweringQualityResult?: GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult;
|
|
1649
|
+
/** Result for pairwise summarization quality metric. */
|
|
1650
|
+
pairwiseSummarizationQualityResult?: GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult;
|
|
1651
|
+
/** Result for question answering correctness metric. */
|
|
1652
|
+
questionAnsweringCorrectnessResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessResult;
|
|
1653
|
+
/** Result for question answering helpfulness metric. */
|
|
1654
|
+
questionAnsweringHelpfulnessResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessResult;
|
|
1655
|
+
/** Question answering only metrics. Result for question answering quality metric. */
|
|
1656
|
+
questionAnsweringQualityResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityResult;
|
|
1657
|
+
/** Result for question answering relevance metric. */
|
|
1658
|
+
questionAnsweringRelevanceResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult;
|
|
1659
|
+
/** RAG only metrics. Result for context recall metric. */
|
|
1660
|
+
ragContextRecallResult?: GoogleCloudAiplatformV1beta1RagContextRecallResult;
|
|
1661
|
+
/** Result for response recall metric. */
|
|
1662
|
+
responseRecallResult?: GoogleCloudAiplatformV1beta1ResponseRecallResult;
|
|
1663
|
+
/** Results for rouge metric. */
|
|
1664
|
+
rougeResults?: GoogleCloudAiplatformV1beta1RougeResults;
|
|
1665
|
+
/** Result for safety metric. */
|
|
1666
|
+
safetyResult?: GoogleCloudAiplatformV1beta1SafetyResult;
|
|
1667
|
+
/** Result for summarization helpfulness metric. */
|
|
1668
|
+
summarizationHelpfulnessResult?: GoogleCloudAiplatformV1beta1SummarizationHelpfulnessResult;
|
|
1669
|
+
/** Summarization only metrics. Result for summarization quality metric. */
|
|
1670
|
+
summarizationQualityResult?: GoogleCloudAiplatformV1beta1SummarizationQualityResult;
|
|
1671
|
+
/** Result for summarization verbosity metric. */
|
|
1672
|
+
summarizationVerbosityResult?: GoogleCloudAiplatformV1beta1SummarizationVerbosityResult;
|
|
1673
|
+
/** Tool call metrics. Results for tool call valid metric. */
|
|
1674
|
+
toolCallValidResults?: GoogleCloudAiplatformV1beta1ToolCallValidResults;
|
|
1675
|
+
/** Results for tool name match metric. */
|
|
1676
|
+
toolNameMatchResults?: GoogleCloudAiplatformV1beta1ToolNameMatchResults;
|
|
1677
|
+
/** Results for tool parameter key match metric. */
|
|
1678
|
+
toolParameterKeyMatchResults?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchResults;
|
|
1679
|
+
/** Results for tool parameter key value match metric. */
|
|
1680
|
+
toolParameterKvMatchResults?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchResults;
|
|
1681
|
+
}
|
|
1534
1682
|
interface GoogleCloudAiplatformV1beta1Event {
|
|
1535
1683
|
/** Required. The relative resource name of the Artifact in the Event. */
|
|
1536
1684
|
artifact?: string;
|
|
@@ -1543,6 +1691,27 @@ declare namespace gapi.client {
|
|
|
1543
1691
|
/** Required. The type of the Event. */
|
|
1544
1692
|
type?: string;
|
|
1545
1693
|
}
|
|
1694
|
+
interface GoogleCloudAiplatformV1beta1ExactMatchInput {
|
|
1695
|
+
/** Required. Repeated exact match instances. */
|
|
1696
|
+
instances?: GoogleCloudAiplatformV1beta1ExactMatchInstance[];
|
|
1697
|
+
/** Required. Spec for exact match metric. */
|
|
1698
|
+
metricSpec?: any;
|
|
1699
|
+
}
|
|
1700
|
+
interface GoogleCloudAiplatformV1beta1ExactMatchInstance {
|
|
1701
|
+
/** Required. Output of the evaluated model. */
|
|
1702
|
+
prediction?: string;
|
|
1703
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
1704
|
+
reference?: string;
|
|
1705
|
+
}
|
|
1706
|
+
interface GoogleCloudAiplatformV1beta1ExactMatchMetricValue {
|
|
1707
|
+
/** Output only. Exact match score. */
|
|
1708
|
+
score?: number;
|
|
1709
|
+
}
|
|
1710
|
+
interface GoogleCloudAiplatformV1beta1ExactMatchResults {
|
|
1711
|
+
/** Output only. Exact match metric values. */
|
|
1712
|
+
exactMatchMetricValues?: GoogleCloudAiplatformV1beta1ExactMatchMetricValue[];
|
|
1713
|
+
}
|
|
1714
|
+
interface GoogleCloudAiplatformV1beta1ExactMatchSpec {}
|
|
1546
1715
|
interface GoogleCloudAiplatformV1beta1Examples {
|
|
1547
1716
|
/** The Cloud Storage input instances. */
|
|
1548
1717
|
exampleGcsSource?: GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource;
|
|
@@ -1582,7 +1751,7 @@ declare namespace gapi.client {
|
|
|
1582
1751
|
namespaceName?: string;
|
|
1583
1752
|
}
|
|
1584
1753
|
interface GoogleCloudAiplatformV1beta1ExecuteExtensionRequest {
|
|
1585
|
-
/** Required. The operation to be executed in this extension as defined in ExtensionOperation.operation_id. */
|
|
1754
|
+
/** Required. The desired ID of the operation to be executed in this extension as defined in ExtensionOperation.operation_id. */
|
|
1586
1755
|
operationId?: string;
|
|
1587
1756
|
/** Optional. Request parameters that will be used for executing this operation. The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}. */
|
|
1588
1757
|
operationParams?: {[P in string]: any};
|
|
@@ -1592,8 +1761,6 @@ declare namespace gapi.client {
|
|
|
1592
1761
|
interface GoogleCloudAiplatformV1beta1ExecuteExtensionResponse {
|
|
1593
1762
|
/** Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec. */
|
|
1594
1763
|
content?: string;
|
|
1595
|
-
/** Output from the extension. The output should be conformant to the extension's manifest/OpenAPI spec. The output can contain values for keys like "content", "headers", etc. This field is deprecated, please use content field below for the extension execution result. */
|
|
1596
|
-
output?: {[P in string]: any};
|
|
1597
1764
|
}
|
|
1598
1765
|
interface GoogleCloudAiplatformV1beta1Execution {
|
|
1599
1766
|
/** Output only. Timestamp when this Execution was created. */
|
|
@@ -1980,7 +2147,7 @@ declare namespace gapi.client {
|
|
|
1980
2147
|
createTime?: string;
|
|
1981
2148
|
/** Optional. The dedicated serving endpoint for this FeatureOnlineStore, which is different from common Vertex service endpoint. */
|
|
1982
2149
|
dedicatedServingEndpoint?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint;
|
|
1983
|
-
/** Optional.
|
|
2150
|
+
/** Optional. Deprecated: This field is no longer needed anymore and embedding management is automatically enabled when specifying Optimized storage type. */
|
|
1984
2151
|
embeddingManagement?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement;
|
|
1985
2152
|
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1986
2153
|
etag?: string;
|
|
@@ -2151,6 +2318,8 @@ declare namespace gapi.client {
|
|
|
2151
2318
|
etag?: string;
|
|
2152
2319
|
/** Optional. Configures the features from a Feature Registry source that need to be loaded onto the FeatureOnlineStore. */
|
|
2153
2320
|
featureRegistrySource?: GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource;
|
|
2321
|
+
/** Optional. Configuration for index preparation for vector search. It contains the required configurations to create an index from source data, so that approximate nearest neighbor (a.k.a ANN) algorithms search can be performed during online serving. */
|
|
2322
|
+
indexConfig?: GoogleCloudAiplatformV1beta1FeatureViewIndexConfig;
|
|
2154
2323
|
/** Optional. The labels with user-defined metadata to organize your FeatureViews. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
|
|
2155
2324
|
labels?: {[P in string]: string};
|
|
2156
2325
|
/** Identifier. Name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */
|
|
@@ -2194,6 +2363,27 @@ declare namespace gapi.client {
|
|
|
2194
2363
|
/** Required. Identifiers of features under the feature group. */
|
|
2195
2364
|
featureIds?: string[];
|
|
2196
2365
|
}
|
|
2366
|
+
interface GoogleCloudAiplatformV1beta1FeatureViewIndexConfig {
|
|
2367
|
+
/** Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search. */
|
|
2368
|
+
bruteForceConfig?: any;
|
|
2369
|
+
/** Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of the same crowding attribute are returned in the response. */
|
|
2370
|
+
crowdingColumn?: string;
|
|
2371
|
+
/** Optional. The distance measure used in nearest neighbor search. */
|
|
2372
|
+
distanceMeasureType?: string;
|
|
2373
|
+
/** Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search. */
|
|
2374
|
+
embeddingColumn?: string;
|
|
2375
|
+
/** Optional. The number of dimensions of the input embedding. */
|
|
2376
|
+
embeddingDimension?: number;
|
|
2377
|
+
/** Optional. Columns of features that're used to filter vector search results. */
|
|
2378
|
+
filterColumns?: string[];
|
|
2379
|
+
/** Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396 */
|
|
2380
|
+
treeAhConfig?: GoogleCloudAiplatformV1beta1FeatureViewIndexConfigTreeAHConfig;
|
|
2381
|
+
}
|
|
2382
|
+
interface GoogleCloudAiplatformV1beta1FeatureViewIndexConfigBruteForceConfig {}
|
|
2383
|
+
interface GoogleCloudAiplatformV1beta1FeatureViewIndexConfigTreeAHConfig {
|
|
2384
|
+
/** Optional. Number of embeddings on each leaf node. The default value is 1000 if not set. */
|
|
2385
|
+
leafNodeEmbeddingCount?: string;
|
|
2386
|
+
}
|
|
2197
2387
|
interface GoogleCloudAiplatformV1beta1FeatureViewSync {
|
|
2198
2388
|
/** Output only. Time when this FeatureViewSync is created. Creation of a FeatureViewSync means that the job is pending / waiting for sufficient resources but may not have started the actual data transfer yet. */
|
|
2199
2389
|
createTime?: string;
|
|
@@ -2248,6 +2438,8 @@ declare namespace gapi.client {
|
|
|
2248
2438
|
id?: string;
|
|
2249
2439
|
}
|
|
2250
2440
|
interface GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse {
|
|
2441
|
+
/** The data key associated with this response. Will only be populated for FeatureOnlineStoreService.StreamingFetchFeatureValues RPCs. */
|
|
2442
|
+
dataKey?: GoogleCloudAiplatformV1beta1FeatureViewDataKey;
|
|
2251
2443
|
/** Feature values in KeyValue format. */
|
|
2252
2444
|
keyValues?: GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairList;
|
|
2253
2445
|
/** Feature values in proto Struct format. */
|
|
@@ -2313,6 +2505,28 @@ declare namespace gapi.client {
|
|
|
2313
2505
|
/** The distance between the neighbor and the query vector. */
|
|
2314
2506
|
distance?: number;
|
|
2315
2507
|
}
|
|
2508
|
+
interface GoogleCloudAiplatformV1beta1FluencyInput {
|
|
2509
|
+
/** Required. Fluency instance. */
|
|
2510
|
+
instance?: GoogleCloudAiplatformV1beta1FluencyInstance;
|
|
2511
|
+
/** Required. Spec for fluency score metric. */
|
|
2512
|
+
metricSpec?: GoogleCloudAiplatformV1beta1FluencySpec;
|
|
2513
|
+
}
|
|
2514
|
+
interface GoogleCloudAiplatformV1beta1FluencyInstance {
|
|
2515
|
+
/** Required. Output of the evaluated model. */
|
|
2516
|
+
prediction?: string;
|
|
2517
|
+
}
|
|
2518
|
+
interface GoogleCloudAiplatformV1beta1FluencyResult {
|
|
2519
|
+
/** Output only. Confidence for fluency score. */
|
|
2520
|
+
confidence?: number;
|
|
2521
|
+
/** Output only. Explanation for fluency score. */
|
|
2522
|
+
explanation?: string;
|
|
2523
|
+
/** Output only. Fluency score. */
|
|
2524
|
+
score?: number;
|
|
2525
|
+
}
|
|
2526
|
+
interface GoogleCloudAiplatformV1beta1FluencySpec {
|
|
2527
|
+
/** Optional. Which version to use for evaluation. */
|
|
2528
|
+
version?: number;
|
|
2529
|
+
}
|
|
2316
2530
|
interface GoogleCloudAiplatformV1beta1FractionSplit {
|
|
2317
2531
|
/** The fraction of the input data that is to be used to evaluate the Model. */
|
|
2318
2532
|
testFraction?: number;
|
|
@@ -2321,12 +2535,42 @@ declare namespace gapi.client {
|
|
|
2321
2535
|
/** The fraction of the input data that is to be used to validate the Model. */
|
|
2322
2536
|
validationFraction?: number;
|
|
2323
2537
|
}
|
|
2538
|
+
interface GoogleCloudAiplatformV1beta1FulfillmentInput {
|
|
2539
|
+
/** Required. Fulfillment instance. */
|
|
2540
|
+
instance?: GoogleCloudAiplatformV1beta1FulfillmentInstance;
|
|
2541
|
+
/** Required. Spec for fulfillment score metric. */
|
|
2542
|
+
metricSpec?: GoogleCloudAiplatformV1beta1FulfillmentSpec;
|
|
2543
|
+
}
|
|
2544
|
+
interface GoogleCloudAiplatformV1beta1FulfillmentInstance {
|
|
2545
|
+
/** Required. Inference instruction prompt to compare prediction with. */
|
|
2546
|
+
instruction?: string;
|
|
2547
|
+
/** Required. Output of the evaluated model. */
|
|
2548
|
+
prediction?: string;
|
|
2549
|
+
}
|
|
2550
|
+
interface GoogleCloudAiplatformV1beta1FulfillmentResult {
|
|
2551
|
+
/** Output only. Confidence for fulfillment score. */
|
|
2552
|
+
confidence?: number;
|
|
2553
|
+
/** Output only. Explanation for fulfillment score. */
|
|
2554
|
+
explanation?: string;
|
|
2555
|
+
/** Output only. Fulfillment score. */
|
|
2556
|
+
score?: number;
|
|
2557
|
+
}
|
|
2558
|
+
interface GoogleCloudAiplatformV1beta1FulfillmentSpec {
|
|
2559
|
+
/** Optional. Which version to use for evaluation. */
|
|
2560
|
+
version?: number;
|
|
2561
|
+
}
|
|
2324
2562
|
interface GoogleCloudAiplatformV1beta1FunctionCall {
|
|
2325
2563
|
/** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
|
|
2326
2564
|
args?: {[P in string]: any};
|
|
2327
2565
|
/** Required. The name of the function to call. Matches [FunctionDeclaration.name]. */
|
|
2328
2566
|
name?: string;
|
|
2329
2567
|
}
|
|
2568
|
+
interface GoogleCloudAiplatformV1beta1FunctionCallingConfig {
|
|
2569
|
+
/** Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided. */
|
|
2570
|
+
allowedFunctionNames?: string[];
|
|
2571
|
+
/** Optional. Function calling mode. */
|
|
2572
|
+
mode?: string;
|
|
2573
|
+
}
|
|
2330
2574
|
interface GoogleCloudAiplatformV1beta1FunctionDeclaration {
|
|
2331
2575
|
/** Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */
|
|
2332
2576
|
description?: string;
|
|
@@ -2334,6 +2578,8 @@ declare namespace gapi.client {
|
|
|
2334
2578
|
name?: string;
|
|
2335
2579
|
/** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
|
|
2336
2580
|
parameters?: GoogleCloudAiplatformV1beta1Schema;
|
|
2581
|
+
/** Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. */
|
|
2582
|
+
response?: GoogleCloudAiplatformV1beta1Schema;
|
|
2337
2583
|
}
|
|
2338
2584
|
interface GoogleCloudAiplatformV1beta1FunctionResponse {
|
|
2339
2585
|
/** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
|
|
@@ -2370,8 +2616,10 @@ declare namespace gapi.client {
|
|
|
2370
2616
|
generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
|
|
2371
2617
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
2372
2618
|
safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
|
|
2373
|
-
/** Optional. The user provided system instructions for the model. */
|
|
2374
|
-
|
|
2619
|
+
/** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
|
|
2620
|
+
systemInstruction?: GoogleCloudAiplatformV1beta1Content;
|
|
2621
|
+
/** Optional. Tool config. This config is shared for all tools provided in the request. */
|
|
2622
|
+
toolConfig?: GoogleCloudAiplatformV1beta1ToolConfig;
|
|
2375
2623
|
/** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
|
|
2376
2624
|
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
2377
2625
|
}
|
|
@@ -2401,8 +2649,12 @@ declare namespace gapi.client {
|
|
|
2401
2649
|
interface GoogleCloudAiplatformV1beta1GenerationConfig {
|
|
2402
2650
|
/** Optional. Number of candidates to generate. */
|
|
2403
2651
|
candidateCount?: number;
|
|
2652
|
+
/** Optional. Frequency penalties. */
|
|
2653
|
+
frequencyPenalty?: number;
|
|
2404
2654
|
/** Optional. The maximum number of output tokens to generate per message. */
|
|
2405
2655
|
maxOutputTokens?: number;
|
|
2656
|
+
/** Optional. Positive penalties. */
|
|
2657
|
+
presencePenalty?: number;
|
|
2406
2658
|
/** Optional. Stop sequences. */
|
|
2407
2659
|
stopSequences?: string[];
|
|
2408
2660
|
/** Optional. Controls the randomness of predictions. */
|
|
@@ -2424,18 +2676,60 @@ declare namespace gapi.client {
|
|
|
2424
2676
|
/** Required. The public base model URI. */
|
|
2425
2677
|
baseModelUri?: string;
|
|
2426
2678
|
}
|
|
2679
|
+
interface GoogleCloudAiplatformV1beta1GoogleDriveSource {
|
|
2680
|
+
/** Required. Google Drive resource IDs. */
|
|
2681
|
+
resourceIds?: GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId[];
|
|
2682
|
+
}
|
|
2683
|
+
interface GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId {
|
|
2684
|
+
/** Required. The ID of the Google Drive resource. */
|
|
2685
|
+
resourceId?: string;
|
|
2686
|
+
/** Required. The type of the Google Drive resource. */
|
|
2687
|
+
resourceType?: string;
|
|
2688
|
+
}
|
|
2427
2689
|
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
2428
2690
|
/** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
|
|
2429
2691
|
disableAttribution?: boolean;
|
|
2430
2692
|
}
|
|
2693
|
+
interface GoogleCloudAiplatformV1beta1GroundednessInput {
|
|
2694
|
+
/** Required. Groundedness instance. */
|
|
2695
|
+
instance?: GoogleCloudAiplatformV1beta1GroundednessInstance;
|
|
2696
|
+
/** Required. Spec for groundedness metric. */
|
|
2697
|
+
metricSpec?: GoogleCloudAiplatformV1beta1GroundednessSpec;
|
|
2698
|
+
}
|
|
2699
|
+
interface GoogleCloudAiplatformV1beta1GroundednessInstance {
|
|
2700
|
+
/** Required. Background information provided in context used to compare against the prediction. */
|
|
2701
|
+
context?: string;
|
|
2702
|
+
/** Required. Output of the evaluated model. */
|
|
2703
|
+
prediction?: string;
|
|
2704
|
+
}
|
|
2705
|
+
interface GoogleCloudAiplatformV1beta1GroundednessResult {
|
|
2706
|
+
/** Output only. Confidence for groundedness score. */
|
|
2707
|
+
confidence?: number;
|
|
2708
|
+
/** Output only. Explanation for groundedness score. */
|
|
2709
|
+
explanation?: string;
|
|
2710
|
+
/** Output only. Groundedness score. */
|
|
2711
|
+
score?: number;
|
|
2712
|
+
}
|
|
2713
|
+
interface GoogleCloudAiplatformV1beta1GroundednessSpec {
|
|
2714
|
+
/** Optional. Which version to use for evaluation. */
|
|
2715
|
+
version?: number;
|
|
2716
|
+
}
|
|
2431
2717
|
interface GoogleCloudAiplatformV1beta1GroundingAttribution {
|
|
2432
2718
|
/** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
|
|
2433
2719
|
confidenceScore?: number;
|
|
2720
|
+
/** Optional. Attribution from context retrieved by the retrieval tools. */
|
|
2721
|
+
retrievedContext?: GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext;
|
|
2434
2722
|
/** Output only. Segment of the content this attribution belongs to. */
|
|
2435
2723
|
segment?: GoogleCloudAiplatformV1beta1Segment;
|
|
2436
2724
|
/** Optional. Attribution from the web. */
|
|
2437
2725
|
web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
|
|
2438
2726
|
}
|
|
2727
|
+
interface GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext {
|
|
2728
|
+
/** Output only. Title of the attribution. */
|
|
2729
|
+
title?: string;
|
|
2730
|
+
/** Output only. URI reference of the attribution. */
|
|
2731
|
+
uri?: string;
|
|
2732
|
+
}
|
|
2439
2733
|
interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
|
|
2440
2734
|
/** Output only. Title of the attribution. */
|
|
2441
2735
|
title?: string;
|
|
@@ -2445,6 +2739,8 @@ declare namespace gapi.client {
|
|
|
2445
2739
|
interface GoogleCloudAiplatformV1beta1GroundingMetadata {
|
|
2446
2740
|
/** Optional. List of grounding attributions. */
|
|
2447
2741
|
groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
|
|
2742
|
+
/** Optional. Queries executed by the retrieval tools. */
|
|
2743
|
+
retrievalQueries?: string[];
|
|
2448
2744
|
/** Optional. Web search queries for the following-up web search. */
|
|
2449
2745
|
webSearchQueries?: string[];
|
|
2450
2746
|
}
|
|
@@ -2564,6 +2860,18 @@ declare namespace gapi.client {
|
|
|
2564
2860
|
/** Required. Model evaluation resource to be imported. */
|
|
2565
2861
|
modelEvaluation?: GoogleCloudAiplatformV1beta1ModelEvaluation;
|
|
2566
2862
|
}
|
|
2863
|
+
interface GoogleCloudAiplatformV1beta1ImportRagFilesConfig {
|
|
2864
|
+
/** Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: * "gs://bucket_name/my_directory/object_name/my_file.txt". * "gs://bucket_name/my_directory" */
|
|
2865
|
+
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
2866
|
+
/** Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
2867
|
+
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
2868
|
+
/** Specifies the size and overlap of chunks after importing RagFiles. */
|
|
2869
|
+
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
2870
|
+
}
|
|
2871
|
+
interface GoogleCloudAiplatformV1beta1ImportRagFilesRequest {
|
|
2872
|
+
/** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
|
|
2873
|
+
importRagFilesConfig?: GoogleCloudAiplatformV1beta1ImportRagFilesConfig;
|
|
2874
|
+
}
|
|
2567
2875
|
interface GoogleCloudAiplatformV1beta1Index {
|
|
2568
2876
|
/** Output only. Timestamp when this Index was created. */
|
|
2569
2877
|
createTime?: string;
|
|
@@ -2954,6 +3262,24 @@ declare namespace gapi.client {
|
|
|
2954
3262
|
/** List of PublisherModels in the requested page. */
|
|
2955
3263
|
publisherModels?: GoogleCloudAiplatformV1beta1PublisherModel[];
|
|
2956
3264
|
}
|
|
3265
|
+
interface GoogleCloudAiplatformV1beta1ListRagCorporaResponse {
|
|
3266
|
+
/** A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page. */
|
|
3267
|
+
nextPageToken?: string;
|
|
3268
|
+
/** List of RagCorpora in the requested page. */
|
|
3269
|
+
ragCorpora?: GoogleCloudAiplatformV1beta1RagCorpus[];
|
|
3270
|
+
}
|
|
3271
|
+
interface GoogleCloudAiplatformV1beta1ListRagFilesResponse {
|
|
3272
|
+
/** A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page. */
|
|
3273
|
+
nextPageToken?: string;
|
|
3274
|
+
/** List of RagFiles in the requested page. */
|
|
3275
|
+
ragFiles?: GoogleCloudAiplatformV1beta1RagFile[];
|
|
3276
|
+
}
|
|
3277
|
+
interface GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse {
|
|
3278
|
+
/** A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page. */
|
|
3279
|
+
nextPageToken?: string;
|
|
3280
|
+
/** List of ReasoningEngines in the requested page. */
|
|
3281
|
+
reasoningEngines?: GoogleCloudAiplatformV1beta1ReasoningEngine[];
|
|
3282
|
+
}
|
|
2957
3283
|
interface GoogleCloudAiplatformV1beta1ListSavedQueriesResponse {
|
|
2958
3284
|
/** The standard List next-page token. */
|
|
2959
3285
|
nextPageToken?: string;
|
|
@@ -3876,6 +4202,70 @@ declare namespace gapi.client {
|
|
|
3876
4202
|
/** Immutable. A resource name of the NotebookRuntimeTemplate. */
|
|
3877
4203
|
notebookRuntimeTemplate?: string;
|
|
3878
4204
|
}
|
|
4205
|
+
interface GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInput {
|
|
4206
|
+
/** Required. Pairwise question answering quality instance. */
|
|
4207
|
+
instance?: GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance;
|
|
4208
|
+
/** Required. Spec for pairwise question answering quality score metric. */
|
|
4209
|
+
metricSpec?: GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualitySpec;
|
|
4210
|
+
}
|
|
4211
|
+
interface GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance {
|
|
4212
|
+
/** Required. Output of the baseline model. */
|
|
4213
|
+
baselinePrediction?: string;
|
|
4214
|
+
/** Optional. Text to answer the question. */
|
|
4215
|
+
context?: string;
|
|
4216
|
+
/** Required. Question Answering prompt for LLM. */
|
|
4217
|
+
instruction?: string;
|
|
4218
|
+
/** Required. Output of the candidate model. */
|
|
4219
|
+
prediction?: string;
|
|
4220
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
4221
|
+
reference?: string;
|
|
4222
|
+
}
|
|
4223
|
+
interface GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult {
|
|
4224
|
+
/** Output only. Confidence for question answering quality score. */
|
|
4225
|
+
confidence?: number;
|
|
4226
|
+
/** Output only. Explanation for question answering quality score. */
|
|
4227
|
+
explanation?: string;
|
|
4228
|
+
/** Output only. Pairwise question answering prediction choice. */
|
|
4229
|
+
pairwiseChoice?: string;
|
|
4230
|
+
}
|
|
4231
|
+
interface GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualitySpec {
|
|
4232
|
+
/** Optional. Whether to use instance.reference to compute question answering quality. */
|
|
4233
|
+
useReference?: boolean;
|
|
4234
|
+
/** Optional. Which version to use for evaluation. */
|
|
4235
|
+
version?: number;
|
|
4236
|
+
}
|
|
4237
|
+
interface GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInput {
|
|
4238
|
+
/** Required. Pairwise summarization quality instance. */
|
|
4239
|
+
instance?: GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInstance;
|
|
4240
|
+
/** Required. Spec for pairwise summarization quality score metric. */
|
|
4241
|
+
metricSpec?: GoogleCloudAiplatformV1beta1PairwiseSummarizationQualitySpec;
|
|
4242
|
+
}
|
|
4243
|
+
interface GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInstance {
|
|
4244
|
+
/** Required. Output of the baseline model. */
|
|
4245
|
+
baselinePrediction?: string;
|
|
4246
|
+
/** Required. Text to be summarized. */
|
|
4247
|
+
context?: string;
|
|
4248
|
+
/** Required. Summarization prompt for LLM. */
|
|
4249
|
+
instruction?: string;
|
|
4250
|
+
/** Required. Output of the candidate model. */
|
|
4251
|
+
prediction?: string;
|
|
4252
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
4253
|
+
reference?: string;
|
|
4254
|
+
}
|
|
4255
|
+
interface GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult {
|
|
4256
|
+
/** Output only. Confidence for summarization quality score. */
|
|
4257
|
+
confidence?: number;
|
|
4258
|
+
/** Output only. Explanation for summarization quality score. */
|
|
4259
|
+
explanation?: string;
|
|
4260
|
+
/** Output only. Pairwise summarization prediction choice. */
|
|
4261
|
+
pairwiseChoice?: string;
|
|
4262
|
+
}
|
|
4263
|
+
interface GoogleCloudAiplatformV1beta1PairwiseSummarizationQualitySpec {
|
|
4264
|
+
/** Optional. Whether to use instance.reference to compute pairwise summarization quality. */
|
|
4265
|
+
useReference?: boolean;
|
|
4266
|
+
/** Optional. Which version to use for evaluation. */
|
|
4267
|
+
version?: number;
|
|
4268
|
+
}
|
|
3879
4269
|
interface GoogleCloudAiplatformV1beta1Part {
|
|
3880
4270
|
/** Optional. URI based data. */
|
|
3881
4271
|
fileData?: GoogleCloudAiplatformV1beta1FileData;
|
|
@@ -4181,6 +4571,8 @@ declare namespace gapi.client {
|
|
|
4181
4571
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
4182
4572
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4183
4573
|
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
4574
|
+
/** Optional. Multiple setups to deploy the PublisherModel to Vertex Endpoint. */
|
|
4575
|
+
multiDeployVertex?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex;
|
|
4184
4576
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4185
4577
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4186
4578
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -4226,6 +4618,10 @@ declare namespace gapi.client {
|
|
|
4226
4618
|
/** Optional. GKE deployment configuration in yaml format. */
|
|
4227
4619
|
gkeYamlConfigs?: string[];
|
|
4228
4620
|
}
|
|
4621
|
+
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex {
|
|
4622
|
+
/** Optional. One click deployment configurations. */
|
|
4623
|
+
multiDeployVertex?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy[];
|
|
4624
|
+
}
|
|
4229
4625
|
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines {
|
|
4230
4626
|
/** Required. Regional resource references to fine tuning pipelines. */
|
|
4231
4627
|
fineTuningPipelines?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences[];
|
|
@@ -4348,6 +4744,226 @@ declare namespace gapi.client {
|
|
|
4348
4744
|
/** The total number of Endpoints that have DeployedModels on this DeploymentResourcePool. */
|
|
4349
4745
|
totalEndpointCount?: number;
|
|
4350
4746
|
}
|
|
4747
|
+
interface GoogleCloudAiplatformV1beta1QueryExtensionRequest {
|
|
4748
|
+
/** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
|
|
4749
|
+
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
4750
|
+
}
|
|
4751
|
+
interface GoogleCloudAiplatformV1beta1QueryExtensionResponse {
|
|
4752
|
+
/** Failure message if any. */
|
|
4753
|
+
failureMessage?: string;
|
|
4754
|
+
/** Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query. */
|
|
4755
|
+
steps?: GoogleCloudAiplatformV1beta1Content[];
|
|
4756
|
+
}
|
|
4757
|
+
interface GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest {
|
|
4758
|
+
/** Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc. */
|
|
4759
|
+
input?: {[P in string]: any};
|
|
4760
|
+
}
|
|
4761
|
+
interface GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse {
|
|
4762
|
+
/** Response provided by users in JSON object format. */
|
|
4763
|
+
output?: any;
|
|
4764
|
+
}
|
|
4765
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInput {
|
|
4766
|
+
/** Required. Question answering correctness instance. */
|
|
4767
|
+
instance?: GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInstance;
|
|
4768
|
+
/** Required. Spec for question answering correctness score metric. */
|
|
4769
|
+
metricSpec?: GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessSpec;
|
|
4770
|
+
}
|
|
4771
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInstance {
|
|
4772
|
+
/** Optional. Text provided as context to answer the question. */
|
|
4773
|
+
context?: string;
|
|
4774
|
+
/** Required. The question asked and other instruction in the inference prompt. */
|
|
4775
|
+
instruction?: string;
|
|
4776
|
+
/** Required. Output of the evaluated model. */
|
|
4777
|
+
prediction?: string;
|
|
4778
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
4779
|
+
reference?: string;
|
|
4780
|
+
}
|
|
4781
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessResult {
|
|
4782
|
+
/** Output only. Confidence for question answering correctness score. */
|
|
4783
|
+
confidence?: number;
|
|
4784
|
+
/** Output only. Explanation for question answering correctness score. */
|
|
4785
|
+
explanation?: string;
|
|
4786
|
+
/** Output only. Question Answering Correctness score. */
|
|
4787
|
+
score?: number;
|
|
4788
|
+
}
|
|
4789
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessSpec {
|
|
4790
|
+
/** Optional. Whether to use instance.reference to compute question answering correctness. */
|
|
4791
|
+
useReference?: boolean;
|
|
4792
|
+
/** Optional. Which version to use for evaluation. */
|
|
4793
|
+
version?: number;
|
|
4794
|
+
}
|
|
4795
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInput {
|
|
4796
|
+
/** Required. Question answering helpfulness instance. */
|
|
4797
|
+
instance?: GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInstance;
|
|
4798
|
+
/** Required. Spec for question answering helpfulness score metric. */
|
|
4799
|
+
metricSpec?: GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessSpec;
|
|
4800
|
+
}
|
|
4801
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInstance {
|
|
4802
|
+
/** Optional. Text provided as context to answer the question. */
|
|
4803
|
+
context?: string;
|
|
4804
|
+
/** Required. The question asked and other instruction in the inference prompt. */
|
|
4805
|
+
instruction?: string;
|
|
4806
|
+
/** Required. Output of the evaluated model. */
|
|
4807
|
+
prediction?: string;
|
|
4808
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
4809
|
+
reference?: string;
|
|
4810
|
+
}
|
|
4811
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessResult {
|
|
4812
|
+
/** Output only. Confidence for question answering helpfulness score. */
|
|
4813
|
+
confidence?: number;
|
|
4814
|
+
/** Output only. Explanation for question answering helpfulness score. */
|
|
4815
|
+
explanation?: string;
|
|
4816
|
+
/** Output only. Question Answering Helpfulness score. */
|
|
4817
|
+
score?: number;
|
|
4818
|
+
}
|
|
4819
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessSpec {
|
|
4820
|
+
/** Optional. Whether to use instance.reference to compute question answering helpfulness. */
|
|
4821
|
+
useReference?: boolean;
|
|
4822
|
+
/** Optional. Which version to use for evaluation. */
|
|
4823
|
+
version?: number;
|
|
4824
|
+
}
|
|
4825
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInput {
|
|
4826
|
+
/** Required. Question answering quality instance. */
|
|
4827
|
+
instance?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance;
|
|
4828
|
+
/** Required. Spec for question answering quality score metric. */
|
|
4829
|
+
metricSpec?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualitySpec;
|
|
4830
|
+
}
|
|
4831
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance {
|
|
4832
|
+
/** Optional. Text to answer the question. */
|
|
4833
|
+
context?: string;
|
|
4834
|
+
/** Required. Question Answering prompt for LLM. */
|
|
4835
|
+
instruction?: string;
|
|
4836
|
+
/** Required. Output of the evaluated model. */
|
|
4837
|
+
prediction?: string;
|
|
4838
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
4839
|
+
reference?: string;
|
|
4840
|
+
}
|
|
4841
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringQualityResult {
|
|
4842
|
+
/** Output only. Confidence for question answering quality score. */
|
|
4843
|
+
confidence?: number;
|
|
4844
|
+
/** Output only. Explanation for question answering quality score. */
|
|
4845
|
+
explanation?: string;
|
|
4846
|
+
/** Output only. Question Answering Quality score. */
|
|
4847
|
+
score?: number;
|
|
4848
|
+
}
|
|
4849
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringQualitySpec {
|
|
4850
|
+
/** Optional. Whether to use instance.reference to compute question answering quality. */
|
|
4851
|
+
useReference?: boolean;
|
|
4852
|
+
/** Optional. Which version to use for evaluation. */
|
|
4853
|
+
version?: number;
|
|
4854
|
+
}
|
|
4855
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput {
|
|
4856
|
+
/** Required. Question answering relevance instance. */
|
|
4857
|
+
instance?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInstance;
|
|
4858
|
+
/** Required. Spec for question answering relevance score metric. */
|
|
4859
|
+
metricSpec?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceSpec;
|
|
4860
|
+
}
|
|
4861
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInstance {
|
|
4862
|
+
/** Optional. Text provided as context to answer the question. */
|
|
4863
|
+
context?: string;
|
|
4864
|
+
/** Required. The question asked and other instruction in the inference prompt. */
|
|
4865
|
+
instruction?: string;
|
|
4866
|
+
/** Required. Output of the evaluated model. */
|
|
4867
|
+
prediction?: string;
|
|
4868
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
4869
|
+
reference?: string;
|
|
4870
|
+
}
|
|
4871
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult {
|
|
4872
|
+
/** Output only. Confidence for question answering relevance score. */
|
|
4873
|
+
confidence?: number;
|
|
4874
|
+
/** Output only. Explanation for question answering relevance score. */
|
|
4875
|
+
explanation?: string;
|
|
4876
|
+
/** Output only. Question Answering Relevance score. */
|
|
4877
|
+
score?: number;
|
|
4878
|
+
}
|
|
4879
|
+
interface GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceSpec {
|
|
4880
|
+
/** Optional. Whether to use instance.reference to compute question answering relevance. */
|
|
4881
|
+
useReference?: boolean;
|
|
4882
|
+
/** Optional. Which version to use for evaluation. */
|
|
4883
|
+
version?: number;
|
|
4884
|
+
}
|
|
4885
|
+
interface GoogleCloudAiplatformV1beta1RagContextRecallInput {
|
|
4886
|
+
/** Required. Rag context recall instance. */
|
|
4887
|
+
instance?: GoogleCloudAiplatformV1beta1RagContextRecallInstance;
|
|
4888
|
+
/** Required. Spec for rag context recall metric. */
|
|
4889
|
+
metricSpec?: GoogleCloudAiplatformV1beta1RagContextRecallSpec;
|
|
4890
|
+
}
|
|
4891
|
+
interface GoogleCloudAiplatformV1beta1RagContextRecallInstance {
|
|
4892
|
+
/** Required. Retrieved facts from RAG pipeline as context to be evaluated. */
|
|
4893
|
+
context?: string;
|
|
4894
|
+
/** Required. Ground truth used to compare against the context. */
|
|
4895
|
+
reference?: string;
|
|
4896
|
+
}
|
|
4897
|
+
interface GoogleCloudAiplatformV1beta1RagContextRecallResult {
|
|
4898
|
+
/** Output only. Confidence for rag context recall score. */
|
|
4899
|
+
confidence?: number;
|
|
4900
|
+
/** Output only. Explanation for rag context recall score. */
|
|
4901
|
+
explanation?: string;
|
|
4902
|
+
/** Output only. RagContextRecall score. */
|
|
4903
|
+
score?: number;
|
|
4904
|
+
}
|
|
4905
|
+
interface GoogleCloudAiplatformV1beta1RagContextRecallSpec {
|
|
4906
|
+
/** Optional. Which version to use for evaluation. */
|
|
4907
|
+
version?: number;
|
|
4908
|
+
}
|
|
4909
|
+
interface GoogleCloudAiplatformV1beta1RagContexts {
|
|
4910
|
+
/** All its contexts. */
|
|
4911
|
+
contexts?: GoogleCloudAiplatformV1beta1RagContextsContext[];
|
|
4912
|
+
}
|
|
4913
|
+
interface GoogleCloudAiplatformV1beta1RagContextsContext {
|
|
4914
|
+
/** The distance between the query vector and the context text vector. */
|
|
4915
|
+
distance?: number;
|
|
4916
|
+
/** For vertex RagStore, if the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name. */
|
|
4917
|
+
sourceUri?: string;
|
|
4918
|
+
/** The text chunk. */
|
|
4919
|
+
text?: string;
|
|
4920
|
+
}
|
|
4921
|
+
interface GoogleCloudAiplatformV1beta1RagCorpus {
|
|
4922
|
+
/** Output only. Timestamp when this RagCorpus was created. */
|
|
4923
|
+
createTime?: string;
|
|
4924
|
+
/** Optional. The description of the RagCorpus. */
|
|
4925
|
+
description?: string;
|
|
4926
|
+
/** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4927
|
+
displayName?: string;
|
|
4928
|
+
/** Output only. The resource name of the RagCorpus. */
|
|
4929
|
+
name?: string;
|
|
4930
|
+
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
4931
|
+
updateTime?: string;
|
|
4932
|
+
}
|
|
4933
|
+
interface GoogleCloudAiplatformV1beta1RagFile {
|
|
4934
|
+
/** Output only. Timestamp when this RagFile was created. */
|
|
4935
|
+
createTime?: string;
|
|
4936
|
+
/** Optional. The description of the RagFile. */
|
|
4937
|
+
description?: string;
|
|
4938
|
+
/** Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request. */
|
|
4939
|
+
directUploadSource?: any;
|
|
4940
|
+
/** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4941
|
+
displayName?: string;
|
|
4942
|
+
/** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now. */
|
|
4943
|
+
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
4944
|
+
/** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
4945
|
+
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
4946
|
+
/** Output only. The resource name of the RagFile. */
|
|
4947
|
+
name?: string;
|
|
4948
|
+
/** Output only. The type of the RagFile. */
|
|
4949
|
+
ragFileType?: string;
|
|
4950
|
+
/** Output only. The size of the RagFile in bytes. */
|
|
4951
|
+
sizeBytes?: string;
|
|
4952
|
+
/** Output only. Timestamp when this RagFile was last updated. */
|
|
4953
|
+
updateTime?: string;
|
|
4954
|
+
}
|
|
4955
|
+
interface GoogleCloudAiplatformV1beta1RagFileChunkingConfig {
|
|
4956
|
+
/** The overlap between chunks. */
|
|
4957
|
+
chunkOverlap?: number;
|
|
4958
|
+
/** The size of the chunks. */
|
|
4959
|
+
chunkSize?: number;
|
|
4960
|
+
}
|
|
4961
|
+
interface GoogleCloudAiplatformV1beta1RagQuery {
|
|
4962
|
+
/** Optional. The number of contexts to retrieve. */
|
|
4963
|
+
similarityTopK?: number;
|
|
4964
|
+
/** Optional. The query in text format to get relevant contexts. */
|
|
4965
|
+
text?: string;
|
|
4966
|
+
}
|
|
4351
4967
|
interface GoogleCloudAiplatformV1beta1RawPredictRequest {
|
|
4352
4968
|
/** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
|
|
4353
4969
|
httpBody?: GoogleApiHttpBody;
|
|
@@ -4438,12 +5054,45 @@ declare namespace gapi.client {
|
|
|
4438
5054
|
/** Number of times the user has read data within the Tensorboard. */
|
|
4439
5055
|
viewCount?: string;
|
|
4440
5056
|
}
|
|
5057
|
+
interface GoogleCloudAiplatformV1beta1ReasoningEngine {
|
|
5058
|
+
/** Output only. Timestamp when this ReasoningEngine was created. */
|
|
5059
|
+
createTime?: string;
|
|
5060
|
+
/** Optional. The description of the ReasoningEngine. */
|
|
5061
|
+
description?: string;
|
|
5062
|
+
/** Required. The display name of the ReasoningEngine. */
|
|
5063
|
+
displayName?: string;
|
|
5064
|
+
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
5065
|
+
etag?: string;
|
|
5066
|
+
/** Identifier. The resource name of the ReasoningEngine. */
|
|
5067
|
+
name?: string;
|
|
5068
|
+
/** Required. Configurations of the ReasoningEngine */
|
|
5069
|
+
spec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpec;
|
|
5070
|
+
/** Output only. Timestamp when this ReasoningEngine was most recently updated. */
|
|
5071
|
+
updateTime?: string;
|
|
5072
|
+
}
|
|
5073
|
+
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
|
|
5074
|
+
/** Optional. Declarations for object class methods. */
|
|
5075
|
+
classMethods?: Array<{[P in string]: any}>;
|
|
5076
|
+
/** Required. User provided package spec of the ReasoningEngine. */
|
|
5077
|
+
packageSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec;
|
|
5078
|
+
}
|
|
5079
|
+
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec {
|
|
5080
|
+
/** Optional. The Cloud Storage URI of the dependency files in tar.gz format. */
|
|
5081
|
+
dependencyFilesGcsUri?: string;
|
|
5082
|
+
/** Optional. The Cloud Storage URI of the pickled python object. */
|
|
5083
|
+
pickleObjectGcsUri?: string;
|
|
5084
|
+
/** Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10. */
|
|
5085
|
+
pythonVersion?: string;
|
|
5086
|
+
/** Optional. The Cloud Storage URI of the `requirements.txt` file */
|
|
5087
|
+
requirementsGcsUri?: string;
|
|
5088
|
+
}
|
|
4441
5089
|
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata {
|
|
4442
5090
|
/** Operation metadata for PersistentResource. */
|
|
4443
5091
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
4444
5092
|
/** Progress Message for Reboot LRO */
|
|
4445
5093
|
progressMessage?: string;
|
|
4446
5094
|
}
|
|
5095
|
+
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest {}
|
|
4447
5096
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
4448
5097
|
/** The resource names of the child Contexts. */
|
|
4449
5098
|
childContexts?: string[];
|
|
@@ -4515,6 +5164,30 @@ declare namespace gapi.client {
|
|
|
4515
5164
|
/** Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time. Therefore this value is not strictly related to wall time. */
|
|
4516
5165
|
replicaHours?: number;
|
|
4517
5166
|
}
|
|
5167
|
+
interface GoogleCloudAiplatformV1beta1ResponseRecallInput {
|
|
5168
|
+
/** Required. Response recall instance. */
|
|
5169
|
+
instance?: GoogleCloudAiplatformV1beta1ResponseRecallInstance;
|
|
5170
|
+
/** Required. Spec for response recall score metric. */
|
|
5171
|
+
metricSpec?: GoogleCloudAiplatformV1beta1ResponseRecallSpec;
|
|
5172
|
+
}
|
|
5173
|
+
interface GoogleCloudAiplatformV1beta1ResponseRecallInstance {
|
|
5174
|
+
/** Required. Output of the evaluated model. */
|
|
5175
|
+
prediction?: string;
|
|
5176
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
5177
|
+
reference?: string;
|
|
5178
|
+
}
|
|
5179
|
+
interface GoogleCloudAiplatformV1beta1ResponseRecallResult {
|
|
5180
|
+
/** Output only. Confidence for fulfillment score. */
|
|
5181
|
+
confidence?: number;
|
|
5182
|
+
/** Output only. Explanation for response recall score. */
|
|
5183
|
+
explanation?: string;
|
|
5184
|
+
/** Output only. ResponseRecall score. */
|
|
5185
|
+
score?: number;
|
|
5186
|
+
}
|
|
5187
|
+
interface GoogleCloudAiplatformV1beta1ResponseRecallSpec {
|
|
5188
|
+
/** Optional. Which version to use for evaluation. */
|
|
5189
|
+
version?: number;
|
|
5190
|
+
}
|
|
4518
5191
|
interface GoogleCloudAiplatformV1beta1RestoreDatasetVersionOperationMetadata {
|
|
4519
5192
|
/** The common part of the operation metadata. */
|
|
4520
5193
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -4529,6 +5202,60 @@ declare namespace gapi.client {
|
|
|
4529
5202
|
disableAttribution?: boolean;
|
|
4530
5203
|
/** Set to use data source powered by Vertex AI Search. */
|
|
4531
5204
|
vertexAiSearch?: GoogleCloudAiplatformV1beta1VertexAISearch;
|
|
5205
|
+
/** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
|
|
5206
|
+
vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
|
|
5207
|
+
}
|
|
5208
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequest {
|
|
5209
|
+
/** Required. Single RAG retrieve query. */
|
|
5210
|
+
query?: GoogleCloudAiplatformV1beta1RagQuery;
|
|
5211
|
+
/** The data source for Vertex RagStore. */
|
|
5212
|
+
vertexRagStore?: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore;
|
|
5213
|
+
}
|
|
5214
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore {
|
|
5215
|
+
/** Required. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. */
|
|
5216
|
+
ragCorpora?: string[];
|
|
5217
|
+
}
|
|
5218
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsResponse {
|
|
5219
|
+
/** The contexts of the query. */
|
|
5220
|
+
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
5221
|
+
}
|
|
5222
|
+
interface GoogleCloudAiplatformV1beta1RougeInput {
|
|
5223
|
+
/** Required. Repeated rouge instances. */
|
|
5224
|
+
instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
|
|
5225
|
+
/** Required. Spec for rouge score metric. */
|
|
5226
|
+
metricSpec?: GoogleCloudAiplatformV1beta1RougeSpec;
|
|
5227
|
+
}
|
|
5228
|
+
interface GoogleCloudAiplatformV1beta1RougeInstance {
|
|
5229
|
+
/** Required. Output of the evaluated model. */
|
|
5230
|
+
prediction?: string;
|
|
5231
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
5232
|
+
reference?: string;
|
|
5233
|
+
}
|
|
5234
|
+
interface GoogleCloudAiplatformV1beta1RougeMetricValue {
|
|
5235
|
+
/** Output only. Rouge score. */
|
|
5236
|
+
score?: number;
|
|
5237
|
+
}
|
|
5238
|
+
interface GoogleCloudAiplatformV1beta1RougeResults {
|
|
5239
|
+
/** Output only. Rouge metric values. */
|
|
5240
|
+
rougeMetricValues?: GoogleCloudAiplatformV1beta1RougeMetricValue[];
|
|
5241
|
+
}
|
|
5242
|
+
interface GoogleCloudAiplatformV1beta1RougeSpec {
|
|
5243
|
+
/** Optional. Supported rouge types are rougen[1-9], rougeL and rougeLsum. */
|
|
5244
|
+
rougeType?: string;
|
|
5245
|
+
/** Optional. Whether to split summaries while using rougeLsum. */
|
|
5246
|
+
splitSummaries?: boolean;
|
|
5247
|
+
/** Optional. Whether to use stemmer to compute rouge score. */
|
|
5248
|
+
useStemmer?: boolean;
|
|
5249
|
+
}
|
|
5250
|
+
interface GoogleCloudAiplatformV1beta1SafetyInput {
|
|
5251
|
+
/** Required. Safety instance. */
|
|
5252
|
+
instance?: GoogleCloudAiplatformV1beta1SafetyInstance;
|
|
5253
|
+
/** Required. Spec for safety metric. */
|
|
5254
|
+
metricSpec?: GoogleCloudAiplatformV1beta1SafetySpec;
|
|
5255
|
+
}
|
|
5256
|
+
interface GoogleCloudAiplatformV1beta1SafetyInstance {
|
|
5257
|
+
/** Required. Output of the evaluated model. */
|
|
5258
|
+
prediction?: string;
|
|
4532
5259
|
}
|
|
4533
5260
|
interface GoogleCloudAiplatformV1beta1SafetyRating {
|
|
4534
5261
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
@@ -4544,6 +5271,14 @@ declare namespace gapi.client {
|
|
|
4544
5271
|
/** Output only. Harm severity score. */
|
|
4545
5272
|
severityScore?: number;
|
|
4546
5273
|
}
|
|
5274
|
+
interface GoogleCloudAiplatformV1beta1SafetyResult {
|
|
5275
|
+
/** Output only. Confidence for safety score. */
|
|
5276
|
+
confidence?: number;
|
|
5277
|
+
/** Output only. Explanation for safety score. */
|
|
5278
|
+
explanation?: string;
|
|
5279
|
+
/** Output only. Safety score. */
|
|
5280
|
+
score?: number;
|
|
5281
|
+
}
|
|
4547
5282
|
interface GoogleCloudAiplatformV1beta1SafetySetting {
|
|
4548
5283
|
/** Required. Harm category. */
|
|
4549
5284
|
category?: string;
|
|
@@ -4552,6 +5287,10 @@ declare namespace gapi.client {
|
|
|
4552
5287
|
/** Required. The harm block threshold. */
|
|
4553
5288
|
threshold?: string;
|
|
4554
5289
|
}
|
|
5290
|
+
interface GoogleCloudAiplatformV1beta1SafetySpec {
|
|
5291
|
+
/** Optional. Which version to use for evaluation. */
|
|
5292
|
+
version?: number;
|
|
5293
|
+
}
|
|
4555
5294
|
interface GoogleCloudAiplatformV1beta1SampleConfig {
|
|
4556
5295
|
/** The percentage of data needed to be labeled in each following batch (except the first batch). */
|
|
4557
5296
|
followingBatchSamplePercentage?: number;
|
|
@@ -4651,22 +5390,44 @@ declare namespace gapi.client {
|
|
|
4651
5390
|
timeout?: string;
|
|
4652
5391
|
}
|
|
4653
5392
|
interface GoogleCloudAiplatformV1beta1Schema {
|
|
5393
|
+
/** Optional. Default value of the data. */
|
|
5394
|
+
default?: any;
|
|
4654
5395
|
/** Optional. The description of the data. */
|
|
4655
5396
|
description?: string;
|
|
4656
5397
|
/** Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} */
|
|
4657
5398
|
enum?: string[];
|
|
4658
5399
|
/** Optional. Example of the object. Will only populated when the object is the root. */
|
|
4659
5400
|
example?: any;
|
|
4660
|
-
/** Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 */
|
|
5401
|
+
/** Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc */
|
|
4661
5402
|
format?: string;
|
|
4662
|
-
/** Optional. Schema of the elements of Type.ARRAY. */
|
|
5403
|
+
/** Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY. */
|
|
4663
5404
|
items?: GoogleCloudAiplatformV1beta1Schema;
|
|
5405
|
+
/** Optional. Maximum value of the Type.INTEGER and Type.NUMBER */
|
|
5406
|
+
maximum?: number;
|
|
5407
|
+
/** Optional. Maximum number of the elements for Type.ARRAY. */
|
|
5408
|
+
maxItems?: string;
|
|
5409
|
+
/** Optional. Maximum length of the Type.STRING */
|
|
5410
|
+
maxLength?: string;
|
|
5411
|
+
/** Optional. Maximum number of the properties for Type.OBJECT. */
|
|
5412
|
+
maxProperties?: string;
|
|
5413
|
+
/** Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER */
|
|
5414
|
+
minimum?: number;
|
|
5415
|
+
/** Optional. Minimum number of the elements for Type.ARRAY. */
|
|
5416
|
+
minItems?: string;
|
|
5417
|
+
/** Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING */
|
|
5418
|
+
minLength?: string;
|
|
5419
|
+
/** Optional. Minimum number of the properties for Type.OBJECT. */
|
|
5420
|
+
minProperties?: string;
|
|
4664
5421
|
/** Optional. Indicates if the value may be null. */
|
|
4665
5422
|
nullable?: boolean;
|
|
4666
|
-
/** Optional.
|
|
5423
|
+
/** Optional. Pattern of the Type.STRING to restrict a string to a regular expression. */
|
|
5424
|
+
pattern?: string;
|
|
5425
|
+
/** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
|
|
4667
5426
|
properties?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
|
|
4668
5427
|
/** Optional. Required properties of Type.OBJECT. */
|
|
4669
5428
|
required?: string[];
|
|
5429
|
+
/** Optional. The title of the Schema. */
|
|
5430
|
+
title?: string;
|
|
4670
5431
|
/** Optional. The type of the data. */
|
|
4671
5432
|
type?: string;
|
|
4672
5433
|
}
|
|
@@ -6028,6 +6789,17 @@ declare namespace gapi.client {
|
|
|
6028
6789
|
/** The fraction of the input data that is to be used to validate the Model. */
|
|
6029
6790
|
validationFraction?: number;
|
|
6030
6791
|
}
|
|
6792
|
+
interface GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest {
|
|
6793
|
+
/** Specify response data format. If not set, KeyValue format will be used. */
|
|
6794
|
+
dataFormat?: string;
|
|
6795
|
+
dataKeys?: GoogleCloudAiplatformV1beta1FeatureViewDataKey[];
|
|
6796
|
+
}
|
|
6797
|
+
interface GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse {
|
|
6798
|
+
data?: GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse[];
|
|
6799
|
+
dataKeysWithError?: GoogleCloudAiplatformV1beta1FeatureViewDataKey[];
|
|
6800
|
+
/** Response status. If OK, then StreamingFetchFeatureValuesResponse.data will be populated. Otherwise StreamingFetchFeatureValuesResponse.data_keys_with_error will be populated with the appropriate data keys. The error only applies to the listed data keys - the stream will remain open for further FeatureOnlineStoreService.StreamingFetchFeatureValuesRequest requests. */
|
|
6801
|
+
status?: GoogleRpcStatus;
|
|
6802
|
+
}
|
|
6031
6803
|
interface GoogleCloudAiplatformV1beta1StreamingPredictRequest {
|
|
6032
6804
|
/** The prediction input. */
|
|
6033
6805
|
inputs?: GoogleCloudAiplatformV1beta1Tensor[];
|
|
@@ -6254,6 +7026,96 @@ declare namespace gapi.client {
|
|
|
6254
7026
|
/** A list of Trials. */
|
|
6255
7027
|
trials?: GoogleCloudAiplatformV1beta1Trial[];
|
|
6256
7028
|
}
|
|
7029
|
+
interface GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInput {
|
|
7030
|
+
/** Required. Summarization helpfulness instance. */
|
|
7031
|
+
instance?: GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInstance;
|
|
7032
|
+
/** Required. Spec for summarization helpfulness score metric. */
|
|
7033
|
+
metricSpec?: GoogleCloudAiplatformV1beta1SummarizationHelpfulnessSpec;
|
|
7034
|
+
}
|
|
7035
|
+
interface GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInstance {
|
|
7036
|
+
/** Required. Text to be summarized. */
|
|
7037
|
+
context?: string;
|
|
7038
|
+
/** Optional. Summarization prompt for LLM. */
|
|
7039
|
+
instruction?: string;
|
|
7040
|
+
/** Required. Output of the evaluated model. */
|
|
7041
|
+
prediction?: string;
|
|
7042
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
7043
|
+
reference?: string;
|
|
7044
|
+
}
|
|
7045
|
+
interface GoogleCloudAiplatformV1beta1SummarizationHelpfulnessResult {
|
|
7046
|
+
/** Output only. Confidence for summarization helpfulness score. */
|
|
7047
|
+
confidence?: number;
|
|
7048
|
+
/** Output only. Explanation for summarization helpfulness score. */
|
|
7049
|
+
explanation?: string;
|
|
7050
|
+
/** Output only. Summarization Helpfulness score. */
|
|
7051
|
+
score?: number;
|
|
7052
|
+
}
|
|
7053
|
+
interface GoogleCloudAiplatformV1beta1SummarizationHelpfulnessSpec {
|
|
7054
|
+
/** Optional. Whether to use instance.reference to compute summarization helpfulness. */
|
|
7055
|
+
useReference?: boolean;
|
|
7056
|
+
/** Optional. Which version to use for evaluation. */
|
|
7057
|
+
version?: number;
|
|
7058
|
+
}
|
|
7059
|
+
interface GoogleCloudAiplatformV1beta1SummarizationQualityInput {
|
|
7060
|
+
/** Required. Summarization quality instance. */
|
|
7061
|
+
instance?: GoogleCloudAiplatformV1beta1SummarizationQualityInstance;
|
|
7062
|
+
/** Required. Spec for summarization quality score metric. */
|
|
7063
|
+
metricSpec?: GoogleCloudAiplatformV1beta1SummarizationQualitySpec;
|
|
7064
|
+
}
|
|
7065
|
+
interface GoogleCloudAiplatformV1beta1SummarizationQualityInstance {
|
|
7066
|
+
/** Required. Text to be summarized. */
|
|
7067
|
+
context?: string;
|
|
7068
|
+
/** Required. Summarization prompt for LLM. */
|
|
7069
|
+
instruction?: string;
|
|
7070
|
+
/** Required. Output of the evaluated model. */
|
|
7071
|
+
prediction?: string;
|
|
7072
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
7073
|
+
reference?: string;
|
|
7074
|
+
}
|
|
7075
|
+
interface GoogleCloudAiplatformV1beta1SummarizationQualityResult {
|
|
7076
|
+
/** Output only. Confidence for summarization quality score. */
|
|
7077
|
+
confidence?: number;
|
|
7078
|
+
/** Output only. Explanation for summarization quality score. */
|
|
7079
|
+
explanation?: string;
|
|
7080
|
+
/** Output only. Summarization Quality score. */
|
|
7081
|
+
score?: number;
|
|
7082
|
+
}
|
|
7083
|
+
interface GoogleCloudAiplatformV1beta1SummarizationQualitySpec {
|
|
7084
|
+
/** Optional. Whether to use instance.reference to compute summarization quality. */
|
|
7085
|
+
useReference?: boolean;
|
|
7086
|
+
/** Optional. Which version to use for evaluation. */
|
|
7087
|
+
version?: number;
|
|
7088
|
+
}
|
|
7089
|
+
interface GoogleCloudAiplatformV1beta1SummarizationVerbosityInput {
|
|
7090
|
+
/** Required. Summarization verbosity instance. */
|
|
7091
|
+
instance?: GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance;
|
|
7092
|
+
/** Required. Spec for summarization verbosity score metric. */
|
|
7093
|
+
metricSpec?: GoogleCloudAiplatformV1beta1SummarizationVerbositySpec;
|
|
7094
|
+
}
|
|
7095
|
+
interface GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance {
|
|
7096
|
+
/** Required. Text to be summarized. */
|
|
7097
|
+
context?: string;
|
|
7098
|
+
/** Optional. Summarization prompt for LLM. */
|
|
7099
|
+
instruction?: string;
|
|
7100
|
+
/** Required. Output of the evaluated model. */
|
|
7101
|
+
prediction?: string;
|
|
7102
|
+
/** Optional. Ground truth used to compare against the prediction. */
|
|
7103
|
+
reference?: string;
|
|
7104
|
+
}
|
|
7105
|
+
interface GoogleCloudAiplatformV1beta1SummarizationVerbosityResult {
|
|
7106
|
+
/** Output only. Confidence for summarization verbosity score. */
|
|
7107
|
+
confidence?: number;
|
|
7108
|
+
/** Output only. Explanation for summarization verbosity score. */
|
|
7109
|
+
explanation?: string;
|
|
7110
|
+
/** Output only. Summarization Verbosity score. */
|
|
7111
|
+
score?: number;
|
|
7112
|
+
}
|
|
7113
|
+
interface GoogleCloudAiplatformV1beta1SummarizationVerbositySpec {
|
|
7114
|
+
/** Optional. Whether to use instance.reference to compute summarization verbosity. */
|
|
7115
|
+
useReference?: boolean;
|
|
7116
|
+
/** Optional. Which version to use for evaluation. */
|
|
7117
|
+
version?: number;
|
|
7118
|
+
}
|
|
6257
7119
|
interface GoogleCloudAiplatformV1beta1SyncFeatureViewRequest {}
|
|
6258
7120
|
interface GoogleCloudAiplatformV1beta1SyncFeatureViewResponse {
|
|
6259
7121
|
/** Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` */
|
|
@@ -6445,6 +7307,97 @@ declare namespace gapi.client {
|
|
|
6445
7307
|
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
|
|
6446
7308
|
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
6447
7309
|
}
|
|
7310
|
+
interface GoogleCloudAiplatformV1beta1ToolCallValidInput {
|
|
7311
|
+
/** Required. Repeated tool call valid instances. */
|
|
7312
|
+
instances?: GoogleCloudAiplatformV1beta1ToolCallValidInstance[];
|
|
7313
|
+
/** Required. Spec for tool call valid metric. */
|
|
7314
|
+
metricSpec?: any;
|
|
7315
|
+
}
|
|
7316
|
+
interface GoogleCloudAiplatformV1beta1ToolCallValidInstance {
|
|
7317
|
+
/** Required. Output of the evaluated model. */
|
|
7318
|
+
prediction?: string;
|
|
7319
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
7320
|
+
reference?: string;
|
|
7321
|
+
}
|
|
7322
|
+
interface GoogleCloudAiplatformV1beta1ToolCallValidMetricValue {
|
|
7323
|
+
/** Output only. Tool call valid score. */
|
|
7324
|
+
score?: number;
|
|
7325
|
+
}
|
|
7326
|
+
interface GoogleCloudAiplatformV1beta1ToolCallValidResults {
|
|
7327
|
+
/** Output only. Tool call valid metric values. */
|
|
7328
|
+
toolCallValidMetricValues?: GoogleCloudAiplatformV1beta1ToolCallValidMetricValue[];
|
|
7329
|
+
}
|
|
7330
|
+
interface GoogleCloudAiplatformV1beta1ToolCallValidSpec {}
|
|
7331
|
+
interface GoogleCloudAiplatformV1beta1ToolConfig {
|
|
7332
|
+
/** Optional. Function calling config. */
|
|
7333
|
+
functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
|
|
7334
|
+
}
|
|
7335
|
+
interface GoogleCloudAiplatformV1beta1ToolNameMatchInput {
|
|
7336
|
+
/** Required. Repeated tool name match instances. */
|
|
7337
|
+
instances?: GoogleCloudAiplatformV1beta1ToolNameMatchInstance[];
|
|
7338
|
+
/** Required. Spec for tool name match metric. */
|
|
7339
|
+
metricSpec?: any;
|
|
7340
|
+
}
|
|
7341
|
+
interface GoogleCloudAiplatformV1beta1ToolNameMatchInstance {
|
|
7342
|
+
/** Required. Output of the evaluated model. */
|
|
7343
|
+
prediction?: string;
|
|
7344
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
7345
|
+
reference?: string;
|
|
7346
|
+
}
|
|
7347
|
+
interface GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue {
|
|
7348
|
+
/** Output only. Tool name match score. */
|
|
7349
|
+
score?: number;
|
|
7350
|
+
}
|
|
7351
|
+
interface GoogleCloudAiplatformV1beta1ToolNameMatchResults {
|
|
7352
|
+
/** Output only. Tool name match metric values. */
|
|
7353
|
+
toolNameMatchMetricValues?: GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue[];
|
|
7354
|
+
}
|
|
7355
|
+
interface GoogleCloudAiplatformV1beta1ToolNameMatchSpec {}
|
|
7356
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInput {
|
|
7357
|
+
/** Required. Repeated tool parameter key match instances. */
|
|
7358
|
+
instances?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInstance[];
|
|
7359
|
+
/** Required. Spec for tool parameter key match metric. */
|
|
7360
|
+
metricSpec?: any;
|
|
7361
|
+
}
|
|
7362
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInstance {
|
|
7363
|
+
/** Required. Output of the evaluated model. */
|
|
7364
|
+
prediction?: string;
|
|
7365
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
7366
|
+
reference?: string;
|
|
7367
|
+
}
|
|
7368
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKeyMatchMetricValue {
|
|
7369
|
+
/** Output only. Tool parameter key match score. */
|
|
7370
|
+
score?: number;
|
|
7371
|
+
}
|
|
7372
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKeyMatchResults {
|
|
7373
|
+
/** Output only. Tool parameter key match metric values. */
|
|
7374
|
+
toolParameterKeyMatchMetricValues?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchMetricValue[];
|
|
7375
|
+
}
|
|
7376
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKeyMatchSpec {}
|
|
7377
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput {
|
|
7378
|
+
/** Required. Repeated tool parameter key value match instances. */
|
|
7379
|
+
instances?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchInstance[];
|
|
7380
|
+
/** Required. Spec for tool parameter key value match metric. */
|
|
7381
|
+
metricSpec?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchSpec;
|
|
7382
|
+
}
|
|
7383
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKVMatchInstance {
|
|
7384
|
+
/** Required. Output of the evaluated model. */
|
|
7385
|
+
prediction?: string;
|
|
7386
|
+
/** Required. Ground truth used to compare against the prediction. */
|
|
7387
|
+
reference?: string;
|
|
7388
|
+
}
|
|
7389
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKVMatchMetricValue {
|
|
7390
|
+
/** Output only. Tool parameter key value match score. */
|
|
7391
|
+
score?: number;
|
|
7392
|
+
}
|
|
7393
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKVMatchResults {
|
|
7394
|
+
/** Output only. Tool parameter key value match metric values. */
|
|
7395
|
+
toolParameterKvMatchMetricValues?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchMetricValue[];
|
|
7396
|
+
}
|
|
7397
|
+
interface GoogleCloudAiplatformV1beta1ToolParameterKVMatchSpec {
|
|
7398
|
+
/** Optional. Whether to use STRCIT string match on parameter values. */
|
|
7399
|
+
useStrictStringMatch?: boolean;
|
|
7400
|
+
}
|
|
6448
7401
|
interface GoogleCloudAiplatformV1beta1ToolUseExample {
|
|
6449
7402
|
/** Required. The display name for example. */
|
|
6450
7403
|
displayName?: string;
|
|
@@ -6663,6 +7616,22 @@ declare namespace gapi.client {
|
|
|
6663
7616
|
/** Output only. The version ID of the model that is uploaded. */
|
|
6664
7617
|
modelVersionId?: string;
|
|
6665
7618
|
}
|
|
7619
|
+
interface GoogleCloudAiplatformV1beta1UploadRagFileConfig {
|
|
7620
|
+
/** Specifies the size and overlap of chunks after uploading RagFile. */
|
|
7621
|
+
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
7622
|
+
}
|
|
7623
|
+
interface GoogleCloudAiplatformV1beta1UploadRagFileRequest {
|
|
7624
|
+
/** Required. The RagFile to upload. */
|
|
7625
|
+
ragFile?: GoogleCloudAiplatformV1beta1RagFile;
|
|
7626
|
+
/** Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile. */
|
|
7627
|
+
uploadRagFileConfig?: GoogleCloudAiplatformV1beta1UploadRagFileConfig;
|
|
7628
|
+
}
|
|
7629
|
+
interface GoogleCloudAiplatformV1beta1UploadRagFileResponse {
|
|
7630
|
+
/** The error that occurred while processing the RagFile. */
|
|
7631
|
+
error?: GoogleRpcStatus;
|
|
7632
|
+
/** The RagFile that had been uploaded into the RagCorpus. */
|
|
7633
|
+
ragFile?: GoogleCloudAiplatformV1beta1RagFile;
|
|
7634
|
+
}
|
|
6666
7635
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsRequest {
|
|
6667
7636
|
/** A list of datapoints to be created/updated. */
|
|
6668
7637
|
datapoints?: GoogleCloudAiplatformV1beta1IndexDatapoint[];
|
|
@@ -6687,9 +7656,15 @@ declare namespace gapi.client {
|
|
|
6687
7656
|
stringValue?: string;
|
|
6688
7657
|
}
|
|
6689
7658
|
interface GoogleCloudAiplatformV1beta1VertexAISearch {
|
|
6690
|
-
/** Required. Fully-qualified Vertex AI Search's datastore resource ID. projects
|
|
7659
|
+
/** Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} */
|
|
6691
7660
|
datastore?: string;
|
|
6692
7661
|
}
|
|
7662
|
+
interface GoogleCloudAiplatformV1beta1VertexRagStore {
|
|
7663
|
+
/** Required. Vertex RAG Store corpus resource name: projects/{project}/locations/{location}/ragCorpora/{ragCorpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. */
|
|
7664
|
+
ragCorpora?: string[];
|
|
7665
|
+
/** Optional. Number of top k results to return from the selected corpora. */
|
|
7666
|
+
similarityTopK?: number;
|
|
7667
|
+
}
|
|
6693
7668
|
interface GoogleCloudAiplatformV1beta1VideoMetadata {
|
|
6694
7669
|
/** Optional. The end offset of the video. */
|
|
6695
7670
|
endOffset?: string;
|
|
@@ -7113,7 +8088,7 @@ declare namespace gapi.client {
|
|
|
7113
8088
|
searchQueries?: string[];
|
|
7114
8089
|
}
|
|
7115
8090
|
interface LearningGenaiRootGroundingMetadataCitation {
|
|
7116
|
-
/** Index in the prediction output where the citation ends (exclusive). Must be > start_index and
|
|
8091
|
+
/** Index in the prediction output where the citation ends (exclusive). Must be > start_index and <= len(output). */
|
|
7117
8092
|
endIndex?: number;
|
|
7118
8093
|
/** Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse. */
|
|
7119
8094
|
factIndex?: number;
|
|
@@ -7129,6 +8104,7 @@ declare namespace gapi.client {
|
|
|
7129
8104
|
fringe?: boolean;
|
|
7130
8105
|
grailImageHarmType?: LearningGenaiRootHarmGrailImageHarmType;
|
|
7131
8106
|
grailTextHarmType?: LearningGenaiRootHarmGrailTextHarmType;
|
|
8107
|
+
imageChild?: boolean;
|
|
7132
8108
|
imageCsam?: boolean;
|
|
7133
8109
|
imagePedo?: boolean;
|
|
7134
8110
|
/** Image signals */
|
|
@@ -7139,6 +8115,7 @@ declare namespace gapi.client {
|
|
|
7139
8115
|
/** Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 . */
|
|
7140
8116
|
spii?: LearningGenaiRootHarmSpiiFilter;
|
|
7141
8117
|
threshold?: number;
|
|
8118
|
+
videoFrameChild?: boolean;
|
|
7142
8119
|
videoFrameCsam?: boolean;
|
|
7143
8120
|
videoFramePedo?: boolean;
|
|
7144
8121
|
/** Video frame signals */
|
|
@@ -7223,6 +8200,10 @@ declare namespace gapi.client {
|
|
|
7223
8200
|
/** The length computed by backends using the formatter & tokenizer specific to the model */
|
|
7224
8201
|
computedInputTokenLength?: number;
|
|
7225
8202
|
modelId?: string;
|
|
8203
|
+
/** If true, the model was selected as a fallback, since no model met requirements. */
|
|
8204
|
+
pickedAsFallback?: boolean;
|
|
8205
|
+
/** If true, the model was selected since it met the requriements. */
|
|
8206
|
+
selected?: boolean;
|
|
7226
8207
|
}
|
|
7227
8208
|
interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelMaxTokenMetadata {
|
|
7228
8209
|
maxNumInputTokens?: number;
|
|
@@ -7396,6 +8377,66 @@ declare namespace gapi.client {
|
|
|
7396
8377
|
/** The following are usually only present when code != 0 Space to which this status belongs */
|
|
7397
8378
|
space?: string;
|
|
7398
8379
|
}
|
|
8380
|
+
interface MediaResource {
|
|
8381
|
+
/** Upload a file into a RagCorpus. */
|
|
8382
|
+
upload(request: {
|
|
8383
|
+
/** V1 error format. */
|
|
8384
|
+
'$.xgafv'?: string;
|
|
8385
|
+
/** OAuth access token. */
|
|
8386
|
+
access_token?: string;
|
|
8387
|
+
/** Data format for response. */
|
|
8388
|
+
alt?: string;
|
|
8389
|
+
/** JSONP */
|
|
8390
|
+
callback?: string;
|
|
8391
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8392
|
+
fields?: string;
|
|
8393
|
+
/** 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. */
|
|
8394
|
+
key?: string;
|
|
8395
|
+
/** OAuth 2.0 token for the current user. */
|
|
8396
|
+
oauth_token?: string;
|
|
8397
|
+
/** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8398
|
+
parent: string;
|
|
8399
|
+
/** Returns response with indentations and line breaks. */
|
|
8400
|
+
prettyPrint?: boolean;
|
|
8401
|
+
/** 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. */
|
|
8402
|
+
quotaUser?: string;
|
|
8403
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8404
|
+
upload_protocol?: string;
|
|
8405
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8406
|
+
uploadType?: string;
|
|
8407
|
+
/** Request body */
|
|
8408
|
+
resource: GoogleCloudAiplatformV1beta1UploadRagFileRequest;
|
|
8409
|
+
}): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
|
|
8410
|
+
upload(
|
|
8411
|
+
request: {
|
|
8412
|
+
/** V1 error format. */
|
|
8413
|
+
'$.xgafv'?: string;
|
|
8414
|
+
/** OAuth access token. */
|
|
8415
|
+
access_token?: string;
|
|
8416
|
+
/** Data format for response. */
|
|
8417
|
+
alt?: string;
|
|
8418
|
+
/** JSONP */
|
|
8419
|
+
callback?: string;
|
|
8420
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8421
|
+
fields?: string;
|
|
8422
|
+
/** 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. */
|
|
8423
|
+
key?: string;
|
|
8424
|
+
/** OAuth 2.0 token for the current user. */
|
|
8425
|
+
oauth_token?: string;
|
|
8426
|
+
/** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8427
|
+
parent: string;
|
|
8428
|
+
/** Returns response with indentations and line breaks. */
|
|
8429
|
+
prettyPrint?: boolean;
|
|
8430
|
+
/** 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. */
|
|
8431
|
+
quotaUser?: string;
|
|
8432
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8433
|
+
upload_protocol?: string;
|
|
8434
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8435
|
+
uploadType?: string;
|
|
8436
|
+
},
|
|
8437
|
+
body: GoogleCloudAiplatformV1beta1UploadRagFileRequest
|
|
8438
|
+
): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
|
|
8439
|
+
}
|
|
7399
8440
|
interface BatchPredictionJobsResource {
|
|
7400
8441
|
/** Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted. */
|
|
7401
8442
|
cancel(request: {
|
|
@@ -10964,7 +12005,7 @@ declare namespace gapi.client {
|
|
|
10964
12005
|
callback?: string;
|
|
10965
12006
|
/** Selector specifying which fields to include in a partial response. */
|
|
10966
12007
|
fields?: string;
|
|
10967
|
-
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports
|
|
12008
|
+
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports `=` and `!=`. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:*` or `labels:key` - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`. Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
|
|
10968
12009
|
filter?: string;
|
|
10969
12010
|
/** 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. */
|
|
10970
12011
|
key?: string;
|
|
@@ -12396,7 +13437,7 @@ declare namespace gapi.client {
|
|
|
12396
13437
|
prettyPrint?: boolean;
|
|
12397
13438
|
/** 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. */
|
|
12398
13439
|
quotaUser?: string;
|
|
12399
|
-
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` */
|
|
13440
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
|
|
12400
13441
|
updateMask?: string;
|
|
12401
13442
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12402
13443
|
upload_protocol?: string;
|
|
@@ -12427,7 +13468,7 @@ declare namespace gapi.client {
|
|
|
12427
13468
|
prettyPrint?: boolean;
|
|
12428
13469
|
/** 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. */
|
|
12429
13470
|
quotaUser?: string;
|
|
12430
|
-
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` */
|
|
13471
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
|
|
12431
13472
|
updateMask?: string;
|
|
12432
13473
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12433
13474
|
upload_protocol?: string;
|
|
@@ -12436,12 +13477,8 @@ declare namespace gapi.client {
|
|
|
12436
13477
|
},
|
|
12437
13478
|
body: GoogleCloudAiplatformV1beta1Extension
|
|
12438
13479
|
): Request<GoogleCloudAiplatformV1beta1Extension>;
|
|
12439
|
-
|
|
12440
|
-
|
|
12441
|
-
}
|
|
12442
|
-
interface OperationsResource {
|
|
12443
|
-
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
12444
|
-
delete(request?: {
|
|
13480
|
+
/** Queries an extension with a default controller. */
|
|
13481
|
+
query(request: {
|
|
12445
13482
|
/** V1 error format. */
|
|
12446
13483
|
'$.xgafv'?: string;
|
|
12447
13484
|
/** OAuth access token. */
|
|
@@ -12454,7 +13491,69 @@ declare namespace gapi.client {
|
|
|
12454
13491
|
fields?: string;
|
|
12455
13492
|
/** 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. */
|
|
12456
13493
|
key?: string;
|
|
12457
|
-
/**
|
|
13494
|
+
/** Required. Name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
13495
|
+
name: string;
|
|
13496
|
+
/** OAuth 2.0 token for the current user. */
|
|
13497
|
+
oauth_token?: string;
|
|
13498
|
+
/** Returns response with indentations and line breaks. */
|
|
13499
|
+
prettyPrint?: boolean;
|
|
13500
|
+
/** 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. */
|
|
13501
|
+
quotaUser?: string;
|
|
13502
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13503
|
+
upload_protocol?: string;
|
|
13504
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13505
|
+
uploadType?: string;
|
|
13506
|
+
/** Request body */
|
|
13507
|
+
resource: GoogleCloudAiplatformV1beta1QueryExtensionRequest;
|
|
13508
|
+
}): Request<GoogleCloudAiplatformV1beta1QueryExtensionResponse>;
|
|
13509
|
+
query(
|
|
13510
|
+
request: {
|
|
13511
|
+
/** V1 error format. */
|
|
13512
|
+
'$.xgafv'?: string;
|
|
13513
|
+
/** OAuth access token. */
|
|
13514
|
+
access_token?: string;
|
|
13515
|
+
/** Data format for response. */
|
|
13516
|
+
alt?: string;
|
|
13517
|
+
/** JSONP */
|
|
13518
|
+
callback?: string;
|
|
13519
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13520
|
+
fields?: string;
|
|
13521
|
+
/** 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. */
|
|
13522
|
+
key?: string;
|
|
13523
|
+
/** Required. Name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
13524
|
+
name: string;
|
|
13525
|
+
/** OAuth 2.0 token for the current user. */
|
|
13526
|
+
oauth_token?: string;
|
|
13527
|
+
/** Returns response with indentations and line breaks. */
|
|
13528
|
+
prettyPrint?: boolean;
|
|
13529
|
+
/** 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. */
|
|
13530
|
+
quotaUser?: string;
|
|
13531
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13532
|
+
upload_protocol?: string;
|
|
13533
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13534
|
+
uploadType?: string;
|
|
13535
|
+
},
|
|
13536
|
+
body: GoogleCloudAiplatformV1beta1QueryExtensionRequest
|
|
13537
|
+
): Request<GoogleCloudAiplatformV1beta1QueryExtensionResponse>;
|
|
13538
|
+
deployments: DeploymentsResource;
|
|
13539
|
+
operations: OperationsResource;
|
|
13540
|
+
}
|
|
13541
|
+
interface OperationsResource {
|
|
13542
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
13543
|
+
delete(request?: {
|
|
13544
|
+
/** V1 error format. */
|
|
13545
|
+
'$.xgafv'?: string;
|
|
13546
|
+
/** OAuth access token. */
|
|
13547
|
+
access_token?: string;
|
|
13548
|
+
/** Data format for response. */
|
|
13549
|
+
alt?: string;
|
|
13550
|
+
/** JSONP */
|
|
13551
|
+
callback?: string;
|
|
13552
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13553
|
+
fields?: string;
|
|
13554
|
+
/** 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. */
|
|
13555
|
+
key?: string;
|
|
13556
|
+
/** The name of the operation resource to be deleted. */
|
|
12458
13557
|
name: string;
|
|
12459
13558
|
/** OAuth 2.0 token for the current user. */
|
|
12460
13559
|
oauth_token?: string;
|
|
@@ -13689,6 +14788,64 @@ declare namespace gapi.client {
|
|
|
13689
14788
|
},
|
|
13690
14789
|
body: GoogleIamV1SetIamPolicyRequest
|
|
13691
14790
|
): Request<GoogleIamV1Policy>;
|
|
14791
|
+
/** Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency. */
|
|
14792
|
+
streamingFetchFeatureValues(request: {
|
|
14793
|
+
/** V1 error format. */
|
|
14794
|
+
'$.xgafv'?: string;
|
|
14795
|
+
/** OAuth access token. */
|
|
14796
|
+
access_token?: string;
|
|
14797
|
+
/** Data format for response. */
|
|
14798
|
+
alt?: string;
|
|
14799
|
+
/** JSONP */
|
|
14800
|
+
callback?: string;
|
|
14801
|
+
/** Required. FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` */
|
|
14802
|
+
featureView: string;
|
|
14803
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14804
|
+
fields?: string;
|
|
14805
|
+
/** 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. */
|
|
14806
|
+
key?: string;
|
|
14807
|
+
/** OAuth 2.0 token for the current user. */
|
|
14808
|
+
oauth_token?: string;
|
|
14809
|
+
/** Returns response with indentations and line breaks. */
|
|
14810
|
+
prettyPrint?: boolean;
|
|
14811
|
+
/** 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. */
|
|
14812
|
+
quotaUser?: string;
|
|
14813
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14814
|
+
upload_protocol?: string;
|
|
14815
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14816
|
+
uploadType?: string;
|
|
14817
|
+
/** Request body */
|
|
14818
|
+
resource: GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest;
|
|
14819
|
+
}): Request<GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse>;
|
|
14820
|
+
streamingFetchFeatureValues(
|
|
14821
|
+
request: {
|
|
14822
|
+
/** V1 error format. */
|
|
14823
|
+
'$.xgafv'?: string;
|
|
14824
|
+
/** OAuth access token. */
|
|
14825
|
+
access_token?: string;
|
|
14826
|
+
/** Data format for response. */
|
|
14827
|
+
alt?: string;
|
|
14828
|
+
/** JSONP */
|
|
14829
|
+
callback?: string;
|
|
14830
|
+
/** Required. FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` */
|
|
14831
|
+
featureView: string;
|
|
14832
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14833
|
+
fields?: string;
|
|
14834
|
+
/** 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. */
|
|
14835
|
+
key?: string;
|
|
14836
|
+
/** OAuth 2.0 token for the current user. */
|
|
14837
|
+
oauth_token?: string;
|
|
14838
|
+
/** Returns response with indentations and line breaks. */
|
|
14839
|
+
prettyPrint?: boolean;
|
|
14840
|
+
/** 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. */
|
|
14841
|
+
quotaUser?: string;
|
|
14842
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14843
|
+
upload_protocol?: string;
|
|
14844
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14845
|
+
uploadType?: string;
|
|
14846
|
+
},
|
|
14847
|
+
body: GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest
|
|
14848
|
+
): Request<GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse>;
|
|
13692
14849
|
/** Triggers on-demand sync for the FeatureView. */
|
|
13693
14850
|
sync(request: {
|
|
13694
14851
|
/** V1 error format. */
|
|
@@ -23054,6 +24211,64 @@ declare namespace gapi.client {
|
|
|
23054
24211
|
},
|
|
23055
24212
|
body: GoogleCloudAiplatformV1beta1PersistentResource
|
|
23056
24213
|
): Request<GoogleLongrunningOperation>;
|
|
24214
|
+
/** Reboots a PersistentResource. */
|
|
24215
|
+
reboot(request: {
|
|
24216
|
+
/** V1 error format. */
|
|
24217
|
+
'$.xgafv'?: string;
|
|
24218
|
+
/** OAuth access token. */
|
|
24219
|
+
access_token?: string;
|
|
24220
|
+
/** Data format for response. */
|
|
24221
|
+
alt?: string;
|
|
24222
|
+
/** JSONP */
|
|
24223
|
+
callback?: string;
|
|
24224
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24225
|
+
fields?: string;
|
|
24226
|
+
/** 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. */
|
|
24227
|
+
key?: string;
|
|
24228
|
+
/** Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` */
|
|
24229
|
+
name: string;
|
|
24230
|
+
/** OAuth 2.0 token for the current user. */
|
|
24231
|
+
oauth_token?: string;
|
|
24232
|
+
/** Returns response with indentations and line breaks. */
|
|
24233
|
+
prettyPrint?: boolean;
|
|
24234
|
+
/** 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. */
|
|
24235
|
+
quotaUser?: string;
|
|
24236
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24237
|
+
upload_protocol?: string;
|
|
24238
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24239
|
+
uploadType?: string;
|
|
24240
|
+
/** Request body */
|
|
24241
|
+
resource: GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest;
|
|
24242
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24243
|
+
reboot(
|
|
24244
|
+
request: {
|
|
24245
|
+
/** V1 error format. */
|
|
24246
|
+
'$.xgafv'?: string;
|
|
24247
|
+
/** OAuth access token. */
|
|
24248
|
+
access_token?: string;
|
|
24249
|
+
/** Data format for response. */
|
|
24250
|
+
alt?: string;
|
|
24251
|
+
/** JSONP */
|
|
24252
|
+
callback?: string;
|
|
24253
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24254
|
+
fields?: string;
|
|
24255
|
+
/** 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. */
|
|
24256
|
+
key?: string;
|
|
24257
|
+
/** Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` */
|
|
24258
|
+
name: string;
|
|
24259
|
+
/** OAuth 2.0 token for the current user. */
|
|
24260
|
+
oauth_token?: string;
|
|
24261
|
+
/** Returns response with indentations and line breaks. */
|
|
24262
|
+
prettyPrint?: boolean;
|
|
24263
|
+
/** 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. */
|
|
24264
|
+
quotaUser?: string;
|
|
24265
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24266
|
+
upload_protocol?: string;
|
|
24267
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24268
|
+
uploadType?: string;
|
|
24269
|
+
},
|
|
24270
|
+
body: GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest
|
|
24271
|
+
): Request<GoogleLongrunningOperation>;
|
|
23057
24272
|
operations: OperationsResource;
|
|
23058
24273
|
}
|
|
23059
24274
|
interface OperationsResource {
|
|
@@ -24262,15 +25477,8 @@ declare namespace gapi.client {
|
|
|
24262
25477
|
}): Request<GoogleLongrunningOperation>;
|
|
24263
25478
|
}
|
|
24264
25479
|
interface RagFilesResource {
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
interface RagCorporaResource {
|
|
24268
|
-
operations: OperationsResource;
|
|
24269
|
-
ragFiles: RagFilesResource;
|
|
24270
|
-
}
|
|
24271
|
-
interface OperationsResource {
|
|
24272
|
-
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
24273
|
-
cancel(request?: {
|
|
25480
|
+
/** Deletes a RagFile. */
|
|
25481
|
+
delete(request?: {
|
|
24274
25482
|
/** V1 error format. */
|
|
24275
25483
|
'$.xgafv'?: string;
|
|
24276
25484
|
/** OAuth access token. */
|
|
@@ -24283,7 +25491,7 @@ declare namespace gapi.client {
|
|
|
24283
25491
|
fields?: string;
|
|
24284
25492
|
/** 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. */
|
|
24285
25493
|
key?: string;
|
|
24286
|
-
/** The name of the
|
|
25494
|
+
/** Required. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
|
|
24287
25495
|
name: string;
|
|
24288
25496
|
/** OAuth 2.0 token for the current user. */
|
|
24289
25497
|
oauth_token?: string;
|
|
@@ -24295,9 +25503,9 @@ declare namespace gapi.client {
|
|
|
24295
25503
|
upload_protocol?: string;
|
|
24296
25504
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24297
25505
|
uploadType?: string;
|
|
24298
|
-
}): Request<
|
|
24299
|
-
/**
|
|
24300
|
-
|
|
25506
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25507
|
+
/** Gets a RagFile. */
|
|
25508
|
+
get(request?: {
|
|
24301
25509
|
/** V1 error format. */
|
|
24302
25510
|
'$.xgafv'?: string;
|
|
24303
25511
|
/** OAuth access token. */
|
|
@@ -24310,7 +25518,7 @@ declare namespace gapi.client {
|
|
|
24310
25518
|
fields?: string;
|
|
24311
25519
|
/** 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. */
|
|
24312
25520
|
key?: string;
|
|
24313
|
-
/** The name of the
|
|
25521
|
+
/** Required. The name of the RagFile resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
|
|
24314
25522
|
name: string;
|
|
24315
25523
|
/** OAuth 2.0 token for the current user. */
|
|
24316
25524
|
oauth_token?: string;
|
|
@@ -24322,9 +25530,9 @@ declare namespace gapi.client {
|
|
|
24322
25530
|
upload_protocol?: string;
|
|
24323
25531
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24324
25532
|
uploadType?: string;
|
|
24325
|
-
}): Request<
|
|
24326
|
-
/**
|
|
24327
|
-
|
|
25533
|
+
}): Request<GoogleCloudAiplatformV1beta1RagFile>;
|
|
25534
|
+
/** Import files from Google Cloud Storage or Google Drive into a RagCorpus. */
|
|
25535
|
+
import(request: {
|
|
24328
25536
|
/** V1 error format. */
|
|
24329
25537
|
'$.xgafv'?: string;
|
|
24330
25538
|
/** OAuth access token. */
|
|
@@ -24337,10 +25545,10 @@ declare namespace gapi.client {
|
|
|
24337
25545
|
fields?: string;
|
|
24338
25546
|
/** 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. */
|
|
24339
25547
|
key?: string;
|
|
24340
|
-
/** The name of the operation resource. */
|
|
24341
|
-
name: string;
|
|
24342
25548
|
/** OAuth 2.0 token for the current user. */
|
|
24343
25549
|
oauth_token?: string;
|
|
25550
|
+
/** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25551
|
+
parent: string;
|
|
24344
25552
|
/** Returns response with indentations and line breaks. */
|
|
24345
25553
|
prettyPrint?: boolean;
|
|
24346
25554
|
/** 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. */
|
|
@@ -24349,8 +25557,39 @@ declare namespace gapi.client {
|
|
|
24349
25557
|
upload_protocol?: string;
|
|
24350
25558
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24351
25559
|
uploadType?: string;
|
|
25560
|
+
/** Request body */
|
|
25561
|
+
resource: GoogleCloudAiplatformV1beta1ImportRagFilesRequest;
|
|
24352
25562
|
}): Request<GoogleLongrunningOperation>;
|
|
24353
|
-
|
|
25563
|
+
import(
|
|
25564
|
+
request: {
|
|
25565
|
+
/** V1 error format. */
|
|
25566
|
+
'$.xgafv'?: string;
|
|
25567
|
+
/** OAuth access token. */
|
|
25568
|
+
access_token?: string;
|
|
25569
|
+
/** Data format for response. */
|
|
25570
|
+
alt?: string;
|
|
25571
|
+
/** JSONP */
|
|
25572
|
+
callback?: string;
|
|
25573
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25574
|
+
fields?: string;
|
|
25575
|
+
/** 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. */
|
|
25576
|
+
key?: string;
|
|
25577
|
+
/** OAuth 2.0 token for the current user. */
|
|
25578
|
+
oauth_token?: string;
|
|
25579
|
+
/** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25580
|
+
parent: string;
|
|
25581
|
+
/** Returns response with indentations and line breaks. */
|
|
25582
|
+
prettyPrint?: boolean;
|
|
25583
|
+
/** 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. */
|
|
25584
|
+
quotaUser?: string;
|
|
25585
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25586
|
+
upload_protocol?: string;
|
|
25587
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25588
|
+
uploadType?: string;
|
|
25589
|
+
},
|
|
25590
|
+
body: GoogleCloudAiplatformV1beta1ImportRagFilesRequest
|
|
25591
|
+
): Request<GoogleLongrunningOperation>;
|
|
25592
|
+
/** Lists RagFiles in a RagCorpus. */
|
|
24354
25593
|
list(request?: {
|
|
24355
25594
|
/** V1 error format. */
|
|
24356
25595
|
'$.xgafv'?: string;
|
|
@@ -24362,18 +25601,16 @@ declare namespace gapi.client {
|
|
|
24362
25601
|
callback?: string;
|
|
24363
25602
|
/** Selector specifying which fields to include in a partial response. */
|
|
24364
25603
|
fields?: string;
|
|
24365
|
-
/** The standard list filter. */
|
|
24366
|
-
filter?: string;
|
|
24367
25604
|
/** 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. */
|
|
24368
25605
|
key?: string;
|
|
24369
|
-
/** The name of the operation's parent resource. */
|
|
24370
|
-
name: string;
|
|
24371
25606
|
/** OAuth 2.0 token for the current user. */
|
|
24372
25607
|
oauth_token?: string;
|
|
24373
|
-
/** The standard list page size. */
|
|
25608
|
+
/** Optional. The standard list page size. */
|
|
24374
25609
|
pageSize?: number;
|
|
24375
|
-
/** The standard list page token. */
|
|
25610
|
+
/** Optional. The standard list page token. Typically obtained via ListRagFilesResponse.next_page_token of the previous VertexRagDataService.ListRagFiles call. */
|
|
24376
25611
|
pageToken?: string;
|
|
25612
|
+
/** Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25613
|
+
parent: string;
|
|
24377
25614
|
/** Returns response with indentations and line breaks. */
|
|
24378
25615
|
prettyPrint?: boolean;
|
|
24379
25616
|
/** 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. */
|
|
@@ -24382,9 +25619,12 @@ declare namespace gapi.client {
|
|
|
24382
25619
|
upload_protocol?: string;
|
|
24383
25620
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24384
25621
|
uploadType?: string;
|
|
24385
|
-
}): Request<
|
|
24386
|
-
|
|
24387
|
-
|
|
25622
|
+
}): Request<GoogleCloudAiplatformV1beta1ListRagFilesResponse>;
|
|
25623
|
+
operations: OperationsResource;
|
|
25624
|
+
}
|
|
25625
|
+
interface RagCorporaResource {
|
|
25626
|
+
/** Creates a RagCorpus. */
|
|
25627
|
+
create(request: {
|
|
24388
25628
|
/** V1 error format. */
|
|
24389
25629
|
'$.xgafv'?: string;
|
|
24390
25630
|
/** OAuth access token. */
|
|
@@ -24397,43 +25637,509 @@ declare namespace gapi.client {
|
|
|
24397
25637
|
fields?: string;
|
|
24398
25638
|
/** 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. */
|
|
24399
25639
|
key?: string;
|
|
24400
|
-
/** The name of the operation resource to wait on. */
|
|
24401
|
-
name: string;
|
|
24402
25640
|
/** OAuth 2.0 token for the current user. */
|
|
24403
25641
|
oauth_token?: string;
|
|
25642
|
+
/** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
|
|
25643
|
+
parent: string;
|
|
24404
25644
|
/** Returns response with indentations and line breaks. */
|
|
24405
25645
|
prettyPrint?: boolean;
|
|
24406
25646
|
/** 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. */
|
|
24407
25647
|
quotaUser?: string;
|
|
24408
|
-
/** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
|
|
24409
|
-
timeout?: string;
|
|
24410
25648
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24411
25649
|
upload_protocol?: string;
|
|
24412
25650
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24413
25651
|
uploadType?: string;
|
|
25652
|
+
/** Request body */
|
|
25653
|
+
resource: GoogleCloudAiplatformV1beta1RagCorpus;
|
|
24414
25654
|
}): Request<GoogleLongrunningOperation>;
|
|
24415
|
-
|
|
24416
|
-
|
|
24417
|
-
|
|
24418
|
-
|
|
24419
|
-
|
|
24420
|
-
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24424
|
-
|
|
24425
|
-
|
|
24426
|
-
|
|
24427
|
-
|
|
24428
|
-
|
|
24429
|
-
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
25655
|
+
create(
|
|
25656
|
+
request: {
|
|
25657
|
+
/** V1 error format. */
|
|
25658
|
+
'$.xgafv'?: string;
|
|
25659
|
+
/** OAuth access token. */
|
|
25660
|
+
access_token?: string;
|
|
25661
|
+
/** Data format for response. */
|
|
25662
|
+
alt?: string;
|
|
25663
|
+
/** JSONP */
|
|
25664
|
+
callback?: string;
|
|
25665
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25666
|
+
fields?: string;
|
|
25667
|
+
/** 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. */
|
|
25668
|
+
key?: string;
|
|
25669
|
+
/** OAuth 2.0 token for the current user. */
|
|
25670
|
+
oauth_token?: string;
|
|
25671
|
+
/** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
|
|
25672
|
+
parent: string;
|
|
25673
|
+
/** Returns response with indentations and line breaks. */
|
|
25674
|
+
prettyPrint?: boolean;
|
|
25675
|
+
/** 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. */
|
|
25676
|
+
quotaUser?: string;
|
|
25677
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25678
|
+
upload_protocol?: string;
|
|
25679
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25680
|
+
uploadType?: string;
|
|
25681
|
+
},
|
|
25682
|
+
body: GoogleCloudAiplatformV1beta1RagCorpus
|
|
25683
|
+
): Request<GoogleLongrunningOperation>;
|
|
25684
|
+
/** Deletes a RagCorpus. */
|
|
25685
|
+
delete(request?: {
|
|
25686
|
+
/** V1 error format. */
|
|
25687
|
+
'$.xgafv'?: string;
|
|
25688
|
+
/** OAuth access token. */
|
|
25689
|
+
access_token?: string;
|
|
25690
|
+
/** Data format for response. */
|
|
25691
|
+
alt?: string;
|
|
25692
|
+
/** JSONP */
|
|
25693
|
+
callback?: string;
|
|
25694
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25695
|
+
fields?: string;
|
|
25696
|
+
/** Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles. */
|
|
25697
|
+
force?: boolean;
|
|
25698
|
+
/** 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. */
|
|
25699
|
+
key?: string;
|
|
25700
|
+
/** Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25701
|
+
name: string;
|
|
25702
|
+
/** OAuth 2.0 token for the current user. */
|
|
25703
|
+
oauth_token?: string;
|
|
25704
|
+
/** Returns response with indentations and line breaks. */
|
|
25705
|
+
prettyPrint?: boolean;
|
|
25706
|
+
/** 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. */
|
|
25707
|
+
quotaUser?: string;
|
|
25708
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25709
|
+
upload_protocol?: string;
|
|
25710
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25711
|
+
uploadType?: string;
|
|
25712
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25713
|
+
/** Gets a RagCorpus. */
|
|
25714
|
+
get(request?: {
|
|
25715
|
+
/** V1 error format. */
|
|
25716
|
+
'$.xgafv'?: string;
|
|
25717
|
+
/** OAuth access token. */
|
|
25718
|
+
access_token?: string;
|
|
25719
|
+
/** Data format for response. */
|
|
25720
|
+
alt?: string;
|
|
25721
|
+
/** JSONP */
|
|
25722
|
+
callback?: string;
|
|
25723
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25724
|
+
fields?: string;
|
|
25725
|
+
/** 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. */
|
|
25726
|
+
key?: string;
|
|
25727
|
+
/** Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
25728
|
+
name: string;
|
|
25729
|
+
/** OAuth 2.0 token for the current user. */
|
|
25730
|
+
oauth_token?: string;
|
|
25731
|
+
/** Returns response with indentations and line breaks. */
|
|
25732
|
+
prettyPrint?: boolean;
|
|
25733
|
+
/** 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. */
|
|
25734
|
+
quotaUser?: string;
|
|
25735
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25736
|
+
upload_protocol?: string;
|
|
25737
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25738
|
+
uploadType?: string;
|
|
25739
|
+
}): Request<GoogleCloudAiplatformV1beta1RagCorpus>;
|
|
25740
|
+
/** Lists RagCorpora in a Location. */
|
|
25741
|
+
list(request?: {
|
|
25742
|
+
/** V1 error format. */
|
|
25743
|
+
'$.xgafv'?: string;
|
|
25744
|
+
/** OAuth access token. */
|
|
25745
|
+
access_token?: string;
|
|
25746
|
+
/** Data format for response. */
|
|
25747
|
+
alt?: string;
|
|
25748
|
+
/** JSONP */
|
|
25749
|
+
callback?: string;
|
|
25750
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25751
|
+
fields?: string;
|
|
25752
|
+
/** 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. */
|
|
25753
|
+
key?: string;
|
|
25754
|
+
/** OAuth 2.0 token for the current user. */
|
|
25755
|
+
oauth_token?: string;
|
|
25756
|
+
/** Optional. The standard list page size. */
|
|
25757
|
+
pageSize?: number;
|
|
25758
|
+
/** Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call. */
|
|
25759
|
+
pageToken?: string;
|
|
25760
|
+
/** Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}` */
|
|
25761
|
+
parent: string;
|
|
25762
|
+
/** Returns response with indentations and line breaks. */
|
|
25763
|
+
prettyPrint?: boolean;
|
|
25764
|
+
/** 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. */
|
|
25765
|
+
quotaUser?: string;
|
|
25766
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25767
|
+
upload_protocol?: string;
|
|
25768
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25769
|
+
uploadType?: string;
|
|
25770
|
+
}): Request<GoogleCloudAiplatformV1beta1ListRagCorporaResponse>;
|
|
25771
|
+
operations: OperationsResource;
|
|
25772
|
+
ragFiles: RagFilesResource;
|
|
25773
|
+
}
|
|
25774
|
+
interface OperationsResource {
|
|
25775
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
25776
|
+
cancel(request?: {
|
|
25777
|
+
/** V1 error format. */
|
|
25778
|
+
'$.xgafv'?: string;
|
|
25779
|
+
/** OAuth access token. */
|
|
25780
|
+
access_token?: string;
|
|
25781
|
+
/** Data format for response. */
|
|
25782
|
+
alt?: string;
|
|
25783
|
+
/** JSONP */
|
|
25784
|
+
callback?: string;
|
|
25785
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25786
|
+
fields?: string;
|
|
25787
|
+
/** 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. */
|
|
25788
|
+
key?: string;
|
|
25789
|
+
/** The name of the operation resource to be cancelled. */
|
|
25790
|
+
name: string;
|
|
25791
|
+
/** OAuth 2.0 token for the current user. */
|
|
25792
|
+
oauth_token?: string;
|
|
25793
|
+
/** Returns response with indentations and line breaks. */
|
|
25794
|
+
prettyPrint?: boolean;
|
|
25795
|
+
/** 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. */
|
|
25796
|
+
quotaUser?: string;
|
|
25797
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25798
|
+
upload_protocol?: string;
|
|
25799
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25800
|
+
uploadType?: string;
|
|
25801
|
+
}): Request<{}>;
|
|
25802
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
25803
|
+
delete(request?: {
|
|
25804
|
+
/** V1 error format. */
|
|
25805
|
+
'$.xgafv'?: string;
|
|
25806
|
+
/** OAuth access token. */
|
|
25807
|
+
access_token?: string;
|
|
25808
|
+
/** Data format for response. */
|
|
25809
|
+
alt?: string;
|
|
25810
|
+
/** JSONP */
|
|
25811
|
+
callback?: string;
|
|
25812
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25813
|
+
fields?: string;
|
|
25814
|
+
/** 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. */
|
|
25815
|
+
key?: string;
|
|
25816
|
+
/** The name of the operation resource to be deleted. */
|
|
25817
|
+
name: string;
|
|
25818
|
+
/** OAuth 2.0 token for the current user. */
|
|
25819
|
+
oauth_token?: string;
|
|
25820
|
+
/** Returns response with indentations and line breaks. */
|
|
25821
|
+
prettyPrint?: boolean;
|
|
25822
|
+
/** 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. */
|
|
25823
|
+
quotaUser?: string;
|
|
25824
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25825
|
+
upload_protocol?: string;
|
|
25826
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25827
|
+
uploadType?: string;
|
|
25828
|
+
}): Request<{}>;
|
|
25829
|
+
/** 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. */
|
|
25830
|
+
get(request?: {
|
|
25831
|
+
/** V1 error format. */
|
|
25832
|
+
'$.xgafv'?: string;
|
|
25833
|
+
/** OAuth access token. */
|
|
25834
|
+
access_token?: string;
|
|
25835
|
+
/** Data format for response. */
|
|
25836
|
+
alt?: string;
|
|
25837
|
+
/** JSONP */
|
|
25838
|
+
callback?: string;
|
|
25839
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25840
|
+
fields?: string;
|
|
25841
|
+
/** 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. */
|
|
25842
|
+
key?: string;
|
|
25843
|
+
/** The name of the operation resource. */
|
|
25844
|
+
name: string;
|
|
25845
|
+
/** OAuth 2.0 token for the current user. */
|
|
25846
|
+
oauth_token?: string;
|
|
25847
|
+
/** Returns response with indentations and line breaks. */
|
|
25848
|
+
prettyPrint?: boolean;
|
|
25849
|
+
/** 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. */
|
|
25850
|
+
quotaUser?: string;
|
|
25851
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25852
|
+
upload_protocol?: string;
|
|
25853
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25854
|
+
uploadType?: string;
|
|
25855
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25856
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
25857
|
+
list(request?: {
|
|
25858
|
+
/** V1 error format. */
|
|
25859
|
+
'$.xgafv'?: string;
|
|
25860
|
+
/** OAuth access token. */
|
|
25861
|
+
access_token?: string;
|
|
25862
|
+
/** Data format for response. */
|
|
25863
|
+
alt?: string;
|
|
25864
|
+
/** JSONP */
|
|
25865
|
+
callback?: string;
|
|
25866
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25867
|
+
fields?: string;
|
|
25868
|
+
/** The standard list filter. */
|
|
25869
|
+
filter?: string;
|
|
25870
|
+
/** 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. */
|
|
25871
|
+
key?: string;
|
|
25872
|
+
/** The name of the operation's parent resource. */
|
|
25873
|
+
name: string;
|
|
25874
|
+
/** OAuth 2.0 token for the current user. */
|
|
25875
|
+
oauth_token?: string;
|
|
25876
|
+
/** The standard list page size. */
|
|
25877
|
+
pageSize?: number;
|
|
25878
|
+
/** The standard list page token. */
|
|
25879
|
+
pageToken?: string;
|
|
25880
|
+
/** Returns response with indentations and line breaks. */
|
|
25881
|
+
prettyPrint?: boolean;
|
|
25882
|
+
/** 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. */
|
|
25883
|
+
quotaUser?: string;
|
|
25884
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25885
|
+
upload_protocol?: string;
|
|
25886
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25887
|
+
uploadType?: string;
|
|
25888
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
25889
|
+
/** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
|
|
25890
|
+
wait(request?: {
|
|
25891
|
+
/** V1 error format. */
|
|
25892
|
+
'$.xgafv'?: string;
|
|
25893
|
+
/** OAuth access token. */
|
|
25894
|
+
access_token?: string;
|
|
25895
|
+
/** Data format for response. */
|
|
25896
|
+
alt?: string;
|
|
25897
|
+
/** JSONP */
|
|
25898
|
+
callback?: string;
|
|
25899
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25900
|
+
fields?: string;
|
|
25901
|
+
/** 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. */
|
|
25902
|
+
key?: string;
|
|
25903
|
+
/** The name of the operation resource to wait on. */
|
|
25904
|
+
name: string;
|
|
25905
|
+
/** OAuth 2.0 token for the current user. */
|
|
25906
|
+
oauth_token?: string;
|
|
25907
|
+
/** Returns response with indentations and line breaks. */
|
|
25908
|
+
prettyPrint?: boolean;
|
|
25909
|
+
/** 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. */
|
|
25910
|
+
quotaUser?: string;
|
|
25911
|
+
/** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
|
|
25912
|
+
timeout?: string;
|
|
25913
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25914
|
+
upload_protocol?: string;
|
|
25915
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25916
|
+
uploadType?: string;
|
|
25917
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25918
|
+
}
|
|
25919
|
+
interface ReasoningEnginesResource {
|
|
25920
|
+
/** Creates a reasoning engine. */
|
|
25921
|
+
create(request: {
|
|
25922
|
+
/** V1 error format. */
|
|
25923
|
+
'$.xgafv'?: string;
|
|
25924
|
+
/** OAuth access token. */
|
|
25925
|
+
access_token?: string;
|
|
25926
|
+
/** Data format for response. */
|
|
25927
|
+
alt?: string;
|
|
25928
|
+
/** JSONP */
|
|
25929
|
+
callback?: string;
|
|
25930
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25931
|
+
fields?: string;
|
|
25932
|
+
/** 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. */
|
|
25933
|
+
key?: string;
|
|
25934
|
+
/** OAuth 2.0 token for the current user. */
|
|
25935
|
+
oauth_token?: string;
|
|
25936
|
+
/** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
|
|
25937
|
+
parent: string;
|
|
25938
|
+
/** Returns response with indentations and line breaks. */
|
|
25939
|
+
prettyPrint?: boolean;
|
|
25940
|
+
/** 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. */
|
|
25941
|
+
quotaUser?: string;
|
|
25942
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25943
|
+
upload_protocol?: string;
|
|
25944
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25945
|
+
uploadType?: string;
|
|
25946
|
+
/** Request body */
|
|
25947
|
+
resource: GoogleCloudAiplatformV1beta1ReasoningEngine;
|
|
25948
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25949
|
+
create(
|
|
25950
|
+
request: {
|
|
25951
|
+
/** V1 error format. */
|
|
25952
|
+
'$.xgafv'?: string;
|
|
25953
|
+
/** OAuth access token. */
|
|
25954
|
+
access_token?: string;
|
|
25955
|
+
/** Data format for response. */
|
|
25956
|
+
alt?: string;
|
|
25957
|
+
/** JSONP */
|
|
25958
|
+
callback?: string;
|
|
25959
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25960
|
+
fields?: string;
|
|
25961
|
+
/** 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. */
|
|
25962
|
+
key?: string;
|
|
25963
|
+
/** OAuth 2.0 token for the current user. */
|
|
25964
|
+
oauth_token?: string;
|
|
25965
|
+
/** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
|
|
25966
|
+
parent: string;
|
|
25967
|
+
/** Returns response with indentations and line breaks. */
|
|
25968
|
+
prettyPrint?: boolean;
|
|
25969
|
+
/** 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. */
|
|
25970
|
+
quotaUser?: string;
|
|
25971
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25972
|
+
upload_protocol?: string;
|
|
25973
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25974
|
+
uploadType?: string;
|
|
25975
|
+
},
|
|
25976
|
+
body: GoogleCloudAiplatformV1beta1ReasoningEngine
|
|
25977
|
+
): Request<GoogleLongrunningOperation>;
|
|
25978
|
+
/** Deletes a reasoning engine. */
|
|
25979
|
+
delete(request?: {
|
|
25980
|
+
/** V1 error format. */
|
|
25981
|
+
'$.xgafv'?: string;
|
|
25982
|
+
/** OAuth access token. */
|
|
25983
|
+
access_token?: string;
|
|
25984
|
+
/** Data format for response. */
|
|
25985
|
+
alt?: string;
|
|
25986
|
+
/** JSONP */
|
|
25987
|
+
callback?: string;
|
|
25988
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25989
|
+
fields?: string;
|
|
25990
|
+
/** 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. */
|
|
25991
|
+
key?: string;
|
|
25992
|
+
/** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
25993
|
+
name: string;
|
|
25994
|
+
/** OAuth 2.0 token for the current user. */
|
|
25995
|
+
oauth_token?: string;
|
|
25996
|
+
/** Returns response with indentations and line breaks. */
|
|
25997
|
+
prettyPrint?: boolean;
|
|
25998
|
+
/** 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. */
|
|
25999
|
+
quotaUser?: string;
|
|
26000
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26001
|
+
upload_protocol?: string;
|
|
26002
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26003
|
+
uploadType?: string;
|
|
26004
|
+
}): Request<GoogleLongrunningOperation>;
|
|
26005
|
+
/** Gets a reasoning engine. */
|
|
26006
|
+
get(request?: {
|
|
26007
|
+
/** V1 error format. */
|
|
26008
|
+
'$.xgafv'?: string;
|
|
26009
|
+
/** OAuth access token. */
|
|
26010
|
+
access_token?: string;
|
|
26011
|
+
/** Data format for response. */
|
|
26012
|
+
alt?: string;
|
|
26013
|
+
/** JSONP */
|
|
26014
|
+
callback?: string;
|
|
26015
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26016
|
+
fields?: string;
|
|
26017
|
+
/** 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. */
|
|
26018
|
+
key?: string;
|
|
26019
|
+
/** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
26020
|
+
name: string;
|
|
26021
|
+
/** OAuth 2.0 token for the current user. */
|
|
26022
|
+
oauth_token?: string;
|
|
26023
|
+
/** Returns response with indentations and line breaks. */
|
|
26024
|
+
prettyPrint?: boolean;
|
|
26025
|
+
/** 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. */
|
|
26026
|
+
quotaUser?: string;
|
|
26027
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26028
|
+
upload_protocol?: string;
|
|
26029
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26030
|
+
uploadType?: string;
|
|
26031
|
+
}): Request<GoogleCloudAiplatformV1beta1ReasoningEngine>;
|
|
26032
|
+
/** Lists reasoning engines in a location. */
|
|
26033
|
+
list(request?: {
|
|
26034
|
+
/** V1 error format. */
|
|
26035
|
+
'$.xgafv'?: string;
|
|
26036
|
+
/** OAuth access token. */
|
|
26037
|
+
access_token?: string;
|
|
26038
|
+
/** Data format for response. */
|
|
26039
|
+
alt?: string;
|
|
26040
|
+
/** JSONP */
|
|
26041
|
+
callback?: string;
|
|
26042
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26043
|
+
fields?: string;
|
|
26044
|
+
/** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
|
|
26045
|
+
filter?: string;
|
|
26046
|
+
/** 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. */
|
|
26047
|
+
key?: string;
|
|
26048
|
+
/** OAuth 2.0 token for the current user. */
|
|
26049
|
+
oauth_token?: string;
|
|
26050
|
+
/** Optional. The standard list page size. */
|
|
26051
|
+
pageSize?: number;
|
|
26052
|
+
/** Optional. The standard list page token. */
|
|
26053
|
+
pageToken?: string;
|
|
26054
|
+
/** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
|
|
26055
|
+
parent: string;
|
|
26056
|
+
/** Returns response with indentations and line breaks. */
|
|
26057
|
+
prettyPrint?: boolean;
|
|
26058
|
+
/** 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. */
|
|
26059
|
+
quotaUser?: string;
|
|
26060
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26061
|
+
upload_protocol?: string;
|
|
26062
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26063
|
+
uploadType?: string;
|
|
26064
|
+
}): Request<GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse>;
|
|
26065
|
+
/** Queries using a reasoning engine. */
|
|
26066
|
+
query(request: {
|
|
26067
|
+
/** V1 error format. */
|
|
26068
|
+
'$.xgafv'?: string;
|
|
26069
|
+
/** OAuth access token. */
|
|
26070
|
+
access_token?: string;
|
|
26071
|
+
/** Data format for response. */
|
|
26072
|
+
alt?: string;
|
|
26073
|
+
/** JSONP */
|
|
26074
|
+
callback?: string;
|
|
26075
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26076
|
+
fields?: string;
|
|
26077
|
+
/** 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. */
|
|
26078
|
+
key?: string;
|
|
26079
|
+
/** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
26080
|
+
name: string;
|
|
26081
|
+
/** OAuth 2.0 token for the current user. */
|
|
26082
|
+
oauth_token?: string;
|
|
26083
|
+
/** Returns response with indentations and line breaks. */
|
|
26084
|
+
prettyPrint?: boolean;
|
|
26085
|
+
/** 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. */
|
|
26086
|
+
quotaUser?: string;
|
|
26087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26088
|
+
upload_protocol?: string;
|
|
26089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26090
|
+
uploadType?: string;
|
|
26091
|
+
/** Request body */
|
|
26092
|
+
resource: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest;
|
|
26093
|
+
}): Request<GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse>;
|
|
26094
|
+
query(
|
|
26095
|
+
request: {
|
|
26096
|
+
/** V1 error format. */
|
|
26097
|
+
'$.xgafv'?: string;
|
|
26098
|
+
/** OAuth access token. */
|
|
26099
|
+
access_token?: string;
|
|
26100
|
+
/** Data format for response. */
|
|
26101
|
+
alt?: string;
|
|
26102
|
+
/** JSONP */
|
|
26103
|
+
callback?: string;
|
|
26104
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26105
|
+
fields?: string;
|
|
26106
|
+
/** 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. */
|
|
26107
|
+
key?: string;
|
|
26108
|
+
/** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
26109
|
+
name: string;
|
|
26110
|
+
/** OAuth 2.0 token for the current user. */
|
|
26111
|
+
oauth_token?: string;
|
|
26112
|
+
/** Returns response with indentations and line breaks. */
|
|
26113
|
+
prettyPrint?: boolean;
|
|
26114
|
+
/** 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. */
|
|
26115
|
+
quotaUser?: string;
|
|
26116
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26117
|
+
upload_protocol?: string;
|
|
26118
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26119
|
+
uploadType?: string;
|
|
26120
|
+
},
|
|
26121
|
+
body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest
|
|
26122
|
+
): Request<GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse>;
|
|
26123
|
+
operations: OperationsResource;
|
|
26124
|
+
}
|
|
26125
|
+
interface OperationsResource {
|
|
26126
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
26127
|
+
cancel(request?: {
|
|
26128
|
+
/** V1 error format. */
|
|
26129
|
+
'$.xgafv'?: string;
|
|
26130
|
+
/** OAuth access token. */
|
|
26131
|
+
access_token?: string;
|
|
26132
|
+
/** Data format for response. */
|
|
26133
|
+
alt?: string;
|
|
26134
|
+
/** JSONP */
|
|
26135
|
+
callback?: string;
|
|
26136
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26137
|
+
fields?: string;
|
|
26138
|
+
/** 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. */
|
|
26139
|
+
key?: string;
|
|
26140
|
+
/** The name of the operation resource to be cancelled. */
|
|
26141
|
+
name: string;
|
|
26142
|
+
/** OAuth 2.0 token for the current user. */
|
|
24437
26143
|
oauth_token?: string;
|
|
24438
26144
|
/** Returns response with indentations and line breaks. */
|
|
24439
26145
|
prettyPrint?: boolean;
|
|
@@ -28565,6 +30271,64 @@ declare namespace gapi.client {
|
|
|
28565
30271
|
operations: OperationsResource;
|
|
28566
30272
|
}
|
|
28567
30273
|
interface LocationsResource {
|
|
30274
|
+
/** Evaluates instances based on a given metric. */
|
|
30275
|
+
evaluateInstances(request: {
|
|
30276
|
+
/** V1 error format. */
|
|
30277
|
+
'$.xgafv'?: string;
|
|
30278
|
+
/** OAuth access token. */
|
|
30279
|
+
access_token?: string;
|
|
30280
|
+
/** Data format for response. */
|
|
30281
|
+
alt?: string;
|
|
30282
|
+
/** JSONP */
|
|
30283
|
+
callback?: string;
|
|
30284
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30285
|
+
fields?: string;
|
|
30286
|
+
/** 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. */
|
|
30287
|
+
key?: string;
|
|
30288
|
+
/** Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` */
|
|
30289
|
+
location: string;
|
|
30290
|
+
/** OAuth 2.0 token for the current user. */
|
|
30291
|
+
oauth_token?: string;
|
|
30292
|
+
/** Returns response with indentations and line breaks. */
|
|
30293
|
+
prettyPrint?: boolean;
|
|
30294
|
+
/** 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. */
|
|
30295
|
+
quotaUser?: string;
|
|
30296
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30297
|
+
upload_protocol?: string;
|
|
30298
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30299
|
+
uploadType?: string;
|
|
30300
|
+
/** Request body */
|
|
30301
|
+
resource: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest;
|
|
30302
|
+
}): Request<GoogleCloudAiplatformV1beta1EvaluateInstancesResponse>;
|
|
30303
|
+
evaluateInstances(
|
|
30304
|
+
request: {
|
|
30305
|
+
/** V1 error format. */
|
|
30306
|
+
'$.xgafv'?: string;
|
|
30307
|
+
/** OAuth access token. */
|
|
30308
|
+
access_token?: string;
|
|
30309
|
+
/** Data format for response. */
|
|
30310
|
+
alt?: string;
|
|
30311
|
+
/** JSONP */
|
|
30312
|
+
callback?: string;
|
|
30313
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30314
|
+
fields?: string;
|
|
30315
|
+
/** 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. */
|
|
30316
|
+
key?: string;
|
|
30317
|
+
/** Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` */
|
|
30318
|
+
location: string;
|
|
30319
|
+
/** OAuth 2.0 token for the current user. */
|
|
30320
|
+
oauth_token?: string;
|
|
30321
|
+
/** Returns response with indentations and line breaks. */
|
|
30322
|
+
prettyPrint?: boolean;
|
|
30323
|
+
/** 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. */
|
|
30324
|
+
quotaUser?: string;
|
|
30325
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30326
|
+
upload_protocol?: string;
|
|
30327
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30328
|
+
uploadType?: string;
|
|
30329
|
+
},
|
|
30330
|
+
body: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest
|
|
30331
|
+
): Request<GoogleCloudAiplatformV1beta1EvaluateInstancesResponse>;
|
|
28568
30332
|
/** Gets information about a location. */
|
|
28569
30333
|
get(request?: {
|
|
28570
30334
|
/** V1 error format. */
|
|
@@ -28625,6 +30389,64 @@ declare namespace gapi.client {
|
|
|
28625
30389
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28626
30390
|
uploadType?: string;
|
|
28627
30391
|
}): Request<GoogleCloudLocationListLocationsResponse>;
|
|
30392
|
+
/** Retrieves relevant contexts for a query. */
|
|
30393
|
+
retrieveContexts(request: {
|
|
30394
|
+
/** V1 error format. */
|
|
30395
|
+
'$.xgafv'?: string;
|
|
30396
|
+
/** OAuth access token. */
|
|
30397
|
+
access_token?: string;
|
|
30398
|
+
/** Data format for response. */
|
|
30399
|
+
alt?: string;
|
|
30400
|
+
/** JSONP */
|
|
30401
|
+
callback?: string;
|
|
30402
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30403
|
+
fields?: string;
|
|
30404
|
+
/** 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. */
|
|
30405
|
+
key?: string;
|
|
30406
|
+
/** OAuth 2.0 token for the current user. */
|
|
30407
|
+
oauth_token?: string;
|
|
30408
|
+
/** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
30409
|
+
parent: string;
|
|
30410
|
+
/** Returns response with indentations and line breaks. */
|
|
30411
|
+
prettyPrint?: boolean;
|
|
30412
|
+
/** 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. */
|
|
30413
|
+
quotaUser?: string;
|
|
30414
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30415
|
+
upload_protocol?: string;
|
|
30416
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30417
|
+
uploadType?: string;
|
|
30418
|
+
/** Request body */
|
|
30419
|
+
resource: GoogleCloudAiplatformV1beta1RetrieveContextsRequest;
|
|
30420
|
+
}): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
|
|
30421
|
+
retrieveContexts(
|
|
30422
|
+
request: {
|
|
30423
|
+
/** V1 error format. */
|
|
30424
|
+
'$.xgafv'?: string;
|
|
30425
|
+
/** OAuth access token. */
|
|
30426
|
+
access_token?: string;
|
|
30427
|
+
/** Data format for response. */
|
|
30428
|
+
alt?: string;
|
|
30429
|
+
/** JSONP */
|
|
30430
|
+
callback?: string;
|
|
30431
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30432
|
+
fields?: string;
|
|
30433
|
+
/** 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. */
|
|
30434
|
+
key?: string;
|
|
30435
|
+
/** OAuth 2.0 token for the current user. */
|
|
30436
|
+
oauth_token?: string;
|
|
30437
|
+
/** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
30438
|
+
parent: string;
|
|
30439
|
+
/** Returns response with indentations and line breaks. */
|
|
30440
|
+
prettyPrint?: boolean;
|
|
30441
|
+
/** 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. */
|
|
30442
|
+
quotaUser?: string;
|
|
30443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30444
|
+
upload_protocol?: string;
|
|
30445
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30446
|
+
uploadType?: string;
|
|
30447
|
+
},
|
|
30448
|
+
body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest
|
|
30449
|
+
): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
|
|
28628
30450
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
28629
30451
|
customJobs: CustomJobsResource;
|
|
28630
30452
|
dataLabelingJobs: DataLabelingJobsResource;
|
|
@@ -28743,6 +30565,8 @@ declare namespace gapi.client {
|
|
|
28743
30565
|
models: ModelsResource;
|
|
28744
30566
|
}
|
|
28745
30567
|
|
|
30568
|
+
const media: MediaResource;
|
|
30569
|
+
|
|
28746
30570
|
const projects: ProjectsResource;
|
|
28747
30571
|
|
|
28748
30572
|
const publishers: PublishersResource;
|