google-apis-aiplatform_v1beta1 0.50.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +726 -21
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +337 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +983 -47
- metadata +2 -2
@@ -3059,7 +3059,8 @@ module Google
|
|
3059
3059
|
|
3060
3060
|
# Optional. Display name of the blob. Used to provide a label or filename to
|
3061
3061
|
# distinguish blobs. This field is only returned in PromptMessage for prompt
|
3062
|
-
# management. It is
|
3062
|
+
# management. It is currently used in the Gemini GenerateContent calls only when
|
3063
|
+
# server side tools (code_execution, google_search, and url_context) are enabled.
|
3063
3064
|
# Corresponds to the JSON property `displayName`
|
3064
3065
|
# @return [String]
|
3065
3066
|
attr_accessor :display_name
|
@@ -3457,6 +3458,11 @@ module Google
|
|
3457
3458
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetyRating>]
|
3458
3459
|
attr_accessor :safety_ratings
|
3459
3460
|
|
3461
|
+
# Metadata related to url context retrieval tool.
|
3462
|
+
# Corresponds to the JSON property `urlContextMetadata`
|
3463
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContextMetadata]
|
3464
|
+
attr_accessor :url_context_metadata
|
3465
|
+
|
3460
3466
|
def initialize(**args)
|
3461
3467
|
update!(**args)
|
3462
3468
|
end
|
@@ -3472,6 +3478,7 @@ module Google
|
|
3472
3478
|
@index = args[:index] if args.key?(:index)
|
3473
3479
|
@logprobs_result = args[:logprobs_result] if args.key?(:logprobs_result)
|
3474
3480
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
3481
|
+
@url_context_metadata = args[:url_context_metadata] if args.key?(:url_context_metadata)
|
3475
3482
|
end
|
3476
3483
|
end
|
3477
3484
|
|
@@ -7319,12 +7326,12 @@ module Google
|
|
7319
7326
|
# @return [String]
|
7320
7327
|
attr_accessor :id
|
7321
7328
|
|
7322
|
-
#
|
7323
|
-
#
|
7324
|
-
#
|
7325
|
-
#
|
7326
|
-
#
|
7327
|
-
#
|
7329
|
+
# The resource name of the Model that this is the deployment of. Note that the
|
7330
|
+
# Model may be in a different location than the DeployedModel's Endpoint. The
|
7331
|
+
# resource name may contain version id or version alias to specify the version.
|
7332
|
+
# Example: `projects/`project`/locations/`location`/models/`model`@2` or `
|
7333
|
+
# projects/`project`/locations/`location`/models/`model`@golden` if no version
|
7334
|
+
# is specified, the default version will be deployed.
|
7328
7335
|
# Corresponds to the JSON property `model`
|
7329
7336
|
# @return [String]
|
7330
7337
|
attr_accessor :model
|
@@ -7828,6 +7835,43 @@ module Google
|
|
7828
7835
|
end
|
7829
7836
|
end
|
7830
7837
|
|
7838
|
+
# DNS peering configuration. These configurations are used to create DNS peering
|
7839
|
+
# zones in the Vertex tenant project VPC, enabling resolution of records within
|
7840
|
+
# the specified domain hosted in the target network's Cloud DNS.
|
7841
|
+
class GoogleCloudAiplatformV1beta1DnsPeeringConfig
|
7842
|
+
include Google::Apis::Core::Hashable
|
7843
|
+
|
7844
|
+
# Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-
|
7845
|
+
# domain.corp.". Must end with a dot.
|
7846
|
+
# Corresponds to the JSON property `domain`
|
7847
|
+
# @return [String]
|
7848
|
+
attr_accessor :domain
|
7849
|
+
|
7850
|
+
# Required. The VPC network name in the target_project where the DNS zone
|
7851
|
+
# specified by 'domain' is visible.
|
7852
|
+
# Corresponds to the JSON property `targetNetwork`
|
7853
|
+
# @return [String]
|
7854
|
+
attr_accessor :target_network
|
7855
|
+
|
7856
|
+
# Required. The project ID hosting the Cloud DNS managed zone that contains the '
|
7857
|
+
# domain'. The Vertex AI Service Agent requires the dns.peer role on this
|
7858
|
+
# project.
|
7859
|
+
# Corresponds to the JSON property `targetProject`
|
7860
|
+
# @return [String]
|
7861
|
+
attr_accessor :target_project
|
7862
|
+
|
7863
|
+
def initialize(**args)
|
7864
|
+
update!(**args)
|
7865
|
+
end
|
7866
|
+
|
7867
|
+
# Update properties of this object
|
7868
|
+
def update!(**args)
|
7869
|
+
@domain = args[:domain] if args.key?(:domain)
|
7870
|
+
@target_network = args[:target_network] if args.key?(:target_network)
|
7871
|
+
@target_project = args[:target_project] if args.key?(:target_project)
|
7872
|
+
end
|
7873
|
+
end
|
7874
|
+
|
7831
7875
|
# A list of double values.
|
7832
7876
|
class GoogleCloudAiplatformV1beta1DoubleArray
|
7833
7877
|
include Google::Apis::Core::Hashable
|
@@ -13672,8 +13716,9 @@ module Google
|
|
13672
13716
|
|
13673
13717
|
# Optional. Display name of the file data. Used to provide a label or filename
|
13674
13718
|
# to distinguish file datas. This field is only returned in PromptMessage for
|
13675
|
-
# prompt management. It is
|
13676
|
-
#
|
13719
|
+
# prompt management. It is currently used in the Gemini GenerateContent calls
|
13720
|
+
# only when server side tools (code_execution, google_search, and url_context)
|
13721
|
+
# are enabled.
|
13677
13722
|
# Corresponds to the JSON property `displayName`
|
13678
13723
|
# @return [String]
|
13679
13724
|
attr_accessor :display_name
|
@@ -14893,6 +14938,132 @@ module Google
|
|
14893
14938
|
end
|
14894
14939
|
end
|
14895
14940
|
|
14941
|
+
# Request message for MemoryBankService.GenerateMemories.
|
14942
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest
|
14943
|
+
include Google::Apis::Core::Hashable
|
14944
|
+
|
14945
|
+
# Defines a direct source of content from which to generate the memories.
|
14946
|
+
# Corresponds to the JSON property `directContentsSource`
|
14947
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource]
|
14948
|
+
attr_accessor :direct_contents_source
|
14949
|
+
|
14950
|
+
# Optional. If true, generated memories will not be consolidated with existing
|
14951
|
+
# memories; all generated memories will be added as new memories regardless of
|
14952
|
+
# whether they are duplicates of or contradictory to existing memories. By
|
14953
|
+
# default, memory consolidation is enabled.
|
14954
|
+
# Corresponds to the JSON property `disableConsolidation`
|
14955
|
+
# @return [Boolean]
|
14956
|
+
attr_accessor :disable_consolidation
|
14957
|
+
alias_method :disable_consolidation?, :disable_consolidation
|
14958
|
+
|
14959
|
+
# Optional. The scope of the memories that should be generated. Memories will be
|
14960
|
+
# consolidated across memories with the same scope. Must be provided unless the
|
14961
|
+
# scope is defined in the source content. If `scope` is provided, it will
|
14962
|
+
# override the scope defined in the source content. Scope values cannot contain
|
14963
|
+
# the wildcard character '*'.
|
14964
|
+
# Corresponds to the JSON property `scope`
|
14965
|
+
# @return [Hash<String,String>]
|
14966
|
+
attr_accessor :scope
|
14967
|
+
|
14968
|
+
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
14969
|
+
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
14970
|
+
# : sesison.user_id`).
|
14971
|
+
# Corresponds to the JSON property `vertexSessionSource`
|
14972
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource]
|
14973
|
+
attr_accessor :vertex_session_source
|
14974
|
+
|
14975
|
+
def initialize(**args)
|
14976
|
+
update!(**args)
|
14977
|
+
end
|
14978
|
+
|
14979
|
+
# Update properties of this object
|
14980
|
+
def update!(**args)
|
14981
|
+
@direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source)
|
14982
|
+
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
14983
|
+
@scope = args[:scope] if args.key?(:scope)
|
14984
|
+
@vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
|
14985
|
+
end
|
14986
|
+
end
|
14987
|
+
|
14988
|
+
# Defines a direct source of content from which to generate the memories.
|
14989
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource
|
14990
|
+
include Google::Apis::Core::Hashable
|
14991
|
+
|
14992
|
+
# Required. The source content (i.e. chat history) to generate memories from.
|
14993
|
+
# Corresponds to the JSON property `events`
|
14994
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent>]
|
14995
|
+
attr_accessor :events
|
14996
|
+
|
14997
|
+
def initialize(**args)
|
14998
|
+
update!(**args)
|
14999
|
+
end
|
15000
|
+
|
15001
|
+
# Update properties of this object
|
15002
|
+
def update!(**args)
|
15003
|
+
@events = args[:events] if args.key?(:events)
|
15004
|
+
end
|
15005
|
+
end
|
15006
|
+
|
15007
|
+
# A single piece of conversation from which to generate memories.
|
15008
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent
|
15009
|
+
include Google::Apis::Core::Hashable
|
15010
|
+
|
15011
|
+
# The base structured datatype containing multi-part content of a message. A `
|
15012
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
15013
|
+
# a `parts` field containing multi-part data that contains the content of the
|
15014
|
+
# message turn.
|
15015
|
+
# Corresponds to the JSON property `content`
|
15016
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
15017
|
+
attr_accessor :content
|
15018
|
+
|
15019
|
+
def initialize(**args)
|
15020
|
+
update!(**args)
|
15021
|
+
end
|
15022
|
+
|
15023
|
+
# Update properties of this object
|
15024
|
+
def update!(**args)
|
15025
|
+
@content = args[:content] if args.key?(:content)
|
15026
|
+
end
|
15027
|
+
end
|
15028
|
+
|
15029
|
+
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
15030
|
+
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
15031
|
+
# : sesison.user_id`).
|
15032
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource
|
15033
|
+
include Google::Apis::Core::Hashable
|
15034
|
+
|
15035
|
+
# Optional. End time (exclusive) of the time range. If not set, the end time is
|
15036
|
+
# unbounded.
|
15037
|
+
# Corresponds to the JSON property `endTime`
|
15038
|
+
# @return [String]
|
15039
|
+
attr_accessor :end_time
|
15040
|
+
|
15041
|
+
# Required. The resource name of the Session to generate memories for. Format: `
|
15042
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
15043
|
+
# sessions/`session``
|
15044
|
+
# Corresponds to the JSON property `session`
|
15045
|
+
# @return [String]
|
15046
|
+
attr_accessor :session
|
15047
|
+
|
15048
|
+
# Optional. Time range to define which session events should be used to generate
|
15049
|
+
# memories. Start time (inclusive) of the time range. If not set, the start time
|
15050
|
+
# is unbounded.
|
15051
|
+
# Corresponds to the JSON property `startTime`
|
15052
|
+
# @return [String]
|
15053
|
+
attr_accessor :start_time
|
15054
|
+
|
15055
|
+
def initialize(**args)
|
15056
|
+
update!(**args)
|
15057
|
+
end
|
15058
|
+
|
15059
|
+
# Update properties of this object
|
15060
|
+
def update!(**args)
|
15061
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
15062
|
+
@session = args[:session] if args.key?(:session)
|
15063
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
15064
|
+
end
|
15065
|
+
end
|
15066
|
+
|
14896
15067
|
# Generate video response.
|
14897
15068
|
class GoogleCloudAiplatformV1beta1GenerateVideoResponse
|
14898
15069
|
include Google::Apis::Core::Hashable
|
@@ -15609,7 +15780,9 @@ module Google
|
|
15609
15780
|
include Google::Apis::Core::Hashable
|
15610
15781
|
|
15611
15782
|
# Confidence score of the support references. Ranges from 0 to 1. 1 is the most
|
15612
|
-
# confident.
|
15783
|
+
# confident. For Gemini 2.0 and before, this list must have the same size as the
|
15784
|
+
# grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and
|
15785
|
+
# should be ignored.
|
15613
15786
|
# Corresponds to the JSON property `confidenceScores`
|
15614
15787
|
# @return [Array<Float>]
|
15615
15788
|
attr_accessor :confidence_scores
|
@@ -16399,6 +16572,11 @@ module Google
|
|
16399
16572
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
|
16400
16573
|
attr_accessor :rag_file_chunking_config
|
16401
16574
|
|
16575
|
+
# Metadata config for RagFile.
|
16576
|
+
# Corresponds to the JSON property `ragFileMetadataConfig`
|
16577
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileMetadataConfig]
|
16578
|
+
attr_accessor :rag_file_metadata_config
|
16579
|
+
|
16402
16580
|
# Specifies the parsing config for RagFiles.
|
16403
16581
|
# Corresponds to the JSON property `ragFileParsingConfig`
|
16404
16582
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfig]
|
@@ -16445,6 +16623,7 @@ module Google
|
|
16445
16623
|
@partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
|
16446
16624
|
@partial_failure_gcs_sink = args[:partial_failure_gcs_sink] if args.key?(:partial_failure_gcs_sink)
|
16447
16625
|
@rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
|
16626
|
+
@rag_file_metadata_config = args[:rag_file_metadata_config] if args.key?(:rag_file_metadata_config)
|
16448
16627
|
@rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
|
16449
16628
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
16450
16629
|
@rebuild_ann_index = args[:rebuild_ann_index] if args.key?(:rebuild_ann_index)
|
@@ -18058,6 +18237,32 @@ module Google
|
|
18058
18237
|
end
|
18059
18238
|
end
|
18060
18239
|
|
18240
|
+
# Response message for MemoryBankService.ListMemories.
|
18241
|
+
class GoogleCloudAiplatformV1beta1ListMemoriesResponse
|
18242
|
+
include Google::Apis::Core::Hashable
|
18243
|
+
|
18244
|
+
# List of Memories in the requested page.
|
18245
|
+
# Corresponds to the JSON property `memories`
|
18246
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory>]
|
18247
|
+
attr_accessor :memories
|
18248
|
+
|
18249
|
+
# A token to retrieve the next page of results. Pass to ListMemoriesRequest.
|
18250
|
+
# page_token to obtain that page.
|
18251
|
+
# Corresponds to the JSON property `nextPageToken`
|
18252
|
+
# @return [String]
|
18253
|
+
attr_accessor :next_page_token
|
18254
|
+
|
18255
|
+
def initialize(**args)
|
18256
|
+
update!(**args)
|
18257
|
+
end
|
18258
|
+
|
18259
|
+
# Update properties of this object
|
18260
|
+
def update!(**args)
|
18261
|
+
@memories = args[:memories] if args.key?(:memories)
|
18262
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
18263
|
+
end
|
18264
|
+
end
|
18265
|
+
|
18061
18266
|
# Response message for MetadataService.ListMetadataSchemas.
|
18062
18267
|
class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse
|
18063
18268
|
include Google::Apis::Core::Hashable
|
@@ -19193,6 +19398,64 @@ module Google
|
|
19193
19398
|
end
|
19194
19399
|
end
|
19195
19400
|
|
19401
|
+
# A memory.
|
19402
|
+
class GoogleCloudAiplatformV1beta1Memory
|
19403
|
+
include Google::Apis::Core::Hashable
|
19404
|
+
|
19405
|
+
# Output only. Timestamp when this Memory was created.
|
19406
|
+
# Corresponds to the JSON property `createTime`
|
19407
|
+
# @return [String]
|
19408
|
+
attr_accessor :create_time
|
19409
|
+
|
19410
|
+
# Optional. Description of the Memory.
|
19411
|
+
# Corresponds to the JSON property `description`
|
19412
|
+
# @return [String]
|
19413
|
+
attr_accessor :description
|
19414
|
+
|
19415
|
+
# Optional. Display name of the Memory.
|
19416
|
+
# Corresponds to the JSON property `displayName`
|
19417
|
+
# @return [String]
|
19418
|
+
attr_accessor :display_name
|
19419
|
+
|
19420
|
+
# Required. Semantic knowledge extracted from the source content.
|
19421
|
+
# Corresponds to the JSON property `fact`
|
19422
|
+
# @return [String]
|
19423
|
+
attr_accessor :fact
|
19424
|
+
|
19425
|
+
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
19426
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
19427
|
+
# Corresponds to the JSON property `name`
|
19428
|
+
# @return [String]
|
19429
|
+
attr_accessor :name
|
19430
|
+
|
19431
|
+
# Required. Immutable. The scope of the Memory. Memories are isolated within
|
19432
|
+
# their scope. The scope is defined when creating or generating memories. Scope
|
19433
|
+
# values cannot contain the wildcard character '*'.
|
19434
|
+
# Corresponds to the JSON property `scope`
|
19435
|
+
# @return [Hash<String,String>]
|
19436
|
+
attr_accessor :scope
|
19437
|
+
|
19438
|
+
# Output only. Timestamp when this Memory was most recently updated.
|
19439
|
+
# Corresponds to the JSON property `updateTime`
|
19440
|
+
# @return [String]
|
19441
|
+
attr_accessor :update_time
|
19442
|
+
|
19443
|
+
def initialize(**args)
|
19444
|
+
update!(**args)
|
19445
|
+
end
|
19446
|
+
|
19447
|
+
# Update properties of this object
|
19448
|
+
def update!(**args)
|
19449
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
19450
|
+
@description = args[:description] if args.key?(:description)
|
19451
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
19452
|
+
@fact = args[:fact] if args.key?(:fact)
|
19453
|
+
@name = args[:name] if args.key?(:name)
|
19454
|
+
@scope = args[:scope] if args.key?(:scope)
|
19455
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
19456
|
+
end
|
19457
|
+
end
|
19458
|
+
|
19196
19459
|
# Request message for ModelService.MergeVersionAliases.
|
19197
19460
|
class GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest
|
19198
19461
|
include Google::Apis::Core::Hashable
|
@@ -20423,6 +20686,16 @@ module Google
|
|
20423
20686
|
# @return [String]
|
20424
20687
|
attr_accessor :image_uri
|
20425
20688
|
|
20689
|
+
# Immutable. Invoke route prefix for the custom container. "/*" is the only
|
20690
|
+
# supported value right now. By setting this field, any non-root route on this
|
20691
|
+
# model will be accessible with [PredictionService.Invoke] eg: "/invoke/foo/bar".
|
20692
|
+
# Only one of `predict_route` or `invoke_route_prefix` can be set, and we
|
20693
|
+
# default to using `predict_route` if this field is not set. If this field is
|
20694
|
+
# set, the Model can only be deployed to dedicated endpoint.
|
20695
|
+
# Corresponds to the JSON property `invokeRoutePrefix`
|
20696
|
+
# @return [String]
|
20697
|
+
attr_accessor :invoke_route_prefix
|
20698
|
+
|
20426
20699
|
# Probe describes a health check to be performed against a container to
|
20427
20700
|
# determine whether it is alive or ready to receive traffic.
|
20428
20701
|
# Corresponds to the JSON property `livenessProbe`
|
@@ -20491,6 +20764,7 @@ module Google
|
|
20491
20764
|
@health_probe = args[:health_probe] if args.key?(:health_probe)
|
20492
20765
|
@health_route = args[:health_route] if args.key?(:health_route)
|
20493
20766
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
20767
|
+
@invoke_route_prefix = args[:invoke_route_prefix] if args.key?(:invoke_route_prefix)
|
20494
20768
|
@liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
|
20495
20769
|
@ports = args[:ports] if args.key?(:ports)
|
20496
20770
|
@predict_route = args[:predict_route] if args.key?(:predict_route)
|
@@ -24768,14 +25042,17 @@ module Google
|
|
24768
25042
|
class GoogleCloudAiplatformV1beta1PscAutomationConfig
|
24769
25043
|
include Google::Apis::Core::Hashable
|
24770
25044
|
|
24771
|
-
# Output only.
|
24772
|
-
#
|
25045
|
+
# Output only. Error message if the PSC service automation failed.
|
25046
|
+
# Corresponds to the JSON property `errorMessage`
|
25047
|
+
# @return [String]
|
25048
|
+
attr_accessor :error_message
|
25049
|
+
|
25050
|
+
# Output only. Forwarding rule created by the PSC service automation.
|
24773
25051
|
# Corresponds to the JSON property `forwardingRule`
|
24774
25052
|
# @return [String]
|
24775
25053
|
attr_accessor :forwarding_rule
|
24776
25054
|
|
24777
|
-
# Output only. IP address rule created by the PSC service automation.
|
24778
|
-
# Vector search, use IndexPrivateEndpoint instead.
|
25055
|
+
# Output only. IP address rule created by the PSC service automation.
|
24779
25056
|
# Corresponds to the JSON property `ipAddress`
|
24780
25057
|
# @return [String]
|
24781
25058
|
attr_accessor :ip_address
|
@@ -24794,16 +25071,23 @@ module Google
|
|
24794
25071
|
# @return [String]
|
24795
25072
|
attr_accessor :project_id
|
24796
25073
|
|
25074
|
+
# Output only. The state of the PSC service automation.
|
25075
|
+
# Corresponds to the JSON property `state`
|
25076
|
+
# @return [String]
|
25077
|
+
attr_accessor :state
|
25078
|
+
|
24797
25079
|
def initialize(**args)
|
24798
25080
|
update!(**args)
|
24799
25081
|
end
|
24800
25082
|
|
24801
25083
|
# Update properties of this object
|
24802
25084
|
def update!(**args)
|
25085
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
24803
25086
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
24804
25087
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
24805
25088
|
@network = args[:network] if args.key?(:network)
|
24806
25089
|
@project_id = args[:project_id] if args.key?(:project_id)
|
25090
|
+
@state = args[:state] if args.key?(:state)
|
24807
25091
|
end
|
24808
25092
|
end
|
24809
25093
|
|
@@ -27101,6 +27385,14 @@ module Google
|
|
27101
27385
|
class GoogleCloudAiplatformV1beta1PscInterfaceConfig
|
27102
27386
|
include Google::Apis::Core::Hashable
|
27103
27387
|
|
27388
|
+
# Optional. DNS peering configurations. When specified, Vertex AI will attempt
|
27389
|
+
# to configure DNS peering zones in the tenant project VPC to resolve the
|
27390
|
+
# specified domains using the target network's Cloud DNS. The user must grant
|
27391
|
+
# the dns.peer role to the Vertex AI Service Agent on the target project.
|
27392
|
+
# Corresponds to the JSON property `dnsPeeringConfigs`
|
27393
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DnsPeeringConfig>]
|
27394
|
+
attr_accessor :dns_peering_configs
|
27395
|
+
|
27104
27396
|
# Optional. The name of the Compute Engine [network attachment](https://cloud.
|
27105
27397
|
# google.com/vpc/docs/about-network-attachments) to attach to the resource
|
27106
27398
|
# within the region and user project. To specify this field, you must have
|
@@ -27117,6 +27409,7 @@ module Google
|
|
27117
27409
|
|
27118
27410
|
# Update properties of this object
|
27119
27411
|
def update!(**args)
|
27412
|
+
@dns_peering_configs = args[:dns_peering_configs] if args.key?(:dns_peering_configs)
|
27120
27413
|
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
27121
27414
|
end
|
27122
27415
|
end
|
@@ -27520,6 +27813,12 @@ module Google
|
|
27520
27813
|
# @return [String]
|
27521
27814
|
attr_accessor :resource_use_case
|
27522
27815
|
|
27816
|
+
# Optional. For notebook resource, whether the notebook supports Workbench.
|
27817
|
+
# Corresponds to the JSON property `supportsWorkbench`
|
27818
|
+
# @return [Boolean]
|
27819
|
+
attr_accessor :supports_workbench
|
27820
|
+
alias_method :supports_workbench?, :supports_workbench
|
27821
|
+
|
27523
27822
|
# Required.
|
27524
27823
|
# Corresponds to the JSON property `title`
|
27525
27824
|
# @return [String]
|
@@ -27535,6 +27834,7 @@ module Google
|
|
27535
27834
|
@resource_description = args[:resource_description] if args.key?(:resource_description)
|
27536
27835
|
@resource_title = args[:resource_title] if args.key?(:resource_title)
|
27537
27836
|
@resource_use_case = args[:resource_use_case] if args.key?(:resource_use_case)
|
27837
|
+
@supports_workbench = args[:supports_workbench] if args.key?(:supports_workbench)
|
27538
27838
|
@title = args[:title] if args.key?(:title)
|
27539
27839
|
end
|
27540
27840
|
end
|
@@ -29127,6 +29427,12 @@ module Google
|
|
29127
29427
|
# @return [String]
|
29128
29428
|
attr_accessor :update_time
|
29129
29429
|
|
29430
|
+
# Output only. The metadata for metadata search. The user_metadata Needs to be
|
29431
|
+
# in JSON format.
|
29432
|
+
# Corresponds to the JSON property `userMetadata`
|
29433
|
+
# @return [String]
|
29434
|
+
attr_accessor :user_metadata
|
29435
|
+
|
29130
29436
|
def initialize(**args)
|
29131
29437
|
update!(**args)
|
29132
29438
|
end
|
@@ -29147,6 +29453,7 @@ module Google
|
|
29147
29453
|
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
29148
29454
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
29149
29455
|
@update_time = args[:update_time] if args.key?(:update_time)
|
29456
|
+
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
|
29150
29457
|
end
|
29151
29458
|
end
|
29152
29459
|
|
@@ -29206,6 +29513,55 @@ module Google
|
|
29206
29513
|
end
|
29207
29514
|
end
|
29208
29515
|
|
29516
|
+
# Metadata config for RagFile.
|
29517
|
+
class GoogleCloudAiplatformV1beta1RagFileMetadataConfig
|
29518
|
+
include Google::Apis::Core::Hashable
|
29519
|
+
|
29520
|
+
# The Google Cloud Storage location for the input content.
|
29521
|
+
# Corresponds to the JSON property `gcsMetadataSchemaSource`
|
29522
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsSource]
|
29523
|
+
attr_accessor :gcs_metadata_schema_source
|
29524
|
+
|
29525
|
+
# The Google Cloud Storage location for the input content.
|
29526
|
+
# Corresponds to the JSON property `gcsMetadataSource`
|
29527
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsSource]
|
29528
|
+
attr_accessor :gcs_metadata_source
|
29529
|
+
|
29530
|
+
# The Google Drive location for the input content.
|
29531
|
+
# Corresponds to the JSON property `googleDriveMetadataSchemaSource`
|
29532
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
|
29533
|
+
attr_accessor :google_drive_metadata_schema_source
|
29534
|
+
|
29535
|
+
# The Google Drive location for the input content.
|
29536
|
+
# Corresponds to the JSON property `googleDriveMetadataSource`
|
29537
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
|
29538
|
+
attr_accessor :google_drive_metadata_source
|
29539
|
+
|
29540
|
+
# Inline metadata schema source. Must be a JSON string.
|
29541
|
+
# Corresponds to the JSON property `inlineMetadataSchemaSource`
|
29542
|
+
# @return [String]
|
29543
|
+
attr_accessor :inline_metadata_schema_source
|
29544
|
+
|
29545
|
+
# Inline metadata source. Must be a JSON string.
|
29546
|
+
# Corresponds to the JSON property `inlineMetadataSource`
|
29547
|
+
# @return [String]
|
29548
|
+
attr_accessor :inline_metadata_source
|
29549
|
+
|
29550
|
+
def initialize(**args)
|
29551
|
+
update!(**args)
|
29552
|
+
end
|
29553
|
+
|
29554
|
+
# Update properties of this object
|
29555
|
+
def update!(**args)
|
29556
|
+
@gcs_metadata_schema_source = args[:gcs_metadata_schema_source] if args.key?(:gcs_metadata_schema_source)
|
29557
|
+
@gcs_metadata_source = args[:gcs_metadata_source] if args.key?(:gcs_metadata_source)
|
29558
|
+
@google_drive_metadata_schema_source = args[:google_drive_metadata_schema_source] if args.key?(:google_drive_metadata_schema_source)
|
29559
|
+
@google_drive_metadata_source = args[:google_drive_metadata_source] if args.key?(:google_drive_metadata_source)
|
29560
|
+
@inline_metadata_schema_source = args[:inline_metadata_schema_source] if args.key?(:inline_metadata_schema_source)
|
29561
|
+
@inline_metadata_source = args[:inline_metadata_source] if args.key?(:inline_metadata_source)
|
29562
|
+
end
|
29563
|
+
end
|
29564
|
+
|
29209
29565
|
# Specifies the parsing config for RagFiles.
|
29210
29566
|
class GoogleCloudAiplatformV1beta1RagFileParsingConfig
|
29211
29567
|
include Google::Apis::Core::Hashable
|
@@ -29377,19 +29733,34 @@ module Google
|
|
29377
29733
|
|
29378
29734
|
# Basic tier is a cost-effective and low compute tier suitable for the following
|
29379
29735
|
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
29380
|
-
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
29736
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
29737
|
+
# This is the default tier if not explicitly chosen.
|
29381
29738
|
# Corresponds to the JSON property `basic`
|
29382
29739
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic]
|
29383
29740
|
attr_accessor :basic
|
29384
29741
|
|
29385
29742
|
# Enterprise tier offers production grade performance along with autoscaling
|
29386
29743
|
# functionality. It is suitable for customers with large amounts of data or
|
29387
|
-
# performance sensitive workloads.
|
29388
|
-
# explicitly chosen.
|
29744
|
+
# performance sensitive workloads.
|
29389
29745
|
# Corresponds to the JSON property `enterprise`
|
29390
29746
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise]
|
29391
29747
|
attr_accessor :enterprise
|
29392
29748
|
|
29749
|
+
# Scaled tier offers production grade performance along with autoscaling
|
29750
|
+
# functionality. It is suitable for customers with large amounts of data or
|
29751
|
+
# performance sensitive workloads.
|
29752
|
+
# Corresponds to the JSON property `scaled`
|
29753
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled]
|
29754
|
+
attr_accessor :scaled
|
29755
|
+
|
29756
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
29757
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
29758
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
29759
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
29760
|
+
# Corresponds to the JSON property `unprovisioned`
|
29761
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned]
|
29762
|
+
attr_accessor :unprovisioned
|
29763
|
+
|
29393
29764
|
def initialize(**args)
|
29394
29765
|
update!(**args)
|
29395
29766
|
end
|
@@ -29398,12 +29769,15 @@ module Google
|
|
29398
29769
|
def update!(**args)
|
29399
29770
|
@basic = args[:basic] if args.key?(:basic)
|
29400
29771
|
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
29772
|
+
@scaled = args[:scaled] if args.key?(:scaled)
|
29773
|
+
@unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
|
29401
29774
|
end
|
29402
29775
|
end
|
29403
29776
|
|
29404
29777
|
# Basic tier is a cost-effective and low compute tier suitable for the following
|
29405
29778
|
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
29406
|
-
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
29779
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
29780
|
+
# This is the default tier if not explicitly chosen.
|
29407
29781
|
class GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic
|
29408
29782
|
include Google::Apis::Core::Hashable
|
29409
29783
|
|
@@ -29418,8 +29792,7 @@ module Google
|
|
29418
29792
|
|
29419
29793
|
# Enterprise tier offers production grade performance along with autoscaling
|
29420
29794
|
# functionality. It is suitable for customers with large amounts of data or
|
29421
|
-
# performance sensitive workloads.
|
29422
|
-
# explicitly chosen.
|
29795
|
+
# performance sensitive workloads.
|
29423
29796
|
class GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise
|
29424
29797
|
include Google::Apis::Core::Hashable
|
29425
29798
|
|
@@ -29432,6 +29805,37 @@ module Google
|
|
29432
29805
|
end
|
29433
29806
|
end
|
29434
29807
|
|
29808
|
+
# Scaled tier offers production grade performance along with autoscaling
|
29809
|
+
# functionality. It is suitable for customers with large amounts of data or
|
29810
|
+
# performance sensitive workloads.
|
29811
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled
|
29812
|
+
include Google::Apis::Core::Hashable
|
29813
|
+
|
29814
|
+
def initialize(**args)
|
29815
|
+
update!(**args)
|
29816
|
+
end
|
29817
|
+
|
29818
|
+
# Update properties of this object
|
29819
|
+
def update!(**args)
|
29820
|
+
end
|
29821
|
+
end
|
29822
|
+
|
29823
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
29824
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
29825
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
29826
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
29827
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned
|
29828
|
+
include Google::Apis::Core::Hashable
|
29829
|
+
|
29830
|
+
def initialize(**args)
|
29831
|
+
update!(**args)
|
29832
|
+
end
|
29833
|
+
|
29834
|
+
# Update properties of this object
|
29835
|
+
def update!(**args)
|
29836
|
+
end
|
29837
|
+
end
|
29838
|
+
|
29435
29839
|
# A query to retrieve relevant contexts.
|
29436
29840
|
class GoogleCloudAiplatformV1beta1RagQuery
|
29437
29841
|
include Google::Apis::Core::Hashable
|
@@ -30352,6 +30756,11 @@ module Google
|
|
30352
30756
|
class GoogleCloudAiplatformV1beta1ReasoningEngine
|
30353
30757
|
include Google::Apis::Core::Hashable
|
30354
30758
|
|
30759
|
+
# Configuration for how Agent Engine sub-resources should manage context.
|
30760
|
+
# Corresponds to the JSON property `contextSpec`
|
30761
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec]
|
30762
|
+
attr_accessor :context_spec
|
30763
|
+
|
30355
30764
|
# Output only. Timestamp when this ReasoningEngine was created.
|
30356
30765
|
# Corresponds to the JSON property `createTime`
|
30357
30766
|
# @return [String]
|
@@ -30395,6 +30804,7 @@ module Google
|
|
30395
30804
|
|
30396
30805
|
# Update properties of this object
|
30397
30806
|
def update!(**args)
|
30807
|
+
@context_spec = args[:context_spec] if args.key?(:context_spec)
|
30398
30808
|
@create_time = args[:create_time] if args.key?(:create_time)
|
30399
30809
|
@description = args[:description] if args.key?(:description)
|
30400
30810
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -30405,6 +30815,92 @@ module Google
|
|
30405
30815
|
end
|
30406
30816
|
end
|
30407
30817
|
|
30818
|
+
# Configuration for how Agent Engine sub-resources should manage context.
|
30819
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec
|
30820
|
+
include Google::Apis::Core::Hashable
|
30821
|
+
|
30822
|
+
# Specification for a Memory Bank.
|
30823
|
+
# Corresponds to the JSON property `memoryBankConfig`
|
30824
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig]
|
30825
|
+
attr_accessor :memory_bank_config
|
30826
|
+
|
30827
|
+
def initialize(**args)
|
30828
|
+
update!(**args)
|
30829
|
+
end
|
30830
|
+
|
30831
|
+
# Update properties of this object
|
30832
|
+
def update!(**args)
|
30833
|
+
@memory_bank_config = args[:memory_bank_config] if args.key?(:memory_bank_config)
|
30834
|
+
end
|
30835
|
+
end
|
30836
|
+
|
30837
|
+
# Specification for a Memory Bank.
|
30838
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig
|
30839
|
+
include Google::Apis::Core::Hashable
|
30840
|
+
|
30841
|
+
# Configuration for how to generate memories.
|
30842
|
+
# Corresponds to the JSON property `generationConfig`
|
30843
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig]
|
30844
|
+
attr_accessor :generation_config
|
30845
|
+
|
30846
|
+
# Configuration for how to perform similarity search on memories.
|
30847
|
+
# Corresponds to the JSON property `similaritySearchConfig`
|
30848
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig]
|
30849
|
+
attr_accessor :similarity_search_config
|
30850
|
+
|
30851
|
+
def initialize(**args)
|
30852
|
+
update!(**args)
|
30853
|
+
end
|
30854
|
+
|
30855
|
+
# Update properties of this object
|
30856
|
+
def update!(**args)
|
30857
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
30858
|
+
@similarity_search_config = args[:similarity_search_config] if args.key?(:similarity_search_config)
|
30859
|
+
end
|
30860
|
+
end
|
30861
|
+
|
30862
|
+
# Configuration for how to generate memories.
|
30863
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig
|
30864
|
+
include Google::Apis::Core::Hashable
|
30865
|
+
|
30866
|
+
# Required. The model used to generate memories. Format: `projects/`project`/
|
30867
|
+
# locations/`location`/publishers/google/models/`model`` or `projects/`project`/
|
30868
|
+
# locations/`location`/endpoints/`endpoint``.
|
30869
|
+
# Corresponds to the JSON property `model`
|
30870
|
+
# @return [String]
|
30871
|
+
attr_accessor :model
|
30872
|
+
|
30873
|
+
def initialize(**args)
|
30874
|
+
update!(**args)
|
30875
|
+
end
|
30876
|
+
|
30877
|
+
# Update properties of this object
|
30878
|
+
def update!(**args)
|
30879
|
+
@model = args[:model] if args.key?(:model)
|
30880
|
+
end
|
30881
|
+
end
|
30882
|
+
|
30883
|
+
# Configuration for how to perform similarity search on memories.
|
30884
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig
|
30885
|
+
include Google::Apis::Core::Hashable
|
30886
|
+
|
30887
|
+
# Required. The model used to generate embeddings to lookup similar memories.
|
30888
|
+
# Format: `projects/`project`/locations/`location`/publishers/google/models/`
|
30889
|
+
# model`` or `projects/`project`/locations/`location`/endpoints/`endpoint``.
|
30890
|
+
# Corresponds to the JSON property `embeddingModel`
|
30891
|
+
# @return [String]
|
30892
|
+
attr_accessor :embedding_model
|
30893
|
+
|
30894
|
+
def initialize(**args)
|
30895
|
+
update!(**args)
|
30896
|
+
end
|
30897
|
+
|
30898
|
+
# Update properties of this object
|
30899
|
+
def update!(**args)
|
30900
|
+
@embedding_model = args[:embedding_model] if args.key?(:embedding_model)
|
30901
|
+
end
|
30902
|
+
end
|
30903
|
+
|
30408
30904
|
# ReasoningEngine configurations
|
30409
30905
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpec
|
30410
30906
|
include Google::Apis::Core::Hashable
|
@@ -31268,6 +31764,150 @@ module Google
|
|
31268
31764
|
end
|
31269
31765
|
end
|
31270
31766
|
|
31767
|
+
# Request message for MemoryBankService.RetrieveMemories.
|
31768
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest
|
31769
|
+
include Google::Apis::Core::Hashable
|
31770
|
+
|
31771
|
+
# Required. The scope of the memories to retrieve. A memory must have exactly
|
31772
|
+
# the same scope (`Memory.scope`) as the scope provided here to be retrieved (
|
31773
|
+
# same keys and values). Order does not matter, but it is case-sensitive.
|
31774
|
+
# Corresponds to the JSON property `scope`
|
31775
|
+
# @return [Hash<String,String>]
|
31776
|
+
attr_accessor :scope
|
31777
|
+
|
31778
|
+
# Parameters for semantic similarity search based retrieval.
|
31779
|
+
# Corresponds to the JSON property `similaritySearchParams`
|
31780
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams]
|
31781
|
+
attr_accessor :similarity_search_params
|
31782
|
+
|
31783
|
+
# Parameters for simple (non-similarity search) retrieval.
|
31784
|
+
# Corresponds to the JSON property `simpleRetrievalParams`
|
31785
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams]
|
31786
|
+
attr_accessor :simple_retrieval_params
|
31787
|
+
|
31788
|
+
def initialize(**args)
|
31789
|
+
update!(**args)
|
31790
|
+
end
|
31791
|
+
|
31792
|
+
# Update properties of this object
|
31793
|
+
def update!(**args)
|
31794
|
+
@scope = args[:scope] if args.key?(:scope)
|
31795
|
+
@similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params)
|
31796
|
+
@simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params)
|
31797
|
+
end
|
31798
|
+
end
|
31799
|
+
|
31800
|
+
# Parameters for semantic similarity search based retrieval.
|
31801
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams
|
31802
|
+
include Google::Apis::Core::Hashable
|
31803
|
+
|
31804
|
+
# Required. Query to use for similarity search retrieval. If provided, then the
|
31805
|
+
# parent ReasoningEngine must have ReasoningEngineContextSpec.MemoryBankConfig.
|
31806
|
+
# SimilaritySearchConfig set.
|
31807
|
+
# Corresponds to the JSON property `searchQuery`
|
31808
|
+
# @return [String]
|
31809
|
+
attr_accessor :search_query
|
31810
|
+
|
31811
|
+
# Optional. The maximum number of memories to return. The service may return
|
31812
|
+
# fewer than this value. If unspecified, at most 3 memories will be returned.
|
31813
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
31814
|
+
# Corresponds to the JSON property `topK`
|
31815
|
+
# @return [Fixnum]
|
31816
|
+
attr_accessor :top_k
|
31817
|
+
|
31818
|
+
def initialize(**args)
|
31819
|
+
update!(**args)
|
31820
|
+
end
|
31821
|
+
|
31822
|
+
# Update properties of this object
|
31823
|
+
def update!(**args)
|
31824
|
+
@search_query = args[:search_query] if args.key?(:search_query)
|
31825
|
+
@top_k = args[:top_k] if args.key?(:top_k)
|
31826
|
+
end
|
31827
|
+
end
|
31828
|
+
|
31829
|
+
# Parameters for simple (non-similarity search) retrieval.
|
31830
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams
|
31831
|
+
include Google::Apis::Core::Hashable
|
31832
|
+
|
31833
|
+
# Optional. The maximum number of memories to return. The service may return
|
31834
|
+
# fewer than this value. If unspecified, at most 3 memories will be returned.
|
31835
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
31836
|
+
# Corresponds to the JSON property `pageSize`
|
31837
|
+
# @return [Fixnum]
|
31838
|
+
attr_accessor :page_size
|
31839
|
+
|
31840
|
+
# Optional. A page token, received from a previous `RetrieveMemories` call.
|
31841
|
+
# Provide this to retrieve the subsequent page.
|
31842
|
+
# Corresponds to the JSON property `pageToken`
|
31843
|
+
# @return [String]
|
31844
|
+
attr_accessor :page_token
|
31845
|
+
|
31846
|
+
def initialize(**args)
|
31847
|
+
update!(**args)
|
31848
|
+
end
|
31849
|
+
|
31850
|
+
# Update properties of this object
|
31851
|
+
def update!(**args)
|
31852
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
31853
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
31854
|
+
end
|
31855
|
+
end
|
31856
|
+
|
31857
|
+
# Response message for MemoryBankService.RetrieveMemories.
|
31858
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
|
31859
|
+
include Google::Apis::Core::Hashable
|
31860
|
+
|
31861
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
31862
|
+
# field is omitted, there are no subsequent pages. This token is not set if
|
31863
|
+
# similarity search was used for retrieval.
|
31864
|
+
# Corresponds to the JSON property `nextPageToken`
|
31865
|
+
# @return [String]
|
31866
|
+
attr_accessor :next_page_token
|
31867
|
+
|
31868
|
+
# The retrieved memories.
|
31869
|
+
# Corresponds to the JSON property `retrievedMemories`
|
31870
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory>]
|
31871
|
+
attr_accessor :retrieved_memories
|
31872
|
+
|
31873
|
+
def initialize(**args)
|
31874
|
+
update!(**args)
|
31875
|
+
end
|
31876
|
+
|
31877
|
+
# Update properties of this object
|
31878
|
+
def update!(**args)
|
31879
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
31880
|
+
@retrieved_memories = args[:retrieved_memories] if args.key?(:retrieved_memories)
|
31881
|
+
end
|
31882
|
+
end
|
31883
|
+
|
31884
|
+
# A retrieved memory.
|
31885
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory
|
31886
|
+
include Google::Apis::Core::Hashable
|
31887
|
+
|
31888
|
+
# The distance between the query and the retrieved Memory. Smaller values
|
31889
|
+
# indicate more similar memories. This is only set if similarity search was used
|
31890
|
+
# for retrieval.
|
31891
|
+
# Corresponds to the JSON property `distance`
|
31892
|
+
# @return [Float]
|
31893
|
+
attr_accessor :distance
|
31894
|
+
|
31895
|
+
# A memory.
|
31896
|
+
# Corresponds to the JSON property `memory`
|
31897
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory]
|
31898
|
+
attr_accessor :memory
|
31899
|
+
|
31900
|
+
def initialize(**args)
|
31901
|
+
update!(**args)
|
31902
|
+
end
|
31903
|
+
|
31904
|
+
# Update properties of this object
|
31905
|
+
def update!(**args)
|
31906
|
+
@distance = args[:distance] if args.key?(:distance)
|
31907
|
+
@memory = args[:memory] if args.key?(:memory)
|
31908
|
+
end
|
31909
|
+
end
|
31910
|
+
|
31271
31911
|
# Configuration for rolling deployments.
|
31272
31912
|
class GoogleCloudAiplatformV1beta1RolloutOptions
|
31273
31913
|
include Google::Apis::Core::Hashable
|
@@ -31768,6 +32408,13 @@ module Google
|
|
31768
32408
|
# @return [String]
|
31769
32409
|
attr_accessor :category
|
31770
32410
|
|
32411
|
+
# Output only. The overwritten threshold for the safety category of Gemini 2.0
|
32412
|
+
# image out. If minors are detected in the output image, the threshold of each
|
32413
|
+
# safety category will be overwritten if user sets a lower threshold.
|
32414
|
+
# Corresponds to the JSON property `overwrittenThreshold`
|
32415
|
+
# @return [String]
|
32416
|
+
attr_accessor :overwritten_threshold
|
32417
|
+
|
31771
32418
|
# Output only. Harm probability levels in the content.
|
31772
32419
|
# Corresponds to the JSON property `probability`
|
31773
32420
|
# @return [String]
|
@@ -31796,6 +32443,7 @@ module Google
|
|
31796
32443
|
def update!(**args)
|
31797
32444
|
@blocked = args[:blocked] if args.key?(:blocked)
|
31798
32445
|
@category = args[:category] if args.key?(:category)
|
32446
|
+
@overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
|
31799
32447
|
@probability = args[:probability] if args.key?(:probability)
|
31800
32448
|
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
31801
32449
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -42262,7 +42910,8 @@ module Google
|
|
42262
42910
|
# @return [Fixnum]
|
42263
42911
|
attr_accessor :epoch_count
|
42264
42912
|
|
42265
|
-
# Optional. Multiplier for adjusting the default learning rate.
|
42913
|
+
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
42914
|
+
# exclusive with `learning_rate`.
|
42266
42915
|
# Corresponds to the JSON property `learningRateMultiplier`
|
42267
42916
|
# @return [Float]
|
42268
42917
|
attr_accessor :learning_rate_multiplier
|
@@ -45850,6 +46499,16 @@ module Google
|
|
45850
46499
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
|
45851
46500
|
attr_accessor :rag_file_chunking_config
|
45852
46501
|
|
46502
|
+
# Metadata config for RagFile.
|
46503
|
+
# Corresponds to the JSON property `ragFileMetadataConfig`
|
46504
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileMetadataConfig]
|
46505
|
+
attr_accessor :rag_file_metadata_config
|
46506
|
+
|
46507
|
+
# Specifies the parsing config for RagFiles.
|
46508
|
+
# Corresponds to the JSON property `ragFileParsingConfig`
|
46509
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfig]
|
46510
|
+
attr_accessor :rag_file_parsing_config
|
46511
|
+
|
45853
46512
|
# Specifies the transformation config for RagFiles.
|
45854
46513
|
# Corresponds to the JSON property `ragFileTransformationConfig`
|
45855
46514
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileTransformationConfig]
|
@@ -45862,6 +46521,8 @@ module Google
|
|
45862
46521
|
# Update properties of this object
|
45863
46522
|
def update!(**args)
|
45864
46523
|
@rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
|
46524
|
+
@rag_file_metadata_config = args[:rag_file_metadata_config] if args.key?(:rag_file_metadata_config)
|
46525
|
+
@rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
|
45865
46526
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
45866
46527
|
end
|
45867
46528
|
end
|
@@ -46054,6 +46715,50 @@ module Google
|
|
46054
46715
|
end
|
46055
46716
|
end
|
46056
46717
|
|
46718
|
+
# Metadata related to url context retrieval tool.
|
46719
|
+
class GoogleCloudAiplatformV1beta1UrlContextMetadata
|
46720
|
+
include Google::Apis::Core::Hashable
|
46721
|
+
|
46722
|
+
# Output only. List of url context.
|
46723
|
+
# Corresponds to the JSON property `urlMetadata`
|
46724
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlMetadata>]
|
46725
|
+
attr_accessor :url_metadata
|
46726
|
+
|
46727
|
+
def initialize(**args)
|
46728
|
+
update!(**args)
|
46729
|
+
end
|
46730
|
+
|
46731
|
+
# Update properties of this object
|
46732
|
+
def update!(**args)
|
46733
|
+
@url_metadata = args[:url_metadata] if args.key?(:url_metadata)
|
46734
|
+
end
|
46735
|
+
end
|
46736
|
+
|
46737
|
+
# Context of the a single url retrieval.
|
46738
|
+
class GoogleCloudAiplatformV1beta1UrlMetadata
|
46739
|
+
include Google::Apis::Core::Hashable
|
46740
|
+
|
46741
|
+
# Retrieved url by the tool.
|
46742
|
+
# Corresponds to the JSON property `retrievedUrl`
|
46743
|
+
# @return [String]
|
46744
|
+
attr_accessor :retrieved_url
|
46745
|
+
|
46746
|
+
# Status of the url retrieval.
|
46747
|
+
# Corresponds to the JSON property `urlRetrievalStatus`
|
46748
|
+
# @return [String]
|
46749
|
+
attr_accessor :url_retrieval_status
|
46750
|
+
|
46751
|
+
def initialize(**args)
|
46752
|
+
update!(**args)
|
46753
|
+
end
|
46754
|
+
|
46755
|
+
# Update properties of this object
|
46756
|
+
def update!(**args)
|
46757
|
+
@retrieved_url = args[:retrieved_url] if args.key?(:retrieved_url)
|
46758
|
+
@url_retrieval_status = args[:url_retrieval_status] if args.key?(:url_retrieval_status)
|
46759
|
+
end
|
46760
|
+
end
|
46761
|
+
|
46057
46762
|
# References an API call. It contains more information about long running
|
46058
46763
|
# operation and Jobs that are triggered by the API call.
|
46059
46764
|
class GoogleCloudAiplatformV1beta1UserActionReference
|