google-apis-aiplatform_v1beta1 0.8.0 → 0.10.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb4fa65410cb2d55e9ab55154b5ba0e3c65c66818028fa7589dc3ef85b5eac5f
4
- data.tar.gz: ca09437eb7d44f20fcd334d9bbee81cfef693fd75f7a34fc97cf8c2fd6e2ff88
3
+ metadata.gz: 8386f7d4f2cc96672aa377c6f89a43adf4df2ae125d42201c775fd23831ec51d
4
+ data.tar.gz: 356ec9da263badb81e33e147bc8cc1b14189dcce89033c508d3da115da99b2fa
5
5
  SHA512:
6
- metadata.gz: 2881f50d63236b69b370a64b0f93c4bf771bc5d46a596af0bcecf68da6642e2829a7afc0af5441a2b0cf5716eae5ef300e10d02fb7599021561e523cc040a0db
7
- data.tar.gz: a51077036393dd17cfcf752389134ea34cf00a09e9d80f3deed6f35b0e1f6395278cedfa5240da952355d54073ebb1b0e1ab1ea68e87f90d86c4166306b81a28
6
+ metadata.gz: b34f9146d9bcbc961014ae3d4c0dafa9bf682f1da056b405cd7a6ae7b36e4d79a737edd28eadc67a627824278b4f1e4e3f34757d4c4f6c38bba0de28454f9673
7
+ data.tar.gz: bbe3f4994986556c936a714c48c873a81c413c070f27bf2892d573135b5f5d21d32c8d0dce12f5f3d35ac40800f2743c89cf52afaf207e0c59e0b594b8116adc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.10.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231107
6
+
7
+ ### v0.9.0 (2023-11-05)
8
+
9
+ * Regenerated from discovery document revision 20231024
10
+
3
11
  ### v0.8.0 (2023-10-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20231023
@@ -878,6 +878,27 @@ module Google
878
878
  end
879
879
  end
880
880
 
881
+ # Request message for PipelineService.BatchDeletePipelineJobs.
882
+ class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest
883
+ include Google::Apis::Core::Hashable
884
+
885
+ # Required. The names of the PipelineJobs to delete. A maximum of 32
886
+ # PipelineJobs can be deleted in a batch. Format: `projects/`project`/locations/`
887
+ # location`/pipelineJobs/`pipelineJob``
888
+ # Corresponds to the JSON property `names`
889
+ # @return [Array<String>]
890
+ attr_accessor :names
891
+
892
+ def initialize(**args)
893
+ update!(**args)
894
+ end
895
+
896
+ # Update properties of this object
897
+ def update!(**args)
898
+ @names = args[:names] if args.key?(:names)
899
+ end
900
+ end
901
+
881
902
  # Request message for ModelService.BatchImportEvaluatedAnnotations
882
903
  class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest
883
904
  include Google::Apis::Core::Hashable
@@ -1973,6 +1994,48 @@ module Google
1973
1994
  end
1974
1995
  end
1975
1996
 
1997
+ # Request message for ComputeTokens RPC call.
1998
+ class GoogleCloudAiplatformV1beta1ComputeTokensRequest
1999
+ include Google::Apis::Core::Hashable
2000
+
2001
+ # Required. The instances that are the input to token computing API call. Schema
2002
+ # is identical to the prediction schema of the text model, even for the non-text
2003
+ # models, like chat models, or Codey models.
2004
+ # Corresponds to the JSON property `instances`
2005
+ # @return [Array<Object>]
2006
+ attr_accessor :instances
2007
+
2008
+ def initialize(**args)
2009
+ update!(**args)
2010
+ end
2011
+
2012
+ # Update properties of this object
2013
+ def update!(**args)
2014
+ @instances = args[:instances] if args.key?(:instances)
2015
+ end
2016
+ end
2017
+
2018
+ # Response message for ComputeTokens RPC call.
2019
+ class GoogleCloudAiplatformV1beta1ComputeTokensResponse
2020
+ include Google::Apis::Core::Hashable
2021
+
2022
+ # Lists of tokens info from the input. A ComputeTokensRequest could have
2023
+ # multiple instances with a prompt in each instance. We also need to return
2024
+ # lists of tokens info for the request with multiple instances.
2025
+ # Corresponds to the JSON property `tokensInfo`
2026
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TokensInfo>]
2027
+ attr_accessor :tokens_info
2028
+
2029
+ def initialize(**args)
2030
+ update!(**args)
2031
+ end
2032
+
2033
+ # Update properties of this object
2034
+ def update!(**args)
2035
+ @tokens_info = args[:tokens_info] if args.key?(:tokens_info)
2036
+ end
2037
+ end
2038
+
1976
2039
  # The Container Registry location for the container image.
1977
2040
  class GoogleCloudAiplatformV1beta1ContainerRegistryDestination
1978
2041
  include Google::Apis::Core::Hashable
@@ -5210,6 +5273,15 @@ module Google
5210
5273
  class GoogleCloudAiplatformV1beta1ExplainRequest
5211
5274
  include Google::Apis::Core::Hashable
5212
5275
 
5276
+ # Optional. This field is the same as the one above, but supports multiple
5277
+ # explanations to occur in parallel. The key can be any string. Each override
5278
+ # will be run against the model, then its explanations will be grouped together.
5279
+ # Note - these explanations are run **In Addition** to the default Explanation
5280
+ # in the deployed model.
5281
+ # Corresponds to the JSON property `concurrentExplanationSpecOverride`
5282
+ # @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride>]
5283
+ attr_accessor :concurrent_explanation_spec_override
5284
+
5213
5285
  # If specified, this ExplainRequest will be served by the chosen DeployedModel,
5214
5286
  # overriding Endpoint.traffic_split.
5215
5287
  # Corresponds to the JSON property `deployedModelId`
@@ -5244,6 +5316,7 @@ module Google
5244
5316
 
5245
5317
  # Update properties of this object
5246
5318
  def update!(**args)
5319
+ @concurrent_explanation_spec_override = args[:concurrent_explanation_spec_override] if args.key?(:concurrent_explanation_spec_override)
5247
5320
  @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
5248
5321
  @explanation_spec_override = args[:explanation_spec_override] if args.key?(:explanation_spec_override)
5249
5322
  @instances = args[:instances] if args.key?(:instances)
@@ -5255,6 +5328,12 @@ module Google
5255
5328
  class GoogleCloudAiplatformV1beta1ExplainResponse
5256
5329
  include Google::Apis::Core::Hashable
5257
5330
 
5331
+ # This field stores the results of the explanations run in parallel with The
5332
+ # default explanation strategy/method.
5333
+ # Corresponds to the JSON property `concurrentExplanations`
5334
+ # @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation>]
5335
+ attr_accessor :concurrent_explanations
5336
+
5258
5337
  # ID of the Endpoint's DeployedModel that served this explanation.
5259
5338
  # Corresponds to the JSON property `deployedModelId`
5260
5339
  # @return [String]
@@ -5278,12 +5357,33 @@ module Google
5278
5357
 
5279
5358
  # Update properties of this object
5280
5359
  def update!(**args)
5360
+ @concurrent_explanations = args[:concurrent_explanations] if args.key?(:concurrent_explanations)
5281
5361
  @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
5282
5362
  @explanations = args[:explanations] if args.key?(:explanations)
5283
5363
  @predictions = args[:predictions] if args.key?(:predictions)
5284
5364
  end
5285
5365
  end
5286
5366
 
5367
+ # This message is a wrapper grouping Concurrent Explanations.
5368
+ class GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation
5369
+ include Google::Apis::Core::Hashable
5370
+
5371
+ # The explanations of the Model's PredictResponse.predictions. It has the same
5372
+ # number of elements as instances to be explained.
5373
+ # Corresponds to the JSON property `explanations`
5374
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation>]
5375
+ attr_accessor :explanations
5376
+
5377
+ def initialize(**args)
5378
+ update!(**args)
5379
+ end
5380
+
5381
+ # Update properties of this object
5382
+ def update!(**args)
5383
+ @explanations = args[:explanations] if args.key?(:explanations)
5384
+ end
5385
+ end
5386
+
5287
5387
  # Explanation of a prediction (provided in PredictResponse.predictions) produced
5288
5388
  # by the Model on a given instance.
5289
5389
  class GoogleCloudAiplatformV1beta1Explanation
@@ -6415,6 +6515,13 @@ module Google
6415
6515
  # @return [String]
6416
6516
  attr_accessor :value_type
6417
6517
 
6518
+ # Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/
6519
+ # View columnn hosting data for this version. If no value is provided, will use
6520
+ # feature_id.
6521
+ # Corresponds to the JSON property `versionColumnName`
6522
+ # @return [String]
6523
+ attr_accessor :version_column_name
6524
+
6418
6525
  def initialize(**args)
6419
6526
  update!(**args)
6420
6527
  end
@@ -6432,6 +6539,7 @@ module Google
6432
6539
  @name = args[:name] if args.key?(:name)
6433
6540
  @update_time = args[:update_time] if args.key?(:update_time)
6434
6541
  @value_type = args[:value_type] if args.key?(:value_type)
6542
+ @version_column_name = args[:version_column_name] if args.key?(:version_column_name)
6435
6543
  end
6436
6544
  end
6437
6545
 
@@ -6624,7 +6732,9 @@ module Google
6624
6732
  # @return [String]
6625
6733
  attr_accessor :create_time
6626
6734
 
6627
- # The dedicated serving endpoint for this FeatureOnlineStore.
6735
+ # The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
6736
+ # when you choose Optimized storage type or enable EmbeddingManagement. Will use
6737
+ # public endpoint by default.
6628
6738
  # Corresponds to the JSON property `dedicatedServingEndpoint`
6629
6739
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint]
6630
6740
  attr_accessor :dedicated_serving_endpoint
@@ -6658,6 +6768,11 @@ module Google
6658
6768
  # @return [String]
6659
6769
  attr_accessor :name
