google-apis-aiplatform_v1 0.73.0 → 0.74.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.
@@ -14152,6 +14152,19 @@ module Google
14152
14152
  # @return [String]
14153
14153
  attr_accessor :name
14154
14154
 
14155
+ # Optional. The partial argument value of the function call. If provided,
14156
+ # represents the arguments/fields that are streamed incrementally.
14157
+ # Corresponds to the JSON property `partialArgs`
14158
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartialArg>]
14159
+ attr_accessor :partial_args
14160
+
14161
+ # Optional. Whether this is the last part of the FunctionCall. If true, another
14162
+ # partial message for the current FunctionCall is expected to follow.
14163
+ # Corresponds to the JSON property `willContinue`
14164
+ # @return [Boolean]
14165
+ attr_accessor :will_continue
14166
+ alias_method :will_continue?, :will_continue
14167
+
14155
14168
  def initialize(**args)
14156
14169
  update!(**args)
14157
14170
  end
@@ -14160,6 +14173,8 @@ module Google
14160
14173
  def update!(**args)
14161
14174
  @args = args[:args] if args.key?(:args)
14162
14175
  @name = args[:name] if args.key?(:name)
14176
+ @partial_args = args[:partial_args] if args.key?(:partial_args)
14177
+ @will_continue = args[:will_continue] if args.key?(:will_continue)
14163
14178
  end
14164
14179
  end
14165
14180
 
@@ -14179,6 +14194,14 @@ module Google
14179
14194
  # @return [String]
14180
14195
  attr_accessor :mode
14181
14196
 
14197
+ # Optional. When set to true, arguments of a single function call will be
14198
+ # streamed out in multiple parts/contents/responses. Partial parameter results
14199
+ # will be returned in the [FunctionCall.partial_args] field.
14200
+ # Corresponds to the JSON property `streamFunctionCallArguments`
14201
+ # @return [Boolean]
14202
+ attr_accessor :stream_function_call_arguments
14203
+ alias_method :stream_function_call_arguments?, :stream_function_call_arguments
14204
+
14182
14205
  def initialize(**args)
14183
14206
  update!(**args)
14184
14207
  end
@@ -14187,6 +14210,7 @@ module Google
14187
14210
  def update!(**args)
14188
14211
  @allowed_function_names = args[:allowed_function_names] if args.key?(:allowed_function_names)
14189
14212
  @mode = args[:mode] if args.key?(:mode)
14213
+ @stream_function_call_arguments = args[:stream_function_call_arguments] if args.key?(:stream_function_call_arguments)
14190
14214
  end
14191
14215
  end
14192
14216
 
@@ -14205,8 +14229,8 @@ module Google
14205
14229
  attr_accessor :description
14206
14230
 
14207
14231
  # Required. The name of the function to call. Must start with a letter or an
14208
- # underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes,
14209
- # with a maximum length of 64.
14232
+ # underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and
14233
+ # dashes, with a maximum length of 64.
14210
14234
  # Corresponds to the JSON property `name`
14211
14235
  # @return [String]
14212
14236
  attr_accessor :name
@@ -15349,6 +15373,11 @@ module Google
15349
15373
  # @return [Fixnum]
15350
15374
  attr_accessor :thinking_budget
15351
15375
 
15376
+ # Optional. The number of thoughts tokens that the model should generate.
15377
+ # Corresponds to the JSON property `thinkingLevel`
15378
+ # @return [String]
15379
+ attr_accessor :thinking_level
15380
+
15352
15381
  def initialize(**args)
15353
15382
  update!(**args)
15354
15383
  end
@@ -15357,6 +15386,7 @@ module Google
15357
15386
  def update!(**args)
15358
15387
  @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
15359
15388
  @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
15389
+ @thinking_level = args[:thinking_level] if args.key?(:thinking_level)
15360
15390
  end
15361
15391
  end
15362
15392
 
@@ -16137,6 +16167,12 @@ module Google
16137
16167
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageConfigImageOutputOptions]
16138
16168
  attr_accessor :image_output_options
16139
16169
 
16170
+ # Optional. Specifies the size of generated images. Supported values are `1K`, `
16171
+ # 2K`, `4K`. If not specified, the model will use default value `1K`.
16172
+ # Corresponds to the JSON property `imageSize`
16173
+ # @return [String]
16174
+ attr_accessor :image_size
16175
+
16140
16176
  # Optional. Controls whether the model can generate people.
16141
16177
  # Corresponds to the JSON property `personGeneration`
16142
16178
  # @return [String]
@@ -16150,6 +16186,7 @@ module Google
16150
16186
  def update!(**args)
16151
16187
  @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
16152
16188
  @image_output_options = args[:image_output_options] if args.key?(:image_output_options)
16189
+ @image_size = args[:image_size] if args.key?(:image_size)
16153
16190
  @person_generation = args[:person_generation] if args.key?(:person_generation)
16154
16191
  end
16155
16192
  end
@@ -19321,6 +19358,236 @@ module Google
19321
19358
  end
19322
19359
  end
19323
19360
 
19361
+ # Configuration for organizing memories for a particular scope.
19362
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfig
19363
+ include Google::Apis::Core::Hashable
19364
+
19365
+ # Optional. Examples of how to generate memories for a particular scope.
19366
+ # Corresponds to the JSON property `generateMemoriesExamples`
19367
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample>]
19368
+ attr_accessor :generate_memories_examples
19369
+
19370
+ # Optional. Topics of information that should be extracted from conversations
19371
+ # and stored as memories. If not set, then Memory Bank's default topics will be
19372
+ # used.
19373
+ # Corresponds to the JSON property `memoryTopics`
19374
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic>]
19375
+ attr_accessor :memory_topics
19376
+
19377
+ # Optional. The scope keys (i.e. 'user_id') for which to use this config. A
19378
+ # request's scope must include all of the provided keys for the config to be
19379
+ # used (order does not matter). If empty, then the config will be used for all
19380
+ # requests that do not have a more specific config. Only one default config is
19381
+ # allowed per Memory Bank.
19382
+ # Corresponds to the JSON property `scopeKeys`
19383
+ # @return [Array<String>]
19384
+ attr_accessor :scope_keys
19385
+
19386
+ def initialize(**args)
19387
+ update!(**args)
19388
+ end
19389
+
19390
+ # Update properties of this object
19391
+ def update!(**args)
19392
+ @generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
19393
+ @memory_topics = args[:memory_topics] if args.key?(:memory_topics)
19394
+ @scope_keys = args[:scope_keys] if args.key?(:scope_keys)
19395
+ end
19396
+ end
19397
+
19398
+ # An example of how to generate memories for a particular scope.
19399
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample
19400
+ include Google::Apis::Core::Hashable
19401
+
19402
+ # A conversation source for the example. This is similar to `
19403
+ # DirectContentsSource`.
19404
+ # Corresponds to the JSON property `conversationSource`
19405
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource]
19406
+ attr_accessor :conversation_source
19407
+
19408
+ # Optional. The memories that are expected to be generated from the input
19409
+ # conversation. An empty list indicates that no memories are expected to be
19410
+ # generated for the input conversation.
19411
+ # Corresponds to the JSON property `generatedMemories`
19412
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory>]
19413
+ attr_accessor :generated_memories
19414
+
19415
+ def initialize(**args)
19416
+ update!(**args)
19417
+ end
19418
+
19419
+ # Update properties of this object
19420
+ def update!(**args)
19421
+ @conversation_source = args[:conversation_source] if args.key?(:conversation_source)
19422
+ @generated_memories = args[:generated_memories] if args.key?(:generated_memories)
19423
+ end
19424
+ end
19425
+
19426
+ # A conversation source for the example. This is similar to `
19427
+ # DirectContentsSource`.
19428
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource
19429
+ include Google::Apis::Core::Hashable
19430
+
19431
+ # Optional. The input conversation events for the example.
19432
+ # Corresponds to the JSON property `events`
19433
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent>]
19434
+ attr_accessor :events
19435
+
19436
+ def initialize(**args)
19437
+ update!(**args)
19438
+ end
19439
+
19440
+ # Update properties of this object
19441
+ def update!(**args)
19442
+ @events = args[:events] if args.key?(:events)
19443
+ end
19444
+ end
19445
+
19446
+ # A single conversation event.
19447
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent
19448
+ include Google::Apis::Core::Hashable
19449
+
19450
+ # The structured data content of a message. A Content message contains a `role`
19451
+ # field, which indicates the producer of the content, and a `parts` field, which
19452
+ # contains the multi-part data of the message.
19453
+ # Corresponds to the JSON property `content`
19454
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
19455
+ attr_accessor :content
19456
+
19457
+ def initialize(**args)
19458
+ update!(**args)
19459
+ end
19460
+
19461
+ # Update properties of this object
19462
+ def update!(**args)
19463
+ @content = args[:content] if args.key?(:content)
19464
+ end
19465
+ end
19466
+
19467
+ # A memory generated by the operation.
19468
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory
19469
+ include Google::Apis::Core::Hashable
19470
+
19471
+ # Required. The fact to generate a memory from.
19472
+ # Corresponds to the JSON property `fact`
19473
+ # @return [String]
19474
+ attr_accessor :fact
19475
+
19476
+ # Optional. The list of topics that the memory should be associated with. For
19477
+ # example, use `custom_memory_topic_label = "jargon"` if the extracted memory is
19478
+ # an example of memory extraction for the custom topic `jargon`.
19479
+ # Corresponds to the JSON property `topics`
19480
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryTopicId>]
19481
+ attr_accessor :topics
19482
+
19483
+ def initialize(**args)
19484
+ update!(**args)
19485
+ end
19486
+
19487
+ # Update properties of this object
19488
+ def update!(**args)
19489
+ @fact = args[:fact] if args.key?(:fact)
19490
+ @topics = args[:topics] if args.key?(:topics)
19491
+ end
19492
+ end
19493
+
19494
+ # A topic of information that should be extracted from conversations and stored
19495
+ # as memories.
19496
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic
19497
+ include Google::Apis::Core::Hashable
19498
+
19499
+ # A custom memory topic defined by the developer.
19500
+ # Corresponds to the JSON property `customMemoryTopic`
19501
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic]
19502
+ attr_accessor :custom_memory_topic
19503
+
19504
+ # A managed memory topic defined by the system.
19505
+ # Corresponds to the JSON property `managedMemoryTopic`
19506
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic]
19507
+ attr_accessor :managed_memory_topic
19508
+
19509
+ def initialize(**args)
19510
+ update!(**args)
19511
+ end
19512
+
19513
+ # Update properties of this object
19514
+ def update!(**args)
19515
+ @custom_memory_topic = args[:custom_memory_topic] if args.key?(:custom_memory_topic)
19516
+ @managed_memory_topic = args[:managed_memory_topic] if args.key?(:managed_memory_topic)
19517
+ end
19518
+ end
19519
+
19520
+ # A custom memory topic defined by the developer.
19521
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic
19522
+ include Google::Apis::Core::Hashable
19523
+
19524
+ # Required. Description of the memory topic. This should explain what
19525
+ # information should be extracted for this topic.
19526
+ # Corresponds to the JSON property `description`
19527
+ # @return [String]
19528
+ attr_accessor :description
19529
+
19530
+ # Required. The label of the topic.
19531
+ # Corresponds to the JSON property `label`
19532
+ # @return [String]
19533
+ attr_accessor :label
19534
+
19535
+ def initialize(**args)
19536
+ update!(**args)
19537
+ end
19538
+
19539
+ # Update properties of this object
19540
+ def update!(**args)
19541
+ @description = args[:description] if args.key?(:description)
19542
+ @label = args[:label] if args.key?(:label)
19543
+ end
19544
+ end
19545
+
19546
+ # A managed memory topic defined by the system.
19547
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic
19548
+ include Google::Apis::Core::Hashable
19549
+
19550
+ # Required. The managed topic.
19551
+ # Corresponds to the JSON property `managedTopicEnum`
19552
+ # @return [String]
19553
+ attr_accessor :managed_topic_enum
19554
+
19555
+ def initialize(**args)
19556
+ update!(**args)
19557
+ end
19558
+
19559
+ # Update properties of this object
19560
+ def update!(**args)
19561
+ @managed_topic_enum = args[:managed_topic_enum] if args.key?(:managed_topic_enum)
19562
+ end
19563
+ end
19564
+
19565
+ # A memory topic identifier. This will be used to label a Memory and to restrict
19566
+ # which topics are eligible for generation or retrieval.
19567
+ class GoogleCloudAiplatformV1MemoryTopicId
19568
+ include Google::Apis::Core::Hashable
19569
+
19570
+ # Optional. The custom memory topic label.
19571
+ # Corresponds to the JSON property `customMemoryTopicLabel`
19572
+ # @return [String]
19573
+ attr_accessor :custom_memory_topic_label
19574
+
19575
+ # Optional. The managed memory topic.
19576
+ # Corresponds to the JSON property `managedMemoryTopic`
19577
+ # @return [String]
19578
+ attr_accessor :managed_memory_topic
19579
+
19580
+ def initialize(**args)
19581
+ update!(**args)
19582
+ end
19583
+
19584
+ # Update properties of this object
19585
+ def update!(**args)
19586
+ @custom_memory_topic_label = args[:custom_memory_topic_label] if args.key?(:custom_memory_topic_label)
19587
+ @managed_memory_topic = args[:managed_memory_topic] if args.key?(:managed_memory_topic)
19588
+ end
19589
+ end
19590
+
19324
19591
  # Request message for ModelService.MergeVersionAliases.
19325
19592
  class GoogleCloudAiplatformV1MergeVersionAliasesRequest
19326
19593
  include Google::Apis::Core::Hashable
@@ -24356,6 +24623,11 @@ module Google
24356
24623
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob]
24357
24624
  attr_accessor :inline_data
24358
24625
 
24626
+ # per part media resolution. Media resolution for the input media.
24627
+ # Corresponds to the JSON property `mediaResolution`
24628
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution]
24629
+ attr_accessor :media_resolution
24630
+
24359
24631
  # Optional. The text content of the part.
24360
24632
  # Corresponds to the JSON property `text`
24361
24633
  # @return [String]
@@ -24393,6 +24665,7 @@ module Google
24393
24665
  @function_call = args[:function_call] if args.key?(:function_call)
24394
24666
  @function_response = args[:function_response] if args.key?(:function_response)
24395
24667
  @inline_data = args[:inline_data] if args.key?(:inline_data)
24668
+ @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
24396
24669
  @text = args[:text] if args.key?(:text)
24397
24670
  @thought = args[:thought] if args.key?(:thought)
24398
24671
  @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
@@ -24400,6 +24673,78 @@ module Google
24400
24673
  end
24401
24674
  end
24402
24675
 
24676
+ # per part media resolution. Media resolution for the input media.
24677
+ class GoogleCloudAiplatformV1PartMediaResolution
24678
+ include Google::Apis::Core::Hashable
24679
+
24680
+ # The tokenization quality used for given media.
24681
+ # Corresponds to the JSON property `level`
24682
+ # @return [String]
24683
+ attr_accessor :level
24684
+
24685
+ def initialize(**args)
24686
+ update!(**args)
24687
+ end
24688
+
24689
+ # Update properties of this object
24690
+ def update!(**args)
24691
+ @level = args[:level] if args.key?(:level)
24692
+ end
24693
+ end
24694
+
24695
+ # Partial argument value of the function call.
24696
+ class GoogleCloudAiplatformV1PartialArg
24697
+ include Google::Apis::Core::Hashable
24698
+
24699
+ # Optional. Represents a boolean value.
24700
+ # Corresponds to the JSON property `boolValue`
24701
+ # @return [Boolean]
24702
+ attr_accessor :bool_value
24703
+ alias_method :bool_value?, :bool_value
24704
+
24705
+ # Required. A JSON Path (RFC 9535) to the argument being streamed. https://
24706
+ # datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
24707
+ # Corresponds to the JSON property `jsonPath`
24708
+ # @return [String]
24709
+ attr_accessor :json_path
24710
+
24711
+ # Optional. Represents a null value.
24712
+ # Corresponds to the JSON property `nullValue`
24713
+ # @return [String]
24714
+ attr_accessor :null_value
24715
+
24716
+ # Optional. Represents a double value.
24717
+ # Corresponds to the JSON property `numberValue`
24718
+ # @return [Float]
24719
+ attr_accessor :number_value
24720
+
24721
+ # Optional. Represents a string value.
24722
+ # Corresponds to the JSON property `stringValue`
24723
+ # @return [String]
24724
+ attr_accessor :string_value
24725
+
24726
+ # Optional. Whether this is not the last part of the same json_path. If true,
24727
+ # another PartialArg message for the current json_path is expected to follow.
24728
+ # Corresponds to the JSON property `willContinue`
24729
+ # @return [Boolean]
24730
+ attr_accessor :will_continue
24731
+ alias_method :will_continue?, :will_continue
24732
+
24733
+ def initialize(**args)
24734
+ update!(**args)
24735
+ end
24736
+
24737
+ # Update properties of this object
24738
+ def update!(**args)
24739
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
24740
+ @json_path = args[:json_path] if args.key?(:json_path)
24741
+ @null_value = args[:null_value] if args.key?(:null_value)
24742
+ @number_value = args[:number_value] if args.key?(:number_value)
24743
+ @string_value = args[:string_value] if args.key?(:string_value)
24744
+ @will_continue = args[:will_continue] if args.key?(:will_continue)
24745
+ end
24746
+ end
24747
+
24403
24748
  # Request message for JobService.PauseModelDeploymentMonitoringJob.
