google-apis-aiplatform_v1beta1 0.9.0 → 0.11.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: d1ee9079ac62eceeaa35024f3550dae8358ed4e3764ab0d0514472d2dc9c103d
4
- data.tar.gz: 572051d835d87c76fc578b761ac48aae8cb6ee199b2afbba6b3f750d640f94be
3
+ metadata.gz: '035147902cda8ba9e437ed3d7661e019c07eb3a55cf8d29498766d3d22fe0723'
4
+ data.tar.gz: ceaf136bc247c0583b7d66e6ce5e40f1a0f6bbcb179e0ca1cd9e3de80a287786
5
5
  SHA512:
6
- metadata.gz: 8533578bd409d5671244aeb211b837fd930572f9a47a494f238d92c6abce3c8dd968b1c0a0f8c645cc66450bc168bc50efcc7d854deafad0c8e3ec99e31a4900
7
- data.tar.gz: 3b0365e643b7e199a979f662ddcca93da2370ac22ca889637fa38004c9cb28f61a0a155b29e238725d991304d3afa6158168923a610448a279dd7e9c94e60bd8
6
+ metadata.gz: 1c928f95591d93ae223ee5dd805ff31d04a51d7adfecffded42f4a96c3f78bae06c17da40e45a91073a40773968b3da8fb4d11eb1eb6189cc81a560bd63f8877
7
+ data.tar.gz: 678f0ac2ebcd9de2090f3fb4def51fc9189a54d232e3d88fa65763ebcc699b24da41e31d36849c76c5f58b0871d6327732a90edab11520ff6511ba8931f2a341
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.11.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231111
6
+
7
+ ### v0.10.0 (2023-11-12)
8
+
9
+ * Regenerated from discovery document revision 20231107
10
+
3
11
  ### v0.9.0 (2023-11-05)
4
12
 
5
13
  * 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
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
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
@@ -7145,6 +7287,25 @@ module Google
7145
7287
  end
7146
7288
  end
7147
7289
 
7290
+ # Lookup key for a feature view.
7291
+ class GoogleCloudAiplatformV1beta1FeatureViewDataKey
7292
+ include Google::Apis::Core::Hashable
7293
+
7294
+ # String key to use for lookup.
7295
+ # Corresponds to the JSON property `key`
7296
+ # @return [String]
7297
+ attr_accessor :key
7298
+
7299
+ def initialize(**args)
7300
+ update!(**args)
7301
+ end
7302
+
7303
+ # Update properties of this object
7304
+ def update!(**args)
7305
+ @key = args[:key] if args.key?(:key)
7306
+ end
7307
+ end
7308
+
7148
7309
  # A Feature Registry source for features that need to be synced to Online Store.
7149
7310
  class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
7150
7311
  include Google::Apis::Core::Hashable
@@ -7666,7 +7827,19 @@ module Google
7666
7827
  class GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest
7667
7828
  include Google::Apis::Core::Hashable
7668
7829
 
7830
+ # Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE
7831
+ # will be used.
7832
+ # Corresponds to the JSON property `dataFormat`
7833
+ # @return [String]
7834
+ attr_accessor :data_format
7835
+
7836
+ # Lookup key for a feature view.
7837
+ # Corresponds to the JSON property `dataKey`
7838
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKey]
7839
+ attr_accessor :data_key
7840
+
7669
7841
  # Specify response data format. If not set, KeyValue format will be used.
7842
+ # Deprecated. Use FetchFeatureValuesRequest.data_format.
7670
7843
  # Corresponds to the JSON property `format`
7671
7844
  # @return [String]
7672
7845
  attr_accessor :format
@@ -7683,6 +7856,8 @@ module Google
7683
7856
 
7684
7857
  # Update properties of this object
7685
7858
  def update!(**args)
7859
+ @data_format = args[:data_format] if args.key?(:data_format)
7860
+ @data_key = args[:data_key] if args.key?(:data_key)
7686
7861
  @format = args[:format] if args.key?(:format)
7687
7862
  @id = args[:id] if args.key?(:id)
7688
7863
  end
@@ -8785,6 +8960,13 @@ module Google
8785
8960
  # @return [Array<Float>]
8786
8961
  attr_accessor :feature_vector
8787
8962
 
8963
+ # Optional. List of Restrict of the datapoint, used to perform "restricted
8964
+ # searches" where boolean rule are used to filter the subset of the database
8965
+ # eligible for matching. This uses numeric comparisons.
8966
+ # Corresponds to the JSON property `numericRestricts`
8967
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction>]
8968
+ attr_accessor :numeric_restricts
8969
+
8788
8970
  # Optional. List of Restrict of the datapoint, used to perform "restricted
8789
8971
  # searches" where boolean rule are used to filter the subset of the database
8790
8972
  # eligible for matching. This uses categorical tokens. See: https://cloud.google.
@@ -8802,6 +8984,7 @@ module Google
8802
8984
  @crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
8803
8985
  @datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
8804
8986
  @feature_vector = args[:feature_vector] if args.key?(:feature_vector)
8987
+ @numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
8805
8988
  @restricts = args[:restricts] if args.key?(:restricts)
8806
8989
  end
8807
8990
  end
@@ -8831,6 +9014,50 @@ module Google
8831
9014
  end
8832
9015
  end
8833
9016
 
9017
+ # This field allows restricts to be based on numeric comparisons rather than
9018
+ # categorical tokens.
9019
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
9020
+ include Google::Apis::Core::Hashable
9021
+
9022
+ # The namespace of this restriction. e.g.: cost.
9023
+ # Corresponds to the JSON property `namespace`
9024
+ # @return [String]
9025
+ attr_accessor :namespace
9026
+
9027
+ # This MUST be specified for queries and must NOT be specified for datapoints.
9028
+ # Corresponds to the JSON property `op`
9029
+ # @return [String]
9030
+ attr_accessor :op
9031
+
9032
+ # Represents 64 bit float.
9033
+ # Corresponds to the JSON property `valueDouble`
9034
+ # @return [Float]
9035
+ attr_accessor :value_double
9036
+
9037
+ # Represents 32 bit float.
9038
+ # Corresponds to the JSON property `valueFloat`
9039
+ # @return [Float]
9040
+ attr_accessor :value_float
9041
+
9042
+ # Represents 64 bit integer.
9043
+ # Corresponds to the JSON property `valueInt`
9044
+ # @return [Fixnum]
9045
+ attr_accessor :value_int
9046
+
9047
+ def initialize(**args)
9048
+ update!(**args)
9049
+ end
9050
+
9051
+ # Update properties of this object
9052
+ def update!(**args)
9053
+ @namespace = args[:namespace] if args.key?(:namespace)
9054
+ @op = args[:op] if args.key?(:op)
9055
+ @value_double = args[:value_double] if args.key?(:value_double)
9056
+ @value_float = args[:value_float] if args.key?(:value_float)
9057
+ @value_int = args[:value_int] if args.key?(:value_int)
9058
+ end
9059
+ end
9060
+
8834
9061
  # Restriction of a datapoint which describe its attributes(tokens) from each of
8835
9062
  # several attribute categories(namespaces).
8836
9063
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
@@ -11553,6 +11780,12 @@ module Google
11553
11780
  # @return [Array<String>]
11554
11781
  attr_accessor :command
11555
11782
 
11783
+ # Immutable. Deployment timeout. TODO (b/306244185): Revise documentation before
11784
+ # exposing.
11785
+ # Corresponds to the JSON property `deploymentTimeout`
11786
+ # @return [String]
11787
+ attr_accessor :deployment_timeout
11788
+
11556
11789
  # Immutable. List of environment variables to set in the container. After the
11557
11790
  # container starts running, code running in the container can read these
11558
11791
  # environment variables. Additionally, the command and args fields can reference
@@ -11568,6 +11801,12 @@ module Google
11568
11801
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar>]
11569
11802
  attr_accessor :env
11570
11803
 
11804
+ # Probe describes a health check to be performed against a container to
11805
+ # determine whether it is alive or ready to receive traffic.
11806
+ # Corresponds to the JSON property `healthProbe`
11807
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe]
11808
+ attr_accessor :health_probe
11809
+
11571
11810
  # Immutable. HTTP path on the container to send health checks to. Vertex AI
11572
11811
  # intermittently sends GET requests to this path on the container's IP address
11573
11812
  # and port to check that the container is healthy. Read more about [health
@@ -11643,6 +11882,18 @@ module Google
11643
11882
  # @return [String]
11644
11883
  attr_accessor :predict_route
11645
11884
 