6660
6770
 
6771
+ # Optimized storage type to replace lightning
6772
+ # Corresponds to the JSON property `optimized`
6773
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized]
6774
+ attr_accessor :optimized
6775
+
6661
6776
  # Output only. State of the featureOnlineStore.
6662
6777
  # Corresponds to the JSON property `state`
6663
6778
  # @return [String]
@@ -6681,6 +6796,7 @@ module Google
6681
6796
  @etag = args[:etag] if args.key?(:etag)
6682
6797
  @labels = args[:labels] if args.key?(:labels)
6683
6798
  @name = args[:name] if args.key?(:name)
6799
+ @optimized = args[:optimized] if args.key?(:optimized)
6684
6800
  @state = args[:state] if args.key?(:state)
6685
6801
  @update_time = args[:update_time] if args.key?(:update_time)
6686
6802
  end
@@ -6743,23 +6859,38 @@ module Google
6743
6859
  end
6744
6860
  end
6745
6861
 
6746
- # The dedicated serving endpoint for this FeatureOnlineStore.
6862
+ # The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
6863
+ # when you choose Optimized storage type or enable EmbeddingManagement. Will use
6864
+ # public endpoint by default.
6747
6865
  class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint
6748
6866
  include Google::Apis::Core::Hashable
6749
6867
 
6868
+ # Represents configuration for private service connect.
6869
+ # Corresponds to the JSON property `privateServiceConnectConfig`
6870
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig]
6871
+ attr_accessor :private_service_connect_config
6872
+
6750
6873
  # Output only. This field will be populated with the domain name to use for this
6751
6874
  # FeatureOnlineStore
6752
6875
  # Corresponds to the JSON property `publicEndpointDomainName`
6753
6876
  # @return [String]
6754
6877
  attr_accessor :public_endpoint_domain_name
6755
6878
 
6879
+ # Output only. The name of the service attachment resource. Populated if private
6880
+ # service connect is enabled and after FeatureViewSync is created.
6881
+ # Corresponds to the JSON property `serviceAttachment`
6882
+ # @return [String]
6883
+ attr_accessor :service_attachment
6884
+
6756
6885
  def initialize(**args)
6757
6886
  update!(**args)
6758
6887
  end
6759
6888
 
6760
6889
  # Update properties of this object
6761
6890
  def update!(**args)
6891
+ @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
6762
6892
  @public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
6893
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
6763
6894
  end
6764
6895
  end
6765
6896
 
@@ -6785,6 +6916,19 @@ module Google
6785
6916
  end
6786
6917
  end
6787
6918
 
6919
+ # Optimized storage type to replace lightning
6920
+ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized
6921
+ include Google::Apis::Core::Hashable
6922
+
6923
+ def initialize(**args)
6924
+ update!(**args)
6925
+ end
6926
+
6927
+ # Update properties of this object
6928
+ def update!(**args)
6929
+ end
6930
+ end
6931
+
6788
6932
  # Selector for Features of an EntityType.
6789
6933
  class GoogleCloudAiplatformV1beta1FeatureSelector
6790
6934
  include Google::Apis::Core::Hashable
@@ -8141,26 +8285,6 @@ module Google
8141
8285
  end
8142
8286
  end
8143
8287
 
8144
- # Contains information about the source of the models generated from Generative
8145
- # AI Studio.
8146
- class GoogleCloudAiplatformV1beta1GenieSource
8147
- include Google::Apis::Core::Hashable
8148
-
8149
- # Required. The public base model URI.
8150
- # Corresponds to the JSON property `baseModelUri`
8151
- # @return [String]
8152
- attr_accessor :base_model_uri
8153
-
8154
- def initialize(**args)
8155
- update!(**args)
8156
- end
8157
-
8158
- # Update properties of this object
8159
- def update!(**args)
8160
- @base_model_uri = args[:base_model_uri] if args.key?(:base_model_uri)
8161
- end
8162
- end
8163
-
8164
8288
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
8165
8289
  # specification and multiple CustomJobs with identical CustomJob specification.
8166
8290
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
@@ -8803,6 +8927,13 @@ module Google
8803
8927
  # @return [Array<Float>]
8804
8928
  attr_accessor :feature_vector
8805
8929
 
8930
+ # Optional. List of Restrict of the datapoint, used to perform "restricted
8931
+ # searches" where boolean rule are used to filter the subset of the database
8932
+ # eligible for matching. This uses numeric comparisons.
8933
+ # Corresponds to the JSON property `numericRestricts`
8934
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction>]
8935
+ attr_accessor :numeric_restricts
8936
+
8806
8937
  # Optional. List of Restrict of the datapoint, used to perform "restricted
8807
8938
  # searches" where boolean rule are used to filter the subset of the database
8808
8939
  # eligible for matching. This uses categorical tokens. See: https://cloud.google.
@@ -8820,6 +8951,7 @@ module Google
8820
8951
  @crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
8821
8952
  @datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
8822
8953
  @feature_vector = args[:feature_vector] if args.key?(:feature_vector)
8954
+ @numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
8823
8955
  @restricts = args[:restricts] if args.key?(:restricts)
8824
8956
  end
8825
8957
  end
@@ -8849,6 +8981,50 @@ module Google
8849
8981
  end
8850
8982
  end
8851
8983
 
8984
+ # This field allows restricts to be based on numeric comparisons rather than
8985
+ # categorical tokens.
8986
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
8987
+ include Google::Apis::Core::Hashable
8988
+
8989
+ # The namespace of this restriction. e.g.: cost.
8990
+ # Corresponds to the JSON property `namespace`
8991
+ # @return [String]
8992
+ attr_accessor :namespace
8993
+
8994
+ # This MUST be specified for queries and must NOT be specified for datapoints.
8995
+ # Corresponds to the JSON property `op`
8996
+ # @return [String]
8997
+ attr_accessor :op
8998
+
8999
+ # Represents 64 bit float.
9000
+ # Corresponds to the JSON property `valueDouble`
9001
+ # @return [Float]
9002
+ attr_accessor :value_double
9003
+
9004
+ # Represents 32 bit float.
9005
+ # Corresponds to the JSON property `valueFloat`
9006
+ # @return [Float]
9007
+ attr_accessor :value_float
9008
+
9009
+ # Represents 64 bit integer.
9010
+ # Corresponds to the JSON property `valueInt`
9011
+ # @return [Fixnum]
9012
+ attr_accessor :value_int
9013
+
9014
+ def initialize(**args)
9015
+ update!(**args)
9016
+ end
9017
+
9018
+ # Update properties of this object
9019
+ def update!(**args)
9020
+ @namespace = args[:namespace] if args.key?(:namespace)
9021
+ @op = args[:op] if args.key?(:op)
9022
+ @value_double = args[:value_double] if args.key?(:value_double)
9023
+ @value_float = args[:value_float] if args.key?(:value_float)
9024
+ @value_int = args[:value_int] if args.key?(:value_int)
9025
+ end
9026
+ end
9027
+
8852
9028
  # Restriction of a datapoint which describe its attributes(tokens) from each of
8853
9029
  # several attribute categories(namespaces).
8854
9030
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
@@ -11307,12 +11483,6 @@ module Google
11307
11483
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec]
11308
11484
  attr_accessor :explanation_spec
11309
11485
 
11310
- # Used to specify the source of the Model Garden model or Genie models. Only
11311
- # present for models created or tuned from Model Garden and Genie.
11312
- # Corresponds to the JSON property `generatedModelSource`
11313
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGeneratedModelSource]
11314
- attr_accessor :generated_model_source
11315
-
11316
11486
  # The labels with user-defined metadata to organize your Models. Label keys and
11317
11487
  # values can be no longer than 64 characters (Unicode codepoints), can only
11318
11488
  # contain lowercase letters, numeric characters, underscores and dashes.
@@ -11486,7 +11656,6 @@ module Google
11486
11656
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
11487
11657
  @etag = args[:etag] if args.key?(:etag)
11488
11658
  @explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
11489
- @generated_model_source = args[:generated_model_source] if args.key?(:generated_model_source)
11490
11659
  @labels = args[:labels] if args.key?(:labels)
11491
11660
  @metadata = args[:metadata] if args.key?(:metadata)
11492
11661
  @metadata_artifact = args[:metadata_artifact] if args.key?(:metadata_artifact)
@@ -12408,54 +12577,6 @@ module Google
12408
12577
  end
12409
12578
  end
12410
12579
 
12411
- # Contains information about the source of the models generated from Model
12412
- # Garden.
12413
- class GoogleCloudAiplatformV1beta1ModelGardenSource
12414
- include Google::Apis::Core::Hashable
12415
-
12416
- # Required. The model garden source model resource name.
12417
- # Corresponds to the JSON property `publicModelName`
12418
- # @return [String]
12419
- attr_accessor :public_model_name
12420
-
12421
- def initialize(**args)
12422
- update!(**args)
12423
- end
12424
-
12425
- # Update properties of this object
12426
- def update!(**args)
12427
- @public_model_name = args[:public_model_name] if args.key?(:public_model_name)
12428
- end
12429
- end
12430
-
12431
- # Used to specify the source of the Model Garden model or Genie models. Only
12432
- # present for models created or tuned from Model Garden and Genie.
12433
- class GoogleCloudAiplatformV1beta1ModelGeneratedModelSource
12434
- include Google::Apis::Core::Hashable
12435
-
12436
- # Contains information about the source of the models generated from Generative
12437
- # AI Studio.
12438
- # Corresponds to the JSON property `genieSource`
12439
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource]
12440
- attr_accessor :genie_source
12441
-
12442
- # Contains information about the source of the models generated from Model
12443
- # Garden.
12444
- # Corresponds to the JSON property `modelGardenSource`
12445
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource]
12446
- attr_accessor :model_garden_source
12447
-
12448
- def initialize(**args)
12449
- update!(**args)
12450
- end
12451
-
12452
- # Update properties of this object
12453
- def update!(**args)
12454
- @genie_source = args[:genie_source] if args.key?(:genie_source)
12455
- @model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source)
12456
- end
12457
- end
12458
-
12459
12580
  #
12460
12581
  class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
12461
12582
  include Google::Apis::Core::Hashable
@@ -16321,6 +16442,16 @@ module Google
16321
16442
  # @return [String]
16322
16443
  attr_accessor :event_type
16323
16444
 
16445
+ # The `Status` type defines a logical error model that is suitable for different
16446
+ # programming environments, including REST APIs and RPC APIs. It is used by [
16447
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
16448
+ # data: error code, error message, and error details. You can find out more
16449
+ # about this error model and how to work with it in the [API Design Guide](https:
16450
+ # //cloud.google.com/apis/design/errors).
16451
+ # Corresponds to the JSON property `status`
16452
+ # @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
16453
+ attr_accessor :status
16454
+
16324
16455
  # Required. The VM identity token (a JWT) for authenticating the VM. https://
16325
16456
  # cloud.google.com/compute/docs/instances/verifying-instance-identity
16326
16457
  # Corresponds to the JSON property `vmToken`
@@ -16334,6 +16465,7 @@ module Google
16334
16465
  # Update properties of this object
16335
16466
  def update!(**args)
16336
16467
  @event_type = args[:event_type] if args.key?(:event_type)
16468
+ @status = args[:status] if args.key?(:status)
16337
16469
  @vm_token = args[:vm_token] if args.key?(:vm_token)
16338
16470
  end
16339
16471
  end
@@ -23520,7 +23652,7 @@ module Google
23520
23652
  end
23521
23653
  end
23522
23654
 
23523
- # A message representing a Study. Next id: 12
23655
+ # A message representing a Study.
23524
23656
  class GoogleCloudAiplatformV1beta1Study
23525
23657
  include Google::Apis::Core::Hashable
23526
23658
 
@@ -25175,6 +25307,31 @@ module Google
25175
25307
  end
25176
25308
  end
25177
25309
 
25310
+ # Tokens info with a list of tokens and the corresponding list of token ids.
25311
+ class GoogleCloudAiplatformV1beta1TokensInfo
25312
+ include Google::Apis::Core::Hashable
25313
+
25314
+ # A list of token ids from the input.
25315
+ # Corresponds to the JSON property `tokenIds`
25316
+ # @return [Array<Fixnum>]
25317
+ attr_accessor :token_ids
25318
+
25319
+ # A list of tokens from the input.
25320
+ # Corresponds to the JSON property `tokens`
25321
+ # @return [Array<String>]
25322
+ attr_accessor :tokens
25323
+
25324
+ def initialize(**args)
25325
+ update!(**args)
25326
+ end
25327
+
25328
+ # Update properties of this object
25329
+ def update!(**args)
25330
+ @token_ids = args[:token_ids] if args.key?(:token_ids)
25331
+ @tokens = args[:tokens] if args.key?(:tokens)
25332
+ end
25333
+ end
25334
+
25178
25335
  # CMLE training config. For every active learning labeling iteration, system
25179
25336
  # will train a machine learning model on CMLE. The trained model will be used by
25180
25337
  # data sampling algorithm to select DataItems.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231023"
25
+ REVISION = "20231107"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -388,6 +394,18 @@ module Google
388
394
  include Google::Apis::Core::JsonObjectSupport
389
395
  end
390
396
 
397
+ class GoogleCloudAiplatformV1beta1ComputeTokensRequest
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class GoogleCloudAiplatformV1beta1ComputeTokensResponse
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
391
409
  class GoogleCloudAiplatformV1beta1ContainerRegistryDestination
392
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
411
 
@@ -916,6 +934,12 @@ module Google
916
934
  include Google::Apis::Core::JsonObjectSupport
917
935
  end
918
936
 
937
+ class GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
919
943
  class GoogleCloudAiplatformV1beta1Explanation
920
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
945
 
@@ -1168,6 +1192,12 @@ module Google
1168
1192
  include Google::Apis::Core::JsonObjectSupport
1169
1193
  end
1170
1194
 
1195
+ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1171
1201
  class GoogleCloudAiplatformV1beta1FeatureSelector
1172
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1173
1203
 
@@ -1396,12 +1426,6 @@ module Google
1396
1426
  include Google::Apis::Core::JsonObjectSupport
1397
1427
  end
1398
1428
 
1399
- class GoogleCloudAiplatformV1beta1GenieSource
1400
- class Representation < Google::Apis::Core::JsonRepresentation; end
1401
-
1402
- include Google::Apis::Core::JsonObjectSupport
1403
- end
1404
-
1405
1429
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
1406
1430
  class Representation < Google::Apis::Core::JsonRepresentation; end
1407
1431
 
@@ -1492,6 +1516,12 @@ module Google
1492
1516
  include Google::Apis::Core::JsonObjectSupport
1493
1517
  end
1494
1518
 