24404
24749
  class GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest
24405
24750
  include Google::Apis::Core::Hashable
@@ -28992,6 +29337,11 @@ module Google
28992
29337
  class GoogleCloudAiplatformV1ReasoningEngine
28993
29338
  include Google::Apis::Core::Hashable
28994
29339
 
29340
+ # Configuration for how Agent Engine sub-resources should manage context.
29341
+ # Corresponds to the JSON property `contextSpec`
29342
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineContextSpec]
29343
+ attr_accessor :context_spec
29344
+
28995
29345
  # Output only. Timestamp when this ReasoningEngine was created.
28996
29346
  # Corresponds to the JSON property `createTime`
28997
29347
  # @return [String]
@@ -29046,6 +29396,7 @@ module Google
29046
29396
 
29047
29397
  # Update properties of this object
29048
29398
  def update!(**args)
29399
+ @context_spec = args[:context_spec] if args.key?(:context_spec)
29049
29400
  @create_time = args[:create_time] if args.key?(:create_time)
29050
29401
  @description = args[:description] if args.key?(:description)
29051
29402
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -29058,6 +29409,185 @@ module Google
29058
29409
  end
29059
29410
  end
29060
29411
 
29412
+ # Configuration for how Agent Engine sub-resources should manage context.
29413
+ class GoogleCloudAiplatformV1ReasoningEngineContextSpec
29414
+ include Google::Apis::Core::Hashable
29415
+
29416
+ # Specification for a Memory Bank.
29417
+ # Corresponds to the JSON property `memoryBankConfig`
29418
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig]
29419
+ attr_accessor :memory_bank_config
29420
+
29421
+ def initialize(**args)
29422
+ update!(**args)
29423
+ end
29424
+
29425
+ # Update properties of this object
29426
+ def update!(**args)
29427
+ @memory_bank_config = args[:memory_bank_config] if args.key?(:memory_bank_config)
29428
+ end
29429
+ end
29430
+
29431
+ # Specification for a Memory Bank.
29432
+ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig
29433
+ include Google::Apis::Core::Hashable
29434
+
29435
+ # Optional. Configuration for how to customize Memory Bank behavior for a
29436
+ # particular scope.
29437
+ # Corresponds to the JSON property `customizationConfigs`
29438
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfig>]
29439
+ attr_accessor :customization_configs
29440
+
29441
+ # If true, no memory revisions will be created for any requests to the Memory
29442
+ # Bank.
29443
+ # Corresponds to the JSON property `disableMemoryRevisions`
29444
+ # @return [Boolean]
29445
+ attr_accessor :disable_memory_revisions
29446
+ alias_method :disable_memory_revisions?, :disable_memory_revisions
29447
+
29448
+ # Configuration for how to generate memories.
29449
+ # Corresponds to the JSON property `generationConfig`
29450
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig]
29451
+ attr_accessor :generation_config
29452
+
29453
+ # Configuration for how to perform similarity search on memories.
29454
+ # Corresponds to the JSON property `similaritySearchConfig`
29455
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig]
29456
+ attr_accessor :similarity_search_config
29457
+
29458
+ # Configuration for automatically setting the TTL ("time-to-live") of the
29459
+ # memories in the Memory Bank.
29460
+ # Corresponds to the JSON property `ttlConfig`
29461
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig]
29462
+ attr_accessor :ttl_config
29463
+
29464
+ def initialize(**args)
29465
+ update!(**args)
29466
+ end
29467
+
29468
+ # Update properties of this object
29469
+ def update!(**args)
29470
+ @customization_configs = args[:customization_configs] if args.key?(:customization_configs)
29471
+ @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
29472
+ @generation_config = args[:generation_config] if args.key?(:generation_config)
29473
+ @similarity_search_config = args[:similarity_search_config] if args.key?(:similarity_search_config)
29474
+ @ttl_config = args[:ttl_config] if args.key?(:ttl_config)
29475
+ end
29476
+ end
29477
+
29478
+ # Configuration for how to generate memories.
29479
+ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig
29480
+ include Google::Apis::Core::Hashable
29481
+
29482
+ # Required. The model used to generate memories. Format: `projects/`project`/
29483
+ # locations/`location`/publishers/google/models/`model``.
29484
+ # Corresponds to the JSON property `model`
29485
+ # @return [String]
29486
+ attr_accessor :model
29487
+
29488
+ def initialize(**args)
29489
+ update!(**args)
29490
+ end
29491
+
29492
+ # Update properties of this object
29493
+ def update!(**args)
29494
+ @model = args[:model] if args.key?(:model)
29495
+ end
29496
+ end
29497
+
29498
+ # Configuration for how to perform similarity search on memories.
29499
+ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig
29500
+ include Google::Apis::Core::Hashable
29501
+
29502
+ # Required. The model used to generate embeddings to lookup similar memories.
29503
+ # Format: `projects/`project`/locations/`location`/publishers/google/models/`
29504
+ # model``.
29505
+ # Corresponds to the JSON property `embeddingModel`
29506
+ # @return [String]
29507
+ attr_accessor :embedding_model
29508
+
29509
+ def initialize(**args)
29510
+ update!(**args)
29511
+ end
29512
+
29513
+ # Update properties of this object
29514
+ def update!(**args)
29515
+ @embedding_model = args[:embedding_model] if args.key?(:embedding_model)
29516
+ end
29517
+ end
29518
+
29519
+ # Configuration for automatically setting the TTL ("time-to-live") of the
29520
+ # memories in the Memory Bank.
29521
+ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig
29522
+ include Google::Apis::Core::Hashable
29523
+
29524
+ # Optional. The default TTL duration of the memories in the Memory Bank. This
29525
+ # applies to all operations that create or update a memory.
29526
+ # Corresponds to the JSON property `defaultTtl`
29527
+ # @return [String]
29528
+ attr_accessor :default_ttl
29529
+
29530
+ # Configuration for TTL of the memories in the Memory Bank based on the action
29531
+ # that created or updated the memory.
29532
+ # Corresponds to the JSON property `granularTtlConfig`
29533
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig]
29534
+ attr_accessor :granular_ttl_config
29535
+
29536
+ # Optional. The default TTL duration of the memory revisions in the Memory Bank.
29537
+ # This applies to all operations that create a memory revision. If not set, a
29538
+ # default TTL of 365 days will be used.
29539
+ # Corresponds to the JSON property `memoryRevisionDefaultTtl`
29540
+ # @return [String]
29541
+ attr_accessor :memory_revision_default_ttl
29542
+
29543
+ def initialize(**args)
29544
+ update!(**args)
29545
+ end
29546
+
29547
+ # Update properties of this object
29548
+ def update!(**args)
29549
+ @default_ttl = args[:default_ttl] if args.key?(:default_ttl)
29550
+ @granular_ttl_config = args[:granular_ttl_config] if args.key?(:granular_ttl_config)
29551
+ @memory_revision_default_ttl = args[:memory_revision_default_ttl] if args.key?(:memory_revision_default_ttl)
29552
+ end
29553
+ end
29554
+
29555
+ # Configuration for TTL of the memories in the Memory Bank based on the action
29556
+ # that created or updated the memory.
29557
+ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig
29558
+ include Google::Apis::Core::Hashable
29559
+
29560
+ # Optional. The TTL duration for memories uploaded via CreateMemory.
29561
+ # Corresponds to the JSON property `createTtl`
29562
+ # @return [String]
29563
+ attr_accessor :create_ttl
29564
+
29565
+ # Optional. The TTL duration for memories newly generated via GenerateMemories (
29566
+ # GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).
29567
+ # Corresponds to the JSON property `generateCreatedTtl`
29568
+ # @return [String]
29569
+ attr_accessor :generate_created_ttl
29570
+
29571
+ # Optional. The TTL duration for memories updated via GenerateMemories (
29572
+ # GenerateMemoriesResponse.GeneratedMemory.Action.UPDATED). In the case of an
29573
+ # UPDATE action, the `expire_time` of the existing memory will be updated to the
29574
+ # new value (now + TTL).
29575
+ # Corresponds to the JSON property `generateUpdatedTtl`
29576
+ # @return [String]
29577
+ attr_accessor :generate_updated_ttl
29578
+
29579
+ def initialize(**args)
29580
+ update!(**args)
29581
+ end
29582
+
29583
+ # Update properties of this object
29584
+ def update!(**args)
29585
+ @create_ttl = args[:create_ttl] if args.key?(:create_ttl)
29586
+ @generate_created_ttl = args[:generate_created_ttl] if args.key?(:generate_created_ttl)
29587
+ @generate_updated_ttl = args[:generate_updated_ttl] if args.key?(:generate_updated_ttl)
29588
+ end
29589
+ end
29590
+
29061
29591
  # ReasoningEngine configurations
29062
29592
  class GoogleCloudAiplatformV1ReasoningEngineSpec
29063
29593
  include Google::Apis::Core::Hashable
@@ -29454,6 +29984,34 @@ module Google
29454
29984
  end
29455
29985
  end
29456
29986
 
29987
+ # The configuration for the replicated voice to use.
29988
+ class GoogleCloudAiplatformV1ReplicatedVoiceConfig
29989
+ include Google::Apis::Core::Hashable
29990
+
29991
+ # Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm
29992
+ # is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k
29993
+ # sampling rate.
29994
+ # Corresponds to the JSON property `mimeType`
29995
+ # @return [String]
29996
+ attr_accessor :mime_type
29997
+
29998
+ # Optional. The sample of the custom voice.
29999
+ # Corresponds to the JSON property `voiceSampleAudio`
30000
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
30001
+ # @return [String]
30002
+ attr_accessor :voice_sample_audio
30003
+
30004
+ def initialize(**args)
30005
+ update!(**args)
30006
+ end
30007
+
30008
+ # Update properties of this object
30009
+ def update!(**args)
30010
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
30011
+ @voice_sample_audio = args[:voice_sample_audio] if args.key?(:voice_sample_audio)
30012
+ end
30013
+ end
30014
+
29457
30015
  # A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a
29458
30016
  # DeployedModel) to draw its Compute Engine resources from a Shared Reservation,
29459
30017
  # or exclusively from on-demand capacity.
@@ -44341,6 +44899,11 @@ module Google
44341
44899
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrebuiltVoiceConfig]
44342
44900
  attr_accessor :prebuilt_voice_config
44343
44901
 
44902
+ # The configuration for the replicated voice to use.
44903
+ # Corresponds to the JSON property `replicatedVoiceConfig`
44904
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig]
44905
+ attr_accessor :replicated_voice_config
44906
+
44344
44907
  def initialize(**args)
44345
44908
  update!(**args)
44346
44909
  end
@@ -44348,6 +44911,7 @@ module Google
44348
44911
  # Update properties of this object
44349
44912
  def update!(**args)
44350
44913
  @prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
44914
+ @replicated_voice_config = args[:replicated_voice_config] if args.key?(:replicated_voice_config)
44351
44915
  end
44352
44916
  end
44353
44917
 
@@ -44926,8 +45490,9 @@ module Google
44926
45490
  attr_accessor :operations
44927
45491
 
44928
45492
  # Unordered list. Unreachable resources. Populated when the request sets `
44929
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
44930
- # when attempting to list all resources across all supported locations.
45493
+ # ListOperationsRequest.return_partial_success` and reads across collections.
45494
+ # For example, when attempting to list all resources across all supported
45495
+ # locations.
44931
45496
  # Corresponds to the JSON property `unreachable`
44932
45497
  # @return [Array<String>]
44933
45498
  attr_accessor :unreachable