11885
+ # Immutable. The amount of the VM memory to reserve as the shared memory for the
11886
+ # model in megabytes. TODO (b/306244185): Revise documentation before exposing.
11887
+ # Corresponds to the JSON property `sharedMemorySizeMb`
11888
+ # @return [Fixnum]
11889
+ attr_accessor :shared_memory_size_mb
11890
+
11891
+ # Probe describes a health check to be performed against a container to
11892
+ # determine whether it is alive or ready to receive traffic.
11893
+ # Corresponds to the JSON property `startupProbe`
11894
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe]
11895
+ attr_accessor :startup_probe
11896
+
11646
11897
  def initialize(**args)
11647
11898
  update!(**args)
11648
11899
  end
@@ -11651,11 +11902,15 @@ module Google
11651
11902
  def update!(**args)
11652
11903
  @args = args[:args] if args.key?(:args)
11653
11904
  @command = args[:command] if args.key?(:command)
11905
+ @deployment_timeout = args[:deployment_timeout] if args.key?(:deployment_timeout)
11654
11906
  @env = args[:env] if args.key?(:env)
11907
+ @health_probe = args[:health_probe] if args.key?(:health_probe)
11655
11908
  @health_route = args[:health_route] if args.key?(:health_route)
11656
11909
  @image_uri = args[:image_uri] if args.key?(:image_uri)
11657
11910
  @ports = args[:ports] if args.key?(:ports)
11658
11911
  @predict_route = args[:predict_route] if args.key?(:predict_route)
11912
+ @shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
11913
+ @startup_probe = args[:startup_probe] if args.key?(:startup_probe)
11659
11914
  end
11660
11915
  end
11661
11916
 
@@ -15106,6 +15361,66 @@ module Google
15106
15361
  end
15107
15362
  end
15108
15363
 
15364
+ # Probe describes a health check to be performed against a container to
15365
+ # determine whether it is alive or ready to receive traffic.
15366
+ class GoogleCloudAiplatformV1beta1Probe
15367
+ include Google::Apis::Core::Hashable
15368
+
15369
+ # ExecAction specifies a command to execute.
15370
+ # Corresponds to the JSON property `exec`
15371
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction]
15372
+ attr_accessor :exec
15373
+
15374
+ # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
15375
+ # value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
15376
+ # argument 'periodSeconds'.
15377
+ # Corresponds to the JSON property `periodSeconds`
15378
+ # @return [Fixnum]
15379
+ attr_accessor :period_seconds
15380
+
15381
+ # Number of seconds after which the probe times out. Defaults to 1 second.
15382
+ # Minimum value is 1. Must be greater or equal to period_seconds. Maps to
15383
+ # Kubernetes probe argument 'timeoutSeconds'.
15384
+ # Corresponds to the JSON property `timeoutSeconds`
15385
+ # @return [Fixnum]
15386
+ attr_accessor :timeout_seconds
15387
+
15388
+ def initialize(**args)
15389
+ update!(**args)
15390
+ end
15391
+
15392
+ # Update properties of this object
15393
+ def update!(**args)
15394
+ @exec = args[:exec] if args.key?(:exec)
15395
+ @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
15396
+ @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
15397
+ end
15398
+ end
15399
+
15400
+ # ExecAction specifies a command to execute.
15401
+ class GoogleCloudAiplatformV1beta1ProbeExecAction
15402
+ include Google::Apis::Core::Hashable
15403
+
15404
+ # Command is the command line to execute inside the container, the working
15405
+ # directory for the command is root ('/') in the container's filesystem. The
15406
+ # command is simply exec'd, it is not run inside a shell, so traditional shell
15407
+ # instructions ('|', etc) won't work. To use a shell, you need to explicitly
15408
+ # call out to that shell. Exit status of 0 is treated as live/healthy and non-
15409
+ # zero is unhealthy.
15410
+ # Corresponds to the JSON property `command`
15411
+ # @return [Array<String>]
15412
+ attr_accessor :command
15413
+
15414
+ def initialize(**args)
15415
+ update!(**args)
15416
+ end
15417
+
15418
+ # Update properties of this object
15419
+ def update!(**args)
15420
+ @command = args[:command] if args.key?(:command)
15421
+ end
15422
+ end
15423
+
15109
15424
  # A Model Garden Publisher Model.
15110
15425
  class GoogleCloudAiplatformV1beta1PublisherModel
