google-apis-aiplatform_v1beta1 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1ee9079ac62eceeaa35024f3550dae8358ed4e3764ab0d0514472d2dc9c103d
4
- data.tar.gz: 572051d835d87c76fc578b761ac48aae8cb6ee199b2afbba6b3f750d640f94be
3
+ metadata.gz: 8386f7d4f2cc96672aa377c6f89a43adf4df2ae125d42201c775fd23831ec51d
4
+ data.tar.gz: 356ec9da263badb81e33e147bc8cc1b14189dcce89033c508d3da115da99b2fa
5
5
  SHA512:
6
- metadata.gz: 8533578bd409d5671244aeb211b837fd930572f9a47a494f238d92c6abce3c8dd968b1c0a0f8c645cc66450bc168bc50efcc7d854deafad0c8e3ec99e31a4900
7
- data.tar.gz: 3b0365e643b7e199a979f662ddcca93da2370ac22ca889637fa38004c9cb28f61a0a155b29e238725d991304d3afa6158168923a610448a279dd7e9c94e60bd8
6
+ metadata.gz: b34f9146d9bcbc961014ae3d4c0dafa9bf682f1da056b405cd7a6ae7b36e4d79a737edd28eadc67a627824278b4f1e4e3f34757d4c4f6c38bba0de28454f9673
7
+ data.tar.gz: bbe3f4994986556c936a714c48c873a81c413c070f27bf2892d573135b5f5d21d32c8d0dce12f5f3d35ac40800f2743c89cf52afaf207e0c59e0b594b8116adc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.9.0 (2023-11-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20231024
@@ -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
 
@@ -6625,7 +6733,8 @@ module Google
6625
6733
  attr_accessor :create_time
6626
6734
 
6627
6735
  # The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
6628
- # when you choose Optimized storage type or enable EmbeddingManagement.
6736
+ # when you choose Optimized storage type or enable EmbeddingManagement. Will use
6737
+ # public endpoint by default.
6629
6738
  # Corresponds to the JSON property `dedicatedServingEndpoint`
6630
6739
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint]
6631
6740
  attr_accessor :dedicated_serving_endpoint
@@ -6659,6 +6768,11 @@ module Google
6659
6768
  # @return [String]
6660
6769
  attr_accessor :name
6661
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
+
6662
6776
  # Output only. State of the featureOnlineStore.
6663
6777
  # Corresponds to the JSON property `state`
6664
6778
  # @return [String]
@@ -6682,6 +6796,7 @@ module Google
6682
6796
  @etag = args[:etag] if args.key?(:etag)
6683
6797
  @labels = args[:labels] if args.key?(:labels)
6684
6798
  @name = args[:name] if args.key?(:name)
6799
+ @optimized = args[:optimized] if args.key?(:optimized)
6685
6800
  @state = args[:state] if args.key?(:state)
6686
6801
  @update_time = args[:update_time] if args.key?(:update_time)
6687
6802
  end
@@ -6745,23 +6860,37 @@ module Google
6745
6860
  end
6746
6861
 
6747
6862
  # The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
6748
- # when you choose Optimized storage type or enable EmbeddingManagement.
6863
+ # when you choose Optimized storage type or enable EmbeddingManagement. Will use
6864
+ # public endpoint by default.
6749
6865
  class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint
6750
6866
  include Google::Apis::Core::Hashable
6751
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
+
6752
6873
  # Output only. This field will be populated with the domain name to use for this
6753
6874
  # FeatureOnlineStore
6754
6875
  # Corresponds to the JSON property `publicEndpointDomainName`
6755
6876
  # @return [String]
6756
6877
  attr_accessor :public_endpoint_domain_name
6757
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
+
6758
6885
  def initialize(**args)
6759
6886
  update!(**args)
6760
6887
  end
6761
6888
 
6762
6889
  # Update properties of this object
6763
6890
  def update!(**args)
6891
+ @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
6764
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)
6765
6894
  end
6766
6895
  end
6767
6896
 
@@ -6787,6 +6916,19 @@ module Google
6787
6916
  end
6788
6917
  end
6789
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
+
6790
6932
  # Selector for Features of an EntityType.
6791
6933
  class GoogleCloudAiplatformV1beta1FeatureSelector
6792
6934
  include Google::Apis::Core::Hashable
@@ -8785,6 +8927,13 @@ module Google
8785
8927
  # @return [Array<Float>]
8786
8928
  attr_accessor :feature_vector
8787
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
+
8788
8937
  # Optional. List of Restrict of the datapoint, used to perform "restricted
8789
8938
  # searches" where boolean rule are used to filter the subset of the database
8790
8939
  # eligible for matching. This uses categorical tokens. See: https://cloud.google.
@@ -8802,6 +8951,7 @@ module Google
8802
8951
  @crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
8803
8952
  @datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
8804
8953
  @feature_vector = args[:feature_vector] if args.key?(:feature_vector)
8954
+ @numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
8805
8955
  @restricts = args[:restricts] if args.key?(:restricts)
8806
8956
  end
8807
8957
  end
@@ -8831,6 +8981,50 @@ module Google
8831
8981
  end
8832
8982
  end
8833
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
+
8834
9028
  # Restriction of a datapoint which describe its attributes(tokens) from each of
8835
9029
  # several attribute categories(namespaces).
8836
9030
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
@@ -16248,6 +16442,16 @@ module Google
16248
16442
  # @return [String]
16249
16443
  attr_accessor :event_type
16250
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
+
16251
16455
  # Required. The VM identity token (a JWT) for authenticating the VM. https://
16252
16456
  # cloud.google.com/compute/docs/instances/verifying-instance-identity
16253
16457
  # Corresponds to the JSON property `vmToken`
@@ -16261,6 +16465,7 @@ module Google
16261
16465
  # Update properties of this object
16262
16466
  def update!(**args)
16263
16467
  @event_type = args[:event_type] if args.key?(:event_type)
16468
+ @status = args[:status] if args.key?(:status)
16264
16469
  @vm_token = args[:vm_token] if args.key?(:vm_token)
16265
16470
  end
16266
16471
  end
@@ -23447,7 +23652,7 @@ module Google
23447
23652
  end
23448
23653
  end
23449
23654
 
23450
- # A message representing a Study. Next id: 12
23655
+ # A message representing a Study.
23451
23656
  class GoogleCloudAiplatformV1beta1Study
23452
23657
  include Google::Apis::Core::Hashable
23453
23658
 
@@ -25102,6 +25307,31 @@ module Google
25102
25307
  end
25103
25308
  end
25104
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
+
25105
25335
  # CMLE training config. For every active learning labeling iteration, system
25106
25336
  # will train a machine learning model on CMLE. The trained model will be used by
25107
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.9.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 = "20231024"
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
 
@@ -1486,6 +1516,12 @@ module Google
1486
1516
  include Google::Apis::Core::JsonObjectSupport
1487
1517
  end
1488
1518
 
1519
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
1520
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1521
+
1522
+ include Google::Apis::Core::JsonObjectSupport
1523
+ end
1524
+
1489
1525
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
1490
1526
  class Representation < Google::Apis::Core::JsonRepresentation; end
1491
1527
 
@@ -4150,6 +4186,12 @@ module Google
4150
4186
  include Google::Apis::Core::JsonObjectSupport
4151
4187
  end
4152
4188
 
4189
+ class GoogleCloudAiplatformV1beta1TokensInfo
4190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4191
+
4192
+ include Google::Apis::Core::JsonObjectSupport
4193
+ end
4194
+
4153
4195
  class GoogleCloudAiplatformV1beta1TrainingConfig
4154
4196
  class Representation < Google::Apis::Core::JsonRepresentation; end
4155
4197
 
@@ -4746,6 +4788,13 @@ module Google
4746
4788
  end
4747
4789
  end
4748
4790
 
4791
+ class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest
4792
+ # @private
4793
+ class Representation < Google::Apis::Core::JsonRepresentation
4794
+ collection :names, as: 'names'
4795
+ end
4796
+ end
4797
+
4749
4798
  class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest
4750
4799
  # @private
4751
4800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5077,6 +5126,21 @@ module Google
5077
5126
  end
5078
5127
  end
5079
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
+
5080
5144
  class GoogleCloudAiplatformV1beta1ContainerRegistryDestination
5081
5145
  # @private
5082
5146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5965,6 +6029,8 @@ module Google
5965
6029
  class GoogleCloudAiplatformV1beta1ExplainRequest
5966
6030
  # @private
5967
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
+
5968
6034
  property :deployed_model_id, as: 'deployedModelId'
5969
6035
  property :explanation_spec_override, as: 'explanationSpecOverride', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride::Representation
5970
6036
 
@@ -5976,6 +6042,8 @@ module Google
5976
6042
  class GoogleCloudAiplatformV1beta1ExplainResponse
5977
6043
  # @private
5978
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
+
5979
6047
  property :deployed_model_id, as: 'deployedModelId'
5980
6048
  collection :explanations, as: 'explanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation::Representation
5981
6049
 
@@ -5983,6 +6051,14 @@ module Google
5983
6051
  end
5984
6052
  end
5985
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
+
5986
6062
  class GoogleCloudAiplatformV1beta1Explanation
5987
6063
  # @private
5988
6064
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6302,6 +6378,7 @@ module Google
6302
6378
  property :name, as: 'name'
6303
6379
  property :update_time, as: 'updateTime'
6304
6380
  property :value_type, as: 'valueType'
6381
+ property :version_column_name, as: 'versionColumnName'
6305
6382
  end
6306
6383
  end
6307
6384
 
@@ -6366,6 +6443,8 @@ module Google
6366
6443
  property :etag, as: 'etag'
6367
6444
  hash :labels, as: 'labels'
6368
6445
  property :name, as: 'name'
6446
+ property :optimized, as: 'optimized', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized::Representation
6447
+
6369
6448
  property :state, as: 'state'
6370
6449
  property :update_time, as: 'updateTime'
6371
6450
  end
@@ -6391,7 +6470,10 @@ module Google
6391
6470
  class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint
6392
6471
  # @private
6393
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
+
6394
6475
  property :public_endpoint_domain_name, as: 'publicEndpointDomainName'
6476
+ property :service_attachment, as: 'serviceAttachment'
6395
6477
  end
6396
6478
  end
6397
6479
 
@@ -6402,6 +6484,12 @@ module Google
6402
6484
  end
6403
6485
  end
6404
6486
 
6487
+ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized
6488
+ # @private
6489
+ class Representation < Google::Apis::Core::JsonRepresentation
6490
+ end
6491
+ end
6492
+
6405
6493
  class GoogleCloudAiplatformV1beta1FeatureSelector
6406
6494
  # @private
6407
6495
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6940,6 +7028,8 @@ module Google
6940
7028
 
6941
7029
  property :datapoint_id, as: 'datapointId'
6942
7030
  collection :feature_vector, as: 'featureVector'
7031
+ collection :numeric_restricts, as: 'numericRestricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction::Representation
7032
+
6943
7033
  collection :restricts, as: 'restricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction::Representation
6944
7034
 
6945
7035
  end
@@ -6952,6 +7042,17 @@ module Google
6952
7042
  end
6953
7043
  end
6954
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
+
6955
7056
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
6956
7057
  # @private
6957
7058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9054,6 +9155,8 @@ module Google
9054
9155
  # @private
9055
9156
  class Representation < Google::Apis::Core::JsonRepresentation
9056
9157
  property :event_type, as: 'eventType'
9158
+ property :status, as: 'status', class: Google::Apis::AiplatformV1beta1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleRpcStatus::Representation
9159
+
9057
9160
  property :vm_token, as: 'vmToken'
9058
9161
  end
9059
9162
  end
@@ -11407,6 +11510,14 @@ module Google
11407
11510
  end
11408
11511
  end
11409
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
+
11410
11521
  class GoogleCloudAiplatformV1beta1TrainingConfig
11411
11522
  # @private
11412
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.9.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-11-05 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.9.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: []