google-apis-aiplatform_v1 0.50.0 → 0.52.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: 2c80b3550a13ebc4046b143d742095e3ebfeea7763c2807bb95e55d61a1afa97
4
- data.tar.gz: 20e365e762991356a6f79b1dccb848a5b67587c4adf11f880ce22a38a9f330c2
3
+ metadata.gz: 9141964c8b63ee520b864bcedb45d82b461e535e37039bbf818e2aaf8e1612b9
4
+ data.tar.gz: fcec71c6c746a077cd48f537f6d5f9d04d7e06cbf3dddbe398f759abcf268371
5
5
  SHA512:
6
- metadata.gz: 3e3a22fee12e3b30b64264f877626765a5624431bb3a8466daf3056baf731ffa1d975a74215b29d54e6d01cea84e377f3a4ca81b9fcefd0cdad88e29f832cfbe
7
- data.tar.gz: 499c600b9af9e475e2ad732dab7442dccd01e19abbf545aba04ff51b07cab28d3ff8a36c63daab53694f242b07ea722426dfe608d00a967249ba4ea8d6e86ec3
6
+ metadata.gz: 02f826f20de9de5968fe3f05b29a13f852b4ddd6b84e3b6a058f955c7b25ae87150a7dadcc26fc2feaba31f453229e6a747be8f9810b936ed71ff7f2d283a66e
7
+ data.tar.gz: 6a02f4534928c3cb8ad87975690f5c2120879c97e29a67bd33c1578bebde0d4034f395e6b256561a1acedf025ab3f25d87b947c1e427f5fbb9e3c7fc80876094
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.52.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250502
6
+
7
+ ### v0.51.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250501
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.50.0 (2025-04-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20250415
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/vertex-ai/) may provide gui
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -1056,7 +1056,9 @@ module Google
1056
1056
  include Google::Apis::Core::Hashable
1057
1057
 
1058
1058
  # A runtime is a virtual machine allocated to a particular user for a particular
1059
- # Notebook file on temporary basis with lifetime limited to 24 hours.
1059
+ # Notebook file on temporary basis with lifetime. Default runtimes have a
1060
+ # lifetime of 18 hours, while custom runtimes last for 6 months from their
1061
+ # creation or last upgrade.
1060
1062
  # Corresponds to the JSON property `notebookRuntime`
1061
1063
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntime]
1062
1064
  attr_accessor :notebook_runtime
@@ -2648,6 +2650,12 @@ module Google
2648
2650
  # @return [String]
2649
2651
  attr_accessor :display_name
2650
2652
 
2653
+ # Represents a customer-managed encryption key spec that can be applied to a top-
2654
+ # level resource.
2655
+ # Corresponds to the JSON property `encryptionSpec`
2656
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
2657
+ attr_accessor :encryption_spec
2658
+
2651
2659
  # Timestamp of when this resource is considered expired. This is *always*
2652
2660
  # provided on output, regardless of what was sent on input.
2653
2661
  # Corresponds to the JSON property `expireTime`
@@ -2712,6 +2720,7 @@ module Google
2712
2720
  @contents = args[:contents] if args.key?(:contents)
2713
2721
  @create_time = args[:create_time] if args.key?(:create_time)
2714
2722
  @display_name = args[:display_name] if args.key?(:display_name)
2723
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
2715
2724
  @expire_time = args[:expire_time] if args.key?(:expire_time)
2716
2725
  @model = args[:model] if args.key?(:model)
2717
2726
  @name = args[:name] if args.key?(:name)
@@ -3009,6 +3018,37 @@ module Google
3009
3018
  end
3010
3019
  end
3011
3020
 
3021
+ # Describes the machine learning model version checkpoint.
3022
+ class GoogleCloudAiplatformV1Checkpoint
3023
+ include Google::Apis::Core::Hashable
3024
+
3025
+ # The ID of the checkpoint.
3026
+ # Corresponds to the JSON property `checkpointId`
3027
+ # @return [String]
3028
+ attr_accessor :checkpoint_id
3029
+
3030
+ # The epoch of the checkpoint.
3031
+ # Corresponds to the JSON property `epoch`
3032
+ # @return [Fixnum]
3033
+ attr_accessor :epoch
3034
+
3035
+ # The step of the checkpoint.
3036
+ # Corresponds to the JSON property `step`
3037
+ # @return [Fixnum]
3038
+ attr_accessor :step
3039
+
3040
+ def initialize(**args)
3041
+ update!(**args)
3042
+ end
3043
+
3044
+ # Update properties of this object
3045
+ def update!(**args)
3046
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
3047
+ @epoch = args[:epoch] if args.key?(:epoch)
3048
+ @step = args[:step] if args.key?(:step)
3049
+ end
3050
+ end
3051
+
3012
3052
  # Source attributions for content.
3013
3053
  class GoogleCloudAiplatformV1Citation
3014
3054
  include Google::Apis::Core::Hashable
@@ -6096,6 +6136,11 @@ module Google
6096
6136
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutomaticResources]
6097
6137
  attr_accessor :automatic_resources
6098
6138
 
6139
+ # The checkpoint id of the model.
6140
+ # Corresponds to the JSON property `checkpointId`
6141
+ # @return [String]
6142
+ attr_accessor :checkpoint_id
6143
+
6099
6144
  # Output only. Timestamp when the DeployedModel was created.
6100
6145
  # Corresponds to the JSON property `createTime`
6101
6146
  # @return [String]
@@ -6219,6 +6264,7 @@ module Google
6219
6264
  # Update properties of this object
6220
6265
  def update!(**args)
6221
6266
  @automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
6267
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
6222
6268
  @create_time = args[:create_time] if args.key?(:create_time)
6223
6269
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
6224
6270
  @disable_container_logging = args[:disable_container_logging] if args.key?(:disable_container_logging)
@@ -6243,6 +6289,11 @@ module Google
6243
6289
  class GoogleCloudAiplatformV1DeployedModelRef
6244
6290
  include Google::Apis::Core::Hashable
6245
6291
 
6292
+ # Immutable. The ID of the Checkpoint deployed in the DeployedModel.
6293
+ # Corresponds to the JSON property `checkpointId`
6294
+ # @return [String]
6295
+ attr_accessor :checkpoint_id
6296
+
6246
6297
  # Immutable. An ID of a DeployedModel in the above Endpoint.
6247
6298
  # Corresponds to the JSON property `deployedModelId`
6248
6299
  # @return [String]
@@ -6259,6 +6310,7 @@ module Google
6259
6310
 
6260
6311
  # Update properties of this object
6261
6312
  def update!(**args)
6313
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
6262
6314
  @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
6263
6315
  @endpoint = args[:endpoint] if args.key?(:endpoint)
6264
6316
  end
@@ -12310,6 +12362,13 @@ module Google
12310
12362
  class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
12311
12363
  include Google::Apis::Core::Hashable
12312
12364
 
12365
+ # Optional. Indicates whether to include thoughts in the response. If true,
12366
+ # thoughts are returned only when available.
12367
+ # Corresponds to the JSON property `includeThoughts`
12368
+ # @return [Boolean]
12369
+ attr_accessor :include_thoughts
12370
+ alias_method :include_thoughts?, :include_thoughts
12371
+
12313
12372
  # Optional. Indicates the thinking budget in tokens. This is only applied when
12314
12373
  # enable_thinking is true.
12315
12374
  # Corresponds to the JSON property `thinkingBudget`
@@ -12322,6 +12381,7 @@ module Google
12322
12381
 
12323
12382
  # Update properties of this object
12324
12383
  def update!(**args)
12384
+ @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
12325
12385
  @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
12326
12386
  end
12327
12387
  end
@@ -16568,6 +16628,11 @@ module Google
16568
16628
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource]
16569
16629
  attr_accessor :base_model_source
16570
16630
 
16631
+ # Optional. Output only. The checkpoints of the model.
16632
+ # Corresponds to the JSON property `checkpoints`
16633
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Checkpoint>]
16634
+ attr_accessor :checkpoints
16635
+
16571
16636
  # Specification of a container for serving predictions. Some fields in this