15111
15426
  include Google::Apis::Core::Hashable
@@ -16175,6 +16490,25 @@ module Google
16175
16490
  end
16176
16491
  end
16177
16492
 
16493
+ # Details of operations that perform reboot PersistentResource.
16494
+ class GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata
16495
+ include Google::Apis::Core::Hashable
16496
+
16497
+ # Generic Metadata shared by all operations.
16498
+ # Corresponds to the JSON property `genericMetadata`
16499
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
16500
+ attr_accessor :generic_metadata
16501
+
16502
+ def initialize(**args)
16503
+ update!(**args)
16504
+ end
16505
+
16506
+ # Update properties of this object
16507
+ def update!(**args)
16508
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
16509
+ end
16510
+ end
16511
+
16178
16512
  # Request message for MetadataService.DeleteContextChildrenRequest.
16179
16513
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
16180
16514
  include Google::Apis::Core::Hashable
@@ -16248,6 +16582,16 @@ module Google
16248
16582
  # @return [String]
16249
16583
  attr_accessor :event_type
16250
16584
 
16585
+ # The `Status` type defines a logical error model that is suitable for different
16586
+ # programming environments, including REST APIs and RPC APIs. It is used by [
16587
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
16588
+ # data: error code, error message, and error details. You can find out more
16589
+ # about this error model and how to work with it in the [API Design Guide](https:
16590
+ # //cloud.google.com/apis/design/errors).
16591
+ # Corresponds to the JSON property `status`
16592
+ # @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
16593
+ attr_accessor :status
16594
+
16251
16595
  # Required. The VM identity token (a JWT) for authenticating the VM. https://
16252
16596
  # cloud.google.com/compute/docs/instances/verifying-instance-identity
16253
16597
  # Corresponds to the JSON property `vmToken`
@@ -16261,6 +16605,7 @@ module Google
16261
16605
  # Update properties of this object
16262
16606
  def update!(**args)
16263
16607
  @event_type = args[:event_type] if args.key?(:event_type)
16608
+ @status = args[:status] if args.key?(:status)
16264
16609
  @vm_token = args[:vm_token] if args.key?(:vm_token)
16265
16610
  end
16266
16611
  end
@@ -23447,7 +23792,7 @@ module Google
23447
23792
  end
23448
23793
  end
23449
23794
 
23450
- # A message representing a Study. Next id: 12
23795
+ # A message representing a Study.
23451
23796
  class GoogleCloudAiplatformV1beta1Study
23452
23797
  include Google::Apis::Core::Hashable
23453
23798
 
@@ -25102,6 +25447,31 @@ module Google
25102
25447
  end
25103
25448
  end
25104
25449
 
25450
+ # Tokens info with a list of tokens and the corresponding list of token ids.
25451
+ class GoogleCloudAiplatformV1beta1TokensInfo
25452
+ include Google::Apis::Core::Hashable
25453
+
25454
+ # A list of token ids from the input.
25455
+ # Corresponds to the JSON property `tokenIds`
25456
+ # @return [Array<Fixnum>]
25457
+ attr_accessor :token_ids
25458
+
25459
+ # A list of tokens from the input.
25460
+ # Corresponds to the JSON property `tokens`
25461
+ # @return [Array<String>]
25462
+ attr_accessor :tokens
25463
+
25464
+ def initialize(**args)
25465
+ update!(**args)
25466
+ end
25467
+
25468
+ # Update properties of this object
25469
+ def update!(**args)
25470
+ @token_ids = args[:token_ids] if args.key?(:token_ids)
25471
+ @tokens = args[:tokens] if args.key?(:tokens)
25472
+ end
25473
+ end
25474
+
25105
25475
  # CMLE training config. For every active learning labeling iteration, system
25106
25476
  # will train a machine learning model on CMLE. The trained model will be used by
25107
25477
  # data sampling algorithm to select DataItems.
@@ -25927,10 +26297,11 @@ module Google
25927
26297
 
25928
26298
  # Optional. The user-provided custom service account to use to do the model
25929
26299
  # upload. If empty, [Vertex AI Service Agent](https://cloud.google.com/vertex-ai/
25930
- # docs/general/access-control#service-agents) will be used. Users uploading the
25931
- # Model must have the `iam.serviceAccounts.actAs` permission on this service
25932
- # account. Also, this account must belong to the project specified in the `
25933
- # parent` field and have all necessary read permissions.
26300
+ # docs/general/access-control#service-agents) will be used to access resources
26301
+ # needed to upload the model. This account must belong to the target project
26302
+ # where the model is uploaded to, i.e., the project specified in the `parent`
26303
+ # field of this request and have necessary read permissions (to Google Cloud
26304
+ # Storage, Artifact Registry, etc.).
25934
26305
  # Corresponds to the JSON property `serviceAccount`
25935
26306
  # @return [String]
25936
26307
  attr_accessor :service_account
@@ -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.11.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 = "20231111"
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
 
@@ -1216,6 +1246,12 @@ module Google
1216
1246
  include Google::Apis::Core::JsonObjectSupport
1217
1247
  end
1218
1248
 
1249
+ class GoogleCloudAiplatformV1beta1FeatureViewDataKey
1250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1251
+
1252
+ include Google::Apis::Core::JsonObjectSupport
1253
+ end
1254
+
1219
1255
  class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
1220
1256
  class Representation < Google::Apis::Core::JsonRepresentation; end
1221
1257
 
@@ -1486,6 +1522,12 @@ module Google
1486
1522
  include Google::Apis::Core::JsonObjectSupport
1487
1523
  end
1488
1524
 
1525
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
1526
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1527
+
1528
+ include Google::Apis::Core::JsonObjectSupport
1529
+ end
1530
+
1489
1531
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
1490
1532
  class Representation < Google::Apis::Core::JsonRepresentation; end
1491
1533
 
@@ -2482,6 +2524,18 @@ module Google
2482
2524
  include Google::Apis::Core::JsonObjectSupport
2483
2525
  end
2484
2526
 
2527
+ class GoogleCloudAiplatformV1beta1Probe
2528
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2529
+
2530
+ include Google::Apis::Core::JsonObjectSupport
2531
+ end
2532
+
2533
+ class GoogleCloudAiplatformV1beta1ProbeExecAction
2534
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2535
+
2536
+ include Google::Apis::Core::JsonObjectSupport
2537
+ end
2538
+
2485
2539
  class GoogleCloudAiplatformV1beta1PublisherModel
2486
2540
  class Representation < Google::Apis::Core::JsonRepresentation; end
2487
2541
 
@@ -2692,6 +2746,12 @@ module Google
2692
2746
  include Google::Apis::Core::JsonObjectSupport
2693
2747
  end
2694
2748
 
2749
+ class GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata
2750
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2751
+
2752
+ include Google::Apis::Core::JsonObjectSupport
2753
+ end
2754
+
2695
2755
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
2696
2756
  class Representation < Google::Apis::Core::JsonRepresentation; end
2697
2757
 
@@ -4150,6 +4210,12 @@ module Google
4150
4210
  include Google::Apis::Core::JsonObjectSupport
4151
4211
  end
4152
4212
 
4213
+ class GoogleCloudAiplatformV1beta1TokensInfo
4214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4215
+
4216
+ include Google::Apis::Core::JsonObjectSupport
4217
+ end
4218
+
4153
4219
  class GoogleCloudAiplatformV1beta1TrainingConfig
4154
4220
  class Representation < Google::Apis::Core::JsonRepresentation; end
4155
4221
 
@@ -4746,6 +4812,13 @@ module Google
4746
4812
  end
4747
4813
  end
4748
4814
 
4815
+ class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest
4816
+ # @private
4817
+ class Representation < Google::Apis::Core::JsonRepresentation
4818
+ collection :names, as: 'names'
4819
+ end
4820
+ end
4821
+
4749
4822
  class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest
4750
4823
  # @private
4751
4824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5077,6 +5150,21 @@ module Google
5077
5150
  end
5078
5151
  end
5079
5152
 
5153
+ class GoogleCloudAiplatformV1beta1ComputeTokensRequest
5154
+ # @private
5155
+ class Representation < Google::Apis::Core::JsonRepresentation
5156
+ collection :instances, as: 'instances'
5157
+ end
5158
+ end
5159
+
5160
+ class GoogleCloudAiplatformV1beta1ComputeTokensResponse
5161
+ # @private
5162
+ class Representation < Google::Apis::Core::JsonRepresentation
5163
+ collection :tokens_info, as: 'tokensInfo', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TokensInfo, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TokensInfo::Representation
5164
+
5165
+ end
5166
+ end
5167
+
5080
5168
  class GoogleCloudAiplatformV1beta1ContainerRegistryDestination
5081
5169
  # @private
5082
5170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5965,6 +6053,8 @@ module Google
5965
6053
  class GoogleCloudAiplatformV1beta1ExplainRequest
5966
6054
  # @private
5967
6055
  class Representation < Google::Apis::Core::JsonRepresentation
6056
+ hash :concurrent_explanation_spec_override, as: 'concurrentExplanationSpecOverride', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride::Representation
6057
+
5968
6058
  property :deployed_model_id, as: 'deployedModelId'
5969
6059
  property :explanation_spec_override, as: 'explanationSpecOverride', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpecOverride::Representation
5970
6060
 
@@ -5976,6 +6066,8 @@ module Google
5976
6066
  class GoogleCloudAiplatformV1beta1ExplainResponse
5977
6067
  # @private
5978
6068
  class Representation < Google::Apis::Core::JsonRepresentation
6069
+ hash :concurrent_explanations, as: 'concurrentExplanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation::Representation
6070
+
5979
6071
  property :deployed_model_id, as: 'deployedModelId'
5980
6072
  collection :explanations, as: 'explanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation::Representation
5981
6073
 
@@ -5983,6 +6075,14 @@ module Google
5983
6075
  end
5984
6076
  end
5985
6077
 
6078
+ class GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation
6079
+ # @private
6080
+ class Representation < Google::Apis::Core::JsonRepresentation
6081
+ collection :explanations, as: 'explanations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Explanation::Representation
6082
+
6083
+ end
6084
+ end
6085
+
5986
6086
  class GoogleCloudAiplatformV1beta1Explanation
5987
6087
  # @private
5988
6088
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6302,6 +6402,7 @@ module Google
6302
6402
  property :name, as: 'name'
6303
6403
  property :update_time, as: 'updateTime'
6304
6404
  property :value_type, as: 'valueType'
6405
+ property :version_column_name, as: 'versionColumnName'
6305
6406
  end
6306
6407
  end
6307
6408
 
@@ -6366,6 +6467,8 @@ module Google
6366
6467
  property :etag, as: 'etag'
6367
6468
  hash :labels, as: 'labels'
6368
6469
  property :name, as: 'name'
6470
+ property :optimized, as: 'optimized', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized::Representation
6471
+
6369
6472
  property :state, as: 'state'
6370
6473
  property :update_time, as: 'updateTime'
6371
6474
  end
@@ -6391,7 +6494,10 @@ module Google
6391
6494
  class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint
6392
6495
  # @private
6393
6496
  class Representation < Google::Apis::Core::JsonRepresentation
6497
+ property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig::Representation
6498
+
6394
6499
  property :public_endpoint_domain_name, as: 'publicEndpointDomainName'
6500
+ property :service_attachment, as: 'serviceAttachment'
6395
6501
  end
6396
6502
  end
6397
6503
 
@@ -6402,6 +6508,12 @@ module Google
6402
6508
  end
6403
6509
  end
6404
6510
 
6511
+ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized
6512
+ # @private
6513
+ class Representation < Google::Apis::Core::JsonRepresentation
6514
+ end
6515
+ end
6516
+
6405
6517
  class GoogleCloudAiplatformV1beta1FeatureSelector
6406
6518
  # @private
6407
6519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6498,6 +6610,13 @@ module Google
6498
6610
  end
6499
6611
  end
6500
6612
 
6613
+ class GoogleCloudAiplatformV1beta1FeatureViewDataKey
6614
+ # @private
6615
+ class Representation < Google::Apis::Core::JsonRepresentation
6616
+ property :key, as: 'key'
6617
+ end
6618
+ end
6619
+
6501
6620
  class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
6502
6621
  # @private
6503
6622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6638,6 +6757,9 @@ module Google
6638
6757
  class GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest
6639
6758
  # @private
6640
6759
  class Representation < Google::Apis::Core::JsonRepresentation
6760
+ property :data_format, as: 'dataFormat'
6761
+ property :data_key, as: 'dataKey', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKey, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKey::Representation
6762
+
6641
6763
  property :format, as: 'format'
6642
6764
  property :id, as: 'id'
6643
6765
  end
@@ -6940,6 +7062,8 @@ module Google
6940
7062
 
6941
7063
  property :datapoint_id, as: 'datapointId'
6942
7064
  collection :feature_vector, as: 'featureVector'
7065
+ collection :numeric_restricts, as: 'numericRestricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction::Representation
7066
+
6943
7067
  collection :restricts, as: 'restricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction::Representation
6944
7068
 
6945
7069
  end
@@ -6952,6 +7076,17 @@ module Google
6952
7076
  end
6953
7077
  end
6954
7078
 
7079
+ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction
7080
+ # @private
7081
+ class Representation < Google::Apis::Core::JsonRepresentation
7082
+ property :namespace, as: 'namespace'
7083
+ property :op, as: 'op'
7084
+ property :value_double, as: 'valueDouble'
7085
+ property :value_float, as: 'valueFloat'
7086
+ property :value_int, :numeric_string => true, as: 'valueInt'
7087
+ end
7088
+ end
7089
+
6955
7090
  class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
6956
7091
  # @private
6957
7092
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7743,13 +7878,19 @@ module Google
7743
7878
  class Representation < Google::Apis::Core::JsonRepresentation
7744
7879
  collection :args, as: 'args'
7745
7880
  collection :command, as: 'command'
7881
+ property :deployment_timeout, as: 'deploymentTimeout'
7746
7882
  collection :env, as: 'env', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar::Representation
7747
7883
 
7884
+ property :health_probe, as: 'healthProbe', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe::Representation
7885
+
7748
7886
  property :health_route, as: 'healthRoute'
7749
7887
  property :image_uri, as: 'imageUri'
7750
7888
  collection :ports, as: 'ports', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Port, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Port::Representation
7751
7889
 
7752
7890
  property :predict_route, as: 'predictRoute'
7891
+ property :shared_memory_size_mb, :numeric_string => true, as: 'sharedMemorySizeMb'
7892
+ property :startup_probe, as: 'startupProbe', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe::Representation
7893
+
7753
7894
  end
7754
7895
  end
7755
7896
 
@@ -8688,6 +8829,23 @@ module Google
8688
8829
  end
8689
8830
  end
8690
8831
 
8832
+ class GoogleCloudAiplatformV1beta1Probe
8833
+ # @private
8834
+ class Representation < Google::Apis::Core::JsonRepresentation
8835
+ property :exec, as: 'exec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction::Representation
8836
+
8837
+ property :period_seconds, as: 'periodSeconds'
8838
+ property :timeout_seconds, as: 'timeoutSeconds'
8839
+ end
8840
+ end
8841
+
8842
+ class GoogleCloudAiplatformV1beta1ProbeExecAction
8843
+ # @private
8844
+ class Representation < Google::Apis::Core::JsonRepresentation
8845
+ collection :command, as: 'command'
8846
+ end
8847
+ end
8848
+
8691
8849
  class GoogleCloudAiplatformV1beta1PublisherModel
8692
8850
  # @private
8693
8851
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9024,6 +9182,14 @@ module Google
9024
9182
  end
9025
9183
  end
9026
9184
 
9185
+ class GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata
9186
+ # @private
9187
+ class Representation < Google::Apis::Core::JsonRepresentation
9188
+ property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
9189
+
9190
+ end
9191
+ end
9192
+
9027
9193
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
9028
9194
  # @private
9029
9195
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9054,6 +9220,8 @@ module Google
9054
9220
  # @private
9055
9221
  class Representation < Google::Apis::Core::JsonRepresentation
9056
9222
  property :event_type, as: 'eventType'
9223
+ property :status, as: 'status', class: Google::Apis::AiplatformV1beta1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleRpcStatus::Representation
9224
+
9057
9225
  property :vm_token, as: 'vmToken'
9058
9226
  end
9059
9227
  end
@@ -11407,6 +11575,14 @@ module Google
11407
11575
  end
11408
11576
  end
11409
11577
 
11578
+ class GoogleCloudAiplatformV1beta1TokensInfo
11579
+ # @private
11580
+ class Representation < Google::Apis::Core::JsonRepresentation
11581
+ collection :token_ids, as: 'tokenIds'
11582
+ collection :tokens, as: 'tokens'
11583
+ end
11584
+ end
11585
+
11410
11586
  class GoogleCloudAiplatformV1beta1TrainingConfig
11411
11587
  # @private
11412
11588
  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.11.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-19 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.11.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: []