@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20231214 → 0.0.20231218
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 +377 -96
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231218
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -607,6 +607,20 @@ declare namespace gapi.client {
|
|
|
607
607
|
interface GoogleCloudAiplatformV1CancelNasJobRequest {}
|
|
608
608
|
interface GoogleCloudAiplatformV1CancelPipelineJobRequest {}
|
|
609
609
|
interface GoogleCloudAiplatformV1CancelTrainingPipelineRequest {}
|
|
610
|
+
interface GoogleCloudAiplatformV1Candidate {
|
|
611
|
+
/** Output only. Source attribution of the generated content. */
|
|
612
|
+
citationMetadata?: GoogleCloudAiplatformV1CitationMetadata;
|
|
613
|
+
/** Output only. Content parts of the candidate. */
|
|
614
|
+
content?: GoogleCloudAiplatformV1Content;
|
|
615
|
+
/** Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set. */
|
|
616
|
+
finishMessage?: string;
|
|
617
|
+
/** Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens. */
|
|
618
|
+
finishReason?: string;
|
|
619
|
+
/** Output only. Index of the candidate. */
|
|
620
|
+
index?: number;
|
|
621
|
+
/** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
|
|
622
|
+
safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
|
|
623
|
+
}
|
|
610
624
|
interface GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata {
|
|
611
625
|
/** Operation metadata for suggesting Trials. */
|
|
612
626
|
genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
@@ -620,6 +634,24 @@ declare namespace gapi.client {
|
|
|
620
634
|
/** True if the Trial should stop. */
|
|
621
635
|
shouldStop?: boolean;
|
|
622
636
|
}
|
|
637
|
+
interface GoogleCloudAiplatformV1Citation {
|
|
638
|
+
/** Output only. End index into the content. */
|
|
639
|
+
endIndex?: number;
|
|
640
|
+
/** Output only. License of the attribution. */
|
|
641
|
+
license?: string;
|
|
642
|
+
/** Output only. Publication date of the attribution. */
|
|
643
|
+
publicationDate?: GoogleTypeDate;
|
|
644
|
+
/** Output only. Start index into the content. */
|
|
645
|
+
startIndex?: number;
|
|
646
|
+
/** Output only. Title of the attribution. */
|
|
647
|
+
title?: string;
|
|
648
|
+
/** Output only. Url reference of the attribution. */
|
|
649
|
+
uri?: string;
|
|
650
|
+
}
|
|
651
|
+
interface GoogleCloudAiplatformV1CitationMetadata {
|
|
652
|
+
/** Output only. List of citations. */
|
|
653
|
+
citations?: GoogleCloudAiplatformV1Citation[];
|
|
654
|
+
}
|
|
623
655
|
interface GoogleCloudAiplatformV1CompleteTrialRequest {
|
|
624
656
|
/** 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 */
|
|
625
657
|
finalMeasurement?: GoogleCloudAiplatformV1Measurement;
|
|
@@ -1543,7 +1575,7 @@ declare namespace gapi.client {
|
|
|
1543
1575
|
interface GoogleCloudAiplatformV1ExportDataResponse {
|
|
1544
1576
|
/** Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation. */
|
|
1545
1577
|
dataStats?: GoogleCloudAiplatformV1ModelDataStats;
|
|
1546
|
-
/** All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test)
|
|
1578
|
+
/** All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*). */
|
|
1547
1579
|
exportedFiles?: string[];
|
|
1548
1580
|
}
|
|
1549
1581
|
interface GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata {
|
|
@@ -1651,7 +1683,7 @@ declare namespace gapi.client {
|
|
|
1651
1683
|
updateTime?: string;
|
|
1652
1684
|
/** Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value. */
|
|
1653
1685
|
valueType?: string;
|
|
1654
|
-
/** Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View
|
|
1686
|
+
/** Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id. */
|
|
1655
1687
|
versionColumnName?: string;
|
|
1656
1688
|
}
|
|
1657
1689
|
interface GoogleCloudAiplatformV1FeatureGroup {
|
|
@@ -1972,6 +2004,26 @@ declare namespace gapi.client {
|
|
|
1972
2004
|
/** The fraction of the input data that is to be used to validate the Model. */
|
|
1973
2005
|
validationFraction?: number;
|
|
1974
2006
|
}
|
|
2007
|
+
interface GoogleCloudAiplatformV1FunctionCall {
|
|
2008
|
+
/** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
|
|
2009
|
+
args?: {[P in string]: any};
|
|
2010
|
+
/** Required. The name of the function to call. Matches [FunctionDeclaration.name]. */
|
|
2011
|
+
name?: string;
|
|
2012
|
+
}
|
|
2013
|
+
interface GoogleCloudAiplatformV1FunctionDeclaration {
|
|
2014
|
+
/** Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */
|
|
2015
|
+
description?: string;
|
|
2016
|
+
/** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */
|
|
2017
|
+
name?: string;
|
|
2018
|
+
/** 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. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
|
|
2019
|
+
parameters?: GoogleCloudAiplatformV1Schema;
|
|
2020
|
+
}
|
|
2021
|
+
interface GoogleCloudAiplatformV1FunctionResponse {
|
|
2022
|
+
/** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
|
|
2023
|
+
name?: string;
|
|
2024
|
+
/** Required. The function response in JSON object format. */
|
|
2025
|
+
response?: {[P in string]: any};
|
|
2026
|
+
}
|
|
1975
2027
|
interface GoogleCloudAiplatformV1GcsDestination {
|
|
1976
2028
|
/** Required. Google Cloud Storage URI to output directory. If the uri doesn't end with '/', a '/' will be automatically appended. The directory is created if it doesn't exist. */
|
|
1977
2029
|
outputUriPrefix?: string;
|
|
@@ -1980,6 +2032,55 @@ declare namespace gapi.client {
|
|
|
1980
2032
|
/** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. */
|
|
1981
2033
|
uris?: string[];
|
|
1982
2034
|
}
|
|
2035
|
+
interface GoogleCloudAiplatformV1GenerateContentRequest {
|
|
2036
|
+
/** 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. */
|
|
2037
|
+
contents?: GoogleCloudAiplatformV1Content[];
|
|
2038
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
2039
|
+
endpoint?: string;
|
|
2040
|
+
/** Optional. Generation config. */
|
|
2041
|
+
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2042
|
+
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
2043
|
+
safetySettings?: GoogleCloudAiplatformV1SafetySetting[];
|
|
2044
|
+
/** 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. The only supported tool is currently `Function` */
|
|
2045
|
+
tools?: GoogleCloudAiplatformV1Tool[];
|
|
2046
|
+
}
|
|
2047
|
+
interface GoogleCloudAiplatformV1GenerateContentResponse {
|
|
2048
|
+
/** Output only. Generated candidates. */
|
|
2049
|
+
candidates?: GoogleCloudAiplatformV1Candidate[];
|
|
2050
|
+
/** Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations. */
|
|
2051
|
+
promptFeedback?: GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback;
|
|
2052
|
+
/** Usage metadata about the response(s). */
|
|
2053
|
+
usageMetadata?: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata;
|
|
2054
|
+
}
|
|
2055
|
+
interface GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback {
|
|
2056
|
+
/** Output only. Blocked reason. */
|
|
2057
|
+
blockReason?: string;
|
|
2058
|
+
/** Output only. A readable block reason message. */
|
|
2059
|
+
blockReasonMessage?: string;
|
|
2060
|
+
/** Output only. Safety ratings. */
|
|
2061
|
+
safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
|
|
2062
|
+
}
|
|
2063
|
+
interface GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata {
|
|
2064
|
+
/** Number of tokens in the response(s). */
|
|
2065
|
+
candidatesTokenCount?: number;
|
|
2066
|
+
/** Number of tokens in the request. */
|
|
2067
|
+
promptTokenCount?: number;
|
|
2068
|
+
totalTokenCount?: number;
|
|
2069
|
+
}
|
|
2070
|
+
interface GoogleCloudAiplatformV1GenerationConfig {
|
|
2071
|
+
/** Optional. Number of candidates to generate. */
|
|
2072
|
+
candidateCount?: number;
|
|
2073
|
+
/** Optional. The maximum number of output tokens to generate per message. */
|
|
2074
|
+
maxOutputTokens?: number;
|
|
2075
|
+
/** Optional. Stop sequences. */
|
|
2076
|
+
stopSequences?: string[];
|
|
2077
|
+
/** Optional. Controls the randomness of predictions. */
|
|
2078
|
+
temperature?: number;
|
|
2079
|
+
/** Optional. If specified, top-k sampling will be used. */
|
|
2080
|
+
topK?: number;
|
|
2081
|
+
/** Optional. If specified, nucleus sampling will be used. */
|
|
2082
|
+
topP?: number;
|
|
2083
|
+
}
|
|
1983
2084
|
interface GoogleCloudAiplatformV1GenericOperationMetadata {
|
|
1984
2085
|
/** Output only. Time when the operation was created. */
|
|
1985
2086
|
createTime?: string;
|
|
@@ -2876,7 +2977,7 @@ declare namespace gapi.client {
|
|
|
2876
2977
|
displayName?: string;
|
|
2877
2978
|
/** Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data. */
|
|
2878
2979
|
explanationSpecs?: GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec[];
|
|
2879
|
-
/** The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path". */
|
|
2980
|
+
/** The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path", "row_based_metrics_path". */
|
|
2880
2981
|
metadata?: any;
|
|
2881
2982
|
/** Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri */
|
|
2882
2983
|
metrics?: any;
|
|
@@ -3241,6 +3342,14 @@ declare namespace gapi.client {
|
|
|
3241
3342
|
/** Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60. */
|
|
3242
3343
|
idleTimeout?: string;
|
|
3243
3344
|
}
|
|
3345
|
+
interface GoogleCloudAiplatformV1NotebookReservationAffinity {
|
|
3346
|
+
/** Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples. */
|
|
3347
|
+
consumeReservationType?: string;
|
|
3348
|
+
/** Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value. */
|
|
3349
|
+
key?: string;
|
|
3350
|
+
/** Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation. */
|
|
3351
|
+
values?: string[];
|
|
3352
|
+
}
|
|
3244
3353
|
interface GoogleCloudAiplatformV1NotebookRuntime {
|
|
3245
3354
|
/** Output only. Timestamp when this NotebookRuntime was created. */
|
|
3246
3355
|
createTime?: string;
|
|
@@ -3252,16 +3361,22 @@ declare namespace gapi.client {
|
|
|
3252
3361
|
expirationTime?: string;
|
|
3253
3362
|
/** Output only. The health state of the NotebookRuntime. */
|
|
3254
3363
|
healthState?: string;
|
|
3364
|
+
/** Output only. Whether NotebookRuntime is upgradable. */
|
|
3365
|
+
isUpgradable?: boolean;
|
|
3255
3366
|
/** The labels with user-defined metadata to organize your NotebookRuntime. 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. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. * "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex. */
|
|
3256
3367
|
labels?: {[P in string]: string};
|
|
3257
3368
|
/** Output only. The resource name of the NotebookRuntime. */
|
|
3258
3369
|
name?: string;
|
|
3370
|
+
/** Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */
|
|
3371
|
+
networkTags?: string[];
|
|
3259
3372
|
/** Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from. */
|
|
3260
3373
|
notebookRuntimeTemplateRef?: GoogleCloudAiplatformV1NotebookRuntimeTemplateRef;
|
|
3261
3374
|
/** Output only. The type of the notebook runtime. */
|
|
3262
3375
|
notebookRuntimeType?: string;
|
|
3263
3376
|
/** Output only. The proxy endpoint used to access the NotebookRuntime. */
|
|
3264
3377
|
proxyUri?: string;
|
|
3378
|
+
/** Output only. Reservation Affinity of the notebook runtime. */
|
|
3379
|
+
reservationAffinity?: GoogleCloudAiplatformV1NotebookReservationAffinity;
|
|
3265
3380
|
/** Output only. The runtime (instance) state of the NotebookRuntime. */
|
|
3266
3381
|
runtimeState?: string;
|
|
3267
3382
|
/** Required. The user email of the NotebookRuntime. */
|
|
@@ -3298,10 +3413,16 @@ declare namespace gapi.client {
|
|
|
3298
3413
|
name?: string;
|
|
3299
3414
|
/** Optional. Network spec. */
|
|
3300
3415
|
networkSpec?: GoogleCloudAiplatformV1NetworkSpec;
|
|
3416
|
+
/** Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */
|
|
3417
|
+
networkTags?: string[];
|
|
3301
3418
|
/** Optional. Immutable. The type of the notebook runtime template. */
|
|
3302
3419
|
notebookRuntimeType?: string;
|
|
3420
|
+
/** Optional. Reservation Affinity of the notebook runtime template. */
|
|
3421
|
+
reservationAffinity?: GoogleCloudAiplatformV1NotebookReservationAffinity;
|
|
3303
3422
|
/** The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
|
|
3304
3423
|
serviceAccount?: string;
|
|
3424
|
+
/** Optional. Immutable. Runtime Shielded VM spec. */
|
|
3425
|
+
shieldedVmConfig?: GoogleCloudAiplatformV1ShieldedVmConfig;
|
|
3305
3426
|
/** Output only. Timestamp when this NotebookRuntimeTemplate was most recently updated. */
|
|
3306
3427
|
updateTime?: string;
|
|
3307
3428
|
}
|
|
@@ -3312,6 +3433,10 @@ declare namespace gapi.client {
|
|
|
3312
3433
|
interface GoogleCloudAiplatformV1Part {
|
|
3313
3434
|
/** Optional. URI based data. */
|
|
3314
3435
|
fileData?: GoogleCloudAiplatformV1FileData;
|
|
3436
|
+
/** Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values. */
|
|
3437
|
+
functionCall?: GoogleCloudAiplatformV1FunctionCall;
|
|
3438
|
+
/** Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model. */
|
|
3439
|
+
functionResponse?: GoogleCloudAiplatformV1FunctionResponse;
|
|
3315
3440
|
/** Optional. Inlined bytes data. */
|
|
3316
3441
|
inlineData?: GoogleCloudAiplatformV1Blob;
|
|
3317
3442
|
/** Optional. Text part (can be code). */
|
|
@@ -3804,6 +3929,20 @@ declare namespace gapi.client {
|
|
|
3804
3929
|
/** Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false. */
|
|
3805
3930
|
catchUp?: boolean;
|
|
3806
3931
|
}
|
|
3932
|
+
interface GoogleCloudAiplatformV1SafetyRating {
|
|
3933
|
+
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
3934
|
+
blocked?: boolean;
|
|
3935
|
+
/** Output only. Harm category. */
|
|
3936
|
+
category?: string;
|
|
3937
|
+
/** Output only. Harm probability levels in the content. */
|
|
3938
|
+
probability?: string;
|
|
3939
|
+
}
|
|
3940
|
+
interface GoogleCloudAiplatformV1SafetySetting {
|
|
3941
|
+
/** Required. Harm category. */
|
|
3942
|
+
category?: string;
|
|
3943
|
+
/** Required. The harm block threshold. */
|
|
3944
|
+
threshold?: string;
|
|
3945
|
+
}
|
|
3807
3946
|
interface GoogleCloudAiplatformV1SampleConfig {
|
|
3808
3947
|
/** The percentage of data needed to be labeled in each following batch (except the first batch). */
|
|
3809
3948
|
followingBatchSamplePercentage?: number;
|
|
@@ -3897,11 +4036,33 @@ declare namespace gapi.client {
|
|
|
3897
4036
|
interface GoogleCloudAiplatformV1Scheduling {
|
|
3898
4037
|
/** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
|
|
3899
4038
|
disableRetries?: boolean;
|
|
4039
|
+
/** Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day */
|
|
4040
|
+
maxWaitDuration?: string;
|
|
3900
4041
|
/** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
|
|
3901
4042
|
restartJobOnWorkerRestart?: boolean;
|
|
3902
4043
|
/** The maximum job running time. The default is 7 days. */
|
|
3903
4044
|
timeout?: string;
|
|
3904
4045
|
}
|
|
4046
|
+
interface GoogleCloudAiplatformV1Schema {
|
|
4047
|
+
/** Optional. The description of the data. */
|
|
4048
|
+
description?: string;
|
|
4049
|
+
/** 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"]} */
|
|
4050
|
+
enum?: string[];
|
|
4051
|
+
/** Optional. Example of the object. Will only populated when the object is the root. */
|
|
4052
|
+
example?: any;
|
|
4053
|
+
/** Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 */
|
|
4054
|
+
format?: string;
|
|
4055
|
+
/** Optional. Schema of the elements of Type.ARRAY. */
|
|
4056
|
+
items?: GoogleCloudAiplatformV1Schema;
|
|
4057
|
+
/** Optional. Indicates if the value may be null. */
|
|
4058
|
+
nullable?: boolean;
|
|
4059
|
+
/** Optional. Properties of Type.OBJECT. */
|
|
4060
|
+
properties?: {[P in string]: GoogleCloudAiplatformV1Schema};
|
|
4061
|
+
/** Optional. Required properties of Type.OBJECT. */
|
|
4062
|
+
required?: string[];
|
|
4063
|
+
/** Optional. The type of the data. */
|
|
4064
|
+
type?: string;
|
|
4065
|
+
}
|
|
3905
4066
|
interface GoogleCloudAiplatformV1SchemaAnnotationSpecColor {
|
|
3906
4067
|
/** The color of the AnnotationSpec in a segmentation mask. */
|
|
3907
4068
|
color?: GoogleTypeColor;
|
|
@@ -5232,6 +5393,10 @@ declare namespace gapi.client {
|
|
|
5232
5393
|
/** The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call. */
|
|
5233
5394
|
nextPageToken?: string;
|
|
5234
5395
|
}
|
|
5396
|
+
interface GoogleCloudAiplatformV1ShieldedVmConfig {
|
|
5397
|
+
/** Defines whether the instance has [Secure Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. */
|
|
5398
|
+
enableSecureBoot?: boolean;
|
|
5399
|
+
}
|
|
5235
5400
|
interface GoogleCloudAiplatformV1SmoothGradConfig {
|
|
5236
5401
|
/** This is similar to noise_sigma, but provides additional flexibility. A separate noise sigma can be provided for each feature, which is useful if their distributions are different. No noise is added to features that are not set. If this field is unset, noise_sigma will be used for all features. */
|
|
5237
5402
|
featureNoiseSigma?: GoogleCloudAiplatformV1FeatureNoiseSigma;
|
|
@@ -5659,6 +5824,10 @@ declare namespace gapi.client {
|
|
|
5659
5824
|
/** A list of tokens from the input. */
|
|
5660
5825
|
tokens?: string[];
|
|
5661
5826
|
}
|
|
5827
|
+
interface GoogleCloudAiplatformV1Tool {
|
|
5828
|
+
/** Optional. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided. */
|
|
5829
|
+
functionDeclarations?: GoogleCloudAiplatformV1FunctionDeclaration[];
|
|
5830
|
+
}
|
|
5662
5831
|
interface GoogleCloudAiplatformV1TrainingConfig {
|
|
5663
5832
|
/** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
|
|
5664
5833
|
timeoutTrainingMilliHours?: string;
|
|
@@ -5938,7 +6107,7 @@ declare namespace gapi.client {
|
|
|
5938
6107
|
interface GoogleIamV1Binding {
|
|
5939
6108
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
5940
6109
|
condition?: GoogleTypeExpr;
|
|
5941
|
-
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. */
|
|
6110
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
5942
6111
|
members?: string[];
|
|
5943
6112
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
5944
6113
|
role?: string;
|
|
@@ -9704,6 +9873,64 @@ declare namespace gapi.client {
|
|
|
9704
9873
|
},
|
|
9705
9874
|
body: GoogleCloudAiplatformV1StreamingPredictRequest
|
|
9706
9875
|
): Request<GoogleCloudAiplatformV1StreamingPredictResponse>;
|
|
9876
|
+
/** Generate content with multimodal inputs with streaming support. */
|
|
9877
|
+
streamGenerateContent(request: {
|
|
9878
|
+
/** V1 error format. */
|
|
9879
|
+
'$.xgafv'?: string;
|
|
9880
|
+
/** OAuth access token. */
|
|
9881
|
+
access_token?: string;
|
|
9882
|
+
/** Data format for response. */
|
|
9883
|
+
alt?: string;
|
|
9884
|
+
/** JSONP */
|
|
9885
|
+
callback?: string;
|
|
9886
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9887
|
+
fields?: string;
|
|
9888
|
+
/** 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. */
|
|
9889
|
+
key?: string;
|
|
9890
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
9891
|
+
model: string;
|
|
9892
|
+
/** OAuth 2.0 token for the current user. */
|
|
9893
|
+
oauth_token?: string;
|
|
9894
|
+
/** Returns response with indentations and line breaks. */
|
|
9895
|
+
prettyPrint?: boolean;
|
|
9896
|
+
/** 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. */
|
|
9897
|
+
quotaUser?: string;
|
|
9898
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9899
|
+
upload_protocol?: string;
|
|
9900
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9901
|
+
uploadType?: string;
|
|
9902
|
+
/** Request body */
|
|
9903
|
+
resource: GoogleCloudAiplatformV1GenerateContentRequest;
|
|
9904
|
+
}): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
9905
|
+
streamGenerateContent(
|
|
9906
|
+
request: {
|
|
9907
|
+
/** V1 error format. */
|
|
9908
|
+
'$.xgafv'?: string;
|
|
9909
|
+
/** OAuth access token. */
|
|
9910
|
+
access_token?: string;
|
|
9911
|
+
/** Data format for response. */
|
|
9912
|
+
alt?: string;
|
|
9913
|
+
/** JSONP */
|
|
9914
|
+
callback?: string;
|
|
9915
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9916
|
+
fields?: string;
|
|
9917
|
+
/** 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. */
|
|
9918
|
+
key?: string;
|
|
9919
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
9920
|
+
model: string;
|
|
9921
|
+
/** OAuth 2.0 token for the current user. */
|
|
9922
|
+
oauth_token?: string;
|
|
9923
|
+
/** Returns response with indentations and line breaks. */
|
|
9924
|
+
prettyPrint?: boolean;
|
|
9925
|
+
/** 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. */
|
|
9926
|
+
quotaUser?: string;
|
|
9927
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9928
|
+
upload_protocol?: string;
|
|
9929
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9930
|
+
uploadType?: string;
|
|
9931
|
+
},
|
|
9932
|
+
body: GoogleCloudAiplatformV1GenerateContentRequest
|
|
9933
|
+
): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
9707
9934
|
/** Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using. */
|
|
9708
9935
|
undeployModel(request: {
|
|
9709
9936
|
/** V1 error format. */
|
|
@@ -19388,6 +19615,64 @@ declare namespace gapi.client {
|
|
|
19388
19615
|
},
|
|
19389
19616
|
body: GoogleCloudAiplatformV1StreamingPredictRequest
|
|
19390
19617
|
): Request<GoogleCloudAiplatformV1StreamingPredictResponse>;
|
|
19618
|
+
/** Generate content with multimodal inputs with streaming support. */
|
|
19619
|
+
streamGenerateContent(request: {
|
|
19620
|
+
/** V1 error format. */
|
|
19621
|
+
'$.xgafv'?: string;
|
|
19622
|
+
/** OAuth access token. */
|
|
19623
|
+
access_token?: string;
|
|
19624
|
+
/** Data format for response. */
|
|
19625
|
+
alt?: string;
|
|
19626
|
+
/** JSONP */
|
|
19627
|
+
callback?: string;
|
|
19628
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19629
|
+
fields?: string;
|
|
19630
|
+
/** 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. */
|
|
19631
|
+
key?: string;
|
|
19632
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
19633
|
+
model: string;
|
|
19634
|
+
/** OAuth 2.0 token for the current user. */
|
|
19635
|
+
oauth_token?: string;
|
|
19636
|
+
/** Returns response with indentations and line breaks. */
|
|
19637
|
+
prettyPrint?: boolean;
|
|
19638
|
+
/** 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. */
|
|
19639
|
+
quotaUser?: string;
|
|
19640
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19641
|
+
upload_protocol?: string;
|
|
19642
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19643
|
+
uploadType?: string;
|
|
19644
|
+
/** Request body */
|
|
19645
|
+
resource: GoogleCloudAiplatformV1GenerateContentRequest;
|
|
19646
|
+
}): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
19647
|
+
streamGenerateContent(
|
|
19648
|
+
request: {
|
|
19649
|
+
/** V1 error format. */
|
|
19650
|
+
'$.xgafv'?: string;
|
|
19651
|
+
/** OAuth access token. */
|
|
19652
|
+
access_token?: string;
|
|
19653
|
+
/** Data format for response. */
|
|
19654
|
+
alt?: string;
|
|
19655
|
+
/** JSONP */
|
|
19656
|
+
callback?: string;
|
|
19657
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19658
|
+
fields?: string;
|
|
19659
|
+
/** 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. */
|
|
19660
|
+
key?: string;
|
|
19661
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
19662
|
+
model: string;
|
|
19663
|
+
/** OAuth 2.0 token for the current user. */
|
|
19664
|
+
oauth_token?: string;
|
|
19665
|
+
/** Returns response with indentations and line breaks. */
|
|
19666
|
+
prettyPrint?: boolean;
|
|
19667
|
+
/** 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. */
|
|
19668
|
+
quotaUser?: string;
|
|
19669
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19670
|
+
upload_protocol?: string;
|
|
19671
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19672
|
+
uploadType?: string;
|
|
19673
|
+
},
|
|
19674
|
+
body: GoogleCloudAiplatformV1GenerateContentRequest
|
|
19675
|
+
): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
19391
19676
|
}
|
|
19392
19677
|
interface PublishersResource {
|
|
19393
19678
|
models: ModelsResource;
|
|
@@ -21647,97 +21932,6 @@ declare namespace gapi.client {
|
|
|
21647
21932
|
}): Request<GoogleLongrunningOperation>;
|
|
21648
21933
|
}
|
|
21649
21934
|
interface TimeSeriesResource {
|
|
21650
|
-
/** Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. */
|
|
21651
|
-
batchCreate(request: {
|
|
21652
|
-
/** V1 error format. */
|
|
21653
|
-
'$.xgafv'?: string;
|
|
21654
|
-
/** OAuth access token. */
|
|
21655
|
-
access_token?: string;
|
|
21656
|
-
/** Data format for response. */
|
|
21657
|
-
alt?: string;
|
|
21658
|
-
/** JSONP */
|
|
21659
|
-
callback?: string;
|
|
21660
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
21661
|
-
fields?: string;
|
|
21662
|
-
/** 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. */
|
|
21663
|
-
key?: string;
|
|
21664
|
-
/** OAuth 2.0 token for the current user. */
|
|
21665
|
-
oauth_token?: string;
|
|
21666
|
-
/** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
|
|
21667
|
-
parent: string;
|
|
21668
|
-
/** Returns response with indentations and line breaks. */
|
|
21669
|
-
prettyPrint?: boolean;
|
|
21670
|
-
/** 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. */
|
|
21671
|
-
quotaUser?: string;
|
|
21672
|
-
runsId: string;
|
|
21673
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21674
|
-
upload_protocol?: string;
|
|
21675
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21676
|
-
uploadType?: string;
|
|
21677
|
-
/** Request body */
|
|
21678
|
-
resource: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest;
|
|
21679
|
-
}): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
|
|
21680
|
-
batchCreate(
|
|
21681
|
-
request: {
|
|
21682
|
-
/** V1 error format. */
|
|
21683
|
-
'$.xgafv'?: string;
|
|
21684
|
-
/** OAuth access token. */
|
|
21685
|
-
access_token?: string;
|
|
21686
|
-
/** Data format for response. */
|
|
21687
|
-
alt?: string;
|
|
21688
|
-
/** JSONP */
|
|
21689
|
-
callback?: string;
|
|
21690
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
21691
|
-
fields?: string;
|
|
21692
|
-
/** 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. */
|
|
21693
|
-
key?: string;
|
|
21694
|
-
/** OAuth 2.0 token for the current user. */
|
|
21695
|
-
oauth_token?: string;
|
|
21696
|
-
/** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
|
|
21697
|
-
parent: string;
|
|
21698
|
-
/** Returns response with indentations and line breaks. */
|
|
21699
|
-
prettyPrint?: boolean;
|
|
21700
|
-
/** 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. */
|
|
21701
|
-
quotaUser?: string;
|
|
21702
|
-
runsId: string;
|
|
21703
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21704
|
-
upload_protocol?: string;
|
|
21705
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21706
|
-
uploadType?: string;
|
|
21707
|
-
},
|
|
21708
|
-
body: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest
|
|
21709
|
-
): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
|
|
21710
|
-
/** Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned. */
|
|
21711
|
-
batchRead(request?: {
|
|
21712
|
-
/** V1 error format. */
|
|
21713
|
-
'$.xgafv'?: string;
|
|
21714
|
-
/** OAuth access token. */
|
|
21715
|
-
access_token?: string;
|
|
21716
|
-
/** Data format for response. */
|
|
21717
|
-
alt?: string;
|
|
21718
|
-
/** JSONP */
|
|
21719
|
-
callback?: string;
|
|
21720
|
-
experimentsId: string;
|
|
21721
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
21722
|
-
fields?: string;
|
|
21723
|
-
/** 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. */
|
|
21724
|
-
key?: string;
|
|
21725
|
-
/** OAuth 2.0 token for the current user. */
|
|
21726
|
-
oauth_token?: string;
|
|
21727
|
-
/** Returns response with indentations and line breaks. */
|
|
21728
|
-
prettyPrint?: boolean;
|
|
21729
|
-
/** 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. */
|
|
21730
|
-
quotaUser?: string;
|
|
21731
|
-
runsId: string;
|
|
21732
|
-
/** Required. The resource name of the Tensorboard containing TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The TensorboardTimeSeries referenced by time_series must be sub resources of this Tensorboard. */
|
|
21733
|
-
tensorboard: string;
|
|
21734
|
-
/** Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` */
|
|
21735
|
-
timeSeries?: string | string[];
|
|
21736
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21737
|
-
upload_protocol?: string;
|
|
21738
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21739
|
-
uploadType?: string;
|
|
21740
|
-
}): Request<GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse>;
|
|
21741
21935
|
/** Creates a TensorboardTimeSeries. */
|
|
21742
21936
|
create(request: {
|
|
21743
21937
|
/** V1 error format. */
|
|
@@ -22409,6 +22603,64 @@ declare namespace gapi.client {
|
|
|
22409
22603
|
timeSeries: TimeSeriesResource;
|
|
22410
22604
|
}
|
|
22411
22605
|
interface ExperimentsResource {
|
|
22606
|
+
/** Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. */
|
|
22607
|
+
batchCreate(request: {
|
|
22608
|
+
/** V1 error format. */
|
|
22609
|
+
'$.xgafv'?: string;
|
|
22610
|
+
/** OAuth access token. */
|
|
22611
|
+
access_token?: string;
|
|
22612
|
+
/** Data format for response. */
|
|
22613
|
+
alt?: string;
|
|
22614
|
+
/** JSONP */
|
|
22615
|
+
callback?: string;
|
|
22616
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22617
|
+
fields?: string;
|
|
22618
|
+
/** 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. */
|
|
22619
|
+
key?: string;
|
|
22620
|
+
/** OAuth 2.0 token for the current user. */
|
|
22621
|
+
oauth_token?: string;
|
|
22622
|
+
/** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
|
|
22623
|
+
parent: string;
|
|
22624
|
+
/** Returns response with indentations and line breaks. */
|
|
22625
|
+
prettyPrint?: boolean;
|
|
22626
|
+
/** 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. */
|
|
22627
|
+
quotaUser?: string;
|
|
22628
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22629
|
+
upload_protocol?: string;
|
|
22630
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22631
|
+
uploadType?: string;
|
|
22632
|
+
/** Request body */
|
|
22633
|
+
resource: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest;
|
|
22634
|
+
}): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
|
|
22635
|
+
batchCreate(
|
|
22636
|
+
request: {
|
|
22637
|
+
/** V1 error format. */
|
|
22638
|
+
'$.xgafv'?: string;
|
|
22639
|
+
/** OAuth access token. */
|
|
22640
|
+
access_token?: string;
|
|
22641
|
+
/** Data format for response. */
|
|
22642
|
+
alt?: string;
|
|
22643
|
+
/** JSONP */
|
|
22644
|
+
callback?: string;
|
|
22645
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22646
|
+
fields?: string;
|
|
22647
|
+
/** 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. */
|
|
22648
|
+
key?: string;
|
|
22649
|
+
/** OAuth 2.0 token for the current user. */
|
|
22650
|
+
oauth_token?: string;
|
|
22651
|
+
/** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
|
|
22652
|
+
parent: string;
|
|
22653
|
+
/** Returns response with indentations and line breaks. */
|
|
22654
|
+
prettyPrint?: boolean;
|
|
22655
|
+
/** 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. */
|
|
22656
|
+
quotaUser?: string;
|
|
22657
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22658
|
+
upload_protocol?: string;
|
|
22659
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22660
|
+
uploadType?: string;
|
|
22661
|
+
},
|
|
22662
|
+
body: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest
|
|
22663
|
+
): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
|
|
22412
22664
|
/** Creates a TensorboardExperiment. */
|
|
22413
22665
|
create(request: {
|
|
22414
22666
|
/** V1 error format. */
|
|
@@ -22831,6 +23083,35 @@ declare namespace gapi.client {
|
|
|
22831
23083
|
}): Request<GoogleLongrunningOperation>;
|
|
22832
23084
|
}
|
|
22833
23085
|
interface TensorboardsResource {
|
|
23086
|
+
/** Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned. */
|
|
23087
|
+
batchRead(request?: {
|
|
23088
|
+
/** V1 error format. */
|
|
23089
|
+
'$.xgafv'?: string;
|
|
23090
|
+
/** OAuth access token. */
|
|
23091
|
+
access_token?: string;
|
|
23092
|
+
/** Data format for response. */
|
|
23093
|
+
alt?: string;
|
|
23094
|
+
/** JSONP */
|
|
23095
|
+
callback?: string;
|
|
23096
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23097
|
+
fields?: string;
|
|
23098
|
+
/** 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. */
|
|
23099
|
+
key?: string;
|
|
23100
|
+
/** OAuth 2.0 token for the current user. */
|
|
23101
|
+
oauth_token?: string;
|
|
23102
|
+
/** Returns response with indentations and line breaks. */
|
|
23103
|
+
prettyPrint?: boolean;
|
|
23104
|
+
/** 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. */
|
|
23105
|
+
quotaUser?: string;
|
|
23106
|
+
/** Required. The resource name of the Tensorboard containing TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The TensorboardTimeSeries referenced by time_series must be sub resources of this Tensorboard. */
|
|
23107
|
+
tensorboard: string;
|
|
23108
|
+
/** Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` */
|
|
23109
|
+
timeSeries?: string | string[];
|
|
23110
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23111
|
+
upload_protocol?: string;
|
|
23112
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23113
|
+
uploadType?: string;
|
|
23114
|
+
}): Request<GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse>;
|
|
22834
23115
|
/** Creates a Tensorboard. */
|
|
22835
23116
|
create(request: {
|
|
22836
23117
|
/** V1 error format. */
|