1519
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
1520
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1521
+
1522
+ include Google::Apis::Core::JsonObjectSupport
1523
+ end
1524
+
1495
1525
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
1496
1526
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1527
 
@@ -2074,18 +2104,6 @@ module Google
2074
2104
  include Google::Apis::Core::JsonObjectSupport
2075
2105
  end
2076
2106
 
2077
- class GoogleCloudAiplatformV1beta1ModelGardenSource
2078
- class Representation < Google::Apis::Core::JsonRepresentation; end
2079
-
2080
- include Google::Apis::Core::JsonObjectSupport
2081
- end
2082
-
2083
- class GoogleCloudAiplatformV1beta1ModelGeneratedModelSource
2084
- class Representation < Google::Apis::Core::JsonRepresentation; end
2085
-
2086
- include Google::Apis::Core::JsonObjectSupport
2087
- end
2088
-
2089
2107
  class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
2090
2108
  class Representation < Google::Apis::Core::JsonRepresentation; end
2091
2109
 
@@ -4168,6 +4186,12 @@ module Google
4168
4186
  include Google::Apis::Core::JsonObjectSupport
4169
4187
  end
4170
4188
 
4189
+ class GoogleCloudAiplatformV1beta1TokensInfo
4190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4191
+
4192
+ include Google::Apis::Core::JsonObjectSupport
4193
+ end
4194
+
4171
4195
  class GoogleCloudAiplatformV1beta1TrainingConfig
4172
4196
  class Representation < Google::Apis::Core::JsonRepresentation; end
4173
4197
 
@@ -4764,6 +4788,13 @@ module Google
4764
4788
  end
4765
4789
  end
4766
4790
 
4791
+ class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest
4792
+ # @private
4793
+ class Representation < Google::Apis::Core::JsonRepresentation
4794
+ collection :names, as: 'names'
4795
+ end
4796
+ end
4797
+
4767
4798
  class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest
4768
4799
  # @private
4769
4800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5095,6 +5126,21 @@ module Google
5095
5126
  end
5096
5127
  end
5097
5128
 
5129
+ class GoogleCloudAiplatformV1beta1ComputeTokensRequest
5130
+ # @private
5131
+ class Representation < Google::Apis::Core::JsonRepresentation
5132
+ collection :instances, as: 'instances'
5133
+ end
5134
+ end
5135
+
5136
+ class GoogleCloudAiplatformV1beta1ComputeTokensResponse
5137
+ # @private
5138
+ class Representation < Google::Apis::Core::JsonRepresentation
5139
+ collection :tokens_info, as: 'tokensInfo', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TokensInfo, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TokensInfo::Representation
5140
+
5141
+ end
5142
+ end
5143
+
5098
5144
  class GoogleCloudAiplatformV1beta1ContainerRegistryDestination
5099
5145
  # @private
5100
5146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5983,6 +6029,8 @@ module Google
5983
6029
  class GoogleCloudAiplatformV1beta1ExplainRequest
5984
6030
  # @private
5985
6031
  class Representation < Google::Apis::Core::JsonRepresentation
6032
+ hash :concurrent_explanation_spec_override, as: 'concurrentExplanationSpecOverride', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride::Representation
6033
+
5986
6034
  property :deployed_model_id, as: 'deployedModelId'
5987
6035
  property :explanation_spec_override, as: 'explanationSpecOverride', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride::Representation
5988
6036
 
@@ -5994,6 +6042,8 @@ module Google
5994
6042
  class GoogleCloudAiplatformV1beta1ExplainResponse
5995
6043
  # @private
5996
6044
  class Representation < Google::Apis::Core::JsonRepresentation
6045
+ hash :concurrent_explanations, as: 'concurrentExplanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation::Representation
6046
+
5997
6047
  property :deployed_model_id, as: 'deployedModelId'
5998
6048
  collection :explanations, as: 'explanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation::Representation
5999
6049
 
@@ -6001,6 +6051,14 @@ module Google
6001
6051
  end
6002
6052
  end
6003
6053
 
6054
+ class GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation
6055
+ # @private
6056
+ class Representation < Google::Apis::Core::JsonRepresentation
6057
+ collection :explanations, as: 'explanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation::Representation
6058
+
6059
+ end
6060
+ end
6061
+
6004
6062
  class GoogleCloudAiplatformV1beta1Explanation
6005
6063
  # @private
6006
6064
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6320,6 +6378,7 @@ module Google
6320
6378
  property :name, as: 'name'
6321
6379
  property :update_time, as: 'updateTime'
6322
6380
  property :value_type, as: 'valueType'
6381
+ property :version_column_name, as: 'versionColumnName'
6323
6382
  end
6324
6383
  end
6325
6384
 
@@ -6384,6 +6443,8 @@ module Google
6384
6443
  property :etag, as: 'etag'
6385
6444
  hash :labels, as: 'labels'
6386
6445
  property :name, as: 'name'
6446
+ property :optimized, as: 'optimized', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized::Representation
6447
+
6387
6448
  property :state, as: 'state'