16572
16637
  # message correspond to fields in the [Kubernetes Container v1 core
16573
16638
  # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
@@ -16808,6 +16873,7 @@ module Google
16808
16873
  def update!(**args)
16809
16874
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
16810
16875
  @base_model_source = args[:base_model_source] if args.key?(:base_model_source)
16876
+ @checkpoints = args[:checkpoints] if args.key?(:checkpoints)
16811
16877
  @container_spec = args[:container_spec] if args.key?(:container_spec)
16812
16878
  @create_time = args[:create_time] if args.key?(:create_time)
16813
16879
  @data_stats = args[:data_stats] if args.key?(:data_stats)
@@ -18339,13 +18405,6 @@ module Google
18339
18405
  # @return [Fixnum]
18340
18406
  attr_accessor :epoch
18341
18407
 
18342
- # Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/
18343
- # `project`/locations/`location`/models/`model`/versions/`version`/checkpoints/`
18344
- # checkpoint``
18345
- # Corresponds to the JSON property `name`
18346
- # @return [String]
18347
- attr_accessor :name
18348
-
18349
18408
  # The step of the checkpoint.
18350
18409
  # Corresponds to the JSON property `step`
18351
18410
  # @return [Fixnum]
@@ -18359,7 +18418,6 @@ module Google
18359
18418
  def update!(**args)
18360
18419
  @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
18361
18420
  @epoch = args[:epoch] if args.key?(:epoch)
18362
- @name = args[:name] if args.key?(:name)
18363
18421
  @step = args[:step] if args.key?(:step)
18364
18422
  end
18365
18423
  end
@@ -19719,7 +19777,9 @@ module Google
19719
19777
  end
19720
19778
 
19721
19779
  # A runtime is a virtual machine allocated to a particular user for a particular
19722
- # Notebook file on temporary basis with lifetime limited to 24 hours.
19780
+ # Notebook file on temporary basis with lifetime. Default runtimes have a
19781
+ # lifetime of 18 hours, while custom runtimes last for 6 months from their
19782
+ # creation or last upgrade.
19723
19783
  class GoogleCloudAiplatformV1NotebookRuntime
19724
19784
  include Google::Apis::Core::Hashable
19725
19785
 
@@ -19878,7 +19938,8 @@ module Google
19878
19938
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig]
19879
19939
  attr_accessor :shielded_vm_config
19880
19940
 
19881
- # Notebook Software Config.
19941
+ # Notebook Software Config. This is passed to the backend when user makes
19942
+ # software configurations in UI.
19882
19943
  # Corresponds to the JSON property `softwareConfig`
19883
19944
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookSoftwareConfig]
19884
19945
  attr_accessor :software_config
@@ -20048,7 +20109,8 @@ module Google
20048
20109
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig]
20049
20110
  attr_accessor :shielded_vm_config
20050
20111
 
20051
- # Notebook Software Config.
20112
+ # Notebook Software Config. This is passed to the backend when user makes
20113
+ # software configurations in UI.
20052
20114
  # Corresponds to the JSON property `softwareConfig`
20053
20115
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookSoftwareConfig]
20054
20116
  attr_accessor :software_config
@@ -20107,7 +20169,8 @@ module Google
20107
20169
  end
20108
20170
  end
20109
20171
 
20110
- # Notebook Software Config.
20172
+ # Notebook Software Config. This is passed to the backend when user makes
20173
+ # software configurations in UI.
20111
20174
  class GoogleCloudAiplatformV1NotebookSoftwareConfig
20112
20175
  include Google::Apis::Core::Hashable
20113
20176
 
@@ -23890,6 +23953,11 @@ module Google
23890
23953
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser]
23891
23954
  attr_accessor :layout_parser
23892
23955
 
23956
+ # Specifies the advanced parsing for RagFiles.
23957
+ # Corresponds to the JSON property `llmParser`
23958
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser]
23959
+ attr_accessor :llm_parser
23960
+
23893
23961
  def initialize(**args)
23894
23962
  update!(**args)
23895
23963
  end
@@ -23897,6 +23965,7 @@ module Google
23897
23965
  # Update properties of this object
23898
23966
  def update!(**args)
23899
23967
  @layout_parser = args[:layout_parser] if args.key?(:layout_parser)
23968
+ @llm_parser = args[:llm_parser] if args.key?(:llm_parser)
23900
23969
  end
23901
23970
  end
23902
23971
 
@@ -23933,6 +24002,41 @@ module Google
23933
24002
  end
23934
24003
  end
23935
24004
 
24005
+ # Specifies the advanced parsing for RagFiles.
24006
+ class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
24007
+ include Google::Apis::Core::Hashable
24008
+
24009
+ # The prompt to use for parsing. If not specified, a default prompt will be used.
24010
+ # Corresponds to the JSON property `customParsingPrompt`
24011
+ # @return [String]
24012
+ attr_accessor :custom_parsing_prompt
24013
+
24014
+ # The maximum number of requests the job is allowed to make to the LLM model per
24015
+ # minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
24016
+ # and your document size to set an appropriate value here. If unspecified, a
24017
+ # default value of 5000 QPM would be used.
24018
+ # Corresponds to the JSON property `maxParsingRequestsPerMin`
24019
+ # @return [Fixnum]
24020
+ attr_accessor :max_parsing_requests_per_min
24021
+
24022
+ # The name of a LLM model used for parsing. Format: * `projects/`project_id`/
24023
+ # locations/`location`/publishers/`publisher`/models/`model``
24024
+ # Corresponds to the JSON property `modelName`
24025
+ # @return [String]
24026
+ attr_accessor :model_name
24027
+
24028
+ def initialize(**args)
24029
+ update!(**args)
24030
+ end
24031
+
24032
+ # Update properties of this object
24033
+ def update!(**args)
24034
+ @custom_parsing_prompt = args[:custom_parsing_prompt] if args.key?(:custom_parsing_prompt)
24035
+ @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
24036
+ @model_name = args[:model_name] if args.key?(:model_name)
24037
+ end
24038
+ end
24039
+
23936
24040
  # Specifies the transformation config for RagFiles.
23937
24041
  class GoogleCloudAiplatformV1RagFileTransformationConfig
23938
24042
  include Google::Apis::Core::Hashable
@@ -24703,7 +24807,8 @@ module Google
24703
24807
  # @return [String]
24704
24808
  attr_accessor :etag
24705
24809
 
24706
- # Identifier. The resource name of the ReasoningEngine.
24810
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
24811
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
24707
24812
  # Corresponds to the JSON property `name`
24708
24813
  # @return [String]
24709
24814
  attr_accessor :name
@@ -26259,6 +26364,12 @@ module Google
26259
26364
  class GoogleCloudAiplatformV1Schema
26260
26365
  include Google::Apis::Core::Hashable
26261
26366
 
26367
+ # Optional. Can either be a boolean or an object; controls the presence of
26368
+ # additional properties.
26369
+ # Corresponds to the JSON property `additionalProperties`
26370
+ # @return [Object]
26371
+ attr_accessor :additional_properties
26372
+
26262
26373
  # Optional. The value should be validated against any (one or more) of the
26263
26374
  # subschemas in the list.
26264
26375
  # Corresponds to the JSON property `anyOf`
@@ -26270,6 +26381,12 @@ module Google
26270
26381
  # @return [Object]
26271
26382
  attr_accessor :default
26272
26383
 
26384
+ # Optional. A map of definitions for use by `ref` Only allowed at the root of
26385
+ # the schema.
26386
+ # Corresponds to the JSON property `defs`
26387
+ # @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
26388
+ attr_accessor :defs
26389
+
26273
26390
  # Optional. The description of the data.
26274
26391
  # Corresponds to the JSON property `description`
26275
26392
  # @return [String]
@@ -26367,6 +26484,17 @@ module Google
26367
26484
  # @return [Array<String>]
26368
26485
  attr_accessor :property_ordering
26369
26486
 
26487
+ # Optional. Allows indirect references between schema nodes. The value should be
26488
+ # a valid reference to a child of the root `defs`. For example, the following
26489
+ # schema defines a reference to a schema node named "Pet": type: object
26490
+ # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name:
26491
+ # type: string The value of the "pet" property is a reference to the schema node
26492
+ # named "Pet". See details in https://json-schema.org/understanding-json-schema/
26493
+ # structuring
26494
+ # Corresponds to the JSON property `ref`
26495
+ # @return [String]
26496
+ attr_accessor :ref
26497
+
26370
26498
  # Optional. Required properties of Type.OBJECT.
26371
26499
  # Corresponds to the JSON property `required`
26372
26500
  # @return [Array<String>]
@@ -26388,8 +26516,10 @@ module Google
26388
26516
 
26389
26517
  # Update properties of this object
26390
26518
  def update!(**args)
26519
+ @additional_properties = args[:additional_properties] if args.key?(:additional_properties)
26391
26520
  @any_of = args[:any_of] if args.key?(:any_of)
26392
26521
  @default = args[:default] if args.key?(:default)
26522
+ @defs = args[:defs] if args.key?(:defs)
26393
26523
  @description = args[:description] if args.key?(:description)
26394
26524
  @enum = args[:enum] if args.key?(:enum)
26395
26525
  @example = args[:example] if args.key?(:example)
@@ -26407,6 +26537,7 @@ module Google
26407
26537
  @pattern = args[:pattern] if args.key?(:pattern)
26408
26538
  @properties = args[:properties] if args.key?(:properties)
26409
26539
  @property_ordering = args[:property_ordering] if args.key?(:property_ordering)
26540
+ @ref = args[:ref] if args.key?(:ref)
26410
26541
  @required = args[:required] if args.key?(:required)
26411
26542
  @title = args[:title] if args.key?(:title)
26412
26543
  @type = args[:type] if args.key?(:type)
@@ -35419,7 +35550,7 @@ module Google
35419
35550
  include Google::Apis::Core::Hashable
35420
35551
 
35421
35552
  # Output only. For each index in `truncated_example_indices`, the user-facing
35422
- # reason why the example was dropped. Must not include example itself.
35553
+ # reason why the example was dropped.
35423
35554
  # Corresponds to the JSON property `droppedExampleReasons`
35424
35555
  # @return [Array<String>]
35425
35556
  attr_accessor :dropped_example_reasons
@@ -35606,6 +35737,14 @@ module Google
35606
35737
  class GoogleCloudAiplatformV1SupervisedTuningSpec
35607
35738
  include Google::Apis::Core::Hashable
35608
35739
 
35740
+ # Optional. If set to true, disable intermediate checkpoints for SFT and only
35741
+ # the last checkpoint will be exported. Otherwise, enable intermediate
35742
+ # checkpoints for SFT. Default is false.
35743
+ # Corresponds to the JSON property `exportLastCheckpointOnly`
35744
+ # @return [Boolean]
35745
+ attr_accessor :export_last_checkpoint_only
35746
+ alias_method :export_last_checkpoint_only?, :export_last_checkpoint_only
35747
+
35609
35748
  # Hyperparameters for SFT.
35610
35749
  # Corresponds to the JSON property `hyperParameters`
35611
35750
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters]
@@ -35629,6 +35768,7 @@ module Google
35629
35768
 
35630
35769
  # Update properties of this object
35631
35770
  def update!(**args)
35771
+ @export_last_checkpoint_only = args[:export_last_checkpoint_only] if args.key?(:export_last_checkpoint_only)
35632
35772
  @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
35633
35773
  @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
35634
35774
  @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
@@ -37936,6 +38076,12 @@ module Google
37936
38076
  class GoogleCloudAiplatformV1TunedModel
37937
38077
  include Google::Apis::Core::Hashable
37938
38078
 
38079
+ # Output only. The checkpoints associated with this TunedModel. This field is
38080
+ # only populated for tuning jobs that enable intermediate checkpoints.
38081
+ # Corresponds to the JSON property `checkpoints`
38082
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelCheckpoint>]
38083
+ attr_accessor :checkpoints
38084
+
37939
38085
  # Output only. A resource name of an Endpoint. Format: `projects/`project`/
37940
38086
  # locations/`location`/endpoints/`endpoint``.
37941
38087
  # Corresponds to the JSON property `endpoint`
@@ -37954,11 +38100,50 @@ module Google
37954
38100
 
37955
38101
  # Update properties of this object
37956
38102
  def update!(**args)
38103
+ @checkpoints = args[:checkpoints] if args.key?(:checkpoints)
37957
38104
  @endpoint = args[:endpoint] if args.key?(:endpoint)
37958
38105
  @model = args[:model] if args.key?(:model)
37959
38106
  end
37960
38107
  end
37961
38108
 
38109
+ # TunedModelCheckpoint for the Tuned Model of a Tuning Job.
38110
+ class GoogleCloudAiplatformV1TunedModelCheckpoint
38111
+ include Google::Apis::Core::Hashable
38112
+
38113
+ # The ID of the checkpoint.
38114
+ # Corresponds to the JSON property `checkpointId`
38115
+ # @return [String]
38116
+ attr_accessor :checkpoint_id
38117
+
38118
+ # The Endpoint resource name that the checkpoint is deployed to. Format: `
38119
+ # projects/`project`/locations/`location`/endpoints/`endpoint``.
38120
+ # Corresponds to the JSON property `endpoint`
38121
+ # @return [String]
38122
+ attr_accessor :endpoint
38123
+
38124
+ # The epoch of the checkpoint.
38125
+ # Corresponds to the JSON property `epoch`
38126
+ # @return [Fixnum]
38127
+ attr_accessor :epoch
38128
+
38129
+ # The step of the checkpoint.
38130
+ # Corresponds to the JSON property `step`
38131
+ # @return [Fixnum]
38132
+ attr_accessor :step
38133
+
38134
+ def initialize(**args)
38135
+ update!(**args)
38136
+ end
38137
+
38138
+ # Update properties of this object
38139
+ def update!(**args)
38140
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
38141
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
38142
+ @epoch = args[:epoch] if args.key?(:epoch)
38143
+ @step = args[:step] if args.key?(:step)
38144
+ end
38145
+ end
38146
+
37962
38147
  # TunedModel Reference for legacy model migration.
37963
38148
  class GoogleCloudAiplatformV1TunedModelRef
37964
38149
  include Google::Apis::Core::Hashable
@@ -38934,6 +39119,17 @@ module Google
38934
39119
  # @return [String]
38935
39120
  attr_accessor :engine
38936
39121
 
39122
+ # Optional. Filter strings to be passed to the search API.
39123
+ # Corresponds to the JSON property `filter`
39124
+ # @return [String]
39125
+ attr_accessor :filter
39126
+
39127
+ # Optional. Number of search results to return per query. The default value is
39128
+ # 10. The maximumm allowed value is 10.
39129
+ # Corresponds to the JSON property `maxResults`
39130
+ # @return [Fixnum]
39131
+ attr_accessor :max_results
39132
+
38937
39133
  def initialize(**args)
38938
39134
  update!(**args)
38939
39135
  end
@@ -38942,6 +39138,8 @@ module Google
38942
39138
  def update!(**args)
38943
39139
  @datastore = args[:datastore] if args.key?(:datastore)
38944
39140
  @engine = args[:engine] if args.key?(:engine)
39141
+ @filter = args[:filter] if args.key?(:filter)
39142
+ @max_results = args[:max_results] if args.key?(:max_results)
38945
39143
  end
38946
39144
  end
38947
39145
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250415"
25
+ REVISION = "20250502"
26
26
  end
27
27
  end
28
28
  end
@@ -574,6 +574,12 @@ module Google
574
574
  include Google::Apis::Core::JsonObjectSupport
575
575
  end
576
576
 
577
+ class GoogleCloudAiplatformV1Checkpoint
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
577
583
  class GoogleCloudAiplatformV1Citation
578
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
585
 
@@ -3874,6 +3880,12 @@ module Google
3874
3880
  include Google::Apis::Core::JsonObjectSupport
3875
3881
  end
3876
3882
 
3883
+ class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
3884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3885
+
3886
+ include Google::Apis::Core::JsonObjectSupport
3887
+ end
3888
+
3877
3889
  class GoogleCloudAiplatformV1RagFileTransformationConfig
3878
3890
  class Representation < Google::Apis::Core::JsonRepresentation; end
3879
3891
 
@@ -6376,6 +6388,12 @@ module Google
6376
6388
  include Google::Apis::Core::JsonObjectSupport
6377
6389
  end
6378
6390
 
6391
+ class GoogleCloudAiplatformV1TunedModelCheckpoint
6392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6393
+
6394
+ include Google::Apis::Core::JsonObjectSupport
6395
+ end
6396
+
6379
6397
  class GoogleCloudAiplatformV1TunedModelRef
6380
6398
  class Representation < Google::Apis::Core::JsonRepresentation; end
6381
6399
 
@@ -7544,6 +7562,8 @@ module Google
7544
7562
 
7545
7563
  property :create_time, as: 'createTime'
7546
7564
  property :display_name, as: 'displayName'
7565
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
7566
+
7547
7567
  property :expire_time, as: 'expireTime'
7548
7568
  property :model, as: 'model'
7549
7569
  property :name, as: 'name'
@@ -7662,6 +7682,15 @@ module Google
7662
7682
  end
7663
7683
  end
7664
7684
 
7685
+ class GoogleCloudAiplatformV1Checkpoint
7686
+ # @private
7687
+ class Representation < Google::Apis::Core::JsonRepresentation
7688
+ property :checkpoint_id, as: 'checkpointId'
7689
+ property :epoch, :numeric_string => true, as: 'epoch'
7690
+ property :step, :numeric_string => true, as: 'step'
7691
+ end
7692
+ end
7693
+
7665
7694
  class GoogleCloudAiplatformV1Citation
7666
7695
  # @private
7667
7696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8546,6 +8575,7 @@ module Google
8546
8575
  class Representation < Google::Apis::Core::JsonRepresentation
8547
8576
  property :automatic_resources, as: 'automaticResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutomaticResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutomaticResources::Representation
8548
8577
 
8578
+ property :checkpoint_id, as: 'checkpointId'
8549
8579
  property :create_time, as: 'createTime'
8550
8580
  property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
8551
8581
 
@@ -8575,6 +8605,7 @@ module Google
8575
8605
  class GoogleCloudAiplatformV1DeployedModelRef
8576
8606
  # @private
8577
8607
  class Representation < Google::Apis::Core::JsonRepresentation
8608
+ property :checkpoint_id, as: 'checkpointId'
8578
8609
  property :deployed_model_id, as: 'deployedModelId'
8579
8610
  property :endpoint, as: 'endpoint'
8580
8611
  end
@@ -10255,6 +10286,7 @@ module Google
10255
10286
  class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
10256
10287
  # @private
10257
10288
  class Representation < Google::Apis::Core::JsonRepresentation
10289
+ property :include_thoughts, as: 'includeThoughts'
10258
10290
  property :thinking_budget, as: 'thinkingBudget'
10259
10291
  end
10260
10292
  end
@@ -11548,6 +11580,8 @@ module Google
11548
11580
  property :artifact_uri, as: 'artifactUri'
11549
11581
  property :base_model_source, as: 'baseModelSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource::Representation
11550
11582
 
11583
+ collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Checkpoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Checkpoint::Representation
11584
+
11551
11585
  property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec::Representation
11552
11586
 
11553
11587
  property :create_time, as: 'createTime'
@@ -11961,7 +11995,6 @@ module Google
11961
11995
  class Representation < Google::Apis::Core::JsonRepresentation
11962
11996
  property :checkpoint_id, as: 'checkpointId'
11963
11997
  property :epoch, :numeric_string => true, as: 'epoch'
11964
- property :name, as: 'name'
11965
11998
  property :step, :numeric_string => true, as: 'step'
11966
11999
  end
11967
12000
  end
@@ -13535,6 +13568,8 @@ module Google
13535
13568
  class Representation < Google::Apis::Core::JsonRepresentation
13536
13569
  property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser::Representation
13537
13570
 
13571
+ property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser::Representation
13572
+
13538
13573
  end
13539
13574
  end
13540
13575
 
@@ -13546,6 +13581,15 @@ module Google
13546
13581
  end
13547
13582
  end
13548
13583
 
13584
+ class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
13585
+ # @private
13586
+ class Representation < Google::Apis::Core::JsonRepresentation
13587
+ property :custom_parsing_prompt, as: 'customParsingPrompt'
13588
+ property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
13589
+ property :model_name, as: 'modelName'
13590
+ end
13591
+ end
13592
+
13549
13593
  class GoogleCloudAiplatformV1RagFileTransformationConfig
13550
13594
  # @private
13551
13595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14282,9 +14326,12 @@ module Google
14282
14326
  class GoogleCloudAiplatformV1Schema
14283
14327
  # @private
14284
14328
  class Representation < Google::Apis::Core::JsonRepresentation
14329
+ property :additional_properties, as: 'additionalProperties'
14285
14330
  collection :any_of, as: 'anyOf', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
14286
14331
 
14287
14332
  property :default, as: 'default'
14333
+ hash :defs, as: 'defs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
14334
+
14288
14335
  property :description, as: 'description'
14289
14336
  collection :enum, as: 'enum'
14290
14337
  property :example, as: 'example'
@@ -14304,6 +14351,7 @@ module Google
14304
14351
  hash :properties, as: 'properties', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
14305
14352
 
14306
14353
  collection :property_ordering, as: 'propertyOrdering'
14354
+ property :ref, as: 'ref'
14307
14355
  collection :required, as: 'required'
14308
14356
  property :title, as: 'title'
14309
14357
  property :type, as: 'type'
@@ -16826,6 +16874,7 @@ module Google
16826
16874
  class GoogleCloudAiplatformV1SupervisedTuningSpec
16827
16875
  # @private
16828
16876
  class Representation < Google::Apis::Core::JsonRepresentation
16877
+ property :export_last_checkpoint_only, as: 'exportLastCheckpointOnly'
16829
16878
  property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters::Representation
16830
16879
 
16831
16880
  property :training_dataset_uri, as: 'trainingDatasetUri'
@@ -17556,11 +17605,23 @@ module Google
17556
17605
  class GoogleCloudAiplatformV1TunedModel
17557
17606
  # @private
17558
17607
  class Representation < Google::Apis::Core::JsonRepresentation
17608
+ collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelCheckpoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelCheckpoint::Representation
17609
+
17559
17610
  property :endpoint, as: 'endpoint'
17560
17611
  property :model, as: 'model'
17561
17612
  end
17562
17613
  end
17563
17614
 
17615
+ class GoogleCloudAiplatformV1TunedModelCheckpoint
17616
+ # @private
17617
+ class Representation < Google::Apis::Core::JsonRepresentation
17618
+ property :checkpoint_id, as: 'checkpointId'
17619
+ property :endpoint, as: 'endpoint'
17620
+ property :epoch, :numeric_string => true, as: 'epoch'
17621
+ property :step, :numeric_string => true, as: 'step'
17622
+ end
17623
+ end
17624
+
17564
17625
  class GoogleCloudAiplatformV1TunedModelRef
17565
17626
  # @private
17566
17627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17890,6 +17951,8 @@ module Google
17890
17951
  class Representation < Google::Apis::Core::JsonRepresentation
17891
17952
  property :datastore, as: 'datastore'
17892
17953
  property :engine, as: 'engine'
17954
+ property :filter, as: 'filter'
17955
+ property :max_results, as: 'maxResults'
17893
17956
  end
17894
17957
  end
17895
17958
 
@@ -18550,7 +18550,8 @@ module Google
18550
18550
 
18551
18551
  # Updates a reasoning engine.
18552
18552
  # @param [String] name
18553
- # Identifier. The resource name of the ReasoningEngine.
18553
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
18554
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
18554
18555
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
18555
18556
  # @param [String] update_mask
18556
18557
  # Optional. Mask specifying which fields to update.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.52.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Vertex AI API V1
79
79
  test_files: []