@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.4.20251028 → 0.4.20251107
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 +443 -11
- package/package.json +1 -1
- package/readme.md +5 -0
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: 20251107
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -441,7 +441,7 @@ declare namespace gapi.client {
|
|
|
441
441
|
samplingCount?: number;
|
|
442
442
|
}
|
|
443
443
|
interface GoogleCloudAiplatformV1beta1AutoscalingMetricSpec {
|
|
444
|
-
/** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` */
|
|
444
|
+
/** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` * `pubsub.googleapis.com/subscription/num_undelivered_messages` */
|
|
445
445
|
metricName?: string;
|
|
446
446
|
/** Optional. The Cloud Monitoring monitored resource labels as key value pairs used for metrics filtering. See Cloud Monitoring Labels https://cloud.google.com/monitoring/api/v3/metric-model#generic-label-info */
|
|
447
447
|
monitoredResourceLabels?: {[P in string]: string};
|
|
@@ -1298,7 +1298,7 @@ declare namespace gapi.client {
|
|
|
1298
1298
|
score?: number;
|
|
1299
1299
|
}
|
|
1300
1300
|
interface GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec {
|
|
1301
|
-
/** Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` */
|
|
1301
|
+
/** Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function. */
|
|
1302
1302
|
evaluationFunction?: string;
|
|
1303
1303
|
}
|
|
1304
1304
|
interface GoogleCloudAiplatformV1beta1CustomJob {
|
|
@@ -2281,7 +2281,7 @@ declare namespace gapi.client {
|
|
|
2281
2281
|
prompt?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
|
|
2282
2282
|
/** Optional. Data used to populate placeholder `reference` in a metric prompt template. */
|
|
2283
2283
|
reference?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
|
|
2284
|
-
/**
|
|
2284
|
+
/** Optional. Data used to populate placeholder `response` in a metric prompt template. */
|
|
2285
2285
|
response?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
|
|
2286
2286
|
/** Optional. Named groups of rubrics associated with the prompt. This is used for rubric-based evaluations where rubrics can be referenced by a key. The key could represent versions, associated metrics, etc. */
|
|
2287
2287
|
rubricGroups?: {[P in string]: GoogleCloudAiplatformV1beta1RubricGroup};
|
|
@@ -2305,8 +2305,6 @@ declare namespace gapi.client {
|
|
|
2305
2305
|
developerInstruction?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
|
|
2306
2306
|
/** A list of events. */
|
|
2307
2307
|
events?: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents;
|
|
2308
|
-
/** A JSON string containing a sequence of events. */
|
|
2309
|
-
eventsText?: string;
|
|
2310
2308
|
/** List of tools. */
|
|
2311
2309
|
tools?: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools;
|
|
2312
2310
|
/** A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters. Example: [ { "name": "search_actors", "description": "Search for actors in a movie. Returns a list of actors, their roles, their birthdate, and their place of birth.", "parameters": [ { "name": "movie_name", "description": "The name of the movie." }, { "name": "character_name", "description": "The name of the character." } ], "required": ["movie_name", "character_name"] } ] */
|
|
@@ -2705,6 +2703,14 @@ declare namespace gapi.client {
|
|
|
2705
2703
|
/** Required. Programming language of the `code`. */
|
|
2706
2704
|
language?: string;
|
|
2707
2705
|
}
|
|
2706
|
+
interface GoogleCloudAiplatformV1beta1ExecuteCodeRequest {
|
|
2707
|
+
/** Required. The inputs used for the stateless code execution. */
|
|
2708
|
+
inputs?: GoogleCloudAiplatformV1beta1Chunk[];
|
|
2709
|
+
}
|
|
2710
|
+
interface GoogleCloudAiplatformV1beta1ExecuteCodeResponse {
|
|
2711
|
+
/** The outputs from the sandbox environment. */
|
|
2712
|
+
outputs?: GoogleCloudAiplatformV1beta1Chunk[];
|
|
2713
|
+
}
|
|
2708
2714
|
interface GoogleCloudAiplatformV1beta1ExecuteExtensionRequest {
|
|
2709
2715
|
/** Required. The desired ID of the operation to be executed in this extension as defined in ExtensionOperation.operation_id. */
|
|
2710
2716
|
operationId?: string;
|
|
@@ -7548,6 +7554,12 @@ declare namespace gapi.client {
|
|
|
7548
7554
|
/** A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer). */
|
|
7549
7555
|
purgeSample?: string[];
|
|
7550
7556
|
}
|
|
7557
|
+
interface GoogleCloudAiplatformV1beta1PurgeMemoriesRequest {
|
|
7558
|
+
/** Required. The standard list filter to determine which memories to purge. More detail in [AIP-160](https://google.aip.dev/160). */
|
|
7559
|
+
filter?: string;
|
|
7560
|
+
/** Optional. If true, the memories will actually be purged. If false, the purge request will be validated but not executed. */
|
|
7561
|
+
force?: boolean;
|
|
7562
|
+
}
|
|
7551
7563
|
interface GoogleCloudAiplatformV1beta1PythonPackageSpec {
|
|
7552
7564
|
/** Command line arguments to be passed to the Python task. */
|
|
7553
7565
|
args?: string[];
|
|
@@ -8207,6 +8219,10 @@ declare namespace gapi.client {
|
|
|
8207
8219
|
classMethods?: Array<{[P in string]: any}>;
|
|
8208
8220
|
/** Optional. The specification of a Reasoning Engine deployment. */
|
|
8209
8221
|
deploymentSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec;
|
|
8222
|
+
/** Output only. The identity to use for the Reasoning Engine. It can contain one of the following values: * service-{project}@gcp-sa-aiplatform-re.googleapis.com (for SERVICE_AGENT identity type) * {name}@{project}.gserviceaccount.com (for SERVICE_ACCOUNT identity type) * agents.global.{org}.system.id.goog/resources/aiplatform/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} (for AGENT_IDENTITY identity type) */
|
|
8223
|
+
effectiveIdentity?: string;
|
|
8224
|
+
/** Optional. The identity type to use for the Reasoning Engine. If not specified, the `service_account` field will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used. */
|
|
8225
|
+
identityType?: string;
|
|
8210
8226
|
/** Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified. */
|
|
8211
8227
|
packageSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec;
|
|
8212
8228
|
/** Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used. */
|
|
@@ -8452,7 +8468,7 @@ declare namespace gapi.client {
|
|
|
8452
8468
|
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
8453
8469
|
}
|
|
8454
8470
|
interface GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest {
|
|
8455
|
-
/** Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` */
|
|
8471
|
+
/** Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
|
|
8456
8472
|
filter?: string;
|
|
8457
8473
|
/** Required. The scope of the memories to retrieve. A memory must have exactly the same scope (`Memory.scope`) as the scope provided here to be retrieved (same keys and values). Order does not matter, but it is case-sensitive. */
|
|
8458
8474
|
scope?: {[P in string]: string};
|
|
@@ -9530,6 +9546,20 @@ declare namespace gapi.client {
|
|
|
9530
9546
|
/** The parts of the variable value. */
|
|
9531
9547
|
partList?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList;
|
|
9532
9548
|
}
|
|
9549
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData {
|
|
9550
|
+
/** Serialized state of the code repository. This string will typically contain a JSON representation of the UI's CodeRepositoryService state (files, folders, content, and any metadata). The UI is responsible for serialization and deserialization. */
|
|
9551
|
+
codeRepositoryState?: string;
|
|
9552
|
+
/** Linked resources attached to the application by the user. */
|
|
9553
|
+
linkedResources?: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource[];
|
|
9554
|
+
}
|
|
9555
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource {
|
|
9556
|
+
/** A user-friendly name for the data source shown in the UI. */
|
|
9557
|
+
displayName?: string;
|
|
9558
|
+
/** The unique resource name of the data source. The format is determined by the 'type' field. For type "SAVED_PROMPT": projects/{project}/locations/{location}/datasets/{dataset} For type "AI_AGENT": projects/{project}/locations/{location}/agents/{agent} */
|
|
9559
|
+
name?: string;
|
|
9560
|
+
/** The type of the linked resource. e.g., "SAVED_PROMPT", "AI_AGENT" This string corresponds to the name of the LinkedResourceType enum member. See: google3/cloud/console/web/ai/platform/llm/prompts/build/services/specs_repository_service/linked_resources/linked_resource.ts */
|
|
9561
|
+
type?: string;
|
|
9562
|
+
}
|
|
9533
9563
|
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt {
|
|
9534
9564
|
/** The prompt message. */
|
|
9535
9565
|
promptMessage?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage;
|
|
@@ -9565,6 +9595,8 @@ declare namespace gapi.client {
|
|
|
9565
9595
|
referenceSentencePairs?: GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePair[];
|
|
9566
9596
|
}
|
|
9567
9597
|
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt {
|
|
9598
|
+
/** Data for app builder use case. */
|
|
9599
|
+
appBuilderData?: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData;
|
|
9568
9600
|
/** Preamble: The context of the prompt. */
|
|
9569
9601
|
context?: GoogleCloudAiplatformV1beta1Content;
|
|
9570
9602
|
/** Preamble: A set of examples for expected model response. */
|
|
@@ -10488,6 +10520,8 @@ declare namespace gapi.client {
|
|
|
10488
10520
|
displayName?: string;
|
|
10489
10521
|
/** Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. */
|
|
10490
10522
|
expireTime?: string;
|
|
10523
|
+
/** The labels with user-defined metadata to organize your Sessions. 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 and examples of labels. */
|
|
10524
|
+
labels?: {[P in string]: string};
|
|
10491
10525
|
/** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
|
|
10492
10526
|
name?: string;
|
|
10493
10527
|
/** Optional. Session specific memory which stores key conversation points. */
|
|
@@ -19861,6 +19895,43 @@ declare namespace gapi.client {
|
|
|
19861
19895
|
interface PipelineJobsResource {
|
|
19862
19896
|
operations: OperationsResource;
|
|
19863
19897
|
}
|
|
19898
|
+
interface DatasetsResource {
|
|
19899
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
19900
|
+
getIamPolicy(request?: {
|
|
19901
|
+
/** V1 error format. */
|
|
19902
|
+
'$.xgafv'?: string;
|
|
19903
|
+
/** OAuth access token. */
|
|
19904
|
+
access_token?: string;
|
|
19905
|
+
/** Data format for response. */
|
|
19906
|
+
alt?: string;
|
|
19907
|
+
/** JSONP */
|
|
19908
|
+
callback?: string;
|
|
19909
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19910
|
+
fields?: string;
|
|
19911
|
+
/** 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. */
|
|
19912
|
+
key?: string;
|
|
19913
|
+
/** OAuth 2.0 token for the current user. */
|
|
19914
|
+
oauth_token?: string;
|
|
19915
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
19916
|
+
'options.requestedPolicyVersion'?: number;
|
|
19917
|
+
/** Returns response with indentations and line breaks. */
|
|
19918
|
+
prettyPrint?: boolean;
|
|
19919
|
+
/** 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. */
|
|
19920
|
+
quotaUser?: string;
|
|
19921
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
19922
|
+
resource: string;
|
|
19923
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19924
|
+
upload_protocol?: string;
|
|
19925
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19926
|
+
uploadType?: string;
|
|
19927
|
+
}): Request<GoogleIamV1Policy>;
|
|
19928
|
+
}
|
|
19929
|
+
interface LocationsResource {
|
|
19930
|
+
datasets: DatasetsResource;
|
|
19931
|
+
}
|
|
19932
|
+
interface ProjectResource {
|
|
19933
|
+
locations: LocationsResource;
|
|
19934
|
+
}
|
|
19864
19935
|
interface OperationsResource {
|
|
19865
19936
|
/** 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`. */
|
|
19866
19937
|
cancel(request?: {
|
|
@@ -22943,6 +23014,65 @@ declare namespace gapi.client {
|
|
|
22943
23014
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22944
23015
|
uploadType?: string;
|
|
22945
23016
|
}): Request<GoogleCloudAiplatformV1beta1SearchDataItemsResponse>;
|
|
23017
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
23018
|
+
setIamPolicy(
|
|
23019
|
+
request: {
|
|
23020
|
+
/** V1 error format. */
|
|
23021
|
+
'$.xgafv'?: string;
|
|
23022
|
+
/** OAuth access token. */
|
|
23023
|
+
access_token?: string;
|
|
23024
|
+
/** Data format for response. */
|
|
23025
|
+
alt?: string;
|
|
23026
|
+
/** JSONP */
|
|
23027
|
+
callback?: string;
|
|
23028
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23029
|
+
fields?: string;
|
|
23030
|
+
/** 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. */
|
|
23031
|
+
key?: string;
|
|
23032
|
+
/** OAuth 2.0 token for the current user. */
|
|
23033
|
+
oauth_token?: string;
|
|
23034
|
+
/** Returns response with indentations and line breaks. */
|
|
23035
|
+
prettyPrint?: boolean;
|
|
23036
|
+
/** 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. */
|
|
23037
|
+
quotaUser?: string;
|
|
23038
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
23039
|
+
resource: string;
|
|
23040
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23041
|
+
upload_protocol?: string;
|
|
23042
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23043
|
+
uploadType?: string;
|
|
23044
|
+
},
|
|
23045
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
23046
|
+
): Request<GoogleIamV1Policy>;
|
|
23047
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
23048
|
+
testIamPermissions(request?: {
|
|
23049
|
+
/** V1 error format. */
|
|
23050
|
+
'$.xgafv'?: string;
|
|
23051
|
+
/** OAuth access token. */
|
|
23052
|
+
access_token?: string;
|
|
23053
|
+
/** Data format for response. */
|
|
23054
|
+
alt?: string;
|
|
23055
|
+
/** JSONP */
|
|
23056
|
+
callback?: string;
|
|
23057
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23058
|
+
fields?: string;
|
|
23059
|
+
/** 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. */
|
|
23060
|
+
key?: string;
|
|
23061
|
+
/** OAuth 2.0 token for the current user. */
|
|
23062
|
+
oauth_token?: string;
|
|
23063
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
23064
|
+
permissions?: string | string[];
|
|
23065
|
+
/** Returns response with indentations and line breaks. */
|
|
23066
|
+
prettyPrint?: boolean;
|
|
23067
|
+
/** 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. */
|
|
23068
|
+
quotaUser?: string;
|
|
23069
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
23070
|
+
resource: string;
|
|
23071
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23072
|
+
upload_protocol?: string;
|
|
23073
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23074
|
+
uploadType?: string;
|
|
23075
|
+
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
22946
23076
|
annotationSpecs: AnnotationSpecsResource;
|
|
22947
23077
|
dataItems: DataItemsResource;
|
|
22948
23078
|
datasetVersions: DatasetVersionsResource;
|
|
@@ -23614,6 +23744,73 @@ declare namespace gapi.client {
|
|
|
23614
23744
|
interface DeployedModelsResource {
|
|
23615
23745
|
invoke: InvokeResource;
|
|
23616
23746
|
}
|
|
23747
|
+
interface ScienceResource {
|
|
23748
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
23749
|
+
inference(request: {
|
|
23750
|
+
/** V1 error format. */
|
|
23751
|
+
'$.xgafv'?: string;
|
|
23752
|
+
/** OAuth access token. */
|
|
23753
|
+
access_token?: string;
|
|
23754
|
+
/** Data format for response. */
|
|
23755
|
+
alt?: string;
|
|
23756
|
+
/** JSONP */
|
|
23757
|
+
callback?: string;
|
|
23758
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
23759
|
+
deployedModelId?: string;
|
|
23760
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
23761
|
+
endpoint: string;
|
|
23762
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23763
|
+
fields?: string;
|
|
23764
|
+
/** 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. */
|
|
23765
|
+
key?: string;
|
|
23766
|
+
/** OAuth 2.0 token for the current user. */
|
|
23767
|
+
oauth_token?: string;
|
|
23768
|
+
/** Returns response with indentations and line breaks. */
|
|
23769
|
+
prettyPrint?: boolean;
|
|
23770
|
+
/** 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. */
|
|
23771
|
+
quotaUser?: string;
|
|
23772
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23773
|
+
upload_protocol?: string;
|
|
23774
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23775
|
+
uploadType?: string;
|
|
23776
|
+
/** Request body */
|
|
23777
|
+
resource: GoogleApiHttpBody;
|
|
23778
|
+
}): Request<GoogleApiHttpBody>;
|
|
23779
|
+
inference(
|
|
23780
|
+
request: {
|
|
23781
|
+
/** V1 error format. */
|
|
23782
|
+
'$.xgafv'?: string;
|
|
23783
|
+
/** OAuth access token. */
|
|
23784
|
+
access_token?: string;
|
|
23785
|
+
/** Data format for response. */
|
|
23786
|
+
alt?: string;
|
|
23787
|
+
/** JSONP */
|
|
23788
|
+
callback?: string;
|
|
23789
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
23790
|
+
deployedModelId?: string;
|
|
23791
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
23792
|
+
endpoint: string;
|
|
23793
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23794
|
+
fields?: string;
|
|
23795
|
+
/** 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. */
|
|
23796
|
+
key?: string;
|
|
23797
|
+
/** OAuth 2.0 token for the current user. */
|
|
23798
|
+
oauth_token?: string;
|
|
23799
|
+
/** Returns response with indentations and line breaks. */
|
|
23800
|
+
prettyPrint?: boolean;
|
|
23801
|
+
/** 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. */
|
|
23802
|
+
quotaUser?: string;
|
|
23803
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23804
|
+
upload_protocol?: string;
|
|
23805
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23806
|
+
uploadType?: string;
|
|
23807
|
+
},
|
|
23808
|
+
body: GoogleApiHttpBody,
|
|
23809
|
+
): Request<GoogleApiHttpBody>;
|
|
23810
|
+
}
|
|
23811
|
+
interface GoogleResource {
|
|
23812
|
+
science: ScienceResource;
|
|
23813
|
+
}
|
|
23617
23814
|
interface InvokeResource {
|
|
23618
23815
|
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
23619
23816
|
invoke(request: {
|
|
@@ -25178,6 +25375,7 @@ declare namespace gapi.client {
|
|
|
25178
25375
|
): Request<GoogleLongrunningOperation>;
|
|
25179
25376
|
chat: ChatResource;
|
|
25180
25377
|
deployedModels: DeployedModelsResource;
|
|
25378
|
+
google: GoogleResource;
|
|
25181
25379
|
invoke: InvokeResource;
|
|
25182
25380
|
openapi: OpenapiResource;
|
|
25183
25381
|
operations: OperationsResource;
|
|
@@ -43060,7 +43258,7 @@ declare namespace gapi.client {
|
|
|
43060
43258
|
callback?: string;
|
|
43061
43259
|
/** Selector specifying which fields to include in a partial response. */
|
|
43062
43260
|
fields?: string;
|
|
43063
|
-
/** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only)
|
|
43261
|
+
/** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `scope` (as a JSON string with equality match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
|
|
43064
43262
|
filter?: string;
|
|
43065
43263
|
/** 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. */
|
|
43066
43264
|
key?: string;
|
|
@@ -43145,6 +43343,64 @@ declare namespace gapi.client {
|
|
|
43145
43343
|
},
|
|
43146
43344
|
body: GoogleCloudAiplatformV1beta1Memory,
|
|
43147
43345
|
): Request<GoogleLongrunningOperation>;
|
|
43346
|
+
/** Purge memories. */
|
|
43347
|
+
purge(request: {
|
|
43348
|
+
/** V1 error format. */
|
|
43349
|
+
'$.xgafv'?: string;
|
|
43350
|
+
/** OAuth access token. */
|
|
43351
|
+
access_token?: string;
|
|
43352
|
+
/** Data format for response. */
|
|
43353
|
+
alt?: string;
|
|
43354
|
+
/** JSONP */
|
|
43355
|
+
callback?: string;
|
|
43356
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43357
|
+
fields?: string;
|
|
43358
|
+
/** 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. */
|
|
43359
|
+
key?: string;
|
|
43360
|
+
/** OAuth 2.0 token for the current user. */
|
|
43361
|
+
oauth_token?: string;
|
|
43362
|
+
/** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
43363
|
+
parent: string;
|
|
43364
|
+
/** Returns response with indentations and line breaks. */
|
|
43365
|
+
prettyPrint?: boolean;
|
|
43366
|
+
/** 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. */
|
|
43367
|
+
quotaUser?: string;
|
|
43368
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43369
|
+
upload_protocol?: string;
|
|
43370
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43371
|
+
uploadType?: string;
|
|
43372
|
+
/** Request body */
|
|
43373
|
+
resource: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest;
|
|
43374
|
+
}): Request<GoogleLongrunningOperation>;
|
|
43375
|
+
purge(
|
|
43376
|
+
request: {
|
|
43377
|
+
/** V1 error format. */
|
|
43378
|
+
'$.xgafv'?: string;
|
|
43379
|
+
/** OAuth access token. */
|
|
43380
|
+
access_token?: string;
|
|
43381
|
+
/** Data format for response. */
|
|
43382
|
+
alt?: string;
|
|
43383
|
+
/** JSONP */
|
|
43384
|
+
callback?: string;
|
|
43385
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43386
|
+
fields?: string;
|
|
43387
|
+
/** 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. */
|
|
43388
|
+
key?: string;
|
|
43389
|
+
/** OAuth 2.0 token for the current user. */
|
|
43390
|
+
oauth_token?: string;
|
|
43391
|
+
/** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
43392
|
+
parent: string;
|
|
43393
|
+
/** Returns response with indentations and line breaks. */
|
|
43394
|
+
prettyPrint?: boolean;
|
|
43395
|
+
/** 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. */
|
|
43396
|
+
quotaUser?: string;
|
|
43397
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43398
|
+
upload_protocol?: string;
|
|
43399
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43400
|
+
uploadType?: string;
|
|
43401
|
+
},
|
|
43402
|
+
body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest,
|
|
43403
|
+
): Request<GoogleLongrunningOperation>;
|
|
43148
43404
|
/** Retrieve memories. */
|
|
43149
43405
|
retrieve(request: {
|
|
43150
43406
|
/** V1 error format. */
|
|
@@ -44131,7 +44387,7 @@ declare namespace gapi.client {
|
|
|
44131
44387
|
callback?: string;
|
|
44132
44388
|
/** Selector specifying which fields to include in a partial response. */
|
|
44133
44389
|
fields?: string;
|
|
44134
|
-
/** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` Example: `display_name="abc"`, `user_id="123"`. */
|
|
44390
|
+
/** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. */
|
|
44135
44391
|
filter?: string;
|
|
44136
44392
|
/** 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. */
|
|
44137
44393
|
key?: string;
|
|
@@ -44307,6 +44563,64 @@ declare namespace gapi.client {
|
|
|
44307
44563
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44308
44564
|
uploadType?: string;
|
|
44309
44565
|
}): Request<GoogleLongrunningOperation>;
|
|
44566
|
+
/** Executes code statelessly. */
|
|
44567
|
+
executeCode(request: {
|
|
44568
|
+
/** V1 error format. */
|
|
44569
|
+
'$.xgafv'?: string;
|
|
44570
|
+
/** OAuth access token. */
|
|
44571
|
+
access_token?: string;
|
|
44572
|
+
/** Data format for response. */
|
|
44573
|
+
alt?: string;
|
|
44574
|
+
/** JSONP */
|
|
44575
|
+
callback?: string;
|
|
44576
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
44577
|
+
fields?: string;
|
|
44578
|
+
/** 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. */
|
|
44579
|
+
key?: string;
|
|
44580
|
+
/** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
44581
|
+
name: string;
|
|
44582
|
+
/** OAuth 2.0 token for the current user. */
|
|
44583
|
+
oauth_token?: string;
|
|
44584
|
+
/** Returns response with indentations and line breaks. */
|
|
44585
|
+
prettyPrint?: boolean;
|
|
44586
|
+
/** 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. */
|
|
44587
|
+
quotaUser?: string;
|
|
44588
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
44589
|
+
upload_protocol?: string;
|
|
44590
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44591
|
+
uploadType?: string;
|
|
44592
|
+
/** Request body */
|
|
44593
|
+
resource: GoogleCloudAiplatformV1beta1ExecuteCodeRequest;
|
|
44594
|
+
}): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
|
|
44595
|
+
executeCode(
|
|
44596
|
+
request: {
|
|
44597
|
+
/** V1 error format. */
|
|
44598
|
+
'$.xgafv'?: string;
|
|
44599
|
+
/** OAuth access token. */
|
|
44600
|
+
access_token?: string;
|
|
44601
|
+
/** Data format for response. */
|
|
44602
|
+
alt?: string;
|
|
44603
|
+
/** JSONP */
|
|
44604
|
+
callback?: string;
|
|
44605
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
44606
|
+
fields?: string;
|
|
44607
|
+
/** 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. */
|
|
44608
|
+
key?: string;
|
|
44609
|
+
/** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
44610
|
+
name: string;
|
|
44611
|
+
/** OAuth 2.0 token for the current user. */
|
|
44612
|
+
oauth_token?: string;
|
|
44613
|
+
/** Returns response with indentations and line breaks. */
|
|
44614
|
+
prettyPrint?: boolean;
|
|
44615
|
+
/** 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. */
|
|
44616
|
+
quotaUser?: string;
|
|
44617
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
44618
|
+
upload_protocol?: string;
|
|
44619
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
44620
|
+
uploadType?: string;
|
|
44621
|
+
},
|
|
44622
|
+
body: GoogleCloudAiplatformV1beta1ExecuteCodeRequest,
|
|
44623
|
+
): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
|
|
44310
44624
|
/** Gets a reasoning engine. */
|
|
44311
44625
|
get(request?: {
|
|
44312
44626
|
/** V1 error format. */
|
|
@@ -51848,7 +52162,7 @@ declare namespace gapi.client {
|
|
|
51848
52162
|
callback?: string;
|
|
51849
52163
|
/** Selector specifying which fields to include in a partial response. */
|
|
51850
52164
|
fields?: string;
|
|
51851
|
-
/** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only)
|
|
52165
|
+
/** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `scope` (as a JSON string with equality match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
|
|
51852
52166
|
filter?: string;
|
|
51853
52167
|
/** 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. */
|
|
51854
52168
|
key?: string;
|
|
@@ -51933,6 +52247,64 @@ declare namespace gapi.client {
|
|
|
51933
52247
|
},
|
|
51934
52248
|
body: GoogleCloudAiplatformV1beta1Memory,
|
|
51935
52249
|
): Request<GoogleLongrunningOperation>;
|
|
52250
|
+
/** Purge memories. */
|
|
52251
|
+
purge(request: {
|
|
52252
|
+
/** V1 error format. */
|
|
52253
|
+
'$.xgafv'?: string;
|
|
52254
|
+
/** OAuth access token. */
|
|
52255
|
+
access_token?: string;
|
|
52256
|
+
/** Data format for response. */
|
|
52257
|
+
alt?: string;
|
|
52258
|
+
/** JSONP */
|
|
52259
|
+
callback?: string;
|
|
52260
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
52261
|
+
fields?: string;
|
|
52262
|
+
/** 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. */
|
|
52263
|
+
key?: string;
|
|
52264
|
+
/** OAuth 2.0 token for the current user. */
|
|
52265
|
+
oauth_token?: string;
|
|
52266
|
+
/** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
52267
|
+
parent: string;
|
|
52268
|
+
/** Returns response with indentations and line breaks. */
|
|
52269
|
+
prettyPrint?: boolean;
|
|
52270
|
+
/** 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. */
|
|
52271
|
+
quotaUser?: string;
|
|
52272
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
52273
|
+
upload_protocol?: string;
|
|
52274
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
52275
|
+
uploadType?: string;
|
|
52276
|
+
/** Request body */
|
|
52277
|
+
resource: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest;
|
|
52278
|
+
}): Request<GoogleLongrunningOperation>;
|
|
52279
|
+
purge(
|
|
52280
|
+
request: {
|
|
52281
|
+
/** V1 error format. */
|
|
52282
|
+
'$.xgafv'?: string;
|
|
52283
|
+
/** OAuth access token. */
|
|
52284
|
+
access_token?: string;
|
|
52285
|
+
/** Data format for response. */
|
|
52286
|
+
alt?: string;
|
|
52287
|
+
/** JSONP */
|
|
52288
|
+
callback?: string;
|
|
52289
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
52290
|
+
fields?: string;
|
|
52291
|
+
/** 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. */
|
|
52292
|
+
key?: string;
|
|
52293
|
+
/** OAuth 2.0 token for the current user. */
|
|
52294
|
+
oauth_token?: string;
|
|
52295
|
+
/** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
52296
|
+
parent: string;
|
|
52297
|
+
/** Returns response with indentations and line breaks. */
|
|
52298
|
+
prettyPrint?: boolean;
|
|
52299
|
+
/** 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. */
|
|
52300
|
+
quotaUser?: string;
|
|
52301
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
52302
|
+
upload_protocol?: string;
|
|
52303
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
52304
|
+
uploadType?: string;
|
|
52305
|
+
},
|
|
52306
|
+
body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest,
|
|
52307
|
+
): Request<GoogleLongrunningOperation>;
|
|
51936
52308
|
/** Retrieve memories. */
|
|
51937
52309
|
retrieve(request: {
|
|
51938
52310
|
/** V1 error format. */
|
|
@@ -52919,7 +53291,7 @@ declare namespace gapi.client {
|
|
|
52919
53291
|
callback?: string;
|
|
52920
53292
|
/** Selector specifying which fields to include in a partial response. */
|
|
52921
53293
|
fields?: string;
|
|
52922
|
-
/** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` Example: `display_name="abc"`, `user_id="123"`. */
|
|
53294
|
+
/** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. */
|
|
52923
53295
|
filter?: string;
|
|
52924
53296
|
/** 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. */
|
|
52925
53297
|
key?: string;
|
|
@@ -53095,6 +53467,64 @@ declare namespace gapi.client {
|
|
|
53095
53467
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
53096
53468
|
uploadType?: string;
|
|
53097
53469
|
}): Request<GoogleLongrunningOperation>;
|
|
53470
|
+
/** Executes code statelessly. */
|
|
53471
|
+
executeCode(request: {
|
|
53472
|
+
/** V1 error format. */
|
|
53473
|
+
'$.xgafv'?: string;
|
|
53474
|
+
/** OAuth access token. */
|
|
53475
|
+
access_token?: string;
|
|
53476
|
+
/** Data format for response. */
|
|
53477
|
+
alt?: string;
|
|
53478
|
+
/** JSONP */
|
|
53479
|
+
callback?: string;
|
|
53480
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
53481
|
+
fields?: string;
|
|
53482
|
+
/** 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. */
|
|
53483
|
+
key?: string;
|
|
53484
|
+
/** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
53485
|
+
name: string;
|
|
53486
|
+
/** OAuth 2.0 token for the current user. */
|
|
53487
|
+
oauth_token?: string;
|
|
53488
|
+
/** Returns response with indentations and line breaks. */
|
|
53489
|
+
prettyPrint?: boolean;
|
|
53490
|
+
/** 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. */
|
|
53491
|
+
quotaUser?: string;
|
|
53492
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
53493
|
+
upload_protocol?: string;
|
|
53494
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
53495
|
+
uploadType?: string;
|
|
53496
|
+
/** Request body */
|
|
53497
|
+
resource: GoogleCloudAiplatformV1beta1ExecuteCodeRequest;
|
|
53498
|
+
}): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
|
|
53499
|
+
executeCode(
|
|
53500
|
+
request: {
|
|
53501
|
+
/** V1 error format. */
|
|
53502
|
+
'$.xgafv'?: string;
|
|
53503
|
+
/** OAuth access token. */
|
|
53504
|
+
access_token?: string;
|
|
53505
|
+
/** Data format for response. */
|
|
53506
|
+
alt?: string;
|
|
53507
|
+
/** JSONP */
|
|
53508
|
+
callback?: string;
|
|
53509
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
53510
|
+
fields?: string;
|
|
53511
|
+
/** 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. */
|
|
53512
|
+
key?: string;
|
|
53513
|
+
/** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
53514
|
+
name: string;
|
|
53515
|
+
/** OAuth 2.0 token for the current user. */
|
|
53516
|
+
oauth_token?: string;
|
|
53517
|
+
/** Returns response with indentations and line breaks. */
|
|
53518
|
+
prettyPrint?: boolean;
|
|
53519
|
+
/** 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. */
|
|
53520
|
+
quotaUser?: string;
|
|
53521
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
53522
|
+
upload_protocol?: string;
|
|
53523
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
53524
|
+
uploadType?: string;
|
|
53525
|
+
},
|
|
53526
|
+
body: GoogleCloudAiplatformV1beta1ExecuteCodeRequest,
|
|
53527
|
+
): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
|
|
53098
53528
|
/** Gets a reasoning engine. */
|
|
53099
53529
|
get(request?: {
|
|
53100
53530
|
/** V1 error format. */
|
|
@@ -54889,6 +55319,8 @@ declare namespace gapi.client {
|
|
|
54889
55319
|
|
|
54890
55320
|
const pipelineJobs: PipelineJobsResource;
|
|
54891
55321
|
|
|
55322
|
+
const project: ProjectResource;
|
|
55323
|
+
|
|
54892
55324
|
const projects: ProjectsResource;
|
|
54893
55325
|
|
|
54894
55326
|
const publishers: PublishersResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -211,6 +211,11 @@ Deletes a reasoning engine.
|
|
|
211
211
|
*/
|
|
212
212
|
await gapi.client.aiplatform.reasoningEngines.delete({name: 'name'});
|
|
213
213
|
|
|
214
|
+
/*
|
|
215
|
+
Executes code statelessly.
|
|
216
|
+
*/
|
|
217
|
+
await gapi.client.aiplatform.reasoningEngines.executeCode({name: 'name'});
|
|
218
|
+
|
|
214
219
|
/*
|
|
215
220
|
Gets a reasoning engine.
|
|
216
221
|
*/
|