google-apis-aiplatform_v1 0.90.0 → 0.91.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: db474b15e6da71ae20ae2073623db73b1f2289ae64b0050ff41e6ca3a84a23a1
4
- data.tar.gz: 0c725f3f057ec382a006c1154a1714dc7950a714fb75232c9840903c5cdf3f23
3
+ metadata.gz: c16db92a02b3c51a2051e803f530a387f7fe0b4dbe2efac02e378a1db5dc54dd
4
+ data.tar.gz: 5a6c27423dfa3f3a98199a8a86e8ad764a68bd72ceaa35ab046780b129d1a055
5
5
  SHA512:
6
- metadata.gz: 58c6c3b83fb48f65c42f74508ac7ea8ce8c7c85a22fc5d4d7bc01668bf191426f6044fc7192eefdf0b13ecc0b105f150db2eb211e9917c1afb072ef6d72255dc
7
- data.tar.gz: c4c0ebf9a6dfeb369d59cba90067d12ab168e44734e2b88d25b7454b965d46717483ad398c2d511270833a5b540b53a6ee8886f2a795d715b881a5701ec4ac49
6
+ metadata.gz: 5929b34c72532d83100664e66dbe4a606db5767e36f7efd4cebde680e5a0f388824c99d055457e3bb52fa6ac02b4548ead821b40c120bbfe498ba17021aa1560
7
+ data.tar.gz: a613cf9e201723b0460820a73836d803d2201ab4d93cfc29f19dc0ba518271b0bf34184f85a187361ea2ca16018b6cb1bc01fcbee9d3cfb2f94f229410d344c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.91.0 (2026-07-19)
4
+
5
+ * Regenerated from discovery document revision 20260704
6
+
3
7
  ### v0.90.0 (2026-07-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20260703
@@ -33,6 +33,11 @@ module Google
33
33
  attr_accessor :anchor_last_frame
34
34
  alias_method :anchor_last_frame?, :anchor_last_frame
35
35
 
36
+ # CFG scale for video-transform, perf-generation, a2v, video-textures models.
37
+ # Corresponds to the JSON property `cfgScale`
38
+ # @return [Float]
39
+ attr_accessor :cfg_scale
40
+
36
41
  # Optional. Video codec to use for output.
37
42
  # Corresponds to the JSON property `codec`
38
43
  # @return [String]
@@ -124,6 +129,7 @@ module Google
124
129
  # Update properties of this object
125
130
  def update!(**args)
126
131
  @anchor_last_frame = args[:anchor_last_frame] if args.key?(:anchor_last_frame)
132
+ @cfg_scale = args[:cfg_scale] if args.key?(:cfg_scale)
127
133
  @codec = args[:codec] if args.key?(:codec)
128
134
  @conditioning_frames = args[:conditioning_frames] if args.key?(:conditioning_frames)
129
135
  @custom_parameters = args[:custom_parameters] if args.key?(:custom_parameters)
@@ -10686,6 +10692,12 @@ module Google
10686
10692
  # @return [String]
10687
10693
  attr_accessor :display_name
10688
10694
 
10695
+ # Represents a customer-managed encryption key specification that can be applied
10696
+ # to a Vertex AI resource.
10697
+ # Corresponds to the JSON property `encryptionSpec`
10698
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
10699
+ attr_accessor :encryption_spec
10700
+
10689
10701
  # Optional. The Google Cloud Storage URI that stores the metric specification..
10690
10702
  # Corresponds to the JSON property `gcsUri`
10691
10703
  # @return [String]
@@ -10721,6 +10733,7 @@ module Google
10721
10733
  @create_time = args[:create_time] if args.key?(:create_time)
10722
10734
  @description = args[:description] if args.key?(:description)
10723
10735
  @display_name = args[:display_name] if args.key?(:display_name)
10736
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
10724
10737
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
10725
10738
  @labels = args[:labels] if args.key?(:labels)
10726
10739
  @metric = args[:metric] if args.key?(:metric)
@@ -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.90.0"
19
+ GEM_VERSION = "0.91.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260703"
25
+ REVISION = "20260704"
26
26
  end
27
27
  end
28
28
  end
@@ -8708,6 +8708,7 @@ module Google
8708
8708
  # @private
8709
8709
  class Representation < Google::Apis::Core::JsonRepresentation
8710
8710
  property :anchor_last_frame, as: 'anchorLastFrame'
8711
+ property :cfg_scale, as: 'cfgScale'
8711
8712
  property :codec, as: 'codec'
8712
8713
  collection :conditioning_frames, as: 'conditioningFrames', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::Representation
8713
8714
 
@@ -11743,6 +11744,8 @@ module Google
11743
11744
  property :create_time, as: 'createTime'
11744
11745
  property :description, as: 'description'
11745
11746
  property :display_name, as: 'displayName'
11747
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
11748
+
11746
11749
  property :gcs_uri, as: 'gcsUri'
11747
11750
  hash :labels, as: 'labels'
11748
11751
  property :metric, as: 'metric', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric::Representation
@@ -19304,6 +19304,115 @@ module Google
19304
19304
  execute_or_queue_command(command, &block)
19305
19305
  end
19306
19306
 
19307
+ # Create a Memory.
19308
+ # @param [String] parent
19309
+ # Required. The resource name of the ReasoningEngine to create the Memory under.
19310
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
19311
+ # reasoning_engine``
19312
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory] google_cloud_aiplatform_v1_memory_object
19313
+ # @param [String] memory_id
19314
+ # Optional. The user defined ID to use for memory, which will become the final
19315
+ # component of the memory resource name. If not provided, Vertex AI will
19316
+ # generate a value for this ID. This value may be up to 63 characters, and valid
19317
+ # characters are `[a-z0-9-]`. The first character must be a letter, and the last
19318
+ # character must be a letter or number.
19319
+ # @param [String] fields
19320
+ # Selector specifying which fields to include in a partial response.
19321
+ # @param [String] quota_user
19322
+ # Available to use for quota purposes for server-side applications. Can be any
19323
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19324
+ # @param [Google::Apis::RequestOptions] options
19325
+ # Request-specific options
19326
+ #
19327
+ # @yield [result, err] Result & error if block supplied
19328
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
19329
+ # @yieldparam err [StandardError] error object if request failed
19330
+ #
19331
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
19332
+ #
19333
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19334
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19335
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19336
+ def create_project_location_memory_bank_memory(parent, google_cloud_aiplatform_v1_memory_object = nil, memory_id: nil, fields: nil, quota_user: nil, options: nil, &block)
19337
+ command = make_simple_command(:post, 'v1/{+parent}/memories', options)
19338
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory::Representation
19339
+ command.request_object = google_cloud_aiplatform_v1_memory_object
19340
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
19341
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
19342
+ command.params['parent'] = parent unless parent.nil?
19343
+ command.query['memoryId'] = memory_id unless memory_id.nil?
19344
+ command.query['fields'] = fields unless fields.nil?
19345
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19346
+ execute_or_queue_command(command, &block)
19347
+ end
19348
+
19349
+ # Delete a Memory.
19350
+ # @param [String] name
19351
+ # Required. The resource name of the Memory to delete. Format: `projects/`
19352
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
19353
+ # memory``
19354
+ # @param [String] fields
19355
+ # Selector specifying which fields to include in a partial response.
19356
+ # @param [String] quota_user
19357
+ # Available to use for quota purposes for server-side applications. Can be any
19358
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19359
+ # @param [Google::Apis::RequestOptions] options
19360
+ # Request-specific options
19361
+ #
19362
+ # @yield [result, err] Result & error if block supplied
19363
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
19364
+ # @yieldparam err [StandardError] error object if request failed
19365
+ #
19366
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
19367
+ #
19368
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19369
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19370
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19371
+ def delete_project_location_memory_bank_memory(name, fields: nil, quota_user: nil, options: nil, &block)
19372
+ command = make_simple_command(:delete, 'v1/{+name}', options)
19373
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
19374
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
19375
+ command.params['name'] = name unless name.nil?
19376
+ command.query['fields'] = fields unless fields.nil?
19377
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19378
+ execute_or_queue_command(command, &block)
19379
+ end
19380
+
19381
+ # Generate memories.
19382
+ # @param [String] parent
19383
+ # Required. The resource name of the ReasoningEngine to generate memories for.
19384
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
19385
+ # reasoning_engine``
19386
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequest] google_cloud_aiplatform_v1_generate_memories_request_object
19387
+ # @param [String] fields
19388
+ # Selector specifying which fields to include in a partial response.
19389
+ # @param [String] quota_user
19390
+ # Available to use for quota purposes for server-side applications. Can be any
19391
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19392
+ # @param [Google::Apis::RequestOptions] options
19393
+ # Request-specific options
19394
+ #
19395
+ # @yield [result, err] Result & error if block supplied
19396
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
19397
+ # @yieldparam err [StandardError] error object if request failed
19398
+ #
19399
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
19400
+ #
19401
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19402
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19403
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19404
+ def generate_project_location_memory_bank_memory(parent, google_cloud_aiplatform_v1_generate_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
19405
+ command = make_simple_command(:post, 'v1/{+parent}/memories:generate', options)
19406
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequest::Representation
19407
+ command.request_object = google_cloud_aiplatform_v1_generate_memories_request_object
19408
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
19409
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
19410
+ command.params['parent'] = parent unless parent.nil?
19411
+ command.query['fields'] = fields unless fields.nil?
19412
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19413
+ execute_or_queue_command(command, &block)
19414
+ end
19415
+
19307
19416
  # Get a Memory.
19308
19417
  # @param [String] name
19309
19418
  # Required. The resource name of the Memory. Format: `projects/`project`/
@@ -19335,6 +19444,200 @@ module Google
19335
19444
  execute_or_queue_command(command, &block)
19336
19445
  end
19337
19446
 
19447
+ # List Memories.
19448
+ # @param [String] parent
19449
+ # Required. The resource name of the ReasoningEngine to list the Memories under.
19450
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
19451
+ # reasoning_engine``
19452
+ # @param [String] filter
19453
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
19454
+ # aip.dev/160). Supported fields: * `scope` (as a JSON string with equality
19455
+ # match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic"
19456
+ # OR topics.managed_memory_topic: USER_PREFERENCES`)
19457
+ # @param [String] order_by
19458
+ # Optional. The standard list order by string. If not specified, the default
19459
+ # order is `create_time desc`. If specified, the default sorting order of
19460
+ # provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/
19461
+ # 132). Supported fields: * `create_time` * `update_time`
19462
+ # @param [Fixnum] page_size
19463
+ # Optional. The standard list page size.
19464
+ # @param [String] page_token
19465
+ # Optional. The standard list page token.
19466
+ # @param [String] fields
19467
+ # Selector specifying which fields to include in a partial response.
19468
+ # @param [String] quota_user
19469
+ # Available to use for quota purposes for server-side applications. Can be any
19470
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19471
+ # @param [Google::Apis::RequestOptions] options
19472
+ # Request-specific options
19473
+ #
19474
+ # @yield [result, err] Result & error if block supplied
19475
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoriesResponse] parsed result object
19476
+ # @yieldparam err [StandardError] error object if request failed
19477
+ #
19478
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoriesResponse]
19479
+ #
19480
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19481
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19482
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19483
+ def list_project_location_memory_bank_memories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
19484
+ command = make_simple_command(:get, 'v1/{+parent}/memories', options)
19485
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoriesResponse::Representation
19486
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoriesResponse
19487
+ command.params['parent'] = parent unless parent.nil?
19488
+ command.query['filter'] = filter unless filter.nil?
19489
+ command.query['orderBy'] = order_by unless order_by.nil?
19490
+ command.query['pageSize'] = page_size unless page_size.nil?
19491
+ command.query['pageToken'] = page_token unless page_token.nil?
19492
+ command.query['fields'] = fields unless fields.nil?
19493
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19494
+ execute_or_queue_command(command, &block)
19495
+ end
19496
+
19497
+ # Update a Memory.
19498
+ # @param [String] name
19499
+ # Identifier. Represents the resource name of the Memory. Format: `projects/`
19500
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
19501
+ # memory``
19502
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory] google_cloud_aiplatform_v1_memory_object
19503
+ # @param [String] update_mask
19504
+ # Optional. Mask specifying which fields to update. The following fields are
19505
+ # immutable: * `scope` * `memory_type`
19506
+ # @param [String] fields
19507
+ # Selector specifying which fields to include in a partial response.
19508
+ # @param [String] quota_user
19509
+ # Available to use for quota purposes for server-side applications. Can be any
19510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19511
+ # @param [Google::Apis::RequestOptions] options
19512
+ # Request-specific options
19513
+ #
19514
+ # @yield [result, err] Result & error if block supplied
19515
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
19516
+ # @yieldparam err [StandardError] error object if request failed
19517
+ #
19518
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
19519
+ #
19520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19523
+ def patch_project_location_memory_bank_memory(name, google_cloud_aiplatform_v1_memory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
19524
+ command = make_simple_command(:patch, 'v1/{+name}', options)
19525
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory::Representation
19526
+ command.request_object = google_cloud_aiplatform_v1_memory_object
19527
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
19528
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
19529
+ command.params['name'] = name unless name.nil?
19530
+ command.query['updateMask'] = update_mask unless update_mask.nil?
19531
+ command.query['fields'] = fields unless fields.nil?
19532
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19533
+ execute_or_queue_command(command, &block)
19534
+ end
19535
+
19536
+ # Purge memories.
19537
+ # @param [String] parent
19538
+ # Required. The resource name of the ReasoningEngine to purge memories from.
19539
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
19540
+ # reasoning_engine``
19541
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PurgeMemoriesRequest] google_cloud_aiplatform_v1_purge_memories_request_object
19542
+ # @param [String] fields
19543
+ # Selector specifying which fields to include in a partial response.
19544
+ # @param [String] quota_user
19545
+ # Available to use for quota purposes for server-side applications. Can be any
19546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19547
+ # @param [Google::Apis::RequestOptions] options
19548
+ # Request-specific options
19549
+ #
19550
+ # @yield [result, err] Result & error if block supplied
19551
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
19552
+ # @yieldparam err [StandardError] error object if request failed
19553
+ #
19554
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
19555
+ #
19556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19559
+ def purge_project_location_memory_bank_memory(parent, google_cloud_aiplatform_v1_purge_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
19560
+ command = make_simple_command(:post, 'v1/{+parent}/memories:purge', options)
19561
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PurgeMemoriesRequest::Representation
19562
+ command.request_object = google_cloud_aiplatform_v1_purge_memories_request_object
19563
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
19564
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
19565
+ command.params['parent'] = parent unless parent.nil?
19566
+ command.query['fields'] = fields unless fields.nil?
19567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19568
+ execute_or_queue_command(command, &block)
19569
+ end
19570
+
19571
+ # Retrieve memories.
19572
+ # @param [String] parent
19573
+ # Required. The resource name of the ReasoningEngine to retrieve memories from.
19574
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
19575
+ # reasoning_engine``
19576
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesRequest] google_cloud_aiplatform_v1_retrieve_memories_request_object
19577
+ # @param [String] fields
19578
+ # Selector specifying which fields to include in a partial response.
19579
+ # @param [String] quota_user
19580
+ # Available to use for quota purposes for server-side applications. Can be any
19581
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19582
+ # @param [Google::Apis::RequestOptions] options
19583
+ # Request-specific options
19584
+ #
19585
+ # @yield [result, err] Result & error if block supplied
19586
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesResponse] parsed result object
19587
+ # @yieldparam err [StandardError] error object if request failed
19588
+ #
19589
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesResponse]
19590
+ #
19591
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19592
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19593
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19594
+ def retrieve_project_location_memory_bank_memory(parent, google_cloud_aiplatform_v1_retrieve_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
19595
+ command = make_simple_command(:post, 'v1/{+parent}/memories:retrieve', options)
19596
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesRequest::Representation
19597
+ command.request_object = google_cloud_aiplatform_v1_retrieve_memories_request_object
19598
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesResponse::Representation
19599
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesResponse
19600
+ command.params['parent'] = parent unless parent.nil?
19601
+ command.query['fields'] = fields unless fields.nil?
19602
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19603
+ execute_or_queue_command(command, &block)
19604
+ end
19605
+
19606
+ # Rollback Memory to a specific revision.
19607
+ # @param [String] name
19608
+ # Required. The resource name of the Memory to rollback. Format: `projects/`
19609
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
19610
+ # memory``
19611
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RollbackMemoryRequest] google_cloud_aiplatform_v1_rollback_memory_request_object
19612
+ # @param [String] fields
19613
+ # Selector specifying which fields to include in a partial response.
19614
+ # @param [String] quota_user
19615
+ # Available to use for quota purposes for server-side applications. Can be any
19616
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19617
+ # @param [Google::Apis::RequestOptions] options
19618
+ # Request-specific options
19619
+ #
19620
+ # @yield [result, err] Result & error if block supplied
19621
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
19622
+ # @yieldparam err [StandardError] error object if request failed
19623
+ #
19624
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
19625
+ #
19626
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19627
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19628
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19629
+ def rollback_project_location_memory_bank_memory(name, google_cloud_aiplatform_v1_rollback_memory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
19630
+ command = make_simple_command(:post, 'v1/{+name}:rollback', options)
19631
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RollbackMemoryRequest::Representation
19632
+ command.request_object = google_cloud_aiplatform_v1_rollback_memory_request_object
19633
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
19634
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
19635
+ command.params['name'] = name unless name.nil?
19636
+ command.query['fields'] = fields unless fields.nil?
19637
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19638
+ execute_or_queue_command(command, &block)
19639
+ end
19640
+
19338
19641
  # Starts asynchronous cancellation on a long-running operation. The server makes
19339
19642
  # a best effort to cancel the operation, but success is not guaranteed. If the
19340
19643
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -19527,6 +19830,80 @@ module Google
19527
19830
  execute_or_queue_command(command, &block)
19528
19831
  end
19529
19832
 
19833
+ # Get a Memory Revision.
19834
+ # @param [String] name
19835
+ # Required. The resource name of the Memory Revision to retrieve. Format: `
19836
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
19837
+ # memories/`memory`/revisions/`revision``
19838
+ # @param [String] fields
19839
+ # Selector specifying which fields to include in a partial response.
19840
+ # @param [String] quota_user
19841
+ # Available to use for quota purposes for server-side applications. Can be any
19842
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19843
+ # @param [Google::Apis::RequestOptions] options
19844
+ # Request-specific options
19845
+ #
19846
+ # @yield [result, err] Result & error if block supplied
19847
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryRevision] parsed result object
19848
+ # @yieldparam err [StandardError] error object if request failed
19849
+ #
19850
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryRevision]
19851
+ #
19852
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19853
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19854
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19855
+ def get_project_location_memory_bank_memory_revision(name, fields: nil, quota_user: nil, options: nil, &block)
19856
+ command = make_simple_command(:get, 'v1/{+name}', options)
19857
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryRevision::Representation
19858
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryRevision
19859
+ command.params['name'] = name unless name.nil?
19860
+ command.query['fields'] = fields unless fields.nil?
19861
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19862
+ execute_or_queue_command(command, &block)
19863
+ end
19864
+
19865
+ # List Memory Revisions for a Memory.
19866
+ # @param [String] parent
19867
+ # Required. The resource name of the Memory to list revisions for. Format: `
19868
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
19869
+ # memories/`memory``
19870
+ # @param [String] filter
19871
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
19872
+ # aip.dev/160). Supported fields (equality match only): * `labels`
19873
+ # @param [Fixnum] page_size
19874
+ # Optional. The standard list page size.
19875
+ # @param [String] page_token
19876
+ # Optional. The standard list page token.
19877
+ # @param [String] fields
19878
+ # Selector specifying which fields to include in a partial response.
19879
+ # @param [String] quota_user
19880
+ # Available to use for quota purposes for server-side applications. Can be any
19881
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19882
+ # @param [Google::Apis::RequestOptions] options
19883
+ # Request-specific options
19884
+ #
19885
+ # @yield [result, err] Result & error if block supplied
19886
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoryRevisionsResponse] parsed result object
19887
+ # @yieldparam err [StandardError] error object if request failed
19888
+ #
19889
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoryRevisionsResponse]
19890
+ #
19891
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19892
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19893
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19894
+ def list_project_location_memory_bank_memory_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
19895
+ command = make_simple_command(:get, 'v1/{+parent}/revisions', options)
19896
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoryRevisionsResponse::Representation
19897
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoryRevisionsResponse
19898
+ command.params['parent'] = parent unless parent.nil?
19899
+ command.query['filter'] = filter unless filter.nil?
19900
+ command.query['pageSize'] = page_size unless page_size.nil?
19901
+ command.query['pageToken'] = page_token unless page_token.nil?
19902
+ command.query['fields'] = fields unless fields.nil?
19903
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19904
+ execute_or_queue_command(command, &block)
19905
+ end
19906
+
19530
19907
  # Starts asynchronous cancellation on a long-running operation. The server makes
19531
19908
  # a best effort to cancel the operation, but success is not guaranteed. If the
19532
19909
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.91.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.90.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.91.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: