google-apis-aiplatform_v1beta1 0.63.0 → 0.64.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.
@@ -1474,6 +1474,24 @@ module Google
1474
1474
  include Google::Apis::Core::JsonObjectSupport
1475
1475
  end
1476
1476
 
1477
+ class GoogleCloudAiplatformV1beta1EmbedContentRequest
1478
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1479
+
1480
+ include Google::Apis::Core::JsonObjectSupport
1481
+ end
1482
+
1483
+ class GoogleCloudAiplatformV1beta1EmbedContentResponse
1484
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1485
+
1486
+ include Google::Apis::Core::JsonObjectSupport
1487
+ end
1488
+
1489
+ class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding
1490
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1491
+
1492
+ include Google::Apis::Core::JsonObjectSupport
1493
+ end
1494
+
1477
1495
  class GoogleCloudAiplatformV1beta1EnableModelRequest
1478
1496
  class Representation < Google::Apis::Core::JsonRepresentation; end
1479
1497
 
@@ -2662,6 +2680,24 @@ module Google
2662
2680
  include Google::Apis::Core::JsonObjectSupport
2663
2681
  end
2664
2682
 
2683
+ class GoogleCloudAiplatformV1beta1FunctionResponseBlob
2684
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2685
+
2686
+ include Google::Apis::Core::JsonObjectSupport
2687
+ end
2688
+
2689
+ class GoogleCloudAiplatformV1beta1FunctionResponseFileData
2690
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2691
+
2692
+ include Google::Apis::Core::JsonObjectSupport
2693
+ end
2694
+
2695
+ class GoogleCloudAiplatformV1beta1FunctionResponsePart
2696
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2697
+
2698
+ include Google::Apis::Core::JsonObjectSupport
2699
+ end
2700
+
2665
2701
  class GoogleCloudAiplatformV1beta1GcsDestination
2666
2702
  class Representation < Google::Apis::Core::JsonRepresentation; end
2667
2703
 
@@ -3424,6 +3460,12 @@ module Google
3424
3460
  include Google::Apis::Core::JsonObjectSupport
3425
3461
  end
3426
3462
 
3463
+ class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse
3464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3465
+
3466
+ include Google::Apis::Core::JsonObjectSupport
3467
+ end
3468
+
3427
3469
  class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse
3428
3470
  class Representation < Google::Apis::Core::JsonRepresentation; end
3429
3471
 
@@ -3748,6 +3790,12 @@ module Google
3748
3790
  include Google::Apis::Core::JsonObjectSupport
3749
3791
  end
3750
3792
 
3793
+ class GoogleCloudAiplatformV1beta1MemoryRevision
3794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3795
+
3796
+ include Google::Apis::Core::JsonObjectSupport
3797
+ end
3798
+
3751
3799
  class GoogleCloudAiplatformV1beta1MemoryTopicId
3752
3800
  class Representation < Google::Apis::Core::JsonRepresentation; end
3753
3801
 
@@ -5938,6 +5986,12 @@ module Google
5938
5986
  include Google::Apis::Core::JsonObjectSupport
5939
5987
  end
5940
5988
 
5989
+ class GoogleCloudAiplatformV1beta1RollbackMemoryRequest
5990
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5991
+
5992
+ include Google::Apis::Core::JsonObjectSupport
5993
+ end
5994
+
5941
5995
  class GoogleCloudAiplatformV1beta1RolloutOptions
5942
5996
  class Representation < Google::Apis::Core::JsonRepresentation; end
5943
5997
 
@@ -8038,6 +8092,12 @@ module Google
8038
8092
  include Google::Apis::Core::JsonObjectSupport
8039
8093
  end
8040
8094
 
8095
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
8096
+ class Representation < Google::Apis::Core::JsonRepresentation; end
8097
+
8098
+ include Google::Apis::Core::JsonObjectSupport
8099
+ end
8100
+
8041
8101
  class GoogleCloudAiplatformV1beta1ToolConfig
8042
8102
  class Representation < Google::Apis::Core::JsonRepresentation; end
8043
8103
 
@@ -8638,6 +8698,12 @@ module Google
8638
8698
  include Google::Apis::Core::JsonObjectSupport
8639
8699
  end
8640
8700
 
8701
+ class GoogleCloudAiplatformV1beta1UsageMetadata
8702
+ class Representation < Google::Apis::Core::JsonRepresentation; end
8703
+
8704
+ include Google::Apis::Core::JsonObjectSupport
8705
+ end
8706
+
8641
8707
  class GoogleCloudAiplatformV1beta1UserActionReference
8642
8708
  class Representation < Google::Apis::Core::JsonRepresentation; end
8643
8709
 
@@ -11283,6 +11349,36 @@ module Google
11283
11349
  end
11284
11350
  end
11285
11351
 
11352
+ class GoogleCloudAiplatformV1beta1EmbedContentRequest
11353
+ # @private
11354
+ class Representation < Google::Apis::Core::JsonRepresentation
11355
+ property :auto_truncate, as: 'autoTruncate'
11356
+ property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
11357
+
11358
+ property :output_dimensionality, as: 'outputDimensionality'
11359
+ property :task_type, as: 'taskType'
11360
+ property :title, as: 'title'
11361
+ end
11362
+ end
11363
+
11364
+ class GoogleCloudAiplatformV1beta1EmbedContentResponse
11365
+ # @private
11366
+ class Representation < Google::Apis::Core::JsonRepresentation
11367
+ property :embedding, as: 'embedding', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding::Representation
11368
+
11369
+ property :truncated, as: 'truncated'
11370
+ property :usage_metadata, as: 'usageMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UsageMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UsageMetadata::Representation
11371
+
11372
+ end
11373
+ end
11374
+
11375
+ class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding
11376
+ # @private
11377
+ class Representation < Google::Apis::Core::JsonRepresentation
11378
+ collection :values, as: 'values'
11379
+ end
11380
+ end
11381
+
11286
11382
  class GoogleCloudAiplatformV1beta1EnableModelRequest
11287
11383
  # @private
11288
11384
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11945,7 +12041,6 @@ module Google
11945
12041
  property :skip_summarization, as: 'skipSummarization'
11946
12042
  hash :state_delta, as: 'stateDelta'
11947
12043
  property :transfer_agent, as: 'transferAgent'
11948
- property :transfer_to_agent, as: 'transferToAgent'
11949
12044
  end
11950
12045
  end
11951
12046
 
@@ -13492,10 +13587,40 @@ module Google
13492
13587
  class Representation < Google::Apis::Core::JsonRepresentation
13493
13588
  property :id, as: 'id'
13494
13589
  property :name, as: 'name'
13590
+ collection :parts, as: 'parts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponsePart, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponsePart::Representation
13591
+
13495
13592
  hash :response, as: 'response'
13496
13593
  end
13497
13594
  end
13498
13595
 
13596
+ class GoogleCloudAiplatformV1beta1FunctionResponseBlob
13597
+ # @private
13598
+ class Representation < Google::Apis::Core::JsonRepresentation
13599
+ property :data, :base64 => true, as: 'data'
13600
+ property :display_name, as: 'displayName'
13601
+ property :mime_type, as: 'mimeType'
13602
+ end
13603
+ end
13604
+
13605
+ class GoogleCloudAiplatformV1beta1FunctionResponseFileData
13606
+ # @private
13607
+ class Representation < Google::Apis::Core::JsonRepresentation
13608
+ property :display_name, as: 'displayName'
13609
+ property :file_uri, as: 'fileUri'
13610
+ property :mime_type, as: 'mimeType'
13611
+ end
13612
+ end
13613
+
13614
+ class GoogleCloudAiplatformV1beta1FunctionResponsePart
13615
+ # @private
13616
+ class Representation < Google::Apis::Core::JsonRepresentation
13617
+ property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseFileData, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseFileData::Representation
13618
+
13619
+ property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseBlob, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseBlob::Representation
13620
+
13621
+ end
13622
+ end
13623
+
13499
13624
  class GoogleCloudAiplatformV1beta1GcsDestination
13500
13625
  # @private
13501
13626
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13717,6 +13842,10 @@ module Google
13717
13842
  property :direct_memories_source, as: 'directMemoriesSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource::Representation
13718
13843
 
13719
13844
  property :disable_consolidation, as: 'disableConsolidation'
13845
+ property :disable_memory_revisions, as: 'disableMemoryRevisions'
13846
+ property :revision_expire_time, as: 'revisionExpireTime'
13847
+ hash :revision_labels, as: 'revisionLabels'
13848
+ property :revision_ttl, as: 'revisionTtl'
13720
13849
  hash :scope, as: 'scope'
13721
13850
  property :vertex_session_source, as: 'vertexSessionSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource::Representation
13722
13851
 
@@ -14826,6 +14955,15 @@ module Google
14826
14955
  end
14827
14956
  end
14828
14957
 
14958
+ class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse
14959
+ # @private
14960
+ class Representation < Google::Apis::Core::JsonRepresentation
14961
+ collection :memory_revisions, as: 'memoryRevisions', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision::Representation
14962
+
14963
+ property :next_page_token, as: 'nextPageToken'
14964
+ end
14965
+ end
14966
+
14829
14967
  class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse
14830
14968
  # @private
14831
14969
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15234,10 +15372,13 @@ module Google
15234
15372
  class Representation < Google::Apis::Core::JsonRepresentation
15235
15373
  property :create_time, as: 'createTime'
15236
15374
  property :description, as: 'description'
15375
+ property :disable_memory_revisions, as: 'disableMemoryRevisions'
15237
15376
  property :display_name, as: 'displayName'
15238
15377
  property :expire_time, as: 'expireTime'
15239
15378
  property :fact, as: 'fact'
15240
15379
  property :name, as: 'name'
15380
+ property :revision_expire_time, as: 'revisionExpireTime'
15381
+ property :revision_ttl, as: 'revisionTtl'
15241
15382
  hash :scope, as: 'scope'
15242
15383
  property :ttl, as: 'ttl'
15243
15384
  property :update_time, as: 'updateTime'
@@ -15315,6 +15456,17 @@ module Google
15315
15456
  end
15316
15457
  end
15317
15458
 
15459
+ class GoogleCloudAiplatformV1beta1MemoryRevision
15460
+ # @private
15461
+ class Representation < Google::Apis::Core::JsonRepresentation
15462
+ property :create_time, as: 'createTime'
15463
+ property :expire_time, as: 'expireTime'
15464
+ property :fact, as: 'fact'
15465
+ hash :labels, as: 'labels'
15466
+ property :name, as: 'name'
15467
+ end
15468
+ end
15469
+
15318
15470
  class GoogleCloudAiplatformV1beta1MemoryTopicId
15319
15471
  # @private
15320
15472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17435,6 +17587,7 @@ module Google
17435
17587
  # @private
17436
17588
  class Representation < Google::Apis::Core::JsonRepresentation
17437
17589
  collection :instances, as: 'instances'
17590
+ hash :labels, as: 'labels'
17438
17591
  property :parameters, as: 'parameters'
17439
17592
  end
17440
17593
  end
@@ -18714,6 +18867,7 @@ module Google
18714
18867
  class Representation < Google::Apis::Core::JsonRepresentation
18715
18868
  collection :customization_configs, as: 'customizationConfigs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig::Representation
18716
18869
 
18870
+ property :disable_memory_revisions, as: 'disableMemoryRevisions'
18717
18871
  property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig::Representation
18718
18872
 
18719
18873
  property :similarity_search_config, as: 'similaritySearchConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig::Representation
@@ -18743,6 +18897,7 @@ module Google
18743
18897
  property :default_ttl, as: 'defaultTtl'
18744
18898
  property :granular_ttl_config, as: 'granularTtlConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig::Representation
18745
18899
 
18900
+ property :memory_revision_default_ttl, as: 'memoryRevisionDefaultTtl'
18746
18901
  end
18747
18902
  end
18748
18903
 
@@ -19129,6 +19284,13 @@ module Google
19129
19284
  end
19130
19285
  end
19131
19286
 
19287
+ class GoogleCloudAiplatformV1beta1RollbackMemoryRequest
19288
+ # @private
19289
+ class Representation < Google::Apis::Core::JsonRepresentation
19290
+ property :target_revision_id, :numeric_string => true, as: 'targetRevisionId'
19291
+ end
19292
+ end
19293
+
19132
19294
  class GoogleCloudAiplatformV1beta1RolloutOptions
19133
19295
  # @private
19134
19296
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22568,6 +22730,8 @@ module Google
22568
22730
  class Representation < Google::Apis::Core::JsonRepresentation
22569
22731
  property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
22570
22732
 
22733
+ property :computer_use, as: 'computerUse', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
22734
+
22571
22735
  property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
22572
22736
 
22573
22737
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
@@ -22638,6 +22802,14 @@ module Google
22638
22802
  end
22639
22803
  end
22640
22804
 
22805
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
22806
+ # @private
22807
+ class Representation < Google::Apis::Core::JsonRepresentation
22808
+ property :environment, as: 'environment'
22809
+ collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions'
22810
+ end
22811
+ end
22812
+
22641
22813
  class GoogleCloudAiplatformV1beta1ToolConfig
22642
22814
  # @private
22643
22815
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -23542,6 +23714,27 @@ module Google
23542
23714
  end
23543
23715
  end
23544
23716
 
23717
+ class GoogleCloudAiplatformV1beta1UsageMetadata
23718
+ # @private
23719
+ class Representation < Google::Apis::Core::JsonRepresentation
23720
+ collection :cache_tokens_details, as: 'cacheTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
23721
+
23722
+ property :cached_content_token_count, as: 'cachedContentTokenCount'
23723
+ property :candidates_token_count, as: 'candidatesTokenCount'
23724
+ collection :candidates_tokens_details, as: 'candidatesTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
23725
+
23726
+ property :prompt_token_count, as: 'promptTokenCount'
23727
+ collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
23728
+
23729
+ property :thoughts_token_count, as: 'thoughtsTokenCount'
23730
+ property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
23731
+ collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
23732
+
23733
+ property :total_token_count, as: 'totalTokenCount'
23734
+ property :traffic_type, as: 'trafficType'
23735
+ end
23736
+ end
23737
+
23545
23738
  class GoogleCloudAiplatformV1beta1UserActionReference
23546
23739
  # @private
23547
23740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22435,6 +22435,40 @@ module Google
22435
22435
  execute_or_queue_command(command, &block)
22436
22436
  end
22437
22437
 
22438
+ # Embed content with multimodal inputs.
22439
+ # @param [String] model
22440
+ # Required. The name of the publisher model requested to serve the prediction.
22441
+ # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
22442
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequest] google_cloud_aiplatform_v1beta1_embed_content_request_object
22443
+ # @param [String] fields
22444
+ # Selector specifying which fields to include in a partial response.
22445
+ # @param [String] quota_user
22446
+ # Available to use for quota purposes for server-side applications. Can be any
22447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22448
+ # @param [Google::Apis::RequestOptions] options
22449
+ # Request-specific options
22450
+ #
22451
+ # @yield [result, err] Result & error if block supplied
22452
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse] parsed result object
22453
+ # @yieldparam err [StandardError] error object if request failed
22454
+ #
22455
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse]
22456
+ #
22457
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22458
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22459
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22460
+ def embed_project_location_publisher_model_content(model, google_cloud_aiplatform_v1beta1_embed_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
22461
+ command = make_simple_command(:post, 'v1beta1/{+model}:embedContent', options)
22462
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequest::Representation
22463
+ command.request_object = google_cloud_aiplatform_v1beta1_embed_content_request_object
22464
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse::Representation
22465
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse
22466
+ command.params['model'] = model unless model.nil?
22467
+ command.query['fields'] = fields unless fields.nil?
22468
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22469
+ execute_or_queue_command(command, &block)
22470
+ end
22471
+
22438
22472
  # Exports a publisher model to a user provided Google Cloud Storage bucket.
22439
22473
  # @param [String] parent
22440
22474
  # Required. The Location to export the model weights from Format: `projects/`
@@ -24684,6 +24718,41 @@ module Google
24684
24718
  execute_or_queue_command(command, &block)
24685
24719
  end
24686
24720
 
24721
+ # Rollback Memory to a specific revision.
24722
+ # @param [String] name
24723
+ # Required. The resource name of the Memory to rollback. Format: `projects/`
24724
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
24725
+ # memory``
24726
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest] google_cloud_aiplatform_v1beta1_rollback_memory_request_object
24727
+ # @param [String] fields
24728
+ # Selector specifying which fields to include in a partial response.
24729
+ # @param [String] quota_user
24730
+ # Available to use for quota purposes for server-side applications. Can be any
24731
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24732
+ # @param [Google::Apis::RequestOptions] options
24733
+ # Request-specific options
24734
+ #
24735
+ # @yield [result, err] Result & error if block supplied
24736
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
24737
+ # @yieldparam err [StandardError] error object if request failed
24738
+ #
24739
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
24740
+ #
24741
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24742
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24743
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24744
+ def rollback_project_location_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_rollback_memory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
24745
+ command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options)
24746
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest::Representation
24747
+ command.request_object = google_cloud_aiplatform_v1beta1_rollback_memory_request_object
24748
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
24749
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
24750
+ command.params['name'] = name unless name.nil?
24751
+ command.query['fields'] = fields unless fields.nil?
24752
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24753
+ execute_or_queue_command(command, &block)
24754
+ end
24755
+
24687
24756
  # Starts asynchronous cancellation on a long-running operation. The server makes
24688
24757
  # a best effort to cancel the operation, but success is not guaranteed. If the
24689
24758
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -24875,6 +24944,80 @@ module Google
24875
24944
  execute_or_queue_command(command, &block)
24876
24945
  end
24877
24946
 
24947
+ # Get a Memory Revision.
24948
+ # @param [String] name
24949
+ # Required. The resource name of the Memory Revision to retrieve. Format: `
24950
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
24951
+ # memories/`memory`/revisions/`revision``
24952
+ # @param [String] fields
24953
+ # Selector specifying which fields to include in a partial response.
24954
+ # @param [String] quota_user
24955
+ # Available to use for quota purposes for server-side applications. Can be any
24956
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24957
+ # @param [Google::Apis::RequestOptions] options
24958
+ # Request-specific options
24959
+ #
24960
+ # @yield [result, err] Result & error if block supplied
24961
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision] parsed result object
24962
+ # @yieldparam err [StandardError] error object if request failed
24963
+ #
24964
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision]
24965
+ #
24966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24969
+ def get_project_location_reasoning_engine_memory_revision(name, fields: nil, quota_user: nil, options: nil, &block)
24970
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
24971
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision::Representation
24972
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision
24973
+ command.params['name'] = name unless name.nil?
24974
+ command.query['fields'] = fields unless fields.nil?
24975
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24976
+ execute_or_queue_command(command, &block)
24977
+ end
24978
+
24979
+ # List Memory Revisions for a Memory.
24980
+ # @param [String] parent
24981
+ # Required. The resource name of the Memory to list revisions for. Format: `
24982
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
24983
+ # memories/`memory``
24984
+ # @param [String] filter
24985
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
24986
+ # aip.dev/160). Supported fields (equality match only): * `labels`
24987
+ # @param [Fixnum] page_size
24988
+ # Optional. The standard list page size.
24989
+ # @param [String] page_token
24990
+ # Optional. The standard list page token.
24991
+ # @param [String] fields
24992
+ # Selector specifying which fields to include in a partial response.
24993
+ # @param [String] quota_user
24994
+ # Available to use for quota purposes for server-side applications. Can be any
24995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24996
+ # @param [Google::Apis::RequestOptions] options
24997
+ # Request-specific options
24998
+ #
24999
+ # @yield [result, err] Result & error if block supplied
25000
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse] parsed result object
25001
+ # @yieldparam err [StandardError] error object if request failed
25002
+ #
25003
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse]
25004
+ #
25005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25008
+ def list_project_location_reasoning_engine_memory_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
25009
+ command = make_simple_command(:get, 'v1beta1/{+parent}/revisions', options)
25010
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse::Representation
25011
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse
25012
+ command.params['parent'] = parent unless parent.nil?
25013
+ command.query['filter'] = filter unless filter.nil?
25014
+ command.query['pageSize'] = page_size unless page_size.nil?
25015
+ command.query['pageToken'] = page_token unless page_token.nil?
25016
+ command.query['fields'] = fields unless fields.nil?
25017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25018
+ execute_or_queue_command(command, &block)
25019
+ end
25020
+
24878
25021
  # Starts asynchronous cancellation on a long-running operation. The server makes
24879
25022
  # a best effort to cancel the operation, but success is not guaranteed. If the
24880
25023
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -31524,6 +31667,115 @@ module Google
31524
31667
  execute_or_queue_command(command, &block)
31525
31668
  end
31526
31669
 
31670
+ # Rollback Memory to a specific revision.
31671
+ # @param [String] name
31672
+ # Required. The resource name of the Memory to rollback. Format: `projects/`
31673
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
31674
+ # memory``
31675
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest] google_cloud_aiplatform_v1beta1_rollback_memory_request_object
31676
+ # @param [String] fields
31677
+ # Selector specifying which fields to include in a partial response.
31678
+ # @param [String] quota_user
31679
+ # Available to use for quota purposes for server-side applications. Can be any
31680
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
31681
+ # @param [Google::Apis::RequestOptions] options
31682
+ # Request-specific options
31683
+ #
31684
+ # @yield [result, err] Result & error if block supplied
31685
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
31686
+ # @yieldparam err [StandardError] error object if request failed
31687
+ #
31688
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
31689
+ #
31690
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31691
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31692
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31693
+ def rollback_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_rollback_memory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
31694
+ command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options)
31695
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest::Representation
31696
+ command.request_object = google_cloud_aiplatform_v1beta1_rollback_memory_request_object
31697
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
31698
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
31699
+ command.params['name'] = name unless name.nil?
31700
+ command.query['fields'] = fields unless fields.nil?
31701
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
31702
+ execute_or_queue_command(command, &block)
31703
+ end
31704
+
31705
+ # Get a Memory Revision.
31706
+ # @param [String] name
31707
+ # Required. The resource name of the Memory Revision to retrieve. Format: `
31708
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
31709
+ # memories/`memory`/revisions/`revision``
31710
+ # @param [String] fields
31711
+ # Selector specifying which fields to include in a partial response.
31712
+ # @param [String] quota_user
31713
+ # Available to use for quota purposes for server-side applications. Can be any
31714
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
31715
+ # @param [Google::Apis::RequestOptions] options
31716
+ # Request-specific options
31717
+ #
31718
+ # @yield [result, err] Result & error if block supplied
31719
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision] parsed result object
31720
+ # @yieldparam err [StandardError] error object if request failed
31721
+ #
31722
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision]
31723
+ #
31724
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31725
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31726
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31727
+ def get_reasoning_engine_memory_revision(name, fields: nil, quota_user: nil, options: nil, &block)
31728
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
31729
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision::Representation
31730
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision
31731
+ command.params['name'] = name unless name.nil?
31732
+ command.query['fields'] = fields unless fields.nil?
31733
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
31734
+ execute_or_queue_command(command, &block)
31735
+ end
31736
+
31737
+ # List Memory Revisions for a Memory.
31738
+ # @param [String] parent
31739
+ # Required. The resource name of the Memory to list revisions for. Format: `
31740
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
31741
+ # memories/`memory``
31742
+ # @param [String] filter
31743
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
31744
+ # aip.dev/160). Supported fields (equality match only): * `labels`
31745
+ # @param [Fixnum] page_size
31746
+ # Optional. The standard list page size.
31747
+ # @param [String] page_token
31748
+ # Optional. The standard list page token.
31749
+ # @param [String] fields
31750
+ # Selector specifying which fields to include in a partial response.
31751
+ # @param [String] quota_user
31752
+ # Available to use for quota purposes for server-side applications. Can be any
31753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
31754
+ # @param [Google::Apis::RequestOptions] options
31755
+ # Request-specific options
31756
+ #
31757
+ # @yield [result, err] Result & error if block supplied
31758
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse] parsed result object
31759
+ # @yieldparam err [StandardError] error object if request failed
31760
+ #
31761
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse]
31762
+ #
31763
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31764
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31765
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31766
+ def list_reasoning_engine_memory_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
31767
+ command = make_simple_command(:get, 'v1beta1/{+parent}/revisions', options)
31768
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse::Representation
31769
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse
31770
+ command.params['parent'] = parent unless parent.nil?
31771
+ command.query['filter'] = filter unless filter.nil?
31772
+ command.query['pageSize'] = page_size unless page_size.nil?
31773
+ command.query['pageToken'] = page_token unless page_token.nil?
31774
+ command.query['fields'] = fields unless fields.nil?
31775
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
31776
+ execute_or_queue_command(command, &block)
31777
+ end
31778
+
31527
31779
  # Appends an event to a given session.
31528
31780
  # @param [String] name
31529
31781
  # 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.63.0
4
+ version: 0.64.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.63.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.64.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: