@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240320 → 0.0.20240322

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +332 -10
  2. 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: 20240320
12
+ // Revision: 20240322
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -216,6 +216,8 @@ declare namespace gapi.client {
216
216
  functionResponse?: CloudAiNlLlmProtoServiceFunctionResponse;
217
217
  /** Inline bytes data */
218
218
  inlineData?: CloudAiNlLlmProtoServicePartBlob;
219
+ /** Metadata provides extra info for building the LM Root request. Note: High enough tag number for internal only fields. */
220
+ lmRootMetadata?: CloudAiNlLlmProtoServicePartLMRootMetadata;
219
221
  /** Text input. */
220
222
  text?: string;
221
223
  /** Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
@@ -241,6 +243,10 @@ declare namespace gapi.client {
241
243
  /** The mime type corresponding to this input. */
242
244
  mimeType?: string;
243
245
  }
246
+ interface CloudAiNlLlmProtoServicePartLMRootMetadata {
247
+ /** Chunk id that will be used when mapping the part to the LM Root's chunk. */
248
+ chunkId?: string;
249
+ }
244
250
  interface CloudAiNlLlmProtoServicePartVideoMetadata {
245
251
  /** The end offset of the video. */
246
252
  endOffset?: string;
@@ -689,7 +695,7 @@ declare namespace gapi.client {
689
695
  inputUri?: string;
690
696
  }
691
697
  interface GoogleCloudAiplatformV1Blob {
692
- /** Required. Raw bytes for media formats. */
698
+ /** Required. Raw bytes. */
693
699
  data?: string;
694
700
  /** Required. The IANA standard MIME type of the source data. */
695
701
  mimeType?: string;
@@ -1023,6 +1029,8 @@ declare namespace gapi.client {
1023
1029
  models?: string[];
1024
1030
  /** Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the Job should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the job is not peered with any network. */
1025
1031
  network?: string;
1032
+ /** Optional. The ID of the PersistentResource in the same Project and Location which to run If this is specified, the job will be run on existing machines held by the PersistentResource instead of on-demand short-live machines. The network and CMEK configs on the job should be consistent with those on the PersistentResource, otherwise, the job will be rejected. */
1033
+ persistentResourceId?: string;
1026
1034
  /** The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations */
1027
1035
  protectedArtifactLocationId?: string;
1028
1036
  /** Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
@@ -1253,6 +1261,8 @@ declare namespace gapi.client {
1253
1261
  dedicatedResources?: GoogleCloudAiplatformV1DedicatedResources;
1254
1262
  /** For custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true. */
1255
1263
  disableContainerLogging?: boolean;
1264
+ /** If true, deploy the model without explainable feature, regardless the existence of Model.explanation_spec or explanation_spec. */
1265
+ disableExplanations?: boolean;
1256
1266
  /** The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used. */
1257
1267
  displayName?: string;
1258
1268
  /** If true, online prediction access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each prediction request. Note that logs may incur a cost, especially if your project receives prediction requests at a high queries per second rate (QPS). Estimate your costs before enabling this option. */
@@ -1845,12 +1855,16 @@ declare namespace gapi.client {
1845
1855
  bigtable?: GoogleCloudAiplatformV1FeatureOnlineStoreBigtable;
1846
1856
  /** Output only. Timestamp when this FeatureOnlineStore was created. */
1847
1857
  createTime?: string;
1858
+ /** Optional. The dedicated serving endpoint for this FeatureOnlineStore, which is different from common Vertex service endpoint. */
1859
+ dedicatedServingEndpoint?: GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint;
1848
1860
  /** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
1849
1861
  etag?: string;
1850
1862
  /** Optional. The labels with user-defined metadata to organize your FeatureOnlineStore. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
1851
1863
  labels?: {[P in string]: string};
1852
1864
  /** Identifier. Name of the FeatureOnlineStore. Format: `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` */
1853
1865
  name?: string;
1866
+ /** Contains settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore. When choose Optimized storage type, need to set PrivateServiceConnectConfig.enable_private_service_connect to use private endpoint. Otherwise will use public endpoint by default. */
1867
+ optimized?: any;
1854
1868
  /** Output only. State of the featureOnlineStore. */
1855
1869
  state?: string;
1856
1870
  /** Output only. Timestamp when this FeatureOnlineStore was last updated. */
@@ -1868,6 +1882,11 @@ declare namespace gapi.client {
1868
1882
  /** Required. The minimum number of nodes to scale down to. Must be greater than or equal to 1. */
1869
1883
  minNodeCount?: number;
1870
1884
  }
1885
+ interface GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint {
1886
+ /** Output only. This field will be populated with the domain name to use for this FeatureOnlineStore */
1887
+ publicEndpointDomainName?: string;
1888
+ }
1889
+ interface GoogleCloudAiplatformV1FeatureOnlineStoreOptimized {}
1871
1890
  interface GoogleCloudAiplatformV1FeatureSelector {
1872
1891
  /** Required. Matches Features based on ID. */
1873
1892
  idMatcher?: GoogleCloudAiplatformV1IdMatcher;
@@ -1997,6 +2016,8 @@ declare namespace gapi.client {
1997
2016
  etag?: string;
1998
2017
  /** Optional. Configures the features from a Feature Registry source that need to be loaded onto the FeatureOnlineStore. */
1999
2018
  featureRegistrySource?: GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource;
2019
+ /** Optional. Configuration for index preparation for vector search. It contains the required configurations to create an index from source data, so that approximate nearest neighbor (a.k.a ANN) algorithms search can be performed during online serving. */
2020
+ indexConfig?: GoogleCloudAiplatformV1FeatureViewIndexConfig;
2000
2021
  /** Optional. The labels with user-defined metadata to organize your FeatureViews. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
2001
2022
  labels?: {[P in string]: string};
2002
2023
  /** Identifier. Name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */
@@ -2034,6 +2055,27 @@ declare namespace gapi.client {
2034
2055
  /** Required. Identifiers of features under the feature group. */
2035
2056
  featureIds?: string[];
2036
2057
  }
2058
+ interface GoogleCloudAiplatformV1FeatureViewIndexConfig {
2059
+ /** Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search. */
2060
+ bruteForceConfig?: any;
2061
+ /** Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of the same crowding attribute are returned in the response. */
2062
+ crowdingColumn?: string;
2063
+ /** Optional. The distance measure used in nearest neighbor search. */
2064
+ distanceMeasureType?: string;
2065
+ /** Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search. */
2066
+ embeddingColumn?: string;
2067
+ /** Optional. The number of dimensions of the input embedding. */
2068
+ embeddingDimension?: number;
2069
+ /** Optional. Columns of features that're used to filter vector search results. */
2070
+ filterColumns?: string[];
2071
+ /** Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396 */
2072
+ treeAhConfig?: GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig;
2073
+ }
2074
+ interface GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig {}
2075
+ interface GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig {
2076
+ /** Optional. Number of embeddings on each leaf node. The default value is 1000 if not set. */
2077
+ leafNodeEmbeddingCount?: string;
2078
+ }
2037
2079
  interface GoogleCloudAiplatformV1FeatureViewSync {
2038
2080
  /** Output only. Time when this FeatureViewSync is created. Creation of a FeatureViewSync means that the job is pending / waiting for sufficient resources but may not have started the actual data transfer yet. */
2039
2081
  createTime?: string;
@@ -2063,6 +2105,8 @@ declare namespace gapi.client {
2063
2105
  dataKey?: GoogleCloudAiplatformV1FeatureViewDataKey;
2064
2106
  }
2065
2107
  interface GoogleCloudAiplatformV1FetchFeatureValuesResponse {
2108
+ /** The data key associated with this response. Will only be populated for FeatureOnlineStoreService.StreamingFetchFeatureValues RPCs. */
2109
+ dataKey?: GoogleCloudAiplatformV1FeatureViewDataKey;
2066
2110
  /** Feature values in KeyValue format. */
2067
2111
  keyValues?: GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList;
2068
2112
  /** Feature values in proto Struct format. */
@@ -2171,8 +2215,8 @@ declare namespace gapi.client {
2171
2215
  generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
2172
2216
  /** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
2173
2217
  safetySettings?: GoogleCloudAiplatformV1SafetySetting[];
2174
- /** Optional. The user provided system instructions for the model. */
2175
- systemInstructions?: GoogleCloudAiplatformV1Content[];
2218
+ /** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
2219
+ systemInstruction?: GoogleCloudAiplatformV1Content;
2176
2220
  /** 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. */
2177
2221
  tools?: GoogleCloudAiplatformV1Tool[];
2178
2222
  }
@@ -2202,8 +2246,12 @@ declare namespace gapi.client {
2202
2246
  interface GoogleCloudAiplatformV1GenerationConfig {
2203
2247
  /** Optional. Number of candidates to generate. */
2204
2248
  candidateCount?: number;
2249
+ /** Optional. Frequency penalties. */
2250
+ frequencyPenalty?: number;
2205
2251
  /** Optional. The maximum number of output tokens to generate per message. */
2206
2252
  maxOutputTokens?: number;
2253
+ /** Optional. Positive penalties. */
2254
+ presencePenalty?: number;
2207
2255
  /** Optional. Stop sequences. */
2208
2256
  stopSequences?: string[];
2209
2257
  /** Optional. Controls the randomness of predictions. */
@@ -2246,6 +2294,8 @@ declare namespace gapi.client {
2246
2294
  interface GoogleCloudAiplatformV1GroundingMetadata {
2247
2295
  /** Optional. List of grounding attributions. */
2248
2296
  groundingAttributions?: GoogleCloudAiplatformV1GroundingAttribution[];
2297
+ /** Optional. Queries executed by the retrieval tools. */
2298
+ retrievalQueries?: string[];
2249
2299
  /** Optional. Web search queries for the following-up web search. */
2250
2300
  webSearchQueries?: string[];
2251
2301
  }
@@ -3956,6 +4006,8 @@ declare namespace gapi.client {
3956
4006
  deploy?: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy;
3957
4007
  /** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
3958
4008
  deployGke?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke;
4009
+ /** Optional. Multiple setups to deploy the PublisherModel to Vertex Endpoint. */
4010
+ multiDeployVertex?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex;
3959
4011
  /** Optional. Open evaluation pipeline of the PublisherModel. */
3960
4012
  openEvaluationPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3961
4013
  /** Optional. Open fine-tuning pipeline of the PublisherModel. */
@@ -4001,6 +4053,10 @@ declare namespace gapi.client {
4001
4053
  /** Optional. GKE deployment configuration in yaml format. */
4002
4054
  gkeYamlConfigs?: string[];
4003
4055
  }
4056
+ interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex {
4057
+ /** Optional. One click deployment configurations. */
4058
+ multiDeployVertex?: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy[];
4059
+ }
4004
4060
  interface GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines {
4005
4061
  /** Required. Regional resource references to fine tuning pipelines. */
4006
4062
  fineTuningPipelines?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences[];
@@ -4213,6 +4269,7 @@ declare namespace gapi.client {
4213
4269
  /** Progress Message for Reboot LRO */
4214
4270
  progressMessage?: string;
4215
4271
  }
4272
+ interface GoogleCloudAiplatformV1RebootPersistentResourceRequest {}
4216
4273
  interface GoogleCloudAiplatformV1RemoveContextChildrenRequest {
4217
4274
  /** The resource names of the child Contexts. */
4218
4275
  childContexts?: string[];
@@ -4395,22 +4452,44 @@ declare namespace gapi.client {
4395
4452
  timeout?: string;
4396
4453
  }
4397
4454
  interface GoogleCloudAiplatformV1Schema {
4455
+ /** Optional. Default value of the data. */
4456
+ default?: any;
4398
4457
  /** Optional. The description of the data. */
4399
4458
  description?: string;
4400
4459
  /** 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"]} */
4401
4460
  enum?: string[];
4402
4461
  /** Optional. Example of the object. Will only populated when the object is the root. */
4403
4462
  example?: any;
4404
- /** Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 */
4463
+ /** Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc */
4405
4464
  format?: string;
4406
- /** Optional. Schema of the elements of Type.ARRAY. */
4465
+ /** Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY. */
4407
4466
  items?: GoogleCloudAiplatformV1Schema;
4467
+ /** Optional. Maximum value of the Type.INTEGER and Type.NUMBER */
4468
+ maximum?: number;
4469
+ /** Optional. Maximum number of the elements for Type.ARRAY. */
4470
+ maxItems?: string;
4471
+ /** Optional. Maximum length of the Type.STRING */
4472
+ maxLength?: string;
4473
+ /** Optional. Maximum number of the properties for Type.OBJECT. */
4474
+ maxProperties?: string;
4475
+ /** Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER */
4476
+ minimum?: number;
4477
+ /** Optional. Minimum number of the elements for Type.ARRAY. */
4478
+ minItems?: string;
4479
+ /** Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING */
4480
+ minLength?: string;
4481
+ /** Optional. Minimum number of the properties for Type.OBJECT. */
4482
+ minProperties?: string;
4408
4483
  /** Optional. Indicates if the value may be null. */
4409
4484
  nullable?: boolean;
4410
- /** Optional. Properties of Type.OBJECT. */
4485
+ /** Optional. Pattern of the Type.STRING to restrict a string to a regular expression. */
4486
+ pattern?: string;
4487
+ /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
4411
4488
  properties?: {[P in string]: GoogleCloudAiplatformV1Schema};
4412
4489
  /** Optional. Required properties of Type.OBJECT. */
4413
4490
  required?: string[];
4491
+ /** Optional. The title of the Schema. */
4492
+ title?: string;
4414
4493
  /** Optional. The type of the data. */
4415
4494
  type?: string;
4416
4495
  }
@@ -6427,7 +6506,7 @@ declare namespace gapi.client {
6427
6506
  stringValue?: string;
6428
6507
  }
6429
6508
  interface GoogleCloudAiplatformV1VertexAISearch {
6430
- /** Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>/locations/<>/collections/<>/dataStores/<> */
6509
+ /** Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} */
6431
6510
  datastore?: string;
6432
6511
  }
6433
6512
  interface GoogleCloudAiplatformV1VideoMetadata {
@@ -6841,7 +6920,7 @@ declare namespace gapi.client {
6841
6920
  searchQueries?: string[];
6842
6921
  }
6843
6922
  interface LearningGenaiRootGroundingMetadataCitation {
6844
- /** Index in the prediction output where the citation ends (exclusive). Must be > start_index and < len(output). */
6923
+ /** Index in the prediction output where the citation ends (exclusive). Must be > start_index and <= len(output). */
6845
6924
  endIndex?: number;
6846
6925
  /** Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse. */
6847
6926
  factIndex?: number;
@@ -6857,6 +6936,7 @@ declare namespace gapi.client {
6857
6936
  fringe?: boolean;
6858
6937
  grailImageHarmType?: LearningGenaiRootHarmGrailImageHarmType;
6859
6938
  grailTextHarmType?: LearningGenaiRootHarmGrailTextHarmType;
6939
+ imageChild?: boolean;
6860
6940
  imageCsam?: boolean;
6861
6941
  imagePedo?: boolean;
6862
6942
  /** Image signals */
@@ -6867,6 +6947,7 @@ declare namespace gapi.client {
6867
6947
  /** Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 . */
6868
6948
  spii?: LearningGenaiRootHarmSpiiFilter;
6869
6949
  threshold?: number;
6950
+ videoFrameChild?: boolean;
6870
6951
  videoFrameCsam?: boolean;
6871
6952
  videoFramePedo?: boolean;
6872
6953
  /** Video frame signals */
@@ -6951,6 +7032,10 @@ declare namespace gapi.client {
6951
7032
  /** The length computed by backends using the formatter & tokenizer specific to the model */
6952
7033
  computedInputTokenLength?: number;
6953
7034
  modelId?: string;
7035
+ /** If true, the model was selected as a fallback, since no model met requirements. */
7036
+ pickedAsFallback?: boolean;
7037
+ /** If true, the model was selected since it met the requriements. */
7038
+ selected?: boolean;
6954
7039
  }
6955
7040
  interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelMaxTokenMetadata {
6956
7041
  maxNumInputTokens?: number;
@@ -10515,7 +10600,7 @@ declare namespace gapi.client {
10515
10600
  callback?: string;
10516
10601
  /** Selector specifying which fields to include in a partial response. */
10517
10602
  fields?: string;
10518
- /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
10603
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports `=` and `!=`. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:*` or `labels:key` - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`. Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
10519
10604
  filter?: string;
10520
10605
  /** 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. */
10521
10606
  key?: string;
@@ -20714,6 +20799,151 @@ declare namespace gapi.client {
20714
20799
  uploadType?: string;
20715
20800
  }): Request<GoogleLongrunningOperation>;
20716
20801
  }
20802
+ interface OperationsResource {
20803
+ /** 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`. */
20804
+ cancel(request?: {
20805
+ /** V1 error format. */
20806
+ '$.xgafv'?: string;
20807
+ /** OAuth access token. */
20808
+ access_token?: string;
20809
+ /** Data format for response. */
20810
+ alt?: string;
20811
+ /** JSONP */
20812
+ callback?: string;
20813
+ /** Selector specifying which fields to include in a partial response. */
20814
+ fields?: string;
20815
+ /** 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. */
20816
+ key?: string;
20817
+ /** The name of the operation resource to be cancelled. */
20818
+ name: string;
20819
+ /** OAuth 2.0 token for the current user. */
20820
+ oauth_token?: string;
20821
+ /** Returns response with indentations and line breaks. */
20822
+ prettyPrint?: boolean;
20823
+ /** 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. */
20824
+ quotaUser?: string;
20825
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20826
+ upload_protocol?: string;
20827
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20828
+ uploadType?: string;
20829
+ }): Request<{}>;
20830
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
20831
+ delete(request?: {
20832
+ /** V1 error format. */
20833
+ '$.xgafv'?: string;
20834
+ /** OAuth access token. */
20835
+ access_token?: string;
20836
+ /** Data format for response. */
20837
+ alt?: string;
20838
+ /** JSONP */
20839
+ callback?: string;
20840
+ /** Selector specifying which fields to include in a partial response. */
20841
+ fields?: string;
20842
+ /** 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. */
20843
+ key?: string;
20844
+ /** The name of the operation resource to be deleted. */
20845
+ name: string;
20846
+ /** OAuth 2.0 token for the current user. */
20847
+ oauth_token?: string;
20848
+ /** Returns response with indentations and line breaks. */
20849
+ prettyPrint?: boolean;
20850
+ /** 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. */
20851
+ quotaUser?: string;
20852
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20853
+ upload_protocol?: string;
20854
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20855
+ uploadType?: string;
20856
+ }): Request<{}>;
20857
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
20858
+ get(request?: {
20859
+ /** V1 error format. */
20860
+ '$.xgafv'?: string;
20861
+ /** OAuth access token. */
20862
+ access_token?: string;
20863
+ /** Data format for response. */
20864
+ alt?: string;
20865
+ /** JSONP */
20866
+ callback?: string;
20867
+ /** Selector specifying which fields to include in a partial response. */
20868
+ fields?: string;
20869
+ /** 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. */
20870
+ key?: string;
20871
+ /** The name of the operation resource. */
20872
+ name: string;
20873
+ /** OAuth 2.0 token for the current user. */
20874
+ oauth_token?: string;
20875
+ /** Returns response with indentations and line breaks. */
20876
+ prettyPrint?: boolean;
20877
+ /** 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. */
20878
+ quotaUser?: string;
20879
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20880
+ upload_protocol?: string;
20881
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20882
+ uploadType?: string;
20883
+ }): Request<GoogleLongrunningOperation>;
20884
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
20885
+ list(request?: {
20886
+ /** V1 error format. */
20887
+ '$.xgafv'?: string;
20888
+ /** OAuth access token. */
20889
+ access_token?: string;
20890
+ /** Data format for response. */
20891
+ alt?: string;
20892
+ /** JSONP */
20893
+ callback?: string;
20894
+ /** Selector specifying which fields to include in a partial response. */
20895
+ fields?: string;
20896
+ /** The standard list filter. */
20897
+ filter?: string;
20898
+ /** 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. */
20899
+ key?: string;
20900
+ /** The name of the operation's parent resource. */
20901
+ name: string;
20902
+ /** OAuth 2.0 token for the current user. */
20903
+ oauth_token?: string;
20904
+ /** The standard list page size. */
20905
+ pageSize?: number;
20906
+ /** The standard list page token. */
20907
+ pageToken?: string;
20908
+ /** Returns response with indentations and line breaks. */
20909
+ prettyPrint?: boolean;
20910
+ /** 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. */
20911
+ quotaUser?: string;
20912
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20913
+ upload_protocol?: string;
20914
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20915
+ uploadType?: string;
20916
+ }): Request<GoogleLongrunningListOperationsResponse>;
20917
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
20918
+ wait(request?: {
20919
+ /** V1 error format. */
20920
+ '$.xgafv'?: string;
20921
+ /** OAuth access token. */
20922
+ access_token?: string;
20923
+ /** Data format for response. */
20924
+ alt?: string;
20925
+ /** JSONP */
20926
+ callback?: string;
20927
+ /** Selector specifying which fields to include in a partial response. */
20928
+ fields?: string;
20929
+ /** 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. */
20930
+ key?: string;
20931
+ /** The name of the operation resource to wait on. */
20932
+ name: string;
20933
+ /** OAuth 2.0 token for the current user. */
20934
+ oauth_token?: string;
20935
+ /** Returns response with indentations and line breaks. */
20936
+ prettyPrint?: boolean;
20937
+ /** 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. */
20938
+ quotaUser?: string;
20939
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
20940
+ timeout?: string;
20941
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20942
+ upload_protocol?: string;
20943
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20944
+ uploadType?: string;
20945
+ }): Request<GoogleLongrunningOperation>;
20946
+ }
20717
20947
  interface PersistentResourcesResource {
20718
20948
  /** Creates a PersistentResource. */
20719
20949
  create(request: {
@@ -20924,6 +21154,65 @@ declare namespace gapi.client {
20924
21154
  },
20925
21155
  body: GoogleCloudAiplatformV1PersistentResource
20926
21156
  ): Request<GoogleLongrunningOperation>;
21157
+ /** Reboots a PersistentResource. */
21158
+ reboot(request: {
21159
+ /** V1 error format. */
21160
+ '$.xgafv'?: string;
21161
+ /** OAuth access token. */
21162
+ access_token?: string;
21163
+ /** Data format for response. */
21164
+ alt?: string;
21165
+ /** JSONP */
21166
+ callback?: string;
21167
+ /** Selector specifying which fields to include in a partial response. */
21168
+ fields?: string;
21169
+ /** 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. */
21170
+ key?: string;
21171
+ /** Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` */
21172
+ name: string;
21173
+ /** OAuth 2.0 token for the current user. */
21174
+ oauth_token?: string;
21175
+ /** Returns response with indentations and line breaks. */
21176
+ prettyPrint?: boolean;
21177
+ /** 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. */
21178
+ quotaUser?: string;
21179
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21180
+ upload_protocol?: string;
21181
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21182
+ uploadType?: string;
21183
+ /** Request body */
21184
+ resource: GoogleCloudAiplatformV1RebootPersistentResourceRequest;
21185
+ }): Request<GoogleLongrunningOperation>;
21186
+ reboot(
21187
+ request: {
21188
+ /** V1 error format. */
21189
+ '$.xgafv'?: string;
21190
+ /** OAuth access token. */
21191
+ access_token?: string;
21192
+ /** Data format for response. */
21193
+ alt?: string;
21194
+ /** JSONP */
21195
+ callback?: string;
21196
+ /** Selector specifying which fields to include in a partial response. */
21197
+ fields?: string;
21198
+ /** 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. */
21199
+ key?: string;
21200
+ /** Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` */
21201
+ name: string;
21202
+ /** OAuth 2.0 token for the current user. */
21203
+ oauth_token?: string;
21204
+ /** Returns response with indentations and line breaks. */
21205
+ prettyPrint?: boolean;
21206
+ /** 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. */
21207
+ quotaUser?: string;
21208
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21209
+ upload_protocol?: string;
21210
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21211
+ uploadType?: string;
21212
+ },
21213
+ body: GoogleCloudAiplatformV1RebootPersistentResourceRequest
21214
+ ): Request<GoogleLongrunningOperation>;
21215
+ operations: OperationsResource;
20927
21216
  }
20928
21217
  interface OperationsResource {
20929
21218
  /** 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`. */
@@ -25980,6 +26269,39 @@ declare namespace gapi.client {
25980
26269
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25981
26270
  uploadType?: string;
25982
26271
  }): Request<GoogleLongrunningOperation>;
26272
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
26273
+ list(request?: {
26274
+ /** V1 error format. */
26275
+ '$.xgafv'?: string;
26276
+ /** OAuth access token. */
26277
+ access_token?: string;
26278
+ /** Data format for response. */
26279
+ alt?: string;
26280
+ /** JSONP */
26281
+ callback?: string;
26282
+ /** Selector specifying which fields to include in a partial response. */
26283
+ fields?: string;
26284
+ /** The standard list filter. */
26285
+ filter?: string;
26286
+ /** 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. */
26287
+ key?: string;
26288
+ /** The name of the operation's parent resource. */
26289
+ name: string;
26290
+ /** OAuth 2.0 token for the current user. */
26291
+ oauth_token?: string;
26292
+ /** The standard list page size. */
26293
+ pageSize?: number;
26294
+ /** The standard list page token. */
26295
+ pageToken?: string;
26296
+ /** Returns response with indentations and line breaks. */
26297
+ prettyPrint?: boolean;
26298
+ /** 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. */
26299
+ quotaUser?: string;
26300
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
26301
+ upload_protocol?: string;
26302
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26303
+ uploadType?: string;
26304
+ }): Request<GoogleLongrunningListOperationsResponse>;
25983
26305
  }
25984
26306
  interface TuningJobsResource {
25985
26307
  operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240320",
3
+ "version": "0.0.20240322",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",