6388
6449
  property :update_time, as: 'updateTime'
6389
6450
  end
@@ -6409,7 +6470,10 @@ module Google
6409
6470
  class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint
6410
6471
  # @private
6411
6472
  class Representation < Google::Apis::Core::JsonRepresentation
6473
+ property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig::Representation
6474
+
6412
6475
  property :public_endpoint_domain_name, as: 'publicEndpointDomainName'
6476
+ property :service_attachment, as: 'serviceAttachment'
6413
6477
  end
6414
6478
  end
6415
6479
 
@@ -6420,6 +6484,12 @@ module Google
6420
6484
  end
6421
6485
  end
6422
6486
 
6487
+ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized
6488
+ # @private
6489
+ class Representation < Google::Apis::Core::JsonRepresentation
6490
+ end
6491
+ end
6492
+
6423
6493
  class GoogleCloudAiplatformV1beta1FeatureSelector
6424
6494
  # @private
6425
6495
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6794,13 +6864,6 @@ module Google
6794
6864
  end
6795
6865
  end
6796
6866
 
6797
- class GoogleCloudAiplatformV1beta1GenieSource
6798
- # @private
6799
- class Representation < Google::Apis::Core::JsonRepresentation
6800
- property :base_model_uri, as: 'baseModelUri'
6801
- end
6802
- end
6803
-
6804
6867
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
6805
6868
  # @private
6806
6869
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6965,6 +7028,8 @@ module Google
6965
7028
 
6966
7029
  property :datapoint_id, as: 'datapointId'
6967
7030
  collection :feature_vector, as: 'featureVector'
7031
+ collection :numeric_restricts, as: 'numericRestricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction::Representation
7032
+
6968
7033
  collection :restricts, as: 'restricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction::Representation
6969
7034
 
6970
7035
  end
@@ -6977,6 +7042,17 @@ module Google
6977
7042
  end
6978
7043
  end
6979
7044
 
7045
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
7046
+ # @private
7047
+ class Representation < Google::Apis::Core::JsonRepresentation
7048
+ property :namespace, as: 'namespace'
7049
+ property :op, as: 'op'
7050
+ property :value_double, as: 'valueDouble'
7051
+ property :value_float, as: 'valueFloat'
7052
+ property :value_int, :numeric_string => true, as: 'valueInt'
7053
+ end
7054
+ end
7055
+
6980
7056
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
6981
7057
  # @private
6982
7058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7737,8 +7813,6 @@ module Google
7737
7813
  property :etag, as: 'etag'
7738
7814
  property :explanation_spec, as: 'explanationSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec::Representation
7739
7815
 
7740
- property :generated_model_source, as: 'generatedModelSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGeneratedModelSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGeneratedModelSource::Representation
7741
-
7742
7816
  hash :labels, as: 'labels'
7743
7817
  property :metadata, as: 'metadata'
7744
7818
  property :metadata_artifact, as: 'metadataArtifact'
@@ -7965,23 +8039,6 @@ module Google
7965
8039
  end
7966
8040
  end
7967
8041
 
7968
- class GoogleCloudAiplatformV1beta1ModelGardenSource
7969
- # @private
7970
- class Representation < Google::Apis::Core::JsonRepresentation
7971
- property :public_model_name, as: 'publicModelName'
7972
- end
7973
- end
7974
-
7975
- class GoogleCloudAiplatformV1beta1ModelGeneratedModelSource
7976
- # @private
7977
- class Representation < Google::Apis::Core::JsonRepresentation
7978
- property :genie_source, as: 'genieSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource::Representation
7979
-
7980
- property :model_garden_source, as: 'modelGardenSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource::Representation
7981
-
7982
- end
7983
- end
7984
-
7985
8042
  class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
7986
8043
  # @private
7987
8044
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9098,6 +9155,8 @@ module Google
9098
9155
  # @private
9099
9156
  class Representation < Google::Apis::Core::JsonRepresentation
9100
9157
  property :event_type, as: 'eventType'
9158
+ property :status, as: 'status', class: Google::Apis::AiplatformV1beta1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleRpcStatus::Representation
9159
+
9101
9160
  property :vm_token, as: 'vmToken'
9102
9161
  end
9103
9162
  end
@@ -11451,6 +11510,14 @@ module Google
11451
11510
  end
11452
11511
  end
11453
11512
 
11513
+ class GoogleCloudAiplatformV1beta1TokensInfo
11514
+ # @private
11515
+ class Representation < Google::Apis::Core::JsonRepresentation
11516
+ collection :token_ids, as: 'tokenIds'
11517
+ collection :tokens, as: 'tokens'
11518
+ end
11519
+ end
11520
+
11454
11521
  class GoogleCloudAiplatformV1beta1TrainingConfig
11455
11522
  # @private
11456
11523
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3256,6 +3256,40 @@ module Google
3256
3256
  execute_or_queue_command(command, &block)
3257
3257
  end
3258
3258
 
3259
+ # Return a list of tokens based on the input text.
3260
+ # @param [String] endpoint
3261
+ # Required. The name of the Endpoint requested to get lists of tokens and token
3262
+ # ids.
3263
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensRequest] google_cloud_aiplatform_v1beta1_compute_tokens_request_object
3264
+ # @param [String] fields
3265
+ # Selector specifying which fields to include in a partial response.
3266
+ # @param [String] quota_user
3267
+ # Available to use for quota purposes for server-side applications. Can be any
3268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3269
+ # @param [Google::Apis::RequestOptions] options
3270
+ # Request-specific options
3271
+ #
3272
+ # @yield [result, err] Result & error if block supplied
3273
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse] parsed result object
3274
+ # @yieldparam err [StandardError] error object if request failed
3275
+ #
3276
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse]
3277
+ #
3278
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3279
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3280
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3281
+ def compute_project_location_endpoint_tokens(endpoint, google_cloud_aiplatform_v1beta1_compute_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3282
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:computeTokens', options)
3283
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensRequest::Representation
3284
+ command.request_object = google_cloud_aiplatform_v1beta1_compute_tokens_request_object
3285
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse::Representation
3286
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse
3287
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3288
+ command.query['fields'] = fields unless fields.nil?
3289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3290
+ execute_or_queue_command(command, &block)
3291
+ end
3292
+
3259
3293
  # Perform a token counting.
3260
3294
  # @param [String] endpoint
3261
3295
  # Required. The name of the Endpoint requested to perform token counting. Format:
@@ -14220,6 +14254,41 @@ module Google
14220
14254
  execute_or_queue_command(command, &block)
14221
14255
  end
14222
14256
 
14257
+ # Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the
14258
+ # PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.
14259
+ # @param [String] parent
14260
+ # Required. The name of the PipelineJobs' parent resource. Format: `projects/`
14261
+ # project`/locations/`location``
14262
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest] google_cloud_aiplatform_v1beta1_batch_delete_pipeline_jobs_request_object
14263
+ # @param [String] fields
14264
+ # Selector specifying which fields to include in a partial response.
14265
+ # @param [String] quota_user
14266
+ # Available to use for quota purposes for server-side applications. Can be any
14267
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14268
+ # @param [Google::Apis::RequestOptions] options
14269
+ # Request-specific options
14270
+ #
14271
+ # @yield [result, err] Result & error if block supplied
14272
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
14273
+ # @yieldparam err [StandardError] error object if request failed
14274
+ #
14275
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
14276
+ #
14277
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14278
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14279
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14280
+ def batch_project_location_pipeline_job_delete(parent, google_cloud_aiplatform_v1beta1_batch_delete_pipeline_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
14281
+ command = make_simple_command(:post, 'v1beta1/{+parent}/pipelineJobs:batchDelete', options)
14282
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest::Representation
14283
+ command.request_object = google_cloud_aiplatform_v1beta1_batch_delete_pipeline_jobs_request_object
14284
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
14285
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
14286
+ command.params['parent'] = parent unless parent.nil?
14287
+ command.query['fields'] = fields unless fields.nil?
14288
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14289
+ execute_or_queue_command(command, &block)
14290
+ end
14291
+
14223
14292
  # Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob.
14224
14293
  # The server makes a best effort to cancel the pipeline, but success is not
14225
14294
  # guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to
@@ -14619,6 +14688,40 @@ module Google
14619
14688
  execute_or_queue_command(command, &block)
14620
14689
  end
14621
14690
 
14691
+ # Return a list of tokens based on the input text.
14692
+ # @param [String] endpoint
14693
+ # Required. The name of the Endpoint requested to get lists of tokens and token
14694
+ # ids.
14695
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensRequest] google_cloud_aiplatform_v1beta1_compute_tokens_request_object
14696
+ # @param [String] fields
14697
+ # Selector specifying which fields to include in a partial response.
14698
+ # @param [String] quota_user
14699
+ # Available to use for quota purposes for server-side applications. Can be any
14700
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14701
+ # @param [Google::Apis::RequestOptions] options
14702
+ # Request-specific options
14703
+ #
14704
+ # @yield [result, err] Result & error if block supplied
14705
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse] parsed result object
14706
+ # @yieldparam err [StandardError] error object if request failed
14707
+ #
14708
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse]
14709
+ #
14710
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14711
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14712
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14713
+ def compute_project_location_publisher_model_tokens(endpoint, google_cloud_aiplatform_v1beta1_compute_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
14714
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:computeTokens', options)
14715
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensRequest::Representation
14716
+ command.request_object = google_cloud_aiplatform_v1beta1_compute_tokens_request_object
14717
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse::Representation
14718
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ComputeTokensResponse
14719
+ command.params['endpoint'] = endpoint unless endpoint.nil?
14720
+ command.query['fields'] = fields unless fields.nil?
14721
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14722
+ execute_or_queue_command(command, &block)
14723
+ end
14724
+
14622
14725
  # Perform a token counting.
14623
14726
  # @param [String] endpoint
14624
14727
  # Required. The name of the Endpoint requested to perform token counting. Format:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []