google-apis-aiplatform_v1beta1 0.62.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.
@@ -6676,6 +6676,16 @@ module Google
6676
6676
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart]
6677
6677
  attr_accessor :flex_start
6678
6678
 
6679
+ # Immutable. Number of initial replicas being deployed on when scaling the
6680
+ # workload up from zero or when creating the workload in case min_replica_count =
6681
+ # 0. When min_replica_count > 0 (meaning that the scale-to-zero feature is not
6682
+ # enabled), initial_replica_count should not be set. When min_replica_count = 0 (
6683
+ # meaning that the scale-to-zero feature is enabled), initial_replica_count
6684
+ # should be larger than zero, but no greater than max_replica_count.
6685
+ # Corresponds to the JSON property `initialReplicaCount`
6686
+ # @return [Fixnum]
6687
+ attr_accessor :initial_replica_count
6688
+
6679
6689
  # Specification of a single machine.
6680
6690
  # Corresponds to the JSON property `machineSpec`
6681
6691
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
@@ -6712,6 +6722,11 @@ module Google
6712
6722
  # @return [Fixnum]
6713
6723
  attr_accessor :required_replica_count
6714
6724
 
6725
+ # Specification for scale-to-zero feature.
6726
+ # Corresponds to the JSON property `scaleToZeroSpec`
6727
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec]
6728
+ attr_accessor :scale_to_zero_spec
6729
+
6715
6730
  # Optional. If true, schedule the deployment workload on [spot VMs](https://
6716
6731
  # cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
6717
6732
  # Corresponds to the JSON property `spot`
@@ -6727,14 +6742,44 @@ module Google
6727
6742
  def update!(**args)
6728
6743
  @autoscaling_metric_specs = args[:autoscaling_metric_specs] if args.key?(:autoscaling_metric_specs)
6729
6744
  @flex_start = args[:flex_start] if args.key?(:flex_start)
6745
+ @initial_replica_count = args[:initial_replica_count] if args.key?(:initial_replica_count)
6730
6746
  @machine_spec = args[:machine_spec] if args.key?(:machine_spec)
6731
6747
  @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
6732
6748
  @min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
6733
6749
  @required_replica_count = args[:required_replica_count] if args.key?(:required_replica_count)
6750
+ @scale_to_zero_spec = args[:scale_to_zero_spec] if args.key?(:scale_to_zero_spec)
6734
6751
  @spot = args[:spot] if args.key?(:spot)
6735
6752
  end
6736
6753
  end
6737
6754
 
6755
+ # Specification for scale-to-zero feature.
6756
+ class GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec
6757
+ include Google::Apis::Core::Hashable
6758
+
6759
+ # Optional. Duration of no traffic before scaling to zero. [MinValue=3600] (5
6760
+ # minutes) [MaxValue=28800] (8 hours)
6761
+ # Corresponds to the JSON property `idleScaledownPeriod`
6762
+ # @return [String]
6763
+ attr_accessor :idle_scaledown_period
6764
+
6765
+ # Optional. Minimum duration that a deployment will be scaled up before traffic
6766
+ # is evaluated for potential scale-down. [MinValue=300] (5 minutes) [MaxValue=
6767
+ # 28800] (8 hours)
6768
+ # Corresponds to the JSON property `minScaleupPeriod`
6769
+ # @return [String]
6770
+ attr_accessor :min_scaleup_period
6771
+
6772
+ def initialize(**args)
6773
+ update!(**args)
6774
+ end
6775
+
6776
+ # Update properties of this object
6777
+ def update!(**args)
6778
+ @idle_scaledown_period = args[:idle_scaledown_period] if args.key?(:idle_scaledown_period)
6779
+ @min_scaleup_period = args[:min_scaleup_period] if args.key?(:min_scaleup_period)
6780
+ end
6781
+ end
6782
+
6738
6783
  # Details of operations that delete Feature values.
6739
6784
  class GoogleCloudAiplatformV1beta1DeleteFeatureValuesOperationMetadata
6740
6785
  include Google::Apis::Core::Hashable
@@ -7337,6 +7382,15 @@ module Google
7337
7382
  # @return [String]
7338
7383
  attr_accessor :endpoint_user_id
7339
7384
 
7385
+ # Optional. The labels with user-defined metadata to organize your Endpoints.
7386
+ # Label keys and values can be no longer than 64 characters (Unicode codepoints),
7387
+ # can only contain lowercase letters, numeric characters, underscores and
7388
+ # dashes. International characters are allowed. See https://goo.gl/xmQnxf for
7389
+ # more information and examples of labels.
7390
+ # Corresponds to the JSON property `labels`
7391
+ # @return [Hash<String,String>]
7392
+ attr_accessor :labels
7393
+
7340
7394
  # Represents configuration for private service connect.
7341
7395
  # Corresponds to the JSON property `privateServiceConnectConfig`
7342
7396
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig]
@@ -7352,6 +7406,7 @@ module Google
7352
7406
  @dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
7353
7407
  @endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
7354
7408
  @endpoint_user_id = args[:endpoint_user_id] if args.key?(:endpoint_user_id)
7409
+ @labels = args[:labels] if args.key?(:labels)
7355
7410
  @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
7356
7411
  end
7357
7412
  end
@@ -7479,7 +7534,7 @@ module Google
7479
7534
  attr_accessor :deployment_group
7480
7535
 
7481
7536
  # Optional. The deployment tier that the index is deployed to.
7482
- # DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE.
7537
+ # DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
7483
7538
  # Corresponds to the JSON property `deploymentTier`
7484
7539
  # @return [String]
7485
7540
  attr_accessor :deployment_tier
@@ -8354,6 +8409,107 @@ module Google
8354
8409
  end
8355
8410
  end
8356
8411
 
8412
+ # Request message for PredictionService.EmbedContent.
8413
+ class GoogleCloudAiplatformV1beta1EmbedContentRequest
8414
+ include Google::Apis::Core::Hashable
8415
+
8416
+ # Optional. Whether to silently truncate the input content if it's longer than
8417
+ # the maximum sequence length.
8418
+ # Corresponds to the JSON property `autoTruncate`
8419
+ # @return [Boolean]
8420
+ attr_accessor :auto_truncate
8421
+ alias_method :auto_truncate?, :auto_truncate
8422
+
8423
+ # The base structured datatype containing multi-part content of a message. A `
8424
+ # Content` includes a `role` field designating the producer of the `Content` and
8425
+ # a `parts` field containing multi-part data that contains the content of the
8426
+ # message turn.
8427
+ # Corresponds to the JSON property `content`
8428
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
8429
+ attr_accessor :content
8430
+
8431
+ # Optional. Optional reduced dimension for the output embedding. If set,
8432
+ # excessive values in the output embedding are truncated from the end.
8433
+ # Corresponds to the JSON property `outputDimensionality`
8434
+ # @return [Fixnum]
8435
+ attr_accessor :output_dimensionality
8436
+
8437
+ # Optional. The task type of the embedding.
8438
+ # Corresponds to the JSON property `taskType`
8439
+ # @return [String]
8440
+ attr_accessor :task_type
8441
+
8442
+ # Optional. An optional title for the text.
8443
+ # Corresponds to the JSON property `title`
8444
+ # @return [String]
8445
+ attr_accessor :title
8446
+
8447
+ def initialize(**args)
8448
+ update!(**args)
8449
+ end
8450
+
8451
+ # Update properties of this object
8452
+ def update!(**args)
8453
+ @auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate)
8454
+ @content = args[:content] if args.key?(:content)
8455
+ @output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality)
8456
+ @task_type = args[:task_type] if args.key?(:task_type)
8457
+ @title = args[:title] if args.key?(:title)
8458
+ end
8459
+ end
8460
+
8461
+ # Response message for PredictionService.EmbedContent.
8462
+ class GoogleCloudAiplatformV1beta1EmbedContentResponse
8463
+ include Google::Apis::Core::Hashable
8464
+
8465
+ # A list of floats representing an embedding.
8466
+ # Corresponds to the JSON property `embedding`
8467
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding]
8468
+ attr_accessor :embedding
8469
+
8470
+ # Whether the input content was truncated before generating the embedding.
8471
+ # Corresponds to the JSON property `truncated`
8472
+ # @return [Boolean]
8473
+ attr_accessor :truncated
8474
+ alias_method :truncated?, :truncated
8475
+
8476
+ # Usage metadata about the content generation request and response. This message
8477
+ # provides a detailed breakdown of token usage and other relevant metrics.
8478
+ # Corresponds to the JSON property `usageMetadata`
8479
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UsageMetadata]
8480
+ attr_accessor :usage_metadata
8481
+
8482
+ def initialize(**args)
8483
+ update!(**args)
8484
+ end
8485
+
8486
+ # Update properties of this object
8487
+ def update!(**args)
8488
+ @embedding = args[:embedding] if args.key?(:embedding)
8489
+ @truncated = args[:truncated] if args.key?(:truncated)
8490
+ @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
8491
+ end
8492
+ end
8493
+
8494
+ # A list of floats representing an embedding.
8495
+ class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding
8496
+ include Google::Apis::Core::Hashable
8497
+
8498
+ # Embedding vector values.
8499
+ # Corresponds to the JSON property `values`
8500
+ # @return [Array<Float>]
8501
+ attr_accessor :values
8502
+
8503
+ def initialize(**args)
8504
+ update!(**args)
8505
+ end
8506
+
8507
+ # Update properties of this object
8508
+ def update!(**args)
8509
+ @values = args[:values] if args.key?(:values)
8510
+ end
8511
+ end
8512
+
8357
8513
  # Request message for ModelGardenService.EnableModel.
8358
8514
  class GoogleCloudAiplatformV1beta1EnableModelRequest
8359
8515
  include Google::Apis::Core::Hashable
@@ -8612,6 +8768,12 @@ module Google
8612
8768
  class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
8613
8769
  include Google::Apis::Core::Hashable
8614
8770
 
8771
+ # Optional. Sites with confidence level chosen & above this value will be
8772
+ # blocked from the search results.
8773
+ # Corresponds to the JSON property `blockingConfidence`
8774
+ # @return [String]
8775
+ attr_accessor :blocking_confidence
8776
+
8615
8777
  # Optional. List of domains to be excluded from the search results. The default
8616
8778
  # limit is 2000 domains.
8617
8779
  # Corresponds to the JSON property `excludeDomains`
@@ -8624,6 +8786,7 @@ module Google
8624
8786
 
8625
8787
  # Update properties of this object
8626
8788
  def update!(**args)
8789
+ @blocking_confidence = args[:blocking_confidence] if args.key?(:blocking_confidence)
8627
8790
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
8628
8791
  end
8629
8792
  end
@@ -10221,7 +10384,7 @@ module Google
10221
10384
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig]
10222
10385
  attr_accessor :generation_config
10223
10386
 
10224
- # Required. The fully qualified name of the publisher model or endpoint to use.
10387
+ # Optional. The fully qualified name of the publisher model or endpoint to use.
10225
10388
  # Publisher model format: `projects/`project`/locations/`location`/publishers/*/
10226
10389
  # models/*` Endpoint format: `projects/`project`/locations/`location`/endpoints/`
10227
10390
  # endpoint``
@@ -10605,12 +10768,6 @@ module Google
10605
10768
  # @return [String]
10606
10769
  attr_accessor :transfer_agent
10607
10770
 
10608
- # Deprecated. If set, the event transfers to the specified agent.
10609
- # Corresponds to the JSON property `transferToAgent`
10610
- # @return [Boolean]
10611
- attr_accessor :transfer_to_agent
10612
- alias_method :transfer_to_agent?, :transfer_to_agent
10613
-
10614
10771
  def initialize(**args)
10615
10772
  update!(**args)
10616
10773
  end
@@ -10623,7 +10780,6 @@ module Google
10623
10780
  @skip_summarization = args[:skip_summarization] if args.key?(:skip_summarization)
10624
10781
  @state_delta = args[:state_delta] if args.key?(:state_delta)
10625
10782
  @transfer_agent = args[:transfer_agent] if args.key?(:transfer_agent)
10626
- @transfer_to_agent = args[:transfer_to_agent] if args.key?(:transfer_to_agent)
10627
10783
  end
10628
10784
  end
10629
10785
 
@@ -13542,6 +13698,18 @@ module Google
13542
13698
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling]
13543
13699
  attr_accessor :auto_scaling
13544
13700
 
13701
+ # Metadata of the Bigtable instance. This is used by direct read access to the
13702
+ # Bigtable in tenant project.
13703
+ # Corresponds to the JSON property `bigtableMetadata`
13704
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata]
13705
+ attr_accessor :bigtable_metadata
13706
+
13707
+ # Optional. It true, enable direct access to the Bigtable instance.
13708
+ # Corresponds to the JSON property `enableDirectBigtableAccess`
13709
+ # @return [Boolean]
13710
+ attr_accessor :enable_direct_bigtable_access
13711
+ alias_method :enable_direct_bigtable_access?, :enable_direct_bigtable_access
13712
+
13545
13713
  def initialize(**args)
13546
13714
  update!(**args)
13547
13715
  end
@@ -13549,6 +13717,8 @@ module Google
13549
13717
  # Update properties of this object
13550
13718
  def update!(**args)
13551
13719
  @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
13720
+ @bigtable_metadata = args[:bigtable_metadata] if args.key?(:bigtable_metadata)
13721
+ @enable_direct_bigtable_access = args[:enable_direct_bigtable_access] if args.key?(:enable_direct_bigtable_access)
13552
13722
  end
13553
13723
  end
13554
13724
 
@@ -13590,6 +13760,38 @@ module Google
13590
13760
  end
13591
13761
  end
13592
13762
 
13763
+ # Metadata of the Bigtable instance. This is used by direct read access to the
13764
+ # Bigtable in tenant project.
13765
+ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata
13766
+ include Google::Apis::Core::Hashable
13767
+
13768
+ # The Cloud Bigtable instance id.
13769
+ # Corresponds to the JSON property `instanceId`
13770
+ # @return [String]
13771
+ attr_accessor :instance_id
13772
+
13773
+ # The Cloud Bigtable table id.
13774
+ # Corresponds to the JSON property `tableId`
13775
+ # @return [String]
13776
+ attr_accessor :table_id
13777
+
13778
+ # Tenant project ID.
13779
+ # Corresponds to the JSON property `tenantProjectId`
13780
+ # @return [String]
13781
+ attr_accessor :tenant_project_id
13782
+
13783
+ def initialize(**args)
13784
+ update!(**args)
13785
+ end
13786
+
13787
+ # Update properties of this object
13788
+ def update!(**args)
13789
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
13790
+ @table_id = args[:table_id] if args.key?(:table_id)
13791
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
13792
+ end
13793
+ end
13794
+
13593
13795
  # The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
13594
13796
  # when you choose Optimized storage type. Public endpoint is provisioned by
13595
13797
  # default.
@@ -14045,6 +14247,12 @@ module Google
14045
14247
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource]
14046
14248
  attr_accessor :big_query_source
14047
14249
 
14250
+ # Metadata for the Cloud Bigtable that supports directly interacting Bigtable
14251
+ # instances.
14252
+ # Corresponds to the JSON property `bigtableMetadata`
14253
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata]
14254
+ attr_accessor :bigtable_metadata
14255
+
14048
14256
  # Output only. Timestamp when this FeatureView was created.
14049
14257
  # Corresponds to the JSON property `createTime`
14050
14258
  # @return [String]
@@ -14145,6 +14353,7 @@ module Google
14145
14353
  # Update properties of this object
14146
14354
  def update!(**args)
14147
14355
  @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
14356
+ @bigtable_metadata = args[:bigtable_metadata] if args.key?(:bigtable_metadata)
14148
14357
  @create_time = args[:create_time] if args.key?(:create_time)
14149
14358
  @etag = args[:etag] if args.key?(:etag)
14150
14359
  @feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
@@ -14189,6 +14398,26 @@ module Google
14189
14398
  end
14190
14399
  end
14191
14400
 
14401
+ # Metadata for the Cloud Bigtable that supports directly interacting Bigtable
14402
+ # instances.
14403
+ class GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata
14404
+ include Google::Apis::Core::Hashable
14405
+
14406
+ # Output only. The Bigtable App Profile to use for reading from Bigtable.
14407
+ # Corresponds to the JSON property `readAppProfile`
14408
+ # @return [String]
14409
+ attr_accessor :read_app_profile
14410
+
14411
+ def initialize(**args)
14412
+ update!(**args)
14413
+ end
14414
+
14415
+ # Update properties of this object
14416
+ def update!(**args)
14417
+ @read_app_profile = args[:read_app_profile] if args.key?(:read_app_profile)
14418
+ end
14419
+ end
14420
+
14192
14421
  # Lookup key for a feature view.
14193
14422
  class GoogleCloudAiplatformV1beta1FeatureViewDataKey
14194
14423
  include Google::Apis::Core::Hashable
@@ -15900,6 +16129,41 @@ module Google
15900
16129
  end
15901
16130
  end
15902
16131
 
16132
+ # Tuning Spec for Full Fine Tuning.
16133
+ class GoogleCloudAiplatformV1beta1FullFineTuningSpec
16134
+ include Google::Apis::Core::Hashable
16135
+
16136
+ # Hyperparameters for SFT.
16137
+ # Corresponds to the JSON property `hyperParameters`
16138
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters]
16139
+ attr_accessor :hyper_parameters
16140
+
16141
+ # Required. Training dataset used for tuning. The dataset can be specified as
16142
+ # either a Cloud Storage path to a JSONL file or as the resource name of a
16143
+ # Vertex Multimodal Dataset.
16144
+ # Corresponds to the JSON property `trainingDatasetUri`
16145
+ # @return [String]
16146
+ attr_accessor :training_dataset_uri
16147
+
16148
+ # Optional. Validation dataset used for tuning. The dataset can be specified as
16149
+ # either a Cloud Storage path to a JSONL file or as the resource name of a
16150
+ # Vertex Multimodal Dataset.
16151
+ # Corresponds to the JSON property `validationDatasetUri`
16152
+ # @return [String]
16153
+ attr_accessor :validation_dataset_uri
16154
+
16155
+ def initialize(**args)
16156
+ update!(**args)
16157
+ end
16158
+
16159
+ # Update properties of this object
16160
+ def update!(**args)
16161
+ @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
16162
+ @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
16163
+ @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
16164
+ end
16165
+ end
16166
+
15903
16167
  # A predicted [FunctionCall] returned from the model that contains a string
15904
16168
  # representing the [FunctionDeclaration.name] and a structured JSON object
15905
16169
  # containing the parameters and their values.
@@ -16048,6 +16312,12 @@ module Google
16048
16312
  # @return [String]
16049
16313
  attr_accessor :name
16050
16314
 
16315
+ # Optional. Ordered `Parts` that constitute a function response. Parts may have
16316
+ # different IANA MIME types.
16317
+ # Corresponds to the JSON property `parts`
16318
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponsePart>]
16319
+ attr_accessor :parts
16320
+
16051
16321
  # Required. The function response in JSON object format. Use "output" key to
16052
16322
  # specify function output and "error" key to specify error details (if any). If "
16053
16323
  # output" and "error" keys are not specified, then whole "response" is treated
@@ -16064,10 +16334,113 @@ module Google
16064
16334
  def update!(**args)
16065
16335
  @id = args[:id] if args.key?(:id)
16066
16336
  @name = args[:name] if args.key?(:name)
16337
+ @parts = args[:parts] if args.key?(:parts)
16067
16338
  @response = args[:response] if args.key?(:response)
16068
16339
  end
16069
16340
  end
16070
16341
 
16342
+ # Raw media bytes for function response. Text should not be sent as raw bytes,
16343
+ # use the 'text' field.
16344
+ class GoogleCloudAiplatformV1beta1FunctionResponseBlob
16345
+ include Google::Apis::Core::Hashable
16346
+
16347
+ # Required. Raw bytes.
16348
+ # Corresponds to the JSON property `data`
16349
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
16350
+ # @return [String]
16351
+ attr_accessor :data
16352
+
16353
+ # Optional. Display name of the blob. Used to provide a label or filename to
16354
+ # distinguish blobs. This field is only returned in PromptMessage for prompt
16355
+ # management. It is currently used in the Gemini GenerateContent calls only when
16356
+ # server side tools (code_execution, google_search, and url_context) are enabled.
16357
+ # Corresponds to the JSON property `displayName`
16358
+ # @return [String]
16359
+ attr_accessor :display_name
16360
+
16361
+ # Required. The IANA standard MIME type of the source data.
16362
+ # Corresponds to the JSON property `mimeType`
16363
+ # @return [String]
16364
+ attr_accessor :mime_type
16365
+
16366
+ def initialize(**args)
16367
+ update!(**args)
16368
+ end
16369
+
16370
+ # Update properties of this object
16371
+ def update!(**args)
16372
+ @data = args[:data] if args.key?(:data)
16373
+ @display_name = args[:display_name] if args.key?(:display_name)
16374
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
16375
+ end
16376
+ end
16377
+
16378
+ # URI based data for function response.
16379
+ class GoogleCloudAiplatformV1beta1FunctionResponseFileData
16380
+ include Google::Apis::Core::Hashable
16381
+
16382
+ # Optional. Display name of the file data. Used to provide a label or filename
16383
+ # to distinguish file datas. This field is only returned in PromptMessage for
16384
+ # prompt management. It is currently used in the Gemini GenerateContent calls
16385
+ # only when server side tools (code_execution, google_search, and url_context)
16386
+ # are enabled.
16387
+ # Corresponds to the JSON property `displayName`
16388
+ # @return [String]
16389
+ attr_accessor :display_name
16390
+
16391
+ # Required. URI.
16392
+ # Corresponds to the JSON property `fileUri`
16393
+ # @return [String]
16394
+ attr_accessor :file_uri
16395
+
16396
+ # Required. The IANA standard MIME type of the source data.
16397
+ # Corresponds to the JSON property `mimeType`
16398
+ # @return [String]
16399
+ attr_accessor :mime_type
16400
+
16401
+ def initialize(**args)
16402
+ update!(**args)
16403
+ end
16404
+
16405
+ # Update properties of this object
16406
+ def update!(**args)
16407
+ @display_name = args[:display_name] if args.key?(:display_name)
16408
+ @file_uri = args[:file_uri] if args.key?(:file_uri)
16409
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
16410
+ end
16411
+ end
16412
+
16413
+ # A datatype containing media that is part of a `FunctionResponse` message. A `
16414
+ # FunctionResponsePart` consists of data which has an associated datatype. A `
16415
+ # FunctionResponsePart` can only contain one of the accepted types in `
16416
+ # FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA
16417
+ # MIME type identifying the type and subtype of the media if the `inline_data`
16418
+ # field is filled with raw bytes.
16419
+ class GoogleCloudAiplatformV1beta1FunctionResponsePart
16420
+ include Google::Apis::Core::Hashable
16421
+
16422
+ # URI based data for function response.
16423
+ # Corresponds to the JSON property `fileData`
16424
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseFileData]
16425
+ attr_accessor :file_data
16426
+
16427
+ # Raw media bytes for function response. Text should not be sent as raw bytes,
16428
+ # use the 'text' field.
16429
+ # Corresponds to the JSON property `inlineData`
16430
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseBlob]
16431
+ attr_accessor :inline_data
16432
+
16433
+ def initialize(**args)
16434
+ update!(**args)
16435
+ end
16436
+
16437
+ # Update properties of this object
16438
+ def update!(**args)
16439
+ @file_data = args[:file_data] if args.key?(:file_data)
16440
+ @inline_data = args[:inline_data] if args.key?(:inline_data)
16441
+ end
16442
+ end
16443
+
16071
16444
  # The Google Cloud Storage location where the output is to be written to.
16072
16445
  class GoogleCloudAiplatformV1beta1GcsDestination
16073
16446
  include Google::Apis::Core::Hashable
@@ -16684,6 +17057,44 @@ module Google
16684
17057
  end
16685
17058
  end
16686
17059
 
17060
+ # Request message for FeatureOnlineStoreService.GenerateFetchAccessToken.
17061
+ class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest
17062
+ include Google::Apis::Core::Hashable
17063
+
17064
+ def initialize(**args)
17065
+ update!(**args)
17066
+ end
17067
+
17068
+ # Update properties of this object
17069
+ def update!(**args)
17070
+ end
17071
+ end
17072
+
17073
+ # Response message for FeatureOnlineStoreService.GenerateFetchAccessToken.
17074
+ class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse
17075
+ include Google::Apis::Core::Hashable
17076
+
17077
+ # The OAuth 2.0 access token.
17078
+ # Corresponds to the JSON property `accessToken`
17079
+ # @return [String]
17080
+ attr_accessor :access_token
17081
+
17082
+ # Token expiration time. This is always set
17083
+ # Corresponds to the JSON property `expireTime`
17084
+ # @return [String]
17085
+ attr_accessor :expire_time
17086
+
17087
+ def initialize(**args)
17088
+ update!(**args)
17089
+ end
17090
+
17091
+ # Update properties of this object
17092
+ def update!(**args)
17093
+ @access_token = args[:access_token] if args.key?(:access_token)
17094
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
17095
+ end
17096
+ end
17097
+
16687
17098
  # Request message for EvaluationService.GenerateInstanceRubrics.
16688
17099
  class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest
16689
17100
  include Google::Apis::Core::Hashable
@@ -16760,6 +17171,29 @@ module Google
16760
17171
  attr_accessor :disable_consolidation
16761
17172
  alias_method :disable_consolidation?, :disable_consolidation
16762
17173
 
17174
+ # Optional. If true, no revisions will be created for this request.
17175
+ # Corresponds to the JSON property `disableMemoryRevisions`
17176
+ # @return [Boolean]
17177
+ attr_accessor :disable_memory_revisions
17178
+ alias_method :disable_memory_revisions?, :disable_memory_revisions
17179
+
17180
+ # Optional. Timestamp of when the revision is considered expired. If not set,
17181
+ # the memory revision will be kept until manually deleted.
17182
+ # Corresponds to the JSON property `revisionExpireTime`
17183
+ # @return [String]
17184
+ attr_accessor :revision_expire_time
17185
+
17186
+ # Optional. Labels to be applied to the generated memory revisions. For example,
17187
+ # you can use this to label a revision with its data source.
17188
+ # Corresponds to the JSON property `revisionLabels`
17189
+ # @return [Hash<String,String>]
17190
+ attr_accessor :revision_labels
17191
+
17192
+ # Optional. The TTL for the revision. The expiration time is computed: now + TTL.
17193
+ # Corresponds to the JSON property `revisionTtl`
17194
+ # @return [String]
17195
+ attr_accessor :revision_ttl
17196
+
16763
17197
  # Optional. The scope of the memories that should be generated. Memories will be
16764
17198
  # consolidated across memories with the same scope. Must be provided unless the
16765
17199
  # scope is defined in the source content. If `scope` is provided, it will
@@ -16785,6 +17219,10 @@ module Google
16785
17219
  @direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source)
16786
17220
  @direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source)
16787
17221
  @disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
17222
+ @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
17223
+ @revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
17224
+ @revision_labels = args[:revision_labels] if args.key?(:revision_labels)
17225
+ @revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
16788
17226
  @scope = args[:scope] if args.key?(:scope)
16789
17227
  @vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
16790
17228
  end
@@ -17063,6 +17501,11 @@ module Google
17063
17501
  # @return [Float]
17064
17502
  attr_accessor :frequency_penalty
17065
17503
 
17504
+ # Config for image generation features.
17505
+ # Corresponds to the JSON property `imageConfig`
17506
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImageConfig]
17507
+ attr_accessor :image_config
17508
+
17066
17509
  # Optional. Logit probabilities.
17067
17510
  # Corresponds to the JSON property `logprobs`
17068
17511
  # @return [Fixnum]
@@ -17182,6 +17625,7 @@ module Google
17182
17625
  @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
17183
17626
  @enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
17184
17627
  @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
17628
+ @image_config = args[:image_config] if args.key?(:image_config)
17185
17629
  @logprobs = args[:logprobs] if args.key?(:logprobs)
17186
17630
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
17187
17631
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
@@ -18044,6 +18488,27 @@ module Google
18044
18488
  end
18045
18489
  end
18046
18490
 
18491
+ # Config for image generation features.
18492
+ class GoogleCloudAiplatformV1beta1ImageConfig
18493
+ include Google::Apis::Core::Hashable
18494
+
18495
+ # Optional. The desired aspect ratio for the generated images. The following
18496
+ # aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:
18497
+ # 16", "16:9" "21:9"
18498
+ # Corresponds to the JSON property `aspectRatio`
18499
+ # @return [String]
18500
+ attr_accessor :aspect_ratio
18501
+
18502
+ def initialize(**args)
18503
+ update!(**args)
18504
+ end
18505
+
18506
+ # Update properties of this object
18507
+ def update!(**args)
18508
+ @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
18509
+ end
18510
+ end
18511
+
18047
18512
  # Describes the location from where we import data into a Dataset, together with
18048
18513
  # the labels that will be applied to the DataItems and the Annotations.
18049
18514
  class GoogleCloudAiplatformV1beta1ImportDataConfig
@@ -20511,6 +20976,32 @@ module Google
20511
20976
  end
20512
20977
  end
20513
20978
 
20979
+ # Response message for MemoryBankService.ListMemoryRevisions.
20980
+ class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse
20981
+ include Google::Apis::Core::Hashable
20982
+
20983
+ # The list of Memory Revisions in the request page.
20984
+ # Corresponds to the JSON property `memoryRevisions`
20985
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision>]
20986
+ attr_accessor :memory_revisions
20987
+
20988
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
20989
+ # field is omitted, there are no subsequent pages.
20990
+ # Corresponds to the JSON property `nextPageToken`
20991
+ # @return [String]
20992
+ attr_accessor :next_page_token
20993
+
20994
+ def initialize(**args)
20995
+ update!(**args)
20996
+ end
20997
+
20998
+ # Update properties of this object
20999
+ def update!(**args)
21000
+ @memory_revisions = args[:memory_revisions] if args.key?(:memory_revisions)
21001
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
21002
+ end
21003
+ end
21004
+
20514
21005
  # Response message for MetadataService.ListMetadataSchemas.
20515
21006
  class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse
20516
21007
  include Google::Apis::Core::Hashable
@@ -21739,6 +22230,12 @@ module Google
21739
22230
  # @return [String]
21740
22231
  attr_accessor :description
21741
22232
 
22233
+ # Optional. Input only. If true, no revision will be created for this request.
22234
+ # Corresponds to the JSON property `disableMemoryRevisions`
22235
+ # @return [Boolean]
22236
+ attr_accessor :disable_memory_revisions
22237
+ alias_method :disable_memory_revisions?, :disable_memory_revisions
22238
+
21742
22239
  # Optional. Display name of the Memory.
21743
22240
  # Corresponds to the JSON property `displayName`
21744
22241
  # @return [String]
@@ -21762,6 +22259,18 @@ module Google
21762
22259
  # @return [String]
21763
22260
  attr_accessor :name
21764
22261
 
22262
+ # Optional. Input only. Timestamp of when the revision is considered expired. If
22263
+ # not set, the memory revision will be kept until manually deleted.
22264
+ # Corresponds to the JSON property `revisionExpireTime`
22265
+ # @return [String]
22266
+ attr_accessor :revision_expire_time
22267
+
22268
+ # Optional. Input only. The TTL for the revision. The expiration time is
22269
+ # computed: now + TTL.
22270
+ # Corresponds to the JSON property `revisionTtl`
22271
+ # @return [String]
22272
+ attr_accessor :revision_ttl
22273
+
21765
22274
  # Required. Immutable. The scope of the Memory. Memories are isolated within
21766
22275
  # their scope. The scope is defined when creating or generating memories. Scope
21767
22276
  # values cannot contain the wildcard character '*'.
@@ -21788,10 +22297,13 @@ module Google
21788
22297
  def update!(**args)
21789
22298
  @create_time = args[:create_time] if args.key?(:create_time)
21790
22299
  @description = args[:description] if args.key?(:description)
22300
+ @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
21791
22301
  @display_name = args[:display_name] if args.key?(:display_name)
21792
22302
  @expire_time = args[:expire_time] if args.key?(:expire_time)
21793
22303
  @fact = args[:fact] if args.key?(:fact)
21794
22304
  @name = args[:name] if args.key?(:name)
22305
+ @revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
22306
+ @revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
21795
22307
  @scope = args[:scope] if args.key?(:scope)
21796
22308
  @ttl = args[:ttl] if args.key?(:ttl)
21797
22309
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -22003,6 +22515,54 @@ module Google
22003
22515
  end
22004
22516
  end
22005
22517
 
22518
+ # A revision of a Memory.
22519
+ class GoogleCloudAiplatformV1beta1MemoryRevision
22520
+ include Google::Apis::Core::Hashable
22521
+
22522
+ # Output only. Timestamp when this Memory Revision was created.
22523
+ # Corresponds to the JSON property `createTime`
22524
+ # @return [String]
22525
+ attr_accessor :create_time
22526
+
22527
+ # Output only. Timestamp of when this resource is considered expired.
22528
+ # Corresponds to the JSON property `expireTime`
22529
+ # @return [String]
22530
+ attr_accessor :expire_time
22531
+
22532
+ # Output only. The fact of the Memory Revision. This corresponds to the `fact`
22533
+ # field of the parent Memory at the time of revision creation.
22534
+ # Corresponds to the JSON property `fact`
22535
+ # @return [String]
22536
+ attr_accessor :fact
22537
+
22538
+ # Output only. The labels of the Memory Revision. These labels are applied to
22539
+ # the MemoryRevision when it is created based on `GenerateMemoriesRequest.
22540
+ # revision_labels`.
22541
+ # Corresponds to the JSON property `labels`
22542
+ # @return [Hash<String,String>]
22543
+ attr_accessor :labels
22544
+
22545
+ # Identifier. The resource name of the Memory Revision. Format: `projects/`
22546
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
22547
+ # memory`/revisions/`memory_revision``
22548
+ # Corresponds to the JSON property `name`
22549
+ # @return [String]
22550
+ attr_accessor :name
22551
+
22552
+ def initialize(**args)
22553
+ update!(**args)
22554
+ end
22555
+
22556
+ # Update properties of this object
22557
+ def update!(**args)
22558
+ @create_time = args[:create_time] if args.key?(:create_time)
22559
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
22560
+ @fact = args[:fact] if args.key?(:fact)
22561
+ @labels = args[:labels] if args.key?(:labels)
22562
+ @name = args[:name] if args.key?(:name)
22563
+ end
22564
+ end
22565
+
22006
22566
  # A memory topic identifier. This will be used to label a Memory and to restrict
22007
22567
  # which topics are eligible for generation or retrieval.
22008
22568
  class GoogleCloudAiplatformV1beta1MemoryTopicId
@@ -25914,6 +26474,27 @@ module Google
25914
26474
  end
25915
26475
  end
25916
26476
 
26477
+ # Configuration for a multi-speaker text-to-speech setup. Enables the use of up
26478
+ # to two distinct voices in a single synthesis request.
26479
+ class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
26480
+ include Google::Apis::Core::Hashable
26481
+
26482
+ # Required. A list of configurations for the voices of the speakers. Exactly two
26483
+ # speaker voice configurations must be provided.
26484
+ # Corresponds to the JSON property `speakerVoiceConfigs`
26485
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SpeakerVoiceConfig>]
26486
+ attr_accessor :speaker_voice_configs
26487
+
26488
+ def initialize(**args)
26489
+ update!(**args)
26490
+ end
26491
+
26492
+ # Update properties of this object
26493
+ def update!(**args)
26494
+ @speaker_voice_configs = args[:speaker_voice_configs] if args.key?(:speaker_voice_configs)
26495
+ end
26496
+ end
26497
+
25917
26498
  # Runtime operation information for IndexEndpointService.MutateDeployedIndex.
25918
26499
  class GoogleCloudAiplatformV1beta1MutateDeployedIndexOperationMetadata
25919
26500
  include Google::Apis::Core::Hashable
@@ -29675,6 +30256,12 @@ module Google
29675
30256
  # @return [Array<Object>]
29676
30257
  attr_accessor :instances
29677
30258
 
30259
+ # Optional. The user labels for Imagen billing usage only. Only Imagen supports
30260
+ # labels. For other use cases, it will be ignored.
30261
+ # Corresponds to the JSON property `labels`
30262
+ # @return [Hash<String,String>]
30263
+ attr_accessor :labels
30264
+
29678
30265
  # The parameters that govern the prediction. The schema of the parameters may be
29679
30266
  # specified via Endpoint's DeployedModels' Model's PredictSchemata's
29680
30267
  # parameters_schema_uri.
@@ -29689,6 +30276,7 @@ module Google
29689
30276
  # Update properties of this object
29690
30277
  def update!(**args)
29691
30278
  @instances = args[:instances] if args.key?(:instances)
30279
+ @labels = args[:labels] if args.key?(:labels)
29692
30280
  @parameters = args[:parameters] if args.key?(:parameters)
29693
30281
  end
29694
30282
  end
@@ -33880,6 +34468,13 @@ module Google
33880
34468
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig>]
33881
34469
  attr_accessor :customization_configs
33882
34470
 
34471
+ # If true, no memory revisions will be created for any requests to the Memory
34472
+ # Bank.
34473
+ # Corresponds to the JSON property `disableMemoryRevisions`
34474
+ # @return [Boolean]
34475
+ attr_accessor :disable_memory_revisions
34476
+ alias_method :disable_memory_revisions?, :disable_memory_revisions
34477
+
33883
34478
  # Configuration for how to generate memories.
33884
34479
  # Corresponds to the JSON property `generationConfig`
33885
34480
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig]
@@ -33903,6 +34498,7 @@ module Google
33903
34498
  # Update properties of this object
33904
34499
  def update!(**args)
33905
34500
  @customization_configs = args[:customization_configs] if args.key?(:customization_configs)
34501
+ @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
33906
34502
  @generation_config = args[:generation_config] if args.key?(:generation_config)
33907
34503
  @similarity_search_config = args[:similarity_search_config] if args.key?(:similarity_search_config)
33908
34504
  @ttl_config = args[:ttl_config] if args.key?(:ttl_config)
@@ -33967,6 +34563,13 @@ module Google
33967
34563
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig]
33968
34564
  attr_accessor :granular_ttl_config
33969
34565
 
34566
+ # Optional. The default TTL duration of the memory revisions in the Memory Bank.
34567
+ # This applies to all operations that create a memory revision. If not set, a
34568
+ # default TTL of 365 days will be used.
34569
+ # Corresponds to the JSON property `memoryRevisionDefaultTtl`
34570
+ # @return [String]
34571
+ attr_accessor :memory_revision_default_ttl
34572
+
33970
34573
  def initialize(**args)
33971
34574
  update!(**args)
33972
34575
  end
@@ -33975,6 +34578,7 @@ module Google
33975
34578
  def update!(**args)
33976
34579
  @default_ttl = args[:default_ttl] if args.key?(:default_ttl)
33977
34580
  @granular_ttl_config = args[:granular_ttl_config] if args.key?(:granular_ttl_config)
34581
+ @memory_revision_default_ttl = args[:memory_revision_default_ttl] if args.key?(:memory_revision_default_ttl)
33978
34582
  end
33979
34583
  end
33980
34584
 
@@ -35209,6 +35813,25 @@ module Google
35209
35813
  end
35210
35814
  end
35211
35815
 
35816
+ # Request message for MemoryBankService.RollbackMemory.
35817
+ class GoogleCloudAiplatformV1beta1RollbackMemoryRequest
35818
+ include Google::Apis::Core::Hashable
35819
+
35820
+ # Required. The ID of the revision to rollback to.
35821
+ # Corresponds to the JSON property `targetRevisionId`
35822
+ # @return [Fixnum]
35823
+ attr_accessor :target_revision_id
35824
+
35825
+ def initialize(**args)
35826
+ update!(**args)
35827
+ end
35828
+
35829
+ # Update properties of this object
35830
+ def update!(**args)
35831
+ @target_revision_id = args[:target_revision_id] if args.key?(:target_revision_id)
35832
+ end
35833
+ end
35834
+
35212
35835
  # Configuration for rolling deployments.
35213
35836
  class GoogleCloudAiplatformV1beta1RolloutOptions
35214
35837
  include Google::Apis::Core::Hashable
@@ -36124,6 +36747,11 @@ module Google
36124
36747
  class GoogleCloudAiplatformV1beta1SandboxEnvironment
36125
36748
  include Google::Apis::Core::Hashable
36126
36749
 
36750
+ # The connection information of the SandboxEnvironment.
36751
+ # Corresponds to the JSON property `connectionInfo`
36752
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo]
36753
+ attr_accessor :connection_info
36754
+
36127
36755
  # Output only. The timestamp when this SandboxEnvironment was created.
36128
36756
  # Corresponds to the JSON property `createTime`
36129
36757
  # @return [String]
@@ -36174,6 +36802,7 @@ module Google
36174
36802
 
36175
36803
  # Update properties of this object
36176
36804
  def update!(**args)
36805
+ @connection_info = args[:connection_info] if args.key?(:connection_info)
36177
36806
  @create_time = args[:create_time] if args.key?(:create_time)
36178
36807
  @display_name = args[:display_name] if args.key?(:display_name)
36179
36808
  @expire_time = args[:expire_time] if args.key?(:expire_time)
@@ -36185,6 +36814,37 @@ module Google
36185
36814
  end
36186
36815
  end
36187
36816
 
36817
+ # The connection information of the SandboxEnvironment.
36818
+ class GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo
36819
+ include Google::Apis::Core::Hashable
36820
+
36821
+ # Output only. The hostname of the load balancer.
36822
+ # Corresponds to the JSON property `loadBalancerHostname`
36823
+ # @return [String]
36824
+ attr_accessor :load_balancer_hostname
36825
+
36826
+ # Output only. The IP address of the load balancer.
36827
+ # Corresponds to the JSON property `loadBalancerIp`
36828
+ # @return [String]
36829
+ attr_accessor :load_balancer_ip
36830
+
36831
+ # Output only. The internal IP address of the SandboxEnvironment.
36832
+ # Corresponds to the JSON property `sandboxInternalIp`
36833
+ # @return [String]
36834
+ attr_accessor :sandbox_internal_ip
36835
+
36836
+ def initialize(**args)
36837
+ update!(**args)
36838
+ end
36839
+
36840
+ # Update properties of this object
36841
+ def update!(**args)
36842
+ @load_balancer_hostname = args[:load_balancer_hostname] if args.key?(:load_balancer_hostname)
36843
+ @load_balancer_ip = args[:load_balancer_ip] if args.key?(:load_balancer_ip)
36844
+ @sandbox_internal_ip = args[:sandbox_internal_ip] if args.key?(:sandbox_internal_ip)
36845
+ end
36846
+ end
36847
+
36188
36848
  # The specification of a SandboxEnvironment.
36189
36849
  class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec
36190
36850
  include Google::Apis::Core::Hashable
@@ -36194,6 +36854,11 @@ module Google
36194
36854
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment]
36195
36855
  attr_accessor :code_execution_environment
36196
36856
 
36857
+ # The computer use environment with customized settings.
36858
+ # Corresponds to the JSON property `computerUseEnvironment`
36859
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment]
36860
+ attr_accessor :computer_use_environment
36861
+
36197
36862
  def initialize(**args)
36198
36863
  update!(**args)
36199
36864
  end
@@ -36201,6 +36866,7 @@ module Google
36201
36866
  # Update properties of this object
36202
36867
  def update!(**args)
36203
36868
  @code_execution_environment = args[:code_execution_environment] if args.key?(:code_execution_environment)
36869
+ @computer_use_environment = args[:computer_use_environment] if args.key?(:computer_use_environment)
36204
36870
  end
36205
36871
  end
36206
36872
 
@@ -36229,6 +36895,19 @@ module Google
36229
36895
  end
36230
36896
  end
36231
36897
 
36898
+ # The computer use environment with customized settings.
36899
+ class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment
36900
+ include Google::Apis::Core::Hashable
36901
+
36902
+ def initialize(**args)
36903
+ update!(**args)
36904
+ end
36905
+
36906
+ # Update properties of this object
36907
+ def update!(**args)
36908
+ end
36909
+ end
36910
+
36232
36911
  # A SavedQuery is a view of the dataset. It references a subset of annotations
36233
36912
  # by problem type and filters.
36234
36913
  class GoogleCloudAiplatformV1beta1SavedQuery
@@ -44527,6 +45206,32 @@ module Google
44527
45206
  end
44528
45207
  end
44529
45208
 
45209
+ # Configuration for a single speaker in a multi speaker setup.
45210
+ class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig
45211
+ include Google::Apis::Core::Hashable
45212
+
45213
+ # Required. The name of the speaker. This should be the same as the speaker name
45214
+ # used in the prompt.
45215
+ # Corresponds to the JSON property `speaker`
45216
+ # @return [String]
45217
+ attr_accessor :speaker
45218
+
45219
+ # The configuration for the voice to use.
45220
+ # Corresponds to the JSON property `voiceConfig`
45221
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VoiceConfig]
45222
+ attr_accessor :voice_config
45223
+
45224
+ def initialize(**args)
45225
+ update!(**args)
45226
+ end
45227
+
45228
+ # Update properties of this object
45229
+ def update!(**args)
45230
+ @speaker = args[:speaker] if args.key?(:speaker)
45231
+ @voice_config = args[:voice_config] if args.key?(:voice_config)
45232
+ end
45233
+ end
45234
+
44530
45235
  # SpecialistPool represents customers' own workforce to work on their data
44531
45236
  # labeling jobs. It includes a group of specialist managers and workers.
44532
45237
  # Managers are responsible for managing the workers in this pool as well as
@@ -44667,6 +45372,12 @@ module Google
44667
45372
  # @return [String]
44668
45373
  attr_accessor :language_code
44669
45374
 
45375
+ # Configuration for a multi-speaker text-to-speech setup. Enables the use of up
45376
+ # to two distinct voices in a single synthesis request.
45377
+ # Corresponds to the JSON property `multiSpeakerVoiceConfig`
45378
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig]
45379
+ attr_accessor :multi_speaker_voice_config
45380
+
44670
45381
  # The configuration for the voice to use.
44671
45382
  # Corresponds to the JSON property `voiceConfig`
44672
45383
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VoiceConfig]
@@ -44679,6 +45390,7 @@ module Google
44679
45390
  # Update properties of this object
44680
45391
  def update!(**args)
44681
45392
  @language_code = args[:language_code] if args.key?(:language_code)
45393
+ @multi_speaker_voice_config = args[:multi_speaker_voice_config] if args.key?(:multi_speaker_voice_config)
44682
45394
  @voice_config = args[:voice_config] if args.key?(:voice_config)
44683
45395
  end
44684
45396
  end
@@ -47685,6 +48397,11 @@ module Google
47685
48397
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution]
47686
48398
  attr_accessor :code_execution
47687
48399
 
48400
+ # Tool to support computer use.
48401
+ # Corresponds to the JSON property `computerUse`
48402
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse]
48403
+ attr_accessor :computer_use
48404
+
47688
48405
  # Tool to search public web data, powered by Vertex AI Search and Sec4
47689
48406
  # compliance.
47690
48407
  # Corresponds to the JSON property `enterpriseWebSearch`
@@ -47734,6 +48451,7 @@ module Google
47734
48451
  # Update properties of this object
47735
48452
  def update!(**args)
47736
48453
  @code_execution = args[:code_execution] if args.key?(:code_execution)
48454
+ @computer_use = args[:computer_use] if args.key?(:computer_use)
47737
48455
  @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
47738
48456
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
47739
48457
  @google_maps = args[:google_maps] if args.key?(:google_maps)
@@ -47885,6 +48603,35 @@ module Google
47885
48603
  end
47886
48604
  end
47887
48605
 
48606
+ # Tool to support computer use.
48607
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
48608
+ include Google::Apis::Core::Hashable
48609
+
48610
+ # Required. The environment being operated.
48611
+ # Corresponds to the JSON property `environment`
48612
+ # @return [String]
48613
+ attr_accessor :environment
48614
+
48615
+ # Optional. By default, predefined functions are included in the final model
48616
+ # call. Some of them can be explicitly excluded from being automatically
48617
+ # included. This can serve two purposes: 1. Using a more restricted / different
48618
+ # action space. 2. Improving the definitions / instructions of predefined
48619
+ # functions.
48620
+ # Corresponds to the JSON property `excludedPredefinedFunctions`
48621
+ # @return [Array<String>]
48622
+ attr_accessor :excluded_predefined_functions
48623
+
48624
+ def initialize(**args)
48625
+ update!(**args)
48626
+ end
48627
+
48628
+ # Update properties of this object
48629
+ def update!(**args)
48630
+ @environment = args[:environment] if args.key?(:environment)
48631
+ @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
48632
+ end
48633
+ end
48634
+
47888
48635
  # Tool config. This config is shared for all tools provided in the request.
47889
48636
  class GoogleCloudAiplatformV1beta1ToolConfig
47890
48637
  include Google::Apis::Core::Hashable
@@ -47915,6 +48662,12 @@ module Google
47915
48662
  class GoogleCloudAiplatformV1beta1ToolGoogleSearch
47916
48663
  include Google::Apis::Core::Hashable
47917
48664
 
48665
+ # Optional. Sites with confidence level chosen & above this value will be
48666
+ # blocked from the search results.
48667
+ # Corresponds to the JSON property `blockingConfidence`
48668
+ # @return [String]
48669
+ attr_accessor :blocking_confidence
48670
+
47918
48671
  # Optional. List of domains to be excluded from the search results. The default
47919
48672
  # limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
47920
48673
  # Corresponds to the JSON property `excludeDomains`
@@ -47927,6 +48680,7 @@ module Google
47927
48680
 
47928
48681
  # Update properties of this object
47929
48682
  def update!(**args)
48683
+ @blocking_confidence = args[:blocking_confidence] if args.key?(:blocking_confidence)
47930
48684
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
47931
48685
  end
47932
48686
  end
@@ -49315,9 +50069,12 @@ module Google
49315
50069
 
49316
50070
  # Output only. The resource name of the TunedModel. Format: `projects/`project`/
49317
50071
  # locations/`location`/models/`model`@`version_id`` When tuning from a base
49318
- # model, the version_id will be 1. For continuous tuning, the version id will be
49319
- # incremented by 1 from the last version id in the parent model. E.g., `projects/
49320
- # `project`/locations/`location`/models/`model`@`last_version_id + 1``
50072
+ # model, the version ID will be 1. For continuous tuning, if the provided
50073
+ # tuned_model_display_name is set and different from parent model's display name,
50074
+ # the tuned model will have a new parent model with version 1. Otherwise the
50075
+ # version id will be incremented by 1 from the last version ID in the parent
50076
+ # model. E.g., `projects/`project`/locations/`location`/models/`model`@`
50077
+ # last_version_id + 1``
49321
50078
  # Corresponds to the JSON property `model`
49322
50079
  # @return [String]
49323
50080
  attr_accessor :model
@@ -49504,6 +50261,11 @@ module Google
49504
50261
  # @return [String]
49505
50262
  attr_accessor :experiment
49506
50263
 
50264
+ # Tuning Spec for Full Fine Tuning.
50265
+ # Corresponds to the JSON property `fullFineTuningSpec`
50266
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FullFineTuningSpec]
50267
+ attr_accessor :full_fine_tuning_spec
50268
+
49507
50269
  # Optional. The labels with user-defined metadata to organize TuningJob and
49508
50270
  # generated resources such as Model and Endpoint. Label keys and values can be
49509
50271
  # no longer than 64 characters (Unicode codepoints), can only contain lowercase
@@ -49592,7 +50354,10 @@ module Google
49592
50354
  attr_accessor :tuned_model
49593
50355
 
49594
50356
  # Optional. The display name of the TunedModel. The name can be up to 128
49595
- # characters long and can consist of any UTF-8 characters.
50357
+ # characters long and can consist of any UTF-8 characters. For continuous tuning,
50358
+ # tuned_model_display_name will by default use the same display name as the pre-
50359
+ # tuned model. If a new display name is provided, the tuning job will create a
50360
+ # new model instead of a new version.
49596
50361
  # Corresponds to the JSON property `tunedModelDisplayName`
49597
50362
  # @return [String]
49598
50363
  attr_accessor :tuned_model_display_name
@@ -49634,6 +50399,7 @@ module Google
49634
50399
  @error = args[:error] if args.key?(:error)
49635
50400
  @evaluate_dataset_runs = args[:evaluate_dataset_runs] if args.key?(:evaluate_dataset_runs)
49636
50401
  @experiment = args[:experiment] if args.key?(:experiment)
50402
+ @full_fine_tuning_spec = args[:full_fine_tuning_spec] if args.key?(:full_fine_tuning_spec)
49637
50403
  @labels = args[:labels] if args.key?(:labels)
49638
50404
  @name = args[:name] if args.key?(:name)
49639
50405
  @output_uri = args[:output_uri] if args.key?(:output_uri)
@@ -50546,6 +51312,97 @@ module Google
50546
51312
  end
50547
51313
  end
50548
51314
 
51315
+ # Usage metadata about the content generation request and response. This message
51316
+ # provides a detailed breakdown of token usage and other relevant metrics.
51317
+ class GoogleCloudAiplatformV1beta1UsageMetadata
51318
+ include Google::Apis::Core::Hashable
51319
+
51320
+ # Output only. A detailed breakdown of the token count for each modality in the
51321
+ # cached content.
51322
+ # Corresponds to the JSON property `cacheTokensDetails`
51323
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
51324
+ attr_accessor :cache_tokens_details
51325
+
51326
+ # Output only. The number of tokens in the cached content that was used for this
51327
+ # request.
51328
+ # Corresponds to the JSON property `cachedContentTokenCount`
51329
+ # @return [Fixnum]
51330
+ attr_accessor :cached_content_token_count
51331
+
51332
+ # The total number of tokens in the generated candidates.
51333
+ # Corresponds to the JSON property `candidatesTokenCount`
51334
+ # @return [Fixnum]
51335
+ attr_accessor :candidates_token_count
51336
+
51337
+ # Output only. A detailed breakdown of the token count for each modality in the
51338
+ # generated candidates.
51339
+ # Corresponds to the JSON property `candidatesTokensDetails`
51340
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
51341
+ attr_accessor :candidates_tokens_details
51342
+
51343
+ # The total number of tokens in the prompt. This includes any text, images, or
51344
+ # other media provided in the request. When `cached_content` is set, this also
51345
+ # includes the number of tokens in the cached content.
51346
+ # Corresponds to the JSON property `promptTokenCount`
51347
+ # @return [Fixnum]
51348
+ attr_accessor :prompt_token_count
51349
+
51350
+ # Output only. A detailed breakdown of the token count for each modality in the
51351
+ # prompt.
51352
+ # Corresponds to the JSON property `promptTokensDetails`
51353
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
51354
+ attr_accessor :prompt_tokens_details
51355
+
51356
+ # Output only. The number of tokens that were part of the model's generated "
51357
+ # thoughts" output, if applicable.
51358
+ # Corresponds to the JSON property `thoughtsTokenCount`
51359
+ # @return [Fixnum]
51360
+ attr_accessor :thoughts_token_count
51361
+
51362
+ # Output only. The number of tokens in the results from tool executions, which
51363
+ # are provided back to the model as input, if applicable.
51364
+ # Corresponds to the JSON property `toolUsePromptTokenCount`
51365
+ # @return [Fixnum]
51366
+ attr_accessor :tool_use_prompt_token_count
51367
+
51368
+ # Output only. A detailed breakdown by modality of the token counts from the
51369
+ # results of tool executions, which are provided back to the model as input.
51370
+ # Corresponds to the JSON property `toolUsePromptTokensDetails`
51371
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
51372
+ attr_accessor :tool_use_prompt_tokens_details
51373
+
51374
+ # The total number of tokens for the entire request. This is the sum of `
51375
+ # prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`,
51376
+ # and `thoughts_token_count`.
51377
+ # Corresponds to the JSON property `totalTokenCount`
51378
+ # @return [Fixnum]
51379
+ attr_accessor :total_token_count
51380
+
51381
+ # Output only. The traffic type for this request.
51382
+ # Corresponds to the JSON property `trafficType`
51383
+ # @return [String]
51384
+ attr_accessor :traffic_type
51385
+
51386
+ def initialize(**args)
51387
+ update!(**args)
51388
+ end
51389
+
51390
+ # Update properties of this object
51391
+ def update!(**args)
51392
+ @cache_tokens_details = args[:cache_tokens_details] if args.key?(:cache_tokens_details)
51393
+ @cached_content_token_count = args[:cached_content_token_count] if args.key?(:cached_content_token_count)
51394
+ @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
51395
+ @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
51396
+ @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
51397
+ @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
51398
+ @thoughts_token_count = args[:thoughts_token_count] if args.key?(:thoughts_token_count)
51399
+ @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
51400
+ @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
51401
+ @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
51402
+ @traffic_type = args[:traffic_type] if args.key?(:traffic_type)
51403
+ end
51404
+ end
51405
+
50549
51406
  # References an API call. It contains more information about long running
50550
51407
  # operation and Jobs that are triggered by the API call.
50551
51408
  class GoogleCloudAiplatformV1beta1UserActionReference
@@ -51563,6 +52420,13 @@ module Google
51563
52420
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation>]
51564
52421
  attr_accessor :operations
51565
52422
 
52423
+ # Unordered list. Unreachable resources. Populated when the request sets `
52424
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
52425
+ # when attempting to list all resources across all supported locations.
52426
+ # Corresponds to the JSON property `unreachable`
52427
+ # @return [Array<String>]
52428
+ attr_accessor :unreachable
52429
+
51566
52430
  def initialize(**args)
51567
52431
  update!(**args)
51568
52432
  end
@@ -51571,6 +52435,7 @@ module Google
51571
52435
  def update!(**args)
51572
52436
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
51573
52437
  @operations = args[:operations] if args.key?(:operations)
52438
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
51574
52439
  end
51575
52440
  end
51576
52441