google-apis-aiplatform_v1beta1 0.57.0 → 0.58.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: b75c671f0d317e1e28ff6f580e08396c0008a327a522288912980d28ae8f56ab
4
- data.tar.gz: 7c80bf4be6cccaa66192425435d1ec728f412e8a1810944e3109885984c3c0ed
3
+ metadata.gz: 12a073323bdf39cdc64a459735ff6247208a75f61cb2f560560798b14996d651
4
+ data.tar.gz: bd26491564d7bbe58cd0c3bd8439eb17990d6fe2ded0837f65413d2cd52f2a31
5
5
  SHA512:
6
- metadata.gz: 00c2bf2cbb44459631edf91157fbddd3f1e9f1c0c5bde653d3af0f617c6c9045be2dd2ec04bbfe80e3e4dd09c70f3c74f5672596795cc63c7fe8648f286add96
7
- data.tar.gz: da25c368c2369c11ae3a4d8800e7b46e7b22a7e04402c989fd3bded37788ffe7527b9f9584b3a209a5d9bd48474a70274b8ef3587320f9fff70a93698a8124b2
6
+ metadata.gz: 1093ca567fe4a77ac65266475ada9ec7a360dfd9f0f5429297121b9c08882fa76eb2522efb7cdb96365ba8978476e5f9936d012b8a3d173c97be9a3b4fe5c819
7
+ data.tar.gz: a960e4c163af0a43453697ebf6b459dc274b8471b4982b5aa8956e7ed15fa6ffe46d2780c14f9d75468b32cbff4fea32b9b70219841ca2df9f2bf36bb05c67a6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.58.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250806
6
+
3
7
  ### v0.57.0 (2025-08-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20250731
@@ -6201,6 +6201,18 @@ module Google
6201
6201
  class GoogleCloudAiplatformV1beta1DatasetStats
6202
6202
  include Google::Apis::Core::Hashable
6203
6203
 
6204
+ # Output only. A partial sample of the indices (starting from 1) of the dropped
6205
+ # examples.
6206
+ # Corresponds to the JSON property `droppedExampleIndices`
6207
+ # @return [Array<Fixnum>]
6208
+ attr_accessor :dropped_example_indices
6209
+
6210
+ # Output only. For each index in `dropped_example_indices`, the user-facing
6211
+ # reason why the example was dropped.
6212
+ # Corresponds to the JSON property `droppedExampleReasons`
6213
+ # @return [Array<String>]
6214
+ attr_accessor :dropped_example_reasons
6215
+
6204
6216
  # Output only. Number of billable characters in the tuning dataset.
6205
6217
  # Corresponds to the JSON property `totalBillableCharacterCount`
6206
6218
  # @return [Fixnum]
@@ -6247,6 +6259,8 @@ module Google
6247
6259
 
6248
6260
  # Update properties of this object
6249
6261
  def update!(**args)
6262
+ @dropped_example_indices = args[:dropped_example_indices] if args.key?(:dropped_example_indices)
6263
+ @dropped_example_reasons = args[:dropped_example_reasons] if args.key?(:dropped_example_reasons)
6250
6264
  @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count)
6251
6265
  @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count)
6252
6266
  @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
@@ -6981,12 +6995,26 @@ module Google
6981
6995
  class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig
6982
6996
  include Google::Apis::Core::Hashable
6983
6997
 
6984
- # Optional. If true, the endpoint will be exposed through a dedicated DNS [
6985
- # Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be
6986
- # isolated from other users' traffic and will have better performance and
6987
- # reliability. Note: Once you enabled dedicated endpoint, you won't be able to
6988
- # send request to the shared DNS `region`-aiplatform.googleapis.com. The
6989
- # limitations will be removed soon.
6998
+ # Optional. By default, if dedicated endpoint is enabled, the endpoint will be
6999
+ # exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your
7000
+ # request to the dedicated DNS will be isolated from other users' traffic and
7001
+ # will have better performance and reliability. Note: Once you enabled dedicated
7002
+ # endpoint, you won't be able to send request to the shared DNS `region`-
7003
+ # aiplatform.googleapis.com. The limitations will be removed soon. If this field
7004
+ # is set to true, the dedicated endpoint will be disabled and the deployed model
7005
+ # will be exposed through the shared DNS `region`-aiplatform.googleapis.com.
7006
+ # Corresponds to the JSON property `dedicatedEndpointDisabled`
7007
+ # @return [Boolean]
7008
+ attr_accessor :dedicated_endpoint_disabled
7009
+ alias_method :dedicated_endpoint_disabled?, :dedicated_endpoint_disabled
7010
+
7011
+ # Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the
7012
+ # endpoint will be exposed through a dedicated DNS [Endpoint.
7013
+ # dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated
7014
+ # from other users' traffic and will have better performance and reliability.
7015
+ # Note: Once you enabled dedicated endpoint, you won't be able to send request
7016
+ # to the shared DNS `region`-aiplatform.googleapis.com. The limitations will be
7017
+ # removed soon.
6990
7018
  # Corresponds to the JSON property `dedicatedEndpointEnabled`
6991
7019
  # @return [Boolean]
6992
7020
  attr_accessor :dedicated_endpoint_enabled
@@ -6998,14 +7026,29 @@ module Google
6998
7026
  # @return [String]
6999
7027
  attr_accessor :endpoint_display_name
7000
7028
 
7029
+ # Optional. Immutable. The ID to use for endpoint, which will become the final
7030
+ # component of the endpoint resource name. If not provided, Vertex AI will
7031
+ # generate a value for this ID. If the first character is a letter, this value
7032
+ # may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last
7033
+ # character must be a letter or number. If the first character is a number, this
7034
+ # value may be up to 9 characters, and valid characters are `[0-9]` with no
7035
+ # leading zeros. When using HTTP/JSON, this field is populated based on a query
7036
+ # string argument, such as `?endpoint_id=12345`. This is the fallback for fields
7037
+ # that are not included in either the URI or the body.
7038
+ # Corresponds to the JSON property `endpointUserId`
7039
+ # @return [String]
7040
+ attr_accessor :endpoint_user_id
7041
+
7001
7042
  def initialize(**args)
7002
7043
  update!(**args)
7003
7044
  end
7004
7045
 
7005
7046
  # Update properties of this object
7006
7047
  def update!(**args)
7048
+ @dedicated_endpoint_disabled = args[:dedicated_endpoint_disabled] if args.key?(:dedicated_endpoint_disabled)
7007
7049
  @dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
7008
7050
  @endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
7051
+ @endpoint_user_id = args[:endpoint_user_id] if args.key?(:endpoint_user_id)
7009
7052
  end
7010
7053
  end
7011
7054
 
@@ -8475,6 +8518,44 @@ module Google
8475
8518
  end
8476
8519
  end
8477
8520
 
8521
+ # Evaluate Dataset Run Result for Tuning Job.
8522
+ class GoogleCloudAiplatformV1beta1EvaluateDatasetRun
8523
+ include Google::Apis::Core::Hashable
8524
+
8525
+ # Output only. The checkpoint id used in the evaluation run. Only populated when
8526
+ # evaluating checkpoints.
8527
+ # Corresponds to the JSON property `checkpointId`
8528
+ # @return [String]
8529
+ attr_accessor :checkpoint_id
8530
+
8531
+ # The `Status` type defines a logical error model that is suitable for different
8532
+ # programming environments, including REST APIs and RPC APIs. It is used by [
8533
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
8534
+ # data: error code, error message, and error details. You can find out more
8535
+ # about this error model and how to work with it in the [API Design Guide](https:
8536
+ # //cloud.google.com/apis/design/errors).
8537
+ # Corresponds to the JSON property `error`
8538
+ # @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
8539
+ attr_accessor :error
8540
+
8541
+ # Output only. The operation ID of the evaluation run. Format: `projects/`
8542
+ # project`/locations/`location`/operations/`operation_id``.
8543
+ # Corresponds to the JSON property `operationName`
8544
+ # @return [String]
8545
+ attr_accessor :operation_name
8546
+
8547
+ def initialize(**args)
8548
+ update!(**args)
8549
+ end
8550
+
8551
+ # Update properties of this object
8552
+ def update!(**args)
8553
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
8554
+ @error = args[:error] if args.key?(:error)
8555
+ @operation_name = args[:operation_name] if args.key?(:operation_name)
8556
+ end
8557
+ end
8558
+
8478
8559
  # Request message for EvaluationService.EvaluateInstances.
8479
8560
  class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest
8480
8561
  include Google::Apis::Core::Hashable
@@ -8998,6 +9079,38 @@ module Google
8998
9079
  end
8999
9080
  end
9000
9081
 
9082
+ # Evaluation Config for Tuning Job.
9083
+ class GoogleCloudAiplatformV1beta1EvaluationConfig
9084
+ include Google::Apis::Core::Hashable
9085
+
9086
+ # The configs for autorater. This is applicable to both EvaluateInstances and
9087
+ # EvaluateDataset.
9088
+ # Corresponds to the JSON property `autoraterConfig`
9089
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoraterConfig]
9090
+ attr_accessor :autorater_config
9091
+
9092
+ # Required. The metrics used for evaluation.
9093
+ # Corresponds to the JSON property `metrics`
9094
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric>]
9095
+ attr_accessor :metrics
9096
+
9097
+ # Config for evaluation output.
9098
+ # Corresponds to the JSON property `outputConfig`
9099
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OutputConfig]
9100
+ attr_accessor :output_config
9101
+
9102
+ def initialize(**args)
9103
+ update!(**args)
9104
+ end
9105
+
9106
+ # Update properties of this object
9107
+ def update!(**args)
9108
+ @autorater_config = args[:autorater_config] if args.key?(:autorater_config)
9109
+ @metrics = args[:metrics] if args.key?(:metrics)
9110
+ @output_config = args[:output_config] if args.key?(:output_config)
9111
+ end
9112
+ end
9113
+
9001
9114
  # The dataset used for evaluation.
9002
9115
  class GoogleCloudAiplatformV1beta1EvaluationDataset
9003
9116
  include Google::Apis::Core::Hashable
@@ -14926,6 +15039,11 @@ module Google
14926
15039
  # @return [Hash<String,String>]
14927
15040
  attr_accessor :labels
14928
15041
 
15042
+ # Configuration for Model Armor integrations of prompt and responses.
15043
+ # Corresponds to the JSON property `modelArmorConfig`
15044
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelArmorConfig]
15045
+ attr_accessor :model_armor_config
15046
+
14929
15047
  # Optional. Per request settings for blocking unsafe content. Enforced on
14930
15048
  # GenerateContentResponse.candidates.
14931
15049
  # Corresponds to the JSON property `safetySettings`
@@ -14963,6 +15081,7 @@ module Google
14963
15081
  @contents = args[:contents] if args.key?(:contents)
14964
15082
  @generation_config = args[:generation_config] if args.key?(:generation_config)
14965
15083
  @labels = args[:labels] if args.key?(:labels)
15084
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
14966
15085
  @safety_settings = args[:safety_settings] if args.key?(:safety_settings)
14967
15086
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
14968
15087
  @tool_config = args[:tool_config] if args.key?(:tool_config)
@@ -16082,6 +16201,12 @@ module Google
16082
16201
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
16083
16202
  include Google::Apis::Core::Hashable
16084
16203
 
16204
+ # Output only. The full document name for the referenced Vertex AI Search
16205
+ # document.
16206
+ # Corresponds to the JSON property `documentName`
16207
+ # @return [String]
16208
+ attr_accessor :document_name
16209
+
16085
16210
  # A RagChunk includes the content of a chunk of a RagFile, and associated
16086
16211
  # metadata.
16087
16212
  # Corresponds to the JSON property `ragChunk`
@@ -16109,6 +16234,7 @@ module Google
16109
16234
 
16110
16235
  # Update properties of this object
16111
16236
  def update!(**args)
16237
+ @document_name = args[:document_name] if args.key?(:document_name)
16112
16238
  @rag_chunk = args[:rag_chunk] if args.key?(:rag_chunk)
16113
16239
  @text = args[:text] if args.key?(:text)
16114
16240
  @title = args[:title] if args.key?(:title)
@@ -19852,6 +19978,12 @@ module Google
19852
19978
  # @return [String]
19853
19979
  attr_accessor :display_name
19854
19980
 
19981
+ # Optional. Timestamp of when this resource is considered expired. This is *
19982
+ # always* provided on output, regardless of what `expiration` was sent on input.
19983
+ # Corresponds to the JSON property `expireTime`
19984
+ # @return [String]
19985
+ attr_accessor :expire_time
19986
+
19855
19987
  # Required. Semantic knowledge extracted from the source content.
19856
19988
  # Corresponds to the JSON property `fact`
19857
19989
  # @return [String]
@@ -19870,6 +20002,12 @@ module Google
19870
20002
  # @return [Hash<String,String>]
19871
20003
  attr_accessor :scope
19872
20004
 
20005
+ # Optional. Input only. The TTL for this resource. The expiration time is
20006
+ # computed: now + TTL.
20007
+ # Corresponds to the JSON property `ttl`
20008
+ # @return [String]
20009
+ attr_accessor :ttl
20010
+
19873
20011
  # Output only. Timestamp when this Memory was most recently updated.
19874
20012
  # Corresponds to the JSON property `updateTime`
19875
20013
  # @return [String]
@@ -19884,9 +20022,11 @@ module Google
19884
20022
  @create_time = args[:create_time] if args.key?(:create_time)
19885
20023
  @description = args[:description] if args.key?(:description)
19886
20024
  @display_name = args[:display_name] if args.key?(:display_name)
20025
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
19887
20026
  @fact = args[:fact] if args.key?(:fact)
19888
20027
  @name = args[:name] if args.key?(:name)
19889
20028
  @scope = args[:scope] if args.key?(:scope)
20029
+ @ttl = args[:ttl] if args.key?(:ttl)
19890
20030
  @update_time = args[:update_time] if args.key?(:update_time)
19891
20031
  end
19892
20032
  end
@@ -20949,6 +21089,32 @@ module Google
20949
21089
  end
20950
21090
  end
20951
21091
 
21092
+ # Configuration for Model Armor integrations of prompt and responses.
21093
+ class GoogleCloudAiplatformV1beta1ModelArmorConfig
21094
+ include Google::Apis::Core::Hashable
21095
+
21096
+ # Optional. The name of the Model Armor template to use for prompt sanitization.
21097
+ # Corresponds to the JSON property `promptTemplateName`
21098
+ # @return [String]
21099
+ attr_accessor :prompt_template_name
21100
+
21101
+ # Optional. The name of the Model Armor template to use for response
21102
+ # sanitization.
21103
+ # Corresponds to the JSON property `responseTemplateName`
21104
+ # @return [String]
21105
+ attr_accessor :response_template_name
21106
+
21107
+ def initialize(**args)
21108
+ update!(**args)
21109
+ end
21110
+
21111
+ # Update properties of this object
21112
+ def update!(**args)
21113
+ @prompt_template_name = args[:prompt_template_name] if args.key?(:prompt_template_name)
21114
+ @response_template_name = args[:response_template_name] if args.key?(:response_template_name)
21115
+ end
21116
+ end
21117
+
20952
21118
  # User input field to specify the base model source. Currently it only supports
20953
21119
  # specifing the Model Garden models and Genie models.
20954
21120
  class GoogleCloudAiplatformV1beta1ModelBaseModelSource
@@ -27537,6 +27703,18 @@ module Google
27537
27703
  class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats
27538
27704
  include Google::Apis::Core::Hashable
27539
27705
 
27706
+ # Output only. A partial sample of the indices (starting from 1) of the dropped
27707
+ # examples.
27708
+ # Corresponds to the JSON property `droppedExampleIndices`
27709
+ # @return [Array<Fixnum>]
27710
+ attr_accessor :dropped_example_indices
27711
+
27712
+ # Output only. For each index in `dropped_example_indices`, the user-facing
27713
+ # reason why the example was dropped.
27714
+ # Corresponds to the JSON property `droppedExampleReasons`
27715
+ # @return [Array<String>]
27716
+ attr_accessor :dropped_example_reasons
27717
+
27540
27718
  # Distribution computed over a tuning dataset.
27541
27719
  # Corresponds to the JSON property `scoreVariancePerExampleDistribution`
27542
27720
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
@@ -27583,6 +27761,8 @@ module Google
27583
27761
 
27584
27762
  # Update properties of this object
27585
27763
  def update!(**args)
27764
+ @dropped_example_indices = args[:dropped_example_indices] if args.key?(:dropped_example_indices)
27765
+ @dropped_example_reasons = args[:dropped_example_reasons] if args.key?(:dropped_example_reasons)
27586
27766
  @score_variance_per_example_distribution = args[:score_variance_per_example_distribution] if args.key?(:score_variance_per_example_distribution)
27587
27767
  @scores_distribution = args[:scores_distribution] if args.key?(:scores_distribution)
27588
27768
  @total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count)
@@ -27636,6 +27816,11 @@ module Google
27636
27816
  class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
27637
27817
  include Google::Apis::Core::Hashable
27638
27818
 
27819
+ # Evaluation Config for Tuning Job.
27820
+ # Corresponds to the JSON property `evaluationConfig`
27821
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig]
27822
+ attr_accessor :evaluation_config
27823
+
27639
27824
  # Hyperparameters for Preference Optimization.
27640
27825
  # Corresponds to the JSON property `hyperParameters`
27641
27826
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters]
@@ -27659,6 +27844,7 @@ module Google
27659
27844
 
27660
27845
  # Update properties of this object
27661
27846
  def update!(**args)
27847
+ @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config)
27662
27848
  @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
27663
27849
  @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
27664
27850
  @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
@@ -29754,7 +29940,8 @@ module Google
29754
29940
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig]
29755
29941
  attr_accessor :rag_embedding_model_config
29756
29942
 
29757
- # Output only. Number of RagFiles in the RagCorpus.
29943
+ # Output only. Number of RagFiles in the RagCorpus. NOTE: This field is not
29944
+ # populated in the response of VertexRagDataService.ListRagCorpora.
29758
29945
  # Corresponds to the JSON property `ragFilesCount`
29759
29946
  # @return [Fixnum]
29760
29947
  attr_accessor :rag_files_count
@@ -31634,6 +31821,12 @@ module Google
31634
31821
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec
31635
31822
  include Google::Apis::Core::Hashable
31636
31823
 
31824
+ # Optional. Concurrency for each container and agent server. Recommended value:
31825
+ # 2 * cpu + 1. Defaults to 9.
31826
+ # Corresponds to the JSON property `containerConcurrency`
31827
+ # @return [Fixnum]
31828
+ attr_accessor :container_concurrency
31829
+
31637
31830
  # Optional. Environment variables to be set with the Reasoning Engine deployment.
31638
31831
  # The environment variables can be updated through the UpdateReasoningEngine
31639
31832
  # API.
@@ -31641,6 +31834,32 @@ module Google
31641
31834
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar>]
31642
31835
  attr_accessor :env
31643
31836
 
31837
+ # Optional. The maximum number of application instances that can be launched to
31838
+ # handle increased traffic. Defaults to 100.
31839
+ # Corresponds to the JSON property `maxInstances`
31840
+ # @return [Fixnum]
31841
+ attr_accessor :max_instances
31842
+
31843
+ # Optional. The minimum number of application instances that will be kept
31844
+ # running at all times. Defaults to 1.
31845
+ # Corresponds to the JSON property `minInstances`
31846
+ # @return [Fixnum]
31847
+ attr_accessor :min_instances
31848
+
31849
+ # Configuration for PSC-I.
31850
+ # Corresponds to the JSON property `pscInterfaceConfig`
31851
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscInterfaceConfig]
31852
+ attr_accessor :psc_interface_config
31853
+
31854
+ # Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are
31855
+ # supported. Defaults to `"cpu": "4", "memory": "4Gi"`. * The only supported
31856
+ # values for CPU are '1', '2', '4', and '8'. For more information, go to https://
31857
+ # cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and
31858
+ # syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
31859
+ # Corresponds to the JSON property `resourceLimits`
31860
+ # @return [Hash<String,String>]
31861
+ attr_accessor :resource_limits
31862
+
31644
31863
  # Optional. Environment variables where the value is a secret in Cloud Secret
31645
31864
  # Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/
31646
31865
  # secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.
@@ -31654,7 +31873,12 @@ module Google
31654
31873
 
31655
31874
  # Update properties of this object
31656
31875
  def update!(**args)
31876
+ @container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
31657
31877
  @env = args[:env] if args.key?(:env)
31878
+ @max_instances = args[:max_instances] if args.key?(:max_instances)
31879
+ @min_instances = args[:min_instances] if args.key?(:min_instances)
31880
+ @psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
31881
+ @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
31658
31882
  @secret_env = args[:secret_env] if args.key?(:secret_env)
31659
31883
  end
31660
31884
  end
@@ -31775,6 +31999,136 @@ module Google
31775
31999
  end
31776
32000
  end
31777
32001
 
32002
+ # Request message for ModelService.RecommendSpec.
32003
+ class GoogleCloudAiplatformV1beta1RecommendSpecRequest
32004
+ include Google::Apis::Core::Hashable
32005
+
32006
+ # Optional. If true, check machine availability for the recommended regions.
32007
+ # Only return the machine spec in regions where the machine is available.
32008
+ # Corresponds to the JSON property `checkMachineAvailability`
32009
+ # @return [Boolean]
32010
+ attr_accessor :check_machine_availability
32011
+ alias_method :check_machine_availability?, :check_machine_availability
32012
+
32013
+ # Optional. If true, check user quota for the recommended regions. Returns all
32014
+ # the machine spec in regions they are available, and also the user quota state
32015
+ # for each machine type in each region.
32016
+ # Corresponds to the JSON property `checkUserQuota`
32017
+ # @return [Boolean]
32018
+ attr_accessor :check_user_quota
32019
+ alias_method :check_user_quota?, :check_user_quota
32020
+
32021
+ # Required. The Google Cloud Storage URI of the custom model, storing weights
32022
+ # and config files (which can be used to infer the base model).
32023
+ # Corresponds to the JSON property `gcsUri`
32024
+ # @return [String]
32025
+ attr_accessor :gcs_uri
32026
+
32027
+ def initialize(**args)
32028
+ update!(**args)
32029
+ end
32030
+
32031
+ # Update properties of this object
32032
+ def update!(**args)
32033
+ @check_machine_availability = args[:check_machine_availability] if args.key?(:check_machine_availability)
32034
+ @check_user_quota = args[:check_user_quota] if args.key?(:check_user_quota)
32035
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
32036
+ end
32037
+ end
32038
+
32039
+ # Response message for ModelService.RecommendSpec.
32040
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponse
32041
+ include Google::Apis::Core::Hashable
32042
+
32043
+ # Output only. The base model used to finetune the custom model.
32044
+ # Corresponds to the JSON property `baseModel`
32045
+ # @return [String]
32046
+ attr_accessor :base_model
32047
+
32048
+ # Output only. Recommendations of deployment options for the given custom
32049
+ # weights model.
32050
+ # Corresponds to the JSON property `recommendations`
32051
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation>]
32052
+ attr_accessor :recommendations
32053
+
32054
+ # Output only. The machine and model container specs.
32055
+ # Corresponds to the JSON property `specs`
32056
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec>]
32057
+ attr_accessor :specs
32058
+
32059
+ def initialize(**args)
32060
+ update!(**args)
32061
+ end
32062
+
32063
+ # Update properties of this object
32064
+ def update!(**args)
32065
+ @base_model = args[:base_model] if args.key?(:base_model)
32066
+ @recommendations = args[:recommendations] if args.key?(:recommendations)
32067
+ @specs = args[:specs] if args.key?(:specs)
32068
+ end
32069
+ end
32070
+
32071
+ # A machine and model container spec.
32072
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec
32073
+ include Google::Apis::Core::Hashable
32074
+
32075
+ # Specification of a container for serving predictions. Some fields in this
32076
+ # message correspond to fields in the [Kubernetes Container v1 core
32077
+ # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
32078
+ # v1.23/#container-v1-core).
32079
+ # Corresponds to the JSON property `containerSpec`
32080
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec]
32081
+ attr_accessor :container_spec
32082
+
32083
+ # Specification of a single machine.
32084
+ # Corresponds to the JSON property `machineSpec`
32085
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
32086
+ attr_accessor :machine_spec
32087
+
32088
+ def initialize(**args)
32089
+ update!(**args)
32090
+ end
32091
+
32092
+ # Update properties of this object
32093
+ def update!(**args)
32094
+ @container_spec = args[:container_spec] if args.key?(:container_spec)
32095
+ @machine_spec = args[:machine_spec] if args.key?(:machine_spec)
32096
+ end
32097
+ end
32098
+
32099
+ # Recommendation of one deployment option for the given custom weights model in
32100
+ # one region. Contains the machine and container spec, and user accelerator
32101
+ # quota state.
32102
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation
32103
+ include Google::Apis::Core::Hashable
32104
+
32105
+ # The region for the deployment spec (machine).
32106
+ # Corresponds to the JSON property `region`
32107
+ # @return [String]
32108
+ attr_accessor :region
32109
+
32110
+ # A machine and model container spec.
32111
+ # Corresponds to the JSON property `spec`
32112
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec]
32113
+ attr_accessor :spec
32114
+
32115
+ # Output only. The user accelerator quota state.
32116
+ # Corresponds to the JSON property `userQuotaState`
32117
+ # @return [String]
32118
+ attr_accessor :user_quota_state
32119
+
32120
+ def initialize(**args)
32121
+ update!(**args)
32122
+ end
32123
+
32124
+ # Update properties of this object
32125
+ def update!(**args)
32126
+ @region = args[:region] if args.key?(:region)
32127
+ @spec = args[:spec] if args.key?(:spec)
32128
+ @user_quota_state = args[:user_quota_state] if args.key?(:user_quota_state)
32129
+ end
32130
+ end
32131
+
31778
32132
  # Request message for MetadataService.DeleteContextChildrenRequest.
31779
32133
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
31780
32134
  include Google::Apis::Core::Hashable
@@ -43837,6 +44191,11 @@ module Google
43837
44191
  class GoogleCloudAiplatformV1beta1SupervisedTuningSpec
43838
44192
  include Google::Apis::Core::Hashable
43839
44193
 
44194
+ # Evaluation Config for Tuning Job.
44195
+ # Corresponds to the JSON property `evaluationConfig`
44196
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig]
44197
+ attr_accessor :evaluation_config
44198
+
43840
44199
  # Optional. If set to true, disable intermediate checkpoints for SFT and only
43841
44200
  # the last checkpoint will be exported. Otherwise, enable intermediate
43842
44201
  # checkpoints for SFT. Default is false.
@@ -43875,6 +44234,7 @@ module Google
43875
44234
 
43876
44235
  # Update properties of this object
43877
44236
  def update!(**args)
44237
+ @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config)
43878
44238
  @export_last_checkpoint_only = args[:export_last_checkpoint_only] if args.key?(:export_last_checkpoint_only)
43879
44239
  @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
43880
44240
  @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
@@ -46476,6 +46836,11 @@ module Google
46476
46836
  # @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
46477
46837
  attr_accessor :error
46478
46838
 
46839
+ # Output only. Evaluation runs for the Tuning Job.
46840
+ # Corresponds to the JSON property `evaluateDatasetRuns`
46841
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRun>]
46842
+ attr_accessor :evaluate_dataset_runs
46843
+
46479
46844
  # Output only. The Experiment associated with this TuningJob.
46480
46845
  # Corresponds to the JSON property `experiment`
46481
46846
  # @return [String]
@@ -46579,6 +46944,12 @@ module Google
46579
46944
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TuningDataStats]
46580
46945
  attr_accessor :tuning_data_stats
46581
46946
 
46947
+ # Output only. The detail state of the tuning job (while the overall `JobState`
46948
+ # is running).
46949
+ # Corresponds to the JSON property `tuningJobState`
46950
+ # @return [String]
46951
+ attr_accessor :tuning_job_state
46952
+
46582
46953
  # Output only. Time when the TuningJob was most recently updated.
46583
46954
  # Corresponds to the JSON property `updateTime`
46584
46955
  # @return [String]
@@ -46603,6 +46974,7 @@ module Google
46603
46974
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
46604
46975
  @end_time = args[:end_time] if args.key?(:end_time)
46605
46976
  @error = args[:error] if args.key?(:error)
46977
+ @evaluate_dataset_runs = args[:evaluate_dataset_runs] if args.key?(:evaluate_dataset_runs)
46606
46978
  @experiment = args[:experiment] if args.key?(:experiment)
46607
46979
  @labels = args[:labels] if args.key?(:labels)
46608
46980
  @name = args[:name] if args.key?(:name)
@@ -46620,6 +46992,7 @@ module Google
46620
46992
  @tuned_model = args[:tuned_model] if args.key?(:tuned_model)
46621
46993
  @tuned_model_display_name = args[:tuned_model_display_name] if args.key?(:tuned_model_display_name)
46622
46994
  @tuning_data_stats = args[:tuning_data_stats] if args.key?(:tuning_data_stats)
46995
+ @tuning_job_state = args[:tuning_job_state] if args.key?(:tuning_job_state)
46623
46996
  @update_time = args[:update_time] if args.key?(:update_time)
46624
46997
  @veo_tuning_spec = args[:veo_tuning_spec] if args.key?(:veo_tuning_spec)
46625
46998
  end
@@ -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.57.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250731"
25
+ REVISION = "20250806"
26
26
  end
27
27
  end
28
28
  end
@@ -1474,6 +1474,12 @@ module Google
1474
1474
  include Google::Apis::Core::JsonObjectSupport
1475
1475
  end
1476
1476
 
1477
+ class GoogleCloudAiplatformV1beta1EvaluateDatasetRun
1478
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1479
+
1480
+ include Google::Apis::Core::JsonObjectSupport
1481
+ end
1482
+
1477
1483
  class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest
1478
1484
  class Representation < Google::Apis::Core::JsonRepresentation; end
1479
1485
 
@@ -1498,6 +1504,12 @@ module Google
1498
1504
  include Google::Apis::Core::JsonObjectSupport
1499
1505
  end
1500
1506
 
1507
+ class GoogleCloudAiplatformV1beta1EvaluationConfig
1508
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1509
+
1510
+ include Google::Apis::Core::JsonObjectSupport
1511
+ end
1512
+
1501
1513
  class GoogleCloudAiplatformV1beta1EvaluationDataset
1502
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1503
1515
 
@@ -3502,6 +3514,12 @@ module Google
3502
3514
  include Google::Apis::Core::JsonObjectSupport
3503
3515
  end
3504
3516
 
3517
+ class GoogleCloudAiplatformV1beta1ModelArmorConfig
3518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3519
+
3520
+ include Google::Apis::Core::JsonObjectSupport
3521
+ end
3522
+
3505
3523
  class GoogleCloudAiplatformV1beta1ModelBaseModelSource
3506
3524
  class Representation < Google::Apis::Core::JsonRepresentation; end
3507
3525
 
@@ -5272,6 +5290,30 @@ module Google
5272
5290
  include Google::Apis::Core::JsonObjectSupport
5273
5291
  end
5274
5292
 
5293
+ class GoogleCloudAiplatformV1beta1RecommendSpecRequest
5294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5295
+
5296
+ include Google::Apis::Core::JsonObjectSupport
5297
+ end
5298
+
5299
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponse
5300
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5301
+
5302
+ include Google::Apis::Core::JsonObjectSupport
5303
+ end
5304
+
5305
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec
5306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5307
+
5308
+ include Google::Apis::Core::JsonObjectSupport
5309
+ end
5310
+
5311
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation
5312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5313
+
5314
+ include Google::Apis::Core::JsonObjectSupport
5315
+ end
5316
+
5275
5317
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
5276
5318
  class Representation < Google::Apis::Core::JsonRepresentation; end
5277
5319
 
@@ -10113,6 +10155,8 @@ module Google
10113
10155
  class GoogleCloudAiplatformV1beta1DatasetStats
10114
10156
  # @private
10115
10157
  class Representation < Google::Apis::Core::JsonRepresentation
10158
+ collection :dropped_example_indices, as: 'droppedExampleIndices'
10159
+ collection :dropped_example_reasons, as: 'droppedExampleReasons'
10116
10160
  property :total_billable_character_count, :numeric_string => true, as: 'totalBillableCharacterCount'
10117
10161
  property :total_tuning_character_count, :numeric_string => true, as: 'totalTuningCharacterCount'
10118
10162
  property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
@@ -10341,8 +10385,10 @@ module Google
10341
10385
  class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig
10342
10386
  # @private
10343
10387
  class Representation < Google::Apis::Core::JsonRepresentation
10388
+ property :dedicated_endpoint_disabled, as: 'dedicatedEndpointDisabled'
10344
10389
  property :dedicated_endpoint_enabled, as: 'dedicatedEndpointEnabled'
10345
10390
  property :endpoint_display_name, as: 'endpointDisplayName'
10391
+ property :endpoint_user_id, as: 'endpointUserId'
10346
10392
  end
10347
10393
  end
10348
10394
 
@@ -10715,6 +10761,16 @@ module Google
10715
10761
  end
10716
10762
  end
10717
10763
 
10764
+ class GoogleCloudAiplatformV1beta1EvaluateDatasetRun
10765
+ # @private
10766
+ class Representation < Google::Apis::Core::JsonRepresentation
10767
+ property :checkpoint_id, as: 'checkpointId'
10768
+ property :error, as: 'error', class: Google::Apis::AiplatformV1beta1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleRpcStatus::Representation
10769
+
10770
+ property :operation_name, as: 'operationName'
10771
+ end
10772
+ end
10773
+
10718
10774
  class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest
10719
10775
  # @private
10720
10776
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10881,6 +10937,18 @@ module Google
10881
10937
  end
10882
10938
  end
10883
10939
 
10940
+ class GoogleCloudAiplatformV1beta1EvaluationConfig
10941
+ # @private
10942
+ class Representation < Google::Apis::Core::JsonRepresentation
10943
+ property :autorater_config, as: 'autoraterConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoraterConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoraterConfig::Representation
10944
+
10945
+ collection :metrics, as: 'metrics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric::Representation
10946
+
10947
+ property :output_config, as: 'outputConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OutputConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OutputConfig::Representation
10948
+
10949
+ end
10950
+ end
10951
+
10884
10952
  class GoogleCloudAiplatformV1beta1EvaluationDataset
10885
10953
  # @private
10886
10954
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12535,6 +12603,8 @@ module Google
12535
12603
  property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
12536
12604
 
12537
12605
  hash :labels, as: 'labels'
12606
+ property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelArmorConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelArmorConfig::Representation
12607
+
12538
12608
  collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting::Representation
12539
12609
 
12540
12610
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
@@ -12880,6 +12950,7 @@ module Google
12880
12950
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
12881
12951
  # @private
12882
12952
  class Representation < Google::Apis::Core::JsonRepresentation
12953
+ property :document_name, as: 'documentName'
12883
12954
  property :rag_chunk, as: 'ragChunk', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk::Representation
12884
12955
 
12885
12956
  property :text, as: 'text'
@@ -14021,9 +14092,11 @@ module Google
14021
14092
  property :create_time, as: 'createTime'
14022
14093
  property :description, as: 'description'
14023
14094
  property :display_name, as: 'displayName'
14095
+ property :expire_time, as: 'expireTime'
14024
14096
  property :fact, as: 'fact'
14025
14097
  property :name, as: 'name'
14026
14098
  hash :scope, as: 'scope'
14099
+ property :ttl, as: 'ttl'
14027
14100
  property :update_time, as: 'updateTime'
14028
14101
  end
14029
14102
  end
@@ -14310,6 +14383,14 @@ module Google
14310
14383
  end
14311
14384
  end
14312
14385
 
14386
+ class GoogleCloudAiplatformV1beta1ModelArmorConfig
14387
+ # @private
14388
+ class Representation < Google::Apis::Core::JsonRepresentation
14389
+ property :prompt_template_name, as: 'promptTemplateName'
14390
+ property :response_template_name, as: 'responseTemplateName'
14391
+ end
14392
+ end
14393
+
14313
14394
  class GoogleCloudAiplatformV1beta1ModelBaseModelSource
14314
14395
  # @private
14315
14396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16117,6 +16198,8 @@ module Google
16117
16198
  class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats
16118
16199
  # @private
16119
16200
  class Representation < Google::Apis::Core::JsonRepresentation
16201
+ collection :dropped_example_indices, as: 'droppedExampleIndices'
16202
+ collection :dropped_example_reasons, as: 'droppedExampleReasons'
16120
16203
  property :score_variance_per_example_distribution, as: 'scoreVariancePerExampleDistribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution::Representation
16121
16204
 
16122
16205
  property :scores_distribution, as: 'scoresDistribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution::Representation
@@ -16146,6 +16229,8 @@ module Google
16146
16229
  class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
16147
16230
  # @private
16148
16231
  class Representation < Google::Apis::Core::JsonRepresentation
16232
+ property :evaluation_config, as: 'evaluationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig::Representation
16233
+
16149
16234
  property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters::Representation
16150
16235
 
16151
16236
  property :training_dataset_uri, as: 'trainingDatasetUri'
@@ -17385,8 +17470,14 @@ module Google
17385
17470
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec
17386
17471
  # @private
17387
17472
  class Representation < Google::Apis::Core::JsonRepresentation
17473
+ property :container_concurrency, as: 'containerConcurrency'
17388
17474
  collection :env, as: 'env', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar::Representation
17389
17475
 
17476
+ property :max_instances, as: 'maxInstances'
17477
+ property :min_instances, as: 'minInstances'
17478
+ property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscInterfaceConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscInterfaceConfig::Representation
17479
+
17480
+ hash :resource_limits, as: 'resourceLimits'
17390
17481
  collection :secret_env, as: 'secretEnv', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretEnvVar, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretEnvVar::Representation
17391
17482
 
17392
17483
  end
@@ -17430,6 +17521,46 @@ module Google
17430
17521
  end
17431
17522
  end
17432
17523
 
17524
+ class GoogleCloudAiplatformV1beta1RecommendSpecRequest
17525
+ # @private
17526
+ class Representation < Google::Apis::Core::JsonRepresentation
17527
+ property :check_machine_availability, as: 'checkMachineAvailability'
17528
+ property :check_user_quota, as: 'checkUserQuota'
17529
+ property :gcs_uri, as: 'gcsUri'
17530
+ end
17531
+ end
17532
+
17533
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponse
17534
+ # @private
17535
+ class Representation < Google::Apis::Core::JsonRepresentation
17536
+ property :base_model, as: 'baseModel'
17537
+ collection :recommendations, as: 'recommendations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation::Representation
17538
+
17539
+ collection :specs, as: 'specs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec::Representation
17540
+
17541
+ end
17542
+ end
17543
+
17544
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec
17545
+ # @private
17546
+ class Representation < Google::Apis::Core::JsonRepresentation
17547
+ property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec::Representation
17548
+
17549
+ property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec::Representation
17550
+
17551
+ end
17552
+ end
17553
+
17554
+ class GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation
17555
+ # @private
17556
+ class Representation < Google::Apis::Core::JsonRepresentation
17557
+ property :region, as: 'region'
17558
+ property :spec, as: 'spec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec::Representation
17559
+
17560
+ property :user_quota_state, as: 'userQuotaState'
17561
+ end
17562
+ end
17563
+
17433
17564
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
17434
17565
  # @private
17435
17566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20778,6 +20909,8 @@ module Google
20778
20909
  class GoogleCloudAiplatformV1beta1SupervisedTuningSpec
20779
20910
  # @private
20780
20911
  class Representation < Google::Apis::Core::JsonRepresentation
20912
+ property :evaluation_config, as: 'evaluationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationConfig::Representation
20913
+
20781
20914
  property :export_last_checkpoint_only, as: 'exportLastCheckpointOnly'
20782
20915
  property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters::Representation
20783
20916
 
@@ -21589,6 +21722,8 @@ module Google
21589
21722
  property :end_time, as: 'endTime'
21590
21723
  property :error, as: 'error', class: Google::Apis::AiplatformV1beta1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleRpcStatus::Representation
21591
21724
 
21725
+ collection :evaluate_dataset_runs, as: 'evaluateDatasetRuns', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRun, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRun::Representation
21726
+
21592
21727
  property :experiment, as: 'experiment'
21593
21728
  hash :labels, as: 'labels'
21594
21729
  property :name, as: 'name'
@@ -21612,6 +21747,7 @@ module Google
21612
21747
  property :tuned_model_display_name, as: 'tunedModelDisplayName'
21613
21748
  property :tuning_data_stats, as: 'tuningDataStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TuningDataStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TuningDataStats::Representation
21614
21749
 
21750
+ property :tuning_job_state, as: 'tuningJobState'
21615
21751
  property :update_time, as: 'updateTime'
21616
21752
  property :veo_tuning_spec, as: 'veoTuningSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoTuningSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoTuningSpec::Representation
21617
21753
 
@@ -1350,6 +1350,42 @@ module Google
1350
1350
  execute_or_queue_command(command, &block)
1351
1351
  end
1352
1352
 
1353
+ # Gets a Model's spec recommendations. This API is called by UI, SDK, and
1354
+ # internal.
1355
+ # @param [String] parent
1356
+ # Required. The resource name of the Location from which to recommend specs. The
1357
+ # users must have permission to make a call in the project. Format: `projects/`
1358
+ # project`/locations/`location``.
1359
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecRequest] google_cloud_aiplatform_v1beta1_recommend_spec_request_object
1360
+ # @param [String] fields
1361
+ # Selector specifying which fields to include in a partial response.
1362
+ # @param [String] quota_user
1363
+ # Available to use for quota purposes for server-side applications. Can be any
1364
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1365
+ # @param [Google::Apis::RequestOptions] options
1366
+ # Request-specific options
1367
+ #
1368
+ # @yield [result, err] Result & error if block supplied
1369
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponse] parsed result object
1370
+ # @yieldparam err [StandardError] error object if request failed
1371
+ #
1372
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponse]
1373
+ #
1374
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1375
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1376
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1377
+ def recommend_project_location_spec(parent, google_cloud_aiplatform_v1beta1_recommend_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1378
+ command = make_simple_command(:post, 'v1beta1/{+parent}:recommendSpec', options)
1379
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecRequest::Representation
1380
+ command.request_object = google_cloud_aiplatform_v1beta1_recommend_spec_request_object
1381
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponse::Representation
1382
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RecommendSpecResponse
1383
+ command.params['parent'] = parent unless parent.nil?
1384
+ command.query['fields'] = fields unless fields.nil?
1385
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1386
+ execute_or_queue_command(command, &block)
1387
+ end
1388
+
1353
1389
  # Retrieves relevant contexts for a query.
1354
1390
  # @param [String] parent
1355
1391
  # Required. The resource name of the Location from which to retrieve RagContexts.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.57.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.58.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: