google-apis-aiplatform_v1beta1 0.44.0 → 0.46.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: ebddeed01d23d2a20c243bd5f6e30c6b6b97dfa1d3b01191ddee275727bdcf3c
4
- data.tar.gz: 5bea23a5512672a54f46b9dbaac9bfb1713336a83fc3efdb532d59406ab61554
3
+ metadata.gz: e1a530b3ef0090a1b885256b8c64db02f6525d7ed2e1df0d9ea7cf399425897c
4
+ data.tar.gz: a41833c879f917f82ba59dea9e99bcb11b41aafe96fe9578282627caf3cee618
5
5
  SHA512:
6
- metadata.gz: 722c6a5443db9a4f16c955a4325e2ff7fcc582f22f05b6932fc38535c87b0309a06575fcf1fe248ec653f0fa4feb8ff98ff70192116cffcc7d9ebda8fea9f7e4
7
- data.tar.gz: 51583ce861691e240fcc9300897cc966f500a4d21653519a50bf29cd16062f48408971a770b9316b962941f53c1148db880bb7c9326833a52f04d257bae259d6
6
+ metadata.gz: 1577d8aed097fd13187a3dbe0cefb35645a44695ce4e05a730d81e01ab59f7289e9be6be84f776554f0269edd645b23d0771a2c201787625bb36529ada8c64a4
7
+ data.tar.gz: f28cc4a03e210dfbee1447853722bd4d7235e167445d201174128632d74489aad332e4c0ae66399bf8b6cb9d7981e2e6d4b2a0a52ad570252b85204011369515
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.46.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250502
6
+
7
+ ### v0.45.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250501
10
+
3
11
  ### v0.44.0 (2025-05-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20250422
@@ -1306,7 +1306,9 @@ module Google
1306
1306
  include Google::Apis::Core::Hashable
1307
1307
 
1308
1308
  # A runtime is a virtual machine allocated to a particular user for a particular
1309
- # Notebook file on temporary basis with lifetime limited to 24 hours.
1309
+ # Notebook file on temporary basis with lifetime. Default runtimes have a
1310
+ # lifetime of 18 hours, while custom runtimes last for 6 months from their
1311
+ # creation or last upgrade.
1310
1312
  # Corresponds to the JSON property `notebookRuntime`
1311
1313
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntime]
1312
1314
  attr_accessor :notebook_runtime
@@ -3164,6 +3166,12 @@ module Google
3164
3166
  # @return [String]
3165
3167
  attr_accessor :display_name
3166
3168
 
3169
+ # Represents a customer-managed encryption key spec that can be applied to a top-
3170
+ # level resource.
3171
+ # Corresponds to the JSON property `encryptionSpec`
3172
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
3173
+ attr_accessor :encryption_spec
3174
+
3167
3175
  # Timestamp of when this resource is considered expired. This is *always*
3168
3176
  # provided on output, regardless of what was sent on input.
3169
3177
  # Corresponds to the JSON property `expireTime`
@@ -3228,6 +3236,7 @@ module Google
3228
3236
  @contents = args[:contents] if args.key?(:contents)
3229
3237
  @create_time = args[:create_time] if args.key?(:create_time)
3230
3238
  @display_name = args[:display_name] if args.key?(:display_name)
3239
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
3231
3240
  @expire_time = args[:expire_time] if args.key?(:expire_time)
3232
3241
  @model = args[:model] if args.key?(:model)
3233
3242
  @name = args[:name] if args.key?(:name)
@@ -3546,6 +3555,37 @@ module Google
3546
3555
  end
3547
3556
  end
3548
3557
 
3558
+ # Describes the machine learning model version checkpoint.
3559
+ class GoogleCloudAiplatformV1beta1Checkpoint
3560
+ include Google::Apis::Core::Hashable
3561
+
3562
+ # The ID of the checkpoint.
3563
+ # Corresponds to the JSON property `checkpointId`
3564
+ # @return [String]
3565
+ attr_accessor :checkpoint_id
3566
+
3567
+ # The epoch of the checkpoint.
3568
+ # Corresponds to the JSON property `epoch`
3569
+ # @return [Fixnum]
3570
+ attr_accessor :epoch
3571
+
3572
+ # The step of the checkpoint.
3573
+ # Corresponds to the JSON property `step`
3574
+ # @return [Fixnum]
3575
+ attr_accessor :step
3576
+
3577
+ def initialize(**args)
3578
+ update!(**args)
3579
+ end
3580
+
3581
+ # Update properties of this object
3582
+ def update!(**args)
3583
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
3584
+ @epoch = args[:epoch] if args.key?(:epoch)
3585
+ @step = args[:step] if args.key?(:step)
3586
+ end
3587
+ end
3588
+
3549
3589
  # Source attributions for content.
3550
3590
  class GoogleCloudAiplatformV1beta1Citation
3551
3591
  include Google::Apis::Core::Hashable
@@ -7180,6 +7220,11 @@ module Google
7180
7220
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutomaticResources]
7181
7221
  attr_accessor :automatic_resources
7182
7222
 
7223
+ # The checkpoint id of the model.
7224
+ # Corresponds to the JSON property `checkpointId`
7225
+ # @return [String]
7226
+ attr_accessor :checkpoint_id
7227
+
7183
7228
  # Output only. Timestamp when the DeployedModel was created.
7184
7229
  # Corresponds to the JSON property `createTime`
7185
7230
  # @return [String]
@@ -7306,6 +7351,7 @@ module Google
7306
7351
  # Update properties of this object
7307
7352
  def update!(**args)
7308
7353
  @automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
7354
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
7309
7355
  @create_time = args[:create_time] if args.key?(:create_time)
7310
7356
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
7311
7357
  @disable_explanations = args[:disable_explanations] if args.key?(:disable_explanations)
@@ -7331,6 +7377,11 @@ module Google
7331
7377
  class GoogleCloudAiplatformV1beta1DeployedModelRef
7332
7378
  include Google::Apis::Core::Hashable
7333
7379
 
7380
+ # Immutable. The ID of the Checkpoint deployed in the DeployedModel.
7381
+ # Corresponds to the JSON property `checkpointId`
7382
+ # @return [String]
7383
+ attr_accessor :checkpoint_id
7384
+
7334
7385
  # Immutable. An ID of a DeployedModel in the above Endpoint.
7335
7386
  # Corresponds to the JSON property `deployedModelId`
7336
7387
  # @return [String]
@@ -7347,6 +7398,7 @@ module Google
7347
7398
 
7348
7399
  # Update properties of this object
7349
7400
  def update!(**args)
7401
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
7350
7402
  @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
7351
7403
  @endpoint = args[:endpoint] if args.key?(:endpoint)
7352
7404
  end
@@ -9076,7 +9128,7 @@ module Google
9076
9128
  end
9077
9129
  end
9078
9130
 
9079
- # A single example to upload or read from the Example Store.
9131
+ #
9080
9132
  class GoogleCloudAiplatformV1beta1Example
9081
9133
  include Google::Apis::Core::Hashable
9082
9134
 
@@ -14988,6 +15040,13 @@ module Google
14988
15040
  class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
14989
15041
  include Google::Apis::Core::Hashable
14990
15042
 
15043
+ # Optional. Indicates whether to include thoughts in the response. If true,
15044
+ # thoughts are returned only when available.
15045
+ # Corresponds to the JSON property `includeThoughts`
15046
+ # @return [Boolean]
15047
+ attr_accessor :include_thoughts
15048
+ alias_method :include_thoughts?, :include_thoughts
15049
+
14991
15050
  # Optional. Indicates the thinking budget in tokens. This is only applied when
14992
15051
  # enable_thinking is true.
14993
15052
  # Corresponds to the JSON property `thinkingBudget`
@@ -15000,6 +15059,7 @@ module Google
15000
15059
 
15001
15060
  # Update properties of this object
15002
15061
  def update!(**args)
15062
+ @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
15003
15063
  @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
15004
15064
  end
15005
15065
  end
@@ -19554,6 +19614,11 @@ module Google
19554
19614
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource]
19555
19615
  attr_accessor :base_model_source
19556
19616
 
19617
+ # Optional. Output only. The checkpoints of the model.
19618
+ # Corresponds to the JSON property `checkpoints`
19619
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Checkpoint>]
19620
+ attr_accessor :checkpoints
19621
+
19557
19622
  # Specification of a container for serving predictions. Some fields in this
19558
19623
  # message correspond to fields in the [Kubernetes Container v1 core
19559
19624
  # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
@@ -19784,6 +19849,7 @@ module Google
19784
19849
  def update!(**args)
19785
19850
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
19786
19851
  @base_model_source = args[:base_model_source] if args.key?(:base_model_source)
19852
+ @checkpoints = args[:checkpoints] if args.key?(:checkpoints)
19787
19853
  @container_spec = args[:container_spec] if args.key?(:container_spec)
19788
19854
  @create_time = args[:create_time] if args.key?(:create_time)
19789
19855
  @default_checkpoint_id = args[:default_checkpoint_id] if args.key?(:default_checkpoint_id)
@@ -23878,7 +23944,9 @@ module Google
23878
23944
  end
23879
23945
 
23880
23946
  # A runtime is a virtual machine allocated to a particular user for a particular
23881
- # Notebook file on temporary basis with lifetime limited to 24 hours.
23947
+ # Notebook file on temporary basis with lifetime. Default runtimes have a
23948
+ # lifetime of 18 hours, while custom runtimes last for 6 months from their
23949
+ # creation or last upgrade.
23882
23950
  class GoogleCloudAiplatformV1beta1NotebookRuntime
23883
23951
  include Google::Apis::Core::Hashable
23884
23952
 
@@ -24037,7 +24105,8 @@ module Google
24037
24105
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ShieldedVmConfig]
24038
24106
  attr_accessor :shielded_vm_config
24039
24107
 
24040
- # Notebook Software Config.
24108
+ # Notebook Software Config. This is passed to the backend when user makes
24109
+ # software configurations in UI.
24041
24110
  # Corresponds to the JSON property `softwareConfig`
24042
24111
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookSoftwareConfig]
24043
24112
  attr_accessor :software_config
@@ -24207,7 +24276,8 @@ module Google
24207
24276
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ShieldedVmConfig]
24208
24277
  attr_accessor :shielded_vm_config
24209
24278
 
24210
- # Notebook Software Config.
24279
+ # Notebook Software Config. This is passed to the backend when user makes
24280
+ # software configurations in UI.
24211
24281
  # Corresponds to the JSON property `softwareConfig`
24212
24282
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookSoftwareConfig]
24213
24283
  attr_accessor :software_config
@@ -24266,7 +24336,8 @@ module Google
24266
24336
  end
24267
24337
  end
24268
24338
 
24269
- # Notebook Software Config.
24339
+ # Notebook Software Config. This is passed to the backend when user makes
24340
+ # software configurations in UI.
24270
24341
  class GoogleCloudAiplatformV1beta1NotebookSoftwareConfig
24271
24342
  include Google::Apis::Core::Hashable
24272
24343
 
@@ -29766,7 +29837,8 @@ module Google
29766
29837
  # @return [String]
29767
29838
  attr_accessor :etag
29768
29839
 
29769
- # Identifier. The resource name of the ReasoningEngine.
29840
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
29841
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
29770
29842
  # Corresponds to the JSON property `name`
29771
29843
  # @return [String]
29772
29844
  attr_accessor :name
@@ -31730,6 +31802,12 @@ module Google
31730
31802
  class GoogleCloudAiplatformV1beta1Schema
31731
31803
  include Google::Apis::Core::Hashable
31732
31804
 
31805
+ # Optional. Can either be a boolean or an object; controls the presence of
31806
+ # additional properties.
31807
+ # Corresponds to the JSON property `additionalProperties`
31808
+ # @return [Object]
31809
+ attr_accessor :additional_properties
31810
+
31733
31811
  # Optional. The value should be validated against any (one or more) of the
31734
31812
  # subschemas in the list.
31735
31813
  # Corresponds to the JSON property `anyOf`
@@ -31741,6 +31819,12 @@ module Google
31741
31819
  # @return [Object]
31742
31820
  attr_accessor :default
31743
31821
 
31822
+ # Optional. A map of definitions for use by `ref` Only allowed at the root of
31823
+ # the schema.
31824
+ # Corresponds to the JSON property `defs`
31825
+ # @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
31826
+ attr_accessor :defs
31827
+
31744
31828
  # Optional. The description of the data.
31745
31829
  # Corresponds to the JSON property `description`
31746
31830
  # @return [String]
@@ -31838,6 +31922,17 @@ module Google
31838
31922
  # @return [Array<String>]
31839
31923
  attr_accessor :property_ordering
31840
31924
 
31925
+ # Optional. Allows indirect references between schema nodes. The value should be
31926
+ # a valid reference to a child of the root `defs`. For example, the following
31927
+ # schema defines a reference to a schema node named "Pet": type: object
31928
+ # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name:
31929
+ # type: string The value of the "pet" property is a reference to the schema node
31930
+ # named "Pet". See details in https://json-schema.org/understanding-json-schema/
31931
+ # structuring
31932
+ # Corresponds to the JSON property `ref`
31933
+ # @return [String]
31934
+ attr_accessor :ref
31935
+
31841
31936
  # Optional. Required properties of Type.OBJECT.
31842
31937
  # Corresponds to the JSON property `required`
31843
31938
  # @return [Array<String>]
@@ -31859,8 +31954,10 @@ module Google
31859
31954
 
31860
31955
  # Update properties of this object
31861
31956
  def update!(**args)
31957
+ @additional_properties = args[:additional_properties] if args.key?(:additional_properties)
31862
31958
  @any_of = args[:any_of] if args.key?(:any_of)
31863
31959
  @default = args[:default] if args.key?(:default)
31960
+ @defs = args[:defs] if args.key?(:defs)
31864
31961
  @description = args[:description] if args.key?(:description)
31865
31962
  @enum = args[:enum] if args.key?(:enum)
31866
31963
  @example = args[:example] if args.key?(:example)
@@ -31878,6 +31975,7 @@ module Google
31878
31975
  @pattern = args[:pattern] if args.key?(:pattern)
31879
31976
  @properties = args[:properties] if args.key?(:properties)
31880
31977
  @property_ordering = args[:property_ordering] if args.key?(:property_ordering)
31978
+ @ref = args[:ref] if args.key?(:ref)
31881
31979
  @required = args[:required] if args.key?(:required)
31882
31980
  @title = args[:title] if args.key?(:title)
31883
31981
  @type = args[:type] if args.key?(:type)
@@ -38617,7 +38715,7 @@ module Google
38617
38715
  class GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample
38618
38716
  include Google::Apis::Core::Hashable
38619
38717
 
38620
- # A single example to upload or read from the Example Store.
38718
+ # The example that is similar to the searched query.
38621
38719
  # Corresponds to the JSON property `example`
38622
38720
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example]
38623
38721
  attr_accessor :example
@@ -41644,7 +41742,7 @@ module Google
41644
41742
  include Google::Apis::Core::Hashable
41645
41743
 
41646
41744
  # Output only. For each index in `truncated_example_indices`, the user-facing
41647
- # reason why the example was dropped. Must not include example itself.
41745
+ # reason why the example was dropped.
41648
41746
  # Corresponds to the JSON property `droppedExampleReasons`
41649
41747
  # @return [Array<String>]
41650
41748
  attr_accessor :dropped_example_reasons
@@ -41831,6 +41929,14 @@ module Google
41831
41929
  class GoogleCloudAiplatformV1beta1SupervisedTuningSpec
41832
41930
  include Google::Apis::Core::Hashable
41833
41931
 
41932
+ # Optional. If set to true, disable intermediate checkpoints for SFT and only
41933
+ # the last checkpoint will be exported. Otherwise, enable intermediate
41934
+ # checkpoints for SFT. Default is false.
41935
+ # Corresponds to the JSON property `exportLastCheckpointOnly`
41936
+ # @return [Boolean]
41937
+ attr_accessor :export_last_checkpoint_only
41938
+ alias_method :export_last_checkpoint_only?, :export_last_checkpoint_only
41939
+
41834
41940
  # Hyperparameters for SFT.
41835
41941
  # Corresponds to the JSON property `hyperParameters`
41836
41942
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters]
@@ -41854,6 +41960,7 @@ module Google
41854
41960
 
41855
41961
  # Update properties of this object
41856
41962
  def update!(**args)
41963
+ @export_last_checkpoint_only = args[:export_last_checkpoint_only] if args.key?(:export_last_checkpoint_only)
41857
41964
  @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
41858
41965
  @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
41859
41966
  @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
@@ -44241,6 +44348,12 @@ module Google
44241
44348
  class GoogleCloudAiplatformV1beta1TunedModel
44242
44349
  include Google::Apis::Core::Hashable
44243
44350
 
44351
+ # Output only. The checkpoints associated with this TunedModel. This field is
44352
+ # only populated for tuning jobs that enable intermediate checkpoints.
44353
+ # Corresponds to the JSON property `checkpoints`
44354
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TunedModelCheckpoint>]
44355
+ attr_accessor :checkpoints
44356
+
44244
44357
  # Output only. A resource name of an Endpoint. Format: `projects/`project`/
44245
44358
  # locations/`location`/endpoints/`endpoint``.
44246
44359
  # Corresponds to the JSON property `endpoint`
@@ -44259,11 +44372,50 @@ module Google
44259
44372
 
44260
44373
  # Update properties of this object
44261
44374
  def update!(**args)
44375
+ @checkpoints = args[:checkpoints] if args.key?(:checkpoints)
44262
44376
  @endpoint = args[:endpoint] if args.key?(:endpoint)
44263
44377
  @model = args[:model] if args.key?(:model)
44264
44378
  end
44265
44379
  end
44266
44380
 
44381
+ # TunedModelCheckpoint for the Tuned Model of a Tuning Job.
44382
+ class GoogleCloudAiplatformV1beta1TunedModelCheckpoint
44383
+ include Google::Apis::Core::Hashable
44384
+
44385
+ # The ID of the checkpoint.
44386
+ # Corresponds to the JSON property `checkpointId`
44387
+ # @return [String]
44388
+ attr_accessor :checkpoint_id
44389
+
44390
+ # The Endpoint resource name that the checkpoint is deployed to. Format: `
44391
+ # projects/`project`/locations/`location`/endpoints/`endpoint``.
44392
+ # Corresponds to the JSON property `endpoint`
44393
+ # @return [String]
44394
+ attr_accessor :endpoint
44395
+
44396
+ # The epoch of the checkpoint.
44397
+ # Corresponds to the JSON property `epoch`
44398
+ # @return [Fixnum]
44399
+ attr_accessor :epoch
44400
+
44401
+ # The step of the checkpoint.
44402
+ # Corresponds to the JSON property `step`
44403
+ # @return [Fixnum]
44404
+ attr_accessor :step
44405
+
44406
+ def initialize(**args)
44407
+ update!(**args)
44408
+ end
44409
+
44410
+ # Update properties of this object
44411
+ def update!(**args)
44412
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
44413
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
44414
+ @epoch = args[:epoch] if args.key?(:epoch)
44415
+ @step = args[:step] if args.key?(:step)
44416
+ end
44417
+ end
44418
+
44267
44419
  # TunedModel Reference for legacy model migration.
44268
44420
  class GoogleCloudAiplatformV1beta1TunedModelRef
44269
44421
  include Google::Apis::Core::Hashable
@@ -45274,7 +45426,7 @@ module Google
45274
45426
  class GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult
45275
45427
  include Google::Apis::Core::Hashable
45276
45428
 
45277
- # A single example to upload or read from the Example Store.
45429
+ # The example created/updated successfully.
45278
45430
  # Corresponds to the JSON property `example`
45279
45431
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example]
45280
45432
  attr_accessor :example
@@ -45388,6 +45540,17 @@ module Google
45388
45540
  # @return [String]
45389
45541
  attr_accessor :engine
45390
45542
 
45543
+ # Optional. Filter strings to be passed to the search API.
45544
+ # Corresponds to the JSON property `filter`
45545
+ # @return [String]
45546
+ attr_accessor :filter
45547
+
45548
+ # Optional. Number of search results to return per query. The default value is
45549
+ # 10. The maximumm allowed value is 10.
45550
+ # Corresponds to the JSON property `maxResults`
45551
+ # @return [Fixnum]
45552
+ attr_accessor :max_results
45553
+
45391
45554
  def initialize(**args)
45392
45555
  update!(**args)
45393
45556
  end
@@ -45396,6 +45559,8 @@ module Google
45396
45559
  def update!(**args)
45397
45560
  @datastore = args[:datastore] if args.key?(:datastore)
45398
45561
  @engine = args[:engine] if args.key?(:engine)
45562
+ @filter = args[:filter] if args.key?(:filter)
45563
+ @max_results = args[:max_results] if args.key?(:max_results)
45399
45564
  end
45400
45565
  end
45401
45566
 
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250422"
25
+ REVISION = "20250502"
26
26
  end
27
27
  end
28
28
  end
@@ -682,6 +682,12 @@ module Google
682
682
  include Google::Apis::Core::JsonObjectSupport
683
683
  end
684
684
 
685
+ class GoogleCloudAiplatformV1beta1Checkpoint
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
685
691
  class GoogleCloudAiplatformV1beta1Citation
686
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
693
 
@@ -7480,6 +7486,12 @@ module Google
7480
7486
  include Google::Apis::Core::JsonObjectSupport
7481
7487
  end
7482
7488
 
7489
+ class GoogleCloudAiplatformV1beta1TunedModelCheckpoint
7490
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7491
+
7492
+ include Google::Apis::Core::JsonObjectSupport
7493
+ end
7494
+
7483
7495
  class GoogleCloudAiplatformV1beta1TunedModelRef
7484
7496
  class Representation < Google::Apis::Core::JsonRepresentation; end
7485
7497
 
@@ -8857,6 +8869,8 @@ module Google
8857
8869
 
8858
8870
  property :create_time, as: 'createTime'
8859
8871
  property :display_name, as: 'displayName'
8872
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
8873
+
8860
8874
  property :expire_time, as: 'expireTime'
8861
8875
  property :model, as: 'model'
8862
8876
  property :name, as: 'name'
@@ -8982,6 +8996,15 @@ module Google
8982
8996
  end
8983
8997
  end
8984
8998
 
8999
+ class GoogleCloudAiplatformV1beta1Checkpoint
9000
+ # @private
9001
+ class Representation < Google::Apis::Core::JsonRepresentation
9002
+ property :checkpoint_id, as: 'checkpointId'
9003
+ property :epoch, :numeric_string => true, as: 'epoch'
9004
+ property :step, :numeric_string => true, as: 'step'
9005
+ end
9006
+ end
9007
+
8985
9008
  class GoogleCloudAiplatformV1beta1Citation
8986
9009
  # @private
8987
9010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10027,6 +10050,7 @@ module Google
10027
10050
  class Representation < Google::Apis::Core::JsonRepresentation
10028
10051
  property :automatic_resources, as: 'automaticResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutomaticResources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutomaticResources::Representation
10029
10052
 
10053
+ property :checkpoint_id, as: 'checkpointId'
10030
10054
  property :create_time, as: 'createTime'
10031
10055
  property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources::Representation
10032
10056
 
@@ -10058,6 +10082,7 @@ module Google
10058
10082
  class GoogleCloudAiplatformV1beta1DeployedModelRef
10059
10083
  # @private
10060
10084
  class Representation < Google::Apis::Core::JsonRepresentation
10085
+ property :checkpoint_id, as: 'checkpointId'
10061
10086
  property :deployed_model_id, as: 'deployedModelId'
10062
10087
  property :endpoint, as: 'endpoint'
10063
10088
  end
@@ -12197,6 +12222,7 @@ module Google
12197
12222
  class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
12198
12223
  # @private
12199
12224
  class Representation < Google::Apis::Core::JsonRepresentation
12225
+ property :include_thoughts, as: 'includeThoughts'
12200
12226
  property :thinking_budget, as: 'thinkingBudget'
12201
12227
  end
12202
12228
  end
@@ -13592,6 +13618,8 @@ module Google
13592
13618
  property :artifact_uri, as: 'artifactUri'
13593
13619
  property :base_model_source, as: 'baseModelSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource::Representation
13594
13620
 
13621
+ collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Checkpoint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Checkpoint::Representation
13622
+
13595
13623
  property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec::Representation
13596
13624
 
13597
13625
  property :create_time, as: 'createTime'
@@ -17078,9 +17106,12 @@ module Google
17078
17106
  class GoogleCloudAiplatformV1beta1Schema
17079
17107
  # @private
17080
17108
  class Representation < Google::Apis::Core::JsonRepresentation
17109
+ property :additional_properties, as: 'additionalProperties'
17081
17110
  collection :any_of, as: 'anyOf', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema::Representation
17082
17111
 
17083
17112
  property :default, as: 'default'
17113
+ hash :defs, as: 'defs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema::Representation
17114
+
17084
17115
  property :description, as: 'description'
17085
17116
  collection :enum, as: 'enum'
17086
17117
  property :example, as: 'example'
@@ -17100,6 +17131,7 @@ module Google
17100
17131
  hash :properties, as: 'properties', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema::Representation
17101
17132
 
17102
17133
  collection :property_ordering, as: 'propertyOrdering'
17134
+ property :ref, as: 'ref'
17103
17135
  collection :required, as: 'required'
17104
17136
  property :title, as: 'title'
17105
17137
  property :type, as: 'type'
@@ -19848,6 +19880,7 @@ module Google
19848
19880
  class GoogleCloudAiplatformV1beta1SupervisedTuningSpec
19849
19881
  # @private
19850
19882
  class Representation < Google::Apis::Core::JsonRepresentation
19883
+ property :export_last_checkpoint_only, as: 'exportLastCheckpointOnly'
19851
19884
  property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters::Representation
19852
19885
 
19853
19886
  property :training_dataset_uri, as: 'trainingDatasetUri'
@@ -20600,11 +20633,23 @@ module Google
20600
20633
  class GoogleCloudAiplatformV1beta1TunedModel
20601
20634
  # @private
20602
20635
  class Representation < Google::Apis::Core::JsonRepresentation
20636
+ collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TunedModelCheckpoint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TunedModelCheckpoint::Representation
20637
+
20603
20638
  property :endpoint, as: 'endpoint'
20604
20639
  property :model, as: 'model'
20605
20640
  end
20606
20641
  end
20607
20642
 
20643
+ class GoogleCloudAiplatformV1beta1TunedModelCheckpoint
20644
+ # @private
20645
+ class Representation < Google::Apis::Core::JsonRepresentation
20646
+ property :checkpoint_id, as: 'checkpointId'
20647
+ property :endpoint, as: 'endpoint'
20648
+ property :epoch, :numeric_string => true, as: 'epoch'
20649
+ property :step, :numeric_string => true, as: 'step'
20650
+ end
20651
+ end
20652
+
20608
20653
  class GoogleCloudAiplatformV1beta1TunedModelRef
20609
20654
  # @private
20610
20655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20986,6 +21031,8 @@ module Google
20986
21031
  class Representation < Google::Apis::Core::JsonRepresentation
20987
21032
  property :datastore, as: 'datastore'
20988
21033
  property :engine, as: 'engine'
21034
+ property :filter, as: 'filter'
21035
+ property :max_results, as: 'maxResults'
20989
21036
  end
20990
21037
  end
20991
21038
 
@@ -22132,7 +22132,8 @@ module Google
22132
22132
 
22133
22133
  # Updates a reasoning engine.
22134
22134
  # @param [String] name
22135
- # Identifier. The resource name of the ReasoningEngine.
22135
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
22136
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
22136
22137
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
22137
22138
  # @param [String] update_mask
22138
22139
  # Optional. Mask specifying which fields to update.
@@ -22417,6 +22418,189 @@ module Google
22417
22418
  execute_or_queue_command(command, &block)
22418
22419
  end
22419
22420
 
22421
+ # Starts asynchronous cancellation on a long-running operation. The server makes
22422
+ # a best effort to cancel the operation, but success is not guaranteed. If the
22423
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
22424
+ # Clients can use Operations.GetOperation or other methods to check whether the
22425
+ # cancellation succeeded or whether the operation completed despite cancellation.
22426
+ # On successful cancellation, the operation is not deleted; instead, it becomes
22427
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
22428
+ # , corresponding to `Code.CANCELLED`.
22429
+ # @param [String] name
22430
+ # The name of the operation resource to be cancelled.
22431
+ # @param [String] fields
22432
+ # Selector specifying which fields to include in a partial response.
22433
+ # @param [String] quota_user
22434
+ # Available to use for quota purposes for server-side applications. Can be any
22435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22436
+ # @param [Google::Apis::RequestOptions] options
22437
+ # Request-specific options
22438
+ #
22439
+ # @yield [result, err] Result & error if block supplied
22440
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
22441
+ # @yieldparam err [StandardError] error object if request failed
22442
+ #
22443
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
22444
+ #
22445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22448
+ def cancel_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22449
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
22450
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
22451
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
22452
+ command.params['name'] = name unless name.nil?
22453
+ command.query['fields'] = fields unless fields.nil?
22454
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22455
+ execute_or_queue_command(command, &block)
22456
+ end
22457
+
22458
+ # Deletes a long-running operation. This method indicates that the client is no
22459
+ # longer interested in the operation result. It does not cancel the operation.
22460
+ # If the server doesn't support this method, it returns `google.rpc.Code.
22461
+ # UNIMPLEMENTED`.
22462
+ # @param [String] name
22463
+ # The name of the operation resource to be deleted.
22464
+ # @param [String] fields
22465
+ # Selector specifying which fields to include in a partial response.
22466
+ # @param [String] quota_user
22467
+ # Available to use for quota purposes for server-side applications. Can be any
22468
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22469
+ # @param [Google::Apis::RequestOptions] options
22470
+ # Request-specific options
22471
+ #
22472
+ # @yield [result, err] Result & error if block supplied
22473
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
22474
+ # @yieldparam err [StandardError] error object if request failed
22475
+ #
22476
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
22477
+ #
22478
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22479
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22480
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22481
+ def delete_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22482
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
22483
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
22484
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
22485
+ command.params['name'] = name unless name.nil?
22486
+ command.query['fields'] = fields unless fields.nil?
22487
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22488
+ execute_or_queue_command(command, &block)
22489
+ end
22490
+
22491
+ # Gets the latest state of a long-running operation. Clients can use this method
22492
+ # to poll the operation result at intervals as recommended by the API service.
22493
+ # @param [String] name
22494
+ # The name of the operation resource.
22495
+ # @param [String] fields
22496
+ # Selector specifying which fields to include in a partial response.
22497
+ # @param [String] quota_user
22498
+ # Available to use for quota purposes for server-side applications. Can be any
22499
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22500
+ # @param [Google::Apis::RequestOptions] options
22501
+ # Request-specific options
22502
+ #
22503
+ # @yield [result, err] Result & error if block supplied
22504
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
22505
+ # @yieldparam err [StandardError] error object if request failed
22506
+ #
22507
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
22508
+ #
22509
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22510
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22511
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22512
+ def get_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22513
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
22514
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
22515
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
22516
+ command.params['name'] = name unless name.nil?
22517
+ command.query['fields'] = fields unless fields.nil?
22518
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22519
+ execute_or_queue_command(command, &block)
22520
+ end
22521
+
22522
+ # Lists operations that match the specified filter in the request. If the server
22523
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
22524
+ # @param [String] name
22525
+ # The name of the operation's parent resource.
22526
+ # @param [String] filter
22527
+ # The standard list filter.
22528
+ # @param [Fixnum] page_size
22529
+ # The standard list page size.
22530
+ # @param [String] page_token
22531
+ # The standard list page token.
22532
+ # @param [String] fields
22533
+ # Selector specifying which fields to include in a partial response.
22534
+ # @param [String] quota_user
22535
+ # Available to use for quota purposes for server-side applications. Can be any
22536
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22537
+ # @param [Google::Apis::RequestOptions] options
22538
+ # Request-specific options
22539
+ #
22540
+ # @yield [result, err] Result & error if block supplied
22541
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
22542
+ # @yieldparam err [StandardError] error object if request failed
22543
+ #
22544
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
22545
+ #
22546
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22547
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22548
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22549
+ def list_project_location_reasoning_engine_sandbox_environment_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
22550
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
22551
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
22552
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
22553
+ command.params['name'] = name unless name.nil?
22554
+ command.query['filter'] = filter unless filter.nil?
22555
+ command.query['pageSize'] = page_size unless page_size.nil?
22556
+ command.query['pageToken'] = page_token unless page_token.nil?
22557
+ command.query['fields'] = fields unless fields.nil?
22558
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22559
+ execute_or_queue_command(command, &block)
22560
+ end
22561
+
22562
+ # Waits until the specified long-running operation is done or reaches at most a
22563
+ # specified timeout, returning the latest state. If the operation is already
22564
+ # done, the latest state is immediately returned. If the timeout specified is
22565
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
22566
+ # the server does not support this method, it returns `google.rpc.Code.
22567
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
22568
+ # the latest state before the specified timeout (including immediately), meaning
22569
+ # even an immediate response is no guarantee that the operation is done.
22570
+ # @param [String] name
22571
+ # The name of the operation resource to wait on.
22572
+ # @param [String] timeout
22573
+ # The maximum duration to wait before timing out. If left blank, the wait will
22574
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
22575
+ # context deadline is also specified, the shorter one will be used.
22576
+ # @param [String] fields
22577
+ # Selector specifying which fields to include in a partial response.
22578
+ # @param [String] quota_user
22579
+ # Available to use for quota purposes for server-side applications. Can be any
22580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22581
+ # @param [Google::Apis::RequestOptions] options
22582
+ # Request-specific options
22583
+ #
22584
+ # @yield [result, err] Result & error if block supplied
22585
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
22586
+ # @yieldparam err [StandardError] error object if request failed
22587
+ #
22588
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
22589
+ #
22590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22593
+ def wait_project_location_reasoning_engine_sandbox_environment_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
22594
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
22595
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
22596
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
22597
+ command.params['name'] = name unless name.nil?
22598
+ command.query['timeout'] = timeout unless timeout.nil?
22599
+ command.query['fields'] = fields unless fields.nil?
22600
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22601
+ execute_or_queue_command(command, &block)
22602
+ end
22603
+
22420
22604
  # Appends an event to a given session.
22421
22605
  # @param [String] name
22422
22606
  # Required. The resource name of the session to append event to. Format: `
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.44.0
4
+ version: 0.46.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.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.46.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: