google-apis-aiplatform_v1beta1 0.51.0 → 0.53.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 +659 -26
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +305 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +995 -49
- 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
|
@@ -6363,6 +6364,12 @@ module Google
|
|
6363
6364
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoscalingMetricSpec>]
|
6364
6365
|
attr_accessor :autoscaling_metric_specs
|
6365
6366
|
|
6367
|
+
# FlexStart is used to schedule the deployment workload on DWS resource. It
|
6368
|
+
# contains the max duration of the deployment.
|
6369
|
+
# Corresponds to the JSON property `flexStart`
|
6370
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart]
|
6371
|
+
attr_accessor :flex_start
|
6372
|
+
|
6366
6373
|
# Specification of a single machine.
|
6367
6374
|
# Corresponds to the JSON property `machineSpec`
|
6368
6375
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
|
@@ -6413,6 +6420,7 @@ module Google
|
|
6413
6420
|
# Update properties of this object
|
6414
6421
|
def update!(**args)
|
6415
6422
|
@autoscaling_metric_specs = args[:autoscaling_metric_specs] if args.key?(:autoscaling_metric_specs)
|
6423
|
+
@flex_start = args[:flex_start] if args.key?(:flex_start)
|
6416
6424
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
6417
6425
|
@max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
|
6418
6426
|
@min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
|
@@ -9055,6 +9063,11 @@ module Google
|
|
9055
9063
|
# @return [String]
|
9056
9064
|
attr_accessor :branch
|
9057
9065
|
|
9066
|
+
# The custom metadata of the LlmResponse.
|
9067
|
+
# Corresponds to the JSON property `customMetadata`
|
9068
|
+
# @return [Hash<String,Object>]
|
9069
|
+
attr_accessor :custom_metadata
|
9070
|
+
|
9058
9071
|
# Metadata returned to client when grounding is enabled.
|
9059
9072
|
# Corresponds to the JSON property `groundingMetadata`
|
9060
9073
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata]
|
@@ -9095,6 +9108,7 @@ module Google
|
|
9095
9108
|
# Update properties of this object
|
9096
9109
|
def update!(**args)
|
9097
9110
|
@branch = args[:branch] if args.key?(:branch)
|
9111
|
+
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
9098
9112
|
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
9099
9113
|
@interrupted = args[:interrupted] if args.key?(:interrupted)
|
9100
9114
|
@long_running_tool_ids = args[:long_running_tool_ids] if args.key?(:long_running_tool_ids)
|
@@ -12389,9 +12403,9 @@ module Google
|
|
12389
12403
|
|
12390
12404
|
# Feature generation timestamp. Typically, it is provided by user at feature
|
12391
12405
|
# ingestion time. If not, feature store will use the system timestamp when the
|
12392
|
-
# data is ingested into feature store.
|
12393
|
-
# aligned by days, must be no older than five years (1825
|
12394
|
-
# than one year (366 days) in the future.
|
12406
|
+
# data is ingested into feature store. Legacy Feature Store: For streaming
|
12407
|
+
# ingestion, the time, aligned by days, must be no older than five years (1825
|
12408
|
+
# days) and no later than one year (366 days) in the future.
|
12395
12409
|
# Corresponds to the JSON property `generateTime`
|
12396
12410
|
# @return [String]
|
12397
12411
|
attr_accessor :generate_time
|
@@ -13715,8 +13729,9 @@ module Google
|
|
13715
13729
|
|
13716
13730
|
# Optional. Display name of the file data. Used to provide a label or filename
|
13717
13731
|
# to distinguish file datas. This field is only returned in PromptMessage for
|
13718
|
-
# prompt management. It is
|
13719
|
-
#
|
13732
|
+
# prompt management. It is currently used in the Gemini GenerateContent calls
|
13733
|
+
# only when server side tools (code_execution, google_search, and url_context)
|
13734
|
+
# are enabled.
|
13720
13735
|
# Corresponds to the JSON property `displayName`
|
13721
13736
|
# @return [String]
|
13722
13737
|
attr_accessor :display_name
|
@@ -14013,6 +14028,28 @@ module Google
|
|
14013
14028
|
end
|
14014
14029
|
end
|
14015
14030
|
|
14031
|
+
# FlexStart is used to schedule the deployment workload on DWS resource. It
|
14032
|
+
# contains the max duration of the deployment.
|
14033
|
+
class GoogleCloudAiplatformV1beta1FlexStart
|
14034
|
+
include Google::Apis::Core::Hashable
|
14035
|
+
|
14036
|
+
# The max duration of the deployment is max_runtime_duration. The deployment
|
14037
|
+
# will be terminated after the duration. The max_runtime_duration can be set up
|
14038
|
+
# to 7 days.
|
14039
|
+
# Corresponds to the JSON property `maxRuntimeDuration`
|
14040
|
+
# @return [String]
|
14041
|
+
attr_accessor :max_runtime_duration
|
14042
|
+
|
14043
|
+
def initialize(**args)
|
14044
|
+
update!(**args)
|
14045
|
+
end
|
14046
|
+
|
14047
|
+
# Update properties of this object
|
14048
|
+
def update!(**args)
|
14049
|
+
@max_runtime_duration = args[:max_runtime_duration] if args.key?(:max_runtime_duration)
|
14050
|
+
end
|
14051
|
+
end
|
14052
|
+
|
14016
14053
|
# Input for fluency metric.
|
14017
14054
|
class GoogleCloudAiplatformV1beta1FluencyInput
|
14018
14055
|
include Google::Apis::Core::Hashable
|
@@ -14936,6 +14973,132 @@ module Google
|
|
14936
14973
|
end
|
14937
14974
|
end
|
14938
14975
|
|
14976
|
+
# Request message for MemoryBankService.GenerateMemories.
|
14977
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest
|
14978
|
+
include Google::Apis::Core::Hashable
|
14979
|
+
|
14980
|
+
# Defines a direct source of content from which to generate the memories.
|
14981
|
+
# Corresponds to the JSON property `directContentsSource`
|
14982
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource]
|
14983
|
+
attr_accessor :direct_contents_source
|
14984
|
+
|
14985
|
+
# Optional. If true, generated memories will not be consolidated with existing
|
14986
|
+
# memories; all generated memories will be added as new memories regardless of
|
14987
|
+
# whether they are duplicates of or contradictory to existing memories. By
|
14988
|
+
# default, memory consolidation is enabled.
|
14989
|
+
# Corresponds to the JSON property `disableConsolidation`
|
14990
|
+
# @return [Boolean]
|
14991
|
+
attr_accessor :disable_consolidation
|
14992
|
+
alias_method :disable_consolidation?, :disable_consolidation
|
14993
|
+
|
14994
|
+
# Optional. The scope of the memories that should be generated. Memories will be
|
14995
|
+
# consolidated across memories with the same scope. Must be provided unless the
|
14996
|
+
# scope is defined in the source content. If `scope` is provided, it will
|
14997
|
+
# override the scope defined in the source content. Scope values cannot contain
|
14998
|
+
# the wildcard character '*'.
|
14999
|
+
# Corresponds to the JSON property `scope`
|
15000
|
+
# @return [Hash<String,String>]
|
15001
|
+
attr_accessor :scope
|
15002
|
+
|
15003
|
+
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
15004
|
+
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
15005
|
+
# : sesison.user_id`).
|
15006
|
+
# Corresponds to the JSON property `vertexSessionSource`
|
15007
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource]
|
15008
|
+
attr_accessor :vertex_session_source
|
15009
|
+
|
15010
|
+
def initialize(**args)
|
15011
|
+
update!(**args)
|
15012
|
+
end
|
15013
|
+
|
15014
|
+
# Update properties of this object
|
15015
|
+
def update!(**args)
|
15016
|
+
@direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source)
|
15017
|
+
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
15018
|
+
@scope = args[:scope] if args.key?(:scope)
|
15019
|
+
@vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
|
15020
|
+
end
|
15021
|
+
end
|
15022
|
+
|
15023
|
+
# Defines a direct source of content from which to generate the memories.
|
15024
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource
|
15025
|
+
include Google::Apis::Core::Hashable
|
15026
|
+
|
15027
|
+
# Required. The source content (i.e. chat history) to generate memories from.
|
15028
|
+
# Corresponds to the JSON property `events`
|
15029
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent>]
|
15030
|
+
attr_accessor :events
|
15031
|
+
|
15032
|
+
def initialize(**args)
|
15033
|
+
update!(**args)
|
15034
|
+
end
|
15035
|
+
|
15036
|
+
# Update properties of this object
|
15037
|
+
def update!(**args)
|
15038
|
+
@events = args[:events] if args.key?(:events)
|
15039
|
+
end
|
15040
|
+
end
|
15041
|
+
|
15042
|
+
# A single piece of conversation from which to generate memories.
|
15043
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent
|
15044
|
+
include Google::Apis::Core::Hashable
|
15045
|
+
|
15046
|
+
# The base structured datatype containing multi-part content of a message. A `
|
15047
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
15048
|
+
# a `parts` field containing multi-part data that contains the content of the
|
15049
|
+
# message turn.
|
15050
|
+
# Corresponds to the JSON property `content`
|
15051
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
15052
|
+
attr_accessor :content
|
15053
|
+
|
15054
|
+
def initialize(**args)
|
15055
|
+
update!(**args)
|
15056
|
+
end
|
15057
|
+
|
15058
|
+
# Update properties of this object
|
15059
|
+
def update!(**args)
|
15060
|
+
@content = args[:content] if args.key?(:content)
|
15061
|
+
end
|
15062
|
+
end
|
15063
|
+
|
15064
|
+
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
15065
|
+
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
15066
|
+
# : sesison.user_id`).
|
15067
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource
|
15068
|
+
include Google::Apis::Core::Hashable
|
15069
|
+
|
15070
|
+
# Optional. End time (exclusive) of the time range. If not set, the end time is
|
15071
|
+
# unbounded.
|
15072
|
+
# Corresponds to the JSON property `endTime`
|
15073
|
+
# @return [String]
|
15074
|
+
attr_accessor :end_time
|
15075
|
+
|
15076
|
+
# Required. The resource name of the Session to generate memories for. Format: `
|
15077
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
15078
|
+
# sessions/`session``
|
15079
|
+
# Corresponds to the JSON property `session`
|
15080
|
+
# @return [String]
|
15081
|
+
attr_accessor :session
|
15082
|
+
|
15083
|
+
# Optional. Time range to define which session events should be used to generate
|
15084
|
+
# memories. Start time (inclusive) of the time range. If not set, the start time
|
15085
|
+
# is unbounded.
|
15086
|
+
# Corresponds to the JSON property `startTime`
|
15087
|
+
# @return [String]
|
15088
|
+
attr_accessor :start_time
|
15089
|
+
|
15090
|
+
def initialize(**args)
|
15091
|
+
update!(**args)
|
15092
|
+
end
|
15093
|
+
|
15094
|
+
# Update properties of this object
|
15095
|
+
def update!(**args)
|
15096
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
15097
|
+
@session = args[:session] if args.key?(:session)
|
15098
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
15099
|
+
end
|
15100
|
+
end
|
15101
|
+
|
14939
15102
|
# Generate video response.
|
14940
15103
|
class GoogleCloudAiplatformV1beta1GenerateVideoResponse
|
14941
15104
|
include Google::Apis::Core::Hashable
|
@@ -15269,8 +15432,7 @@ module Google
|
|
15269
15432
|
attr_accessor :include_thoughts
|
15270
15433
|
alias_method :include_thoughts?, :include_thoughts
|
15271
15434
|
|
15272
|
-
# Optional. Indicates the thinking budget in tokens.
|
15273
|
-
# enable_thinking is true.
|
15435
|
+
# Optional. Indicates the thinking budget in tokens.
|
15274
15436
|
# Corresponds to the JSON property `thinkingBudget`
|
15275
15437
|
# @return [Fixnum]
|
15276
15438
|
attr_accessor :thinking_budget
|
@@ -16444,6 +16606,11 @@ module Google
|
|
16444
16606
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
|
16445
16607
|
attr_accessor :rag_file_chunking_config
|
16446
16608
|
|
16609
|
+
# Metadata config for RagFile.
|
16610
|
+
# Corresponds to the JSON property `ragFileMetadataConfig`
|
16611
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileMetadataConfig]
|
16612
|
+
attr_accessor :rag_file_metadata_config
|
16613
|
+
|
16447
16614
|
# Specifies the parsing config for RagFiles.
|
16448
16615
|
# Corresponds to the JSON property `ragFileParsingConfig`
|
16449
16616
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfig]
|
@@ -16490,6 +16657,7 @@ module Google
|
|
16490
16657
|
@partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
|
16491
16658
|
@partial_failure_gcs_sink = args[:partial_failure_gcs_sink] if args.key?(:partial_failure_gcs_sink)
|
16492
16659
|
@rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
|
16660
|
+
@rag_file_metadata_config = args[:rag_file_metadata_config] if args.key?(:rag_file_metadata_config)
|
16493
16661
|
@rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
|
16494
16662
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
16495
16663
|
@rebuild_ann_index = args[:rebuild_ann_index] if args.key?(:rebuild_ann_index)
|
@@ -18103,6 +18271,32 @@ module Google
|
|
18103
18271
|
end
|
18104
18272
|
end
|
18105
18273
|
|
18274
|
+
# Response message for MemoryBankService.ListMemories.
|
18275
|
+
class GoogleCloudAiplatformV1beta1ListMemoriesResponse
|
18276
|
+
include Google::Apis::Core::Hashable
|
18277
|
+
|
18278
|
+
# List of Memories in the requested page.
|
18279
|
+
# Corresponds to the JSON property `memories`
|
18280
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory>]
|
18281
|
+
attr_accessor :memories
|
18282
|
+
|
18283
|
+
# A token to retrieve the next page of results. Pass to ListMemoriesRequest.
|
18284
|
+
# page_token to obtain that page.
|
18285
|
+
# Corresponds to the JSON property `nextPageToken`
|
18286
|
+
# @return [String]
|
18287
|
+
attr_accessor :next_page_token
|
18288
|
+
|
18289
|
+
def initialize(**args)
|
18290
|
+
update!(**args)
|
18291
|
+
end
|
18292
|
+
|
18293
|
+
# Update properties of this object
|
18294
|
+
def update!(**args)
|
18295
|
+
@memories = args[:memories] if args.key?(:memories)
|
18296
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
18297
|
+
end
|
18298
|
+
end
|
18299
|
+
|
18106
18300
|
# Response message for MetadataService.ListMetadataSchemas.
|
18107
18301
|
class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse
|
18108
18302
|
include Google::Apis::Core::Hashable
|
@@ -19238,6 +19432,64 @@ module Google
|
|
19238
19432
|
end
|
19239
19433
|
end
|
19240
19434
|
|
19435
|
+
# A memory.
|
19436
|
+
class GoogleCloudAiplatformV1beta1Memory
|
19437
|
+
include Google::Apis::Core::Hashable
|
19438
|
+
|
19439
|
+
# Output only. Timestamp when this Memory was created.
|
19440
|
+
# Corresponds to the JSON property `createTime`
|
19441
|
+
# @return [String]
|
19442
|
+
attr_accessor :create_time
|
19443
|
+
|
19444
|
+
# Optional. Description of the Memory.
|
19445
|
+
# Corresponds to the JSON property `description`
|
19446
|
+
# @return [String]
|
19447
|
+
attr_accessor :description
|
19448
|
+
|
19449
|
+
# Optional. Display name of the Memory.
|
19450
|
+
# Corresponds to the JSON property `displayName`
|
19451
|
+
# @return [String]
|
19452
|
+
attr_accessor :display_name
|
19453
|
+
|
19454
|
+
# Required. Semantic knowledge extracted from the source content.
|
19455
|
+
# Corresponds to the JSON property `fact`
|
19456
|
+
# @return [String]
|
19457
|
+
attr_accessor :fact
|
19458
|
+
|
19459
|
+
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
19460
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
19461
|
+
# Corresponds to the JSON property `name`
|
19462
|
+
# @return [String]
|
19463
|
+
attr_accessor :name
|
19464
|
+
|
19465
|
+
# Required. Immutable. The scope of the Memory. Memories are isolated within
|
19466
|
+
# their scope. The scope is defined when creating or generating memories. Scope
|
19467
|
+
# values cannot contain the wildcard character '*'.
|
19468
|
+
# Corresponds to the JSON property `scope`
|
19469
|
+
# @return [Hash<String,String>]
|
19470
|
+
attr_accessor :scope
|
19471
|
+
|
19472
|
+
# Output only. Timestamp when this Memory was most recently updated.
|
19473
|
+
# Corresponds to the JSON property `updateTime`
|
19474
|
+
# @return [String]
|
19475
|
+
attr_accessor :update_time
|
19476
|
+
|
19477
|
+
def initialize(**args)
|
19478
|
+
update!(**args)
|
19479
|
+
end
|
19480
|
+
|
19481
|
+
# Update properties of this object
|
19482
|
+
def update!(**args)
|
19483
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
19484
|
+
@description = args[:description] if args.key?(:description)
|
19485
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
19486
|
+
@fact = args[:fact] if args.key?(:fact)
|
19487
|
+
@name = args[:name] if args.key?(:name)
|
19488
|
+
@scope = args[:scope] if args.key?(:scope)
|
19489
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
19490
|
+
end
|
19491
|
+
end
|
19492
|
+
|
19241
19493
|
# Request message for ModelService.MergeVersionAliases.
|
19242
19494
|
class GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest
|
19243
19495
|
include Google::Apis::Core::Hashable
|
@@ -19416,7 +19668,7 @@ module Google
|
|
19416
19668
|
end
|
19417
19669
|
end
|
19418
19670
|
|
19419
|
-
# The metric used for
|
19671
|
+
# The metric used for running evaluations.
|
19420
19672
|
class GoogleCloudAiplatformV1beta1Metric
|
19421
19673
|
include Google::Apis::Core::Hashable
|
19422
19674
|
|
@@ -20470,10 +20722,11 @@ module Google
|
|
20470
20722
|
|
20471
20723
|
# Immutable. Invoke route prefix for the custom container. "/*" is the only
|
20472
20724
|
# supported value right now. By setting this field, any non-root route on this
|
20473
|
-
# model will be accessible with
|
20474
|
-
#
|
20475
|
-
#
|
20476
|
-
# set
|
20725
|
+
# model will be accessible with invoke http call eg: "/invoke/foo/bar", however
|
20726
|
+
# the [PredictionService.Invoke] RPC is not supported yet. Only one of `
|
20727
|
+
# predict_route` or `invoke_route_prefix` can be set, and we default to using `
|
20728
|
+
# predict_route` if this field is not set. If this field is set, the Model can
|
20729
|
+
# only be deployed to dedicated endpoint.
|
20477
20730
|
# Corresponds to the JSON property `invokeRoutePrefix`
|
20478
20731
|
# @return [String]
|
20479
20732
|
attr_accessor :invoke_route_prefix
|
@@ -24819,8 +25072,8 @@ module Google
|
|
24819
25072
|
end
|
24820
25073
|
end
|
24821
25074
|
|
24822
|
-
# PSC config that is used to automatically create
|
24823
|
-
#
|
25075
|
+
# PSC config that is used to automatically create PSC endpoints in the user
|
25076
|
+
# projects.
|
24824
25077
|
class GoogleCloudAiplatformV1beta1PscAutomationConfig
|
24825
25078
|
include Google::Apis::Core::Hashable
|
24826
25079
|
|
@@ -24841,9 +25094,8 @@ module Google
|
|
24841
25094
|
|
24842
25095
|
# Required. The full name of the Google Compute Engine [network](https://cloud.
|
24843
25096
|
# google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
|
24844
|
-
# cloud.google.com/compute/docs/reference/rest/v1/networks/
|
24845
|
-
# project`/global/networks/`network``.
|
24846
|
-
# in '12345', and `network` is network name.
|
25097
|
+
# cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/`
|
25098
|
+
# project`/global/networks/`network``.
|
24847
25099
|
# Corresponds to the JSON property `network`
|
24848
25100
|
# @return [String]
|
24849
25101
|
attr_accessor :network
|
@@ -26037,6 +26289,16 @@ module Google
|
|
26037
26289
|
# @return [String]
|
26038
26290
|
attr_accessor :task_name
|
26039
26291
|
|
26292
|
+
# Output only. The unique name of a task. This field is used by rerun pipeline
|
26293
|
+
# job. Console UI and Vertex AI SDK will support triggering pipeline job reruns.
|
26294
|
+
# The name is constructed by concatenating all the parent tasks name with the
|
26295
|
+
# task name. For example, if a task named "child_task" has a parent task named "
|
26296
|
+
# parent_task_1" and parent task 1 has a parent task named "parent_task_2", the
|
26297
|
+
# task unique name will be "parent_task_2.parent_task_1.child_task".
|
26298
|
+
# Corresponds to the JSON property `taskUniqueName`
|
26299
|
+
# @return [String]
|
26300
|
+
attr_accessor :task_unique_name
|
26301
|
+
|
26040
26302
|
def initialize(**args)
|
26041
26303
|
update!(**args)
|
26042
26304
|
end
|
@@ -26056,6 +26318,7 @@ module Google
|
|
26056
26318
|
@state = args[:state] if args.key?(:state)
|
26057
26319
|
@task_id = args[:task_id] if args.key?(:task_id)
|
26058
26320
|
@task_name = args[:task_name] if args.key?(:task_name)
|
26321
|
+
@task_unique_name = args[:task_unique_name] if args.key?(:task_unique_name)
|
26059
26322
|
end
|
26060
26323
|
end
|
26061
26324
|
|
@@ -26884,6 +27147,12 @@ module Google
|
|
26884
27147
|
# @return [Array<String>]
|
26885
27148
|
attr_accessor :project_allowlist
|
26886
27149
|
|
27150
|
+
# Optional. List of projects and networks where the PSC endpoints will be
|
27151
|
+
# created. This field is used by Online Inference(Prediction) only.
|
27152
|
+
# Corresponds to the JSON property `pscAutomationConfigs`
|
27153
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomationConfig>]
|
27154
|
+
attr_accessor :psc_automation_configs
|
27155
|
+
|
26887
27156
|
# Output only. The name of the generated service attachment resource. This is
|
26888
27157
|
# only populated if the endpoint is deployed with PrivateServiceConnect.
|
26889
27158
|
# Corresponds to the JSON property `serviceAttachment`
|
@@ -26899,6 +27168,7 @@ module Google
|
|
26899
27168
|
@enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
|
26900
27169
|
@enable_secure_private_service_connect = args[:enable_secure_private_service_connect] if args.key?(:enable_secure_private_service_connect)
|
26901
27170
|
@project_allowlist = args[:project_allowlist] if args.key?(:project_allowlist)
|
27171
|
+
@psc_automation_configs = args[:psc_automation_configs] if args.key?(:psc_automation_configs)
|
26902
27172
|
@service_attachment = args[:service_attachment] if args.key?(:service_attachment)
|
26903
27173
|
end
|
26904
27174
|
end
|
@@ -29209,6 +29479,12 @@ module Google
|
|
29209
29479
|
# @return [String]
|
29210
29480
|
attr_accessor :update_time
|
29211
29481
|
|
29482
|
+
# Output only. The metadata for metadata search. The user_metadata Needs to be
|
29483
|
+
# in JSON format.
|
29484
|
+
# Corresponds to the JSON property `userMetadata`
|
29485
|
+
# @return [String]
|
29486
|
+
attr_accessor :user_metadata
|
29487
|
+
|
29212
29488
|
def initialize(**args)
|
29213
29489
|
update!(**args)
|
29214
29490
|
end
|
@@ -29229,6 +29505,7 @@ module Google
|
|
29229
29505
|
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
29230
29506
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
29231
29507
|
@update_time = args[:update_time] if args.key?(:update_time)
|
29508
|
+
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
|
29232
29509
|
end
|
29233
29510
|
end
|
29234
29511
|
|
@@ -29288,6 +29565,55 @@ module Google
|
|
29288
29565
|
end
|
29289
29566
|
end
|
29290
29567
|
|
29568
|
+
# Metadata config for RagFile.
|
29569
|
+
class GoogleCloudAiplatformV1beta1RagFileMetadataConfig
|
29570
|
+
include Google::Apis::Core::Hashable
|
29571
|
+
|
29572
|
+
# The Google Cloud Storage location for the input content.
|
29573
|
+
# Corresponds to the JSON property `gcsMetadataSchemaSource`
|
29574
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsSource]
|
29575
|
+
attr_accessor :gcs_metadata_schema_source
|
29576
|
+
|
29577
|
+
# The Google Cloud Storage location for the input content.
|
29578
|
+
# Corresponds to the JSON property `gcsMetadataSource`
|
29579
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsSource]
|
29580
|
+
attr_accessor :gcs_metadata_source
|
29581
|
+
|
29582
|
+
# The Google Drive location for the input content.
|
29583
|
+
# Corresponds to the JSON property `googleDriveMetadataSchemaSource`
|
29584
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
|
29585
|
+
attr_accessor :google_drive_metadata_schema_source
|
29586
|
+
|
29587
|
+
# The Google Drive location for the input content.
|
29588
|
+
# Corresponds to the JSON property `googleDriveMetadataSource`
|
29589
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
|
29590
|
+
attr_accessor :google_drive_metadata_source
|
29591
|
+
|
29592
|
+
# Inline metadata schema source. Must be a JSON string.
|
29593
|
+
# Corresponds to the JSON property `inlineMetadataSchemaSource`
|
29594
|
+
# @return [String]
|
29595
|
+
attr_accessor :inline_metadata_schema_source
|
29596
|
+
|
29597
|
+
# Inline metadata source. Must be a JSON string.
|
29598
|
+
# Corresponds to the JSON property `inlineMetadataSource`
|
29599
|
+
# @return [String]
|
29600
|
+
attr_accessor :inline_metadata_source
|
29601
|
+
|
29602
|
+
def initialize(**args)
|
29603
|
+
update!(**args)
|
29604
|
+
end
|
29605
|
+
|
29606
|
+
# Update properties of this object
|
29607
|
+
def update!(**args)
|
29608
|
+
@gcs_metadata_schema_source = args[:gcs_metadata_schema_source] if args.key?(:gcs_metadata_schema_source)
|
29609
|
+
@gcs_metadata_source = args[:gcs_metadata_source] if args.key?(:gcs_metadata_source)
|
29610
|
+
@google_drive_metadata_schema_source = args[:google_drive_metadata_schema_source] if args.key?(:google_drive_metadata_schema_source)
|
29611
|
+
@google_drive_metadata_source = args[:google_drive_metadata_source] if args.key?(:google_drive_metadata_source)
|
29612
|
+
@inline_metadata_schema_source = args[:inline_metadata_schema_source] if args.key?(:inline_metadata_schema_source)
|
29613
|
+
@inline_metadata_source = args[:inline_metadata_source] if args.key?(:inline_metadata_source)
|
29614
|
+
end
|
29615
|
+
end
|
29616
|
+
|
29291
29617
|
# Specifies the parsing config for RagFiles.
|
29292
29618
|
class GoogleCloudAiplatformV1beta1RagFileParsingConfig
|
29293
29619
|
include Google::Apis::Core::Hashable
|
@@ -29459,19 +29785,34 @@ module Google
|
|
29459
29785
|
|
29460
29786
|
# Basic tier is a cost-effective and low compute tier suitable for the following
|
29461
29787
|
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
29462
|
-
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
29788
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
29789
|
+
# This is the default tier if not explicitly chosen.
|
29463
29790
|
# Corresponds to the JSON property `basic`
|
29464
29791
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic]
|
29465
29792
|
attr_accessor :basic
|
29466
29793
|
|
29467
29794
|
# Enterprise tier offers production grade performance along with autoscaling
|
29468
29795
|
# functionality. It is suitable for customers with large amounts of data or
|
29469
|
-
# performance sensitive workloads.
|
29470
|
-
# explicitly chosen.
|
29796
|
+
# performance sensitive workloads.
|
29471
29797
|
# Corresponds to the JSON property `enterprise`
|
29472
29798
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise]
|
29473
29799
|
attr_accessor :enterprise
|
29474
29800
|
|
29801
|
+
# Scaled tier offers production grade performance along with autoscaling
|
29802
|
+
# functionality. It is suitable for customers with large amounts of data or
|
29803
|
+
# performance sensitive workloads.
|
29804
|
+
# Corresponds to the JSON property `scaled`
|
29805
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled]
|
29806
|
+
attr_accessor :scaled
|
29807
|
+
|
29808
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
29809
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
29810
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
29811
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
29812
|
+
# Corresponds to the JSON property `unprovisioned`
|
29813
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned]
|
29814
|
+
attr_accessor :unprovisioned
|
29815
|
+
|
29475
29816
|
def initialize(**args)
|
29476
29817
|
update!(**args)
|
29477
29818
|
end
|
@@ -29480,12 +29821,15 @@ module Google
|
|
29480
29821
|
def update!(**args)
|
29481
29822
|
@basic = args[:basic] if args.key?(:basic)
|
29482
29823
|
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
29824
|
+
@scaled = args[:scaled] if args.key?(:scaled)
|
29825
|
+
@unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
|
29483
29826
|
end
|
29484
29827
|
end
|
29485
29828
|
|
29486
29829
|
# Basic tier is a cost-effective and low compute tier suitable for the following
|
29487
29830
|
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
29488
|
-
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
29831
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
29832
|
+
# This is the default tier if not explicitly chosen.
|
29489
29833
|
class GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic
|
29490
29834
|
include Google::Apis::Core::Hashable
|
29491
29835
|
|
@@ -29500,8 +29844,7 @@ module Google
|
|
29500
29844
|
|
29501
29845
|
# Enterprise tier offers production grade performance along with autoscaling
|
29502
29846
|
# functionality. It is suitable for customers with large amounts of data or
|
29503
|
-
# performance sensitive workloads.
|
29504
|
-
# explicitly chosen.
|
29847
|
+
# performance sensitive workloads.
|
29505
29848
|
class GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise
|
29506
29849
|
include Google::Apis::Core::Hashable
|
29507
29850
|
|
@@ -29514,6 +29857,37 @@ module Google
|
|
29514
29857
|
end
|
29515
29858
|
end
|
29516
29859
|
|
29860
|
+
# Scaled tier offers production grade performance along with autoscaling
|
29861
|
+
# functionality. It is suitable for customers with large amounts of data or
|
29862
|
+
# performance sensitive workloads.
|
29863
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled
|
29864
|
+
include Google::Apis::Core::Hashable
|
29865
|
+
|
29866
|
+
def initialize(**args)
|
29867
|
+
update!(**args)
|
29868
|
+
end
|
29869
|
+
|
29870
|
+
# Update properties of this object
|
29871
|
+
def update!(**args)
|
29872
|
+
end
|
29873
|
+
end
|
29874
|
+
|
29875
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
29876
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
29877
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
29878
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
29879
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned
|
29880
|
+
include Google::Apis::Core::Hashable
|
29881
|
+
|
29882
|
+
def initialize(**args)
|
29883
|
+
update!(**args)
|
29884
|
+
end
|
29885
|
+
|
29886
|
+
# Update properties of this object
|
29887
|
+
def update!(**args)
|
29888
|
+
end
|
29889
|
+
end
|
29890
|
+
|
29517
29891
|
# A query to retrieve relevant contexts.
|
29518
29892
|
class GoogleCloudAiplatformV1beta1RagQuery
|
29519
29893
|
include Google::Apis::Core::Hashable
|
@@ -30434,6 +30808,11 @@ module Google
|
|
30434
30808
|
class GoogleCloudAiplatformV1beta1ReasoningEngine
|
30435
30809
|
include Google::Apis::Core::Hashable
|
30436
30810
|
|
30811
|
+
# Configuration for how Agent Engine sub-resources should manage context.
|
30812
|
+
# Corresponds to the JSON property `contextSpec`
|
30813
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec]
|
30814
|
+
attr_accessor :context_spec
|
30815
|
+
|
30437
30816
|
# Output only. Timestamp when this ReasoningEngine was created.
|
30438
30817
|
# Corresponds to the JSON property `createTime`
|
30439
30818
|
# @return [String]
|
@@ -30477,6 +30856,7 @@ module Google
|
|
30477
30856
|
|
30478
30857
|
# Update properties of this object
|
30479
30858
|
def update!(**args)
|
30859
|
+
@context_spec = args[:context_spec] if args.key?(:context_spec)
|
30480
30860
|
@create_time = args[:create_time] if args.key?(:create_time)
|
30481
30861
|
@description = args[:description] if args.key?(:description)
|
30482
30862
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -30487,6 +30867,91 @@ module Google
|
|
30487
30867
|
end
|
30488
30868
|
end
|
30489
30869
|
|
30870
|
+
# Configuration for how Agent Engine sub-resources should manage context.
|
30871
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec
|
30872
|
+
include Google::Apis::Core::Hashable
|
30873
|
+
|
30874
|
+
# Specification for a Memory Bank.
|
30875
|
+
# Corresponds to the JSON property `memoryBankConfig`
|
30876
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig]
|
30877
|
+
attr_accessor :memory_bank_config
|
30878
|
+
|
30879
|
+
def initialize(**args)
|
30880
|
+
update!(**args)
|
30881
|
+
end
|
30882
|
+
|
30883
|
+
# Update properties of this object
|
30884
|
+
def update!(**args)
|
30885
|
+
@memory_bank_config = args[:memory_bank_config] if args.key?(:memory_bank_config)
|
30886
|
+
end
|
30887
|
+
end
|
30888
|
+
|
30889
|
+
# Specification for a Memory Bank.
|
30890
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig
|
30891
|
+
include Google::Apis::Core::Hashable
|
30892
|
+
|
30893
|
+
# Configuration for how to generate memories.
|
30894
|
+
# Corresponds to the JSON property `generationConfig`
|
30895
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig]
|
30896
|
+
attr_accessor :generation_config
|
30897
|
+
|
30898
|
+
# Configuration for how to perform similarity search on memories.
|
30899
|
+
# Corresponds to the JSON property `similaritySearchConfig`
|
30900
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig]
|
30901
|
+
attr_accessor :similarity_search_config
|
30902
|
+
|
30903
|
+
def initialize(**args)
|
30904
|
+
update!(**args)
|
30905
|
+
end
|
30906
|
+
|
30907
|
+
# Update properties of this object
|
30908
|
+
def update!(**args)
|
30909
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
30910
|
+
@similarity_search_config = args[:similarity_search_config] if args.key?(:similarity_search_config)
|
30911
|
+
end
|
30912
|
+
end
|
30913
|
+
|
30914
|
+
# Configuration for how to generate memories.
|
30915
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig
|
30916
|
+
include Google::Apis::Core::Hashable
|
30917
|
+
|
30918
|
+
# Required. The model used to generate memories. Format: `projects/`project`/
|
30919
|
+
# locations/`location`/publishers/google/models/`model``.
|
30920
|
+
# Corresponds to the JSON property `model`
|
30921
|
+
# @return [String]
|
30922
|
+
attr_accessor :model
|
30923
|
+
|
30924
|
+
def initialize(**args)
|
30925
|
+
update!(**args)
|
30926
|
+
end
|
30927
|
+
|
30928
|
+
# Update properties of this object
|
30929
|
+
def update!(**args)
|
30930
|
+
@model = args[:model] if args.key?(:model)
|
30931
|
+
end
|
30932
|
+
end
|
30933
|
+
|
30934
|
+
# Configuration for how to perform similarity search on memories.
|
30935
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig
|
30936
|
+
include Google::Apis::Core::Hashable
|
30937
|
+
|
30938
|
+
# Required. The model used to generate embeddings to lookup similar memories.
|
30939
|
+
# Format: `projects/`project`/locations/`location`/publishers/google/models/`
|
30940
|
+
# model``.
|
30941
|
+
# Corresponds to the JSON property `embeddingModel`
|
30942
|
+
# @return [String]
|
30943
|
+
attr_accessor :embedding_model
|
30944
|
+
|
30945
|
+
def initialize(**args)
|
30946
|
+
update!(**args)
|
30947
|
+
end
|
30948
|
+
|
30949
|
+
# Update properties of this object
|
30950
|
+
def update!(**args)
|
30951
|
+
@embedding_model = args[:embedding_model] if args.key?(:embedding_model)
|
30952
|
+
end
|
30953
|
+
end
|
30954
|
+
|
30490
30955
|
# ReasoningEngine configurations
|
30491
30956
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpec
|
30492
30957
|
include Google::Apis::Core::Hashable
|
@@ -31350,6 +31815,150 @@ module Google
|
|
31350
31815
|
end
|
31351
31816
|
end
|
31352
31817
|
|
31818
|
+
# Request message for MemoryBankService.RetrieveMemories.
|
31819
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest
|
31820
|
+
include Google::Apis::Core::Hashable
|
31821
|
+
|
31822
|
+
# Required. The scope of the memories to retrieve. A memory must have exactly
|
31823
|
+
# the same scope (`Memory.scope`) as the scope provided here to be retrieved (
|
31824
|
+
# same keys and values). Order does not matter, but it is case-sensitive.
|
31825
|
+
# Corresponds to the JSON property `scope`
|
31826
|
+
# @return [Hash<String,String>]
|
31827
|
+
attr_accessor :scope
|
31828
|
+
|
31829
|
+
# Parameters for semantic similarity search based retrieval.
|
31830
|
+
# Corresponds to the JSON property `similaritySearchParams`
|
31831
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams]
|
31832
|
+
attr_accessor :similarity_search_params
|
31833
|
+
|
31834
|
+
# Parameters for simple (non-similarity search) retrieval.
|
31835
|
+
# Corresponds to the JSON property `simpleRetrievalParams`
|
31836
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams]
|
31837
|
+
attr_accessor :simple_retrieval_params
|
31838
|
+
|
31839
|
+
def initialize(**args)
|
31840
|
+
update!(**args)
|
31841
|
+
end
|
31842
|
+
|
31843
|
+
# Update properties of this object
|
31844
|
+
def update!(**args)
|
31845
|
+
@scope = args[:scope] if args.key?(:scope)
|
31846
|
+
@similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params)
|
31847
|
+
@simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params)
|
31848
|
+
end
|
31849
|
+
end
|
31850
|
+
|
31851
|
+
# Parameters for semantic similarity search based retrieval.
|
31852
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams
|
31853
|
+
include Google::Apis::Core::Hashable
|
31854
|
+
|
31855
|
+
# Required. Query to use for similarity search retrieval. If provided, then the
|
31856
|
+
# parent ReasoningEngine must have ReasoningEngineContextSpec.MemoryBankConfig.
|
31857
|
+
# SimilaritySearchConfig set.
|
31858
|
+
# Corresponds to the JSON property `searchQuery`
|
31859
|
+
# @return [String]
|
31860
|
+
attr_accessor :search_query
|
31861
|
+
|
31862
|
+
# Optional. The maximum number of memories to return. The service may return
|
31863
|
+
# fewer than this value. If unspecified, at most 3 memories will be returned.
|
31864
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
31865
|
+
# Corresponds to the JSON property `topK`
|
31866
|
+
# @return [Fixnum]
|
31867
|
+
attr_accessor :top_k
|
31868
|
+
|
31869
|
+
def initialize(**args)
|
31870
|
+
update!(**args)
|
31871
|
+
end
|
31872
|
+
|
31873
|
+
# Update properties of this object
|
31874
|
+
def update!(**args)
|
31875
|
+
@search_query = args[:search_query] if args.key?(:search_query)
|
31876
|
+
@top_k = args[:top_k] if args.key?(:top_k)
|
31877
|
+
end
|
31878
|
+
end
|
31879
|
+
|
31880
|
+
# Parameters for simple (non-similarity search) retrieval.
|
31881
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams
|
31882
|
+
include Google::Apis::Core::Hashable
|
31883
|
+
|
31884
|
+
# Optional. The maximum number of memories to return. The service may return
|
31885
|
+
# fewer than this value. If unspecified, at most 3 memories will be returned.
|
31886
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
31887
|
+
# Corresponds to the JSON property `pageSize`
|
31888
|
+
# @return [Fixnum]
|
31889
|
+
attr_accessor :page_size
|
31890
|
+
|
31891
|
+
# Optional. A page token, received from a previous `RetrieveMemories` call.
|
31892
|
+
# Provide this to retrieve the subsequent page.
|
31893
|
+
# Corresponds to the JSON property `pageToken`
|
31894
|
+
# @return [String]
|
31895
|
+
attr_accessor :page_token
|
31896
|
+
|
31897
|
+
def initialize(**args)
|
31898
|
+
update!(**args)
|
31899
|
+
end
|
31900
|
+
|
31901
|
+
# Update properties of this object
|
31902
|
+
def update!(**args)
|
31903
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
31904
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
31905
|
+
end
|
31906
|
+
end
|
31907
|
+
|
31908
|
+
# Response message for MemoryBankService.RetrieveMemories.
|
31909
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
|
31910
|
+
include Google::Apis::Core::Hashable
|
31911
|
+
|
31912
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
31913
|
+
# field is omitted, there are no subsequent pages. This token is not set if
|
31914
|
+
# similarity search was used for retrieval.
|
31915
|
+
# Corresponds to the JSON property `nextPageToken`
|
31916
|
+
# @return [String]
|
31917
|
+
attr_accessor :next_page_token
|
31918
|
+
|
31919
|
+
# The retrieved memories.
|
31920
|
+
# Corresponds to the JSON property `retrievedMemories`
|
31921
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory>]
|
31922
|
+
attr_accessor :retrieved_memories
|
31923
|
+
|
31924
|
+
def initialize(**args)
|
31925
|
+
update!(**args)
|
31926
|
+
end
|
31927
|
+
|
31928
|
+
# Update properties of this object
|
31929
|
+
def update!(**args)
|
31930
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
31931
|
+
@retrieved_memories = args[:retrieved_memories] if args.key?(:retrieved_memories)
|
31932
|
+
end
|
31933
|
+
end
|
31934
|
+
|
31935
|
+
# A retrieved memory.
|
31936
|
+
class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory
|
31937
|
+
include Google::Apis::Core::Hashable
|
31938
|
+
|
31939
|
+
# The distance between the query and the retrieved Memory. Smaller values
|
31940
|
+
# indicate more similar memories. This is only set if similarity search was used
|
31941
|
+
# for retrieval.
|
31942
|
+
# Corresponds to the JSON property `distance`
|
31943
|
+
# @return [Float]
|
31944
|
+
attr_accessor :distance
|
31945
|
+
|
31946
|
+
# A memory.
|
31947
|
+
# Corresponds to the JSON property `memory`
|
31948
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory]
|
31949
|
+
attr_accessor :memory
|
31950
|
+
|
31951
|
+
def initialize(**args)
|
31952
|
+
update!(**args)
|
31953
|
+
end
|
31954
|
+
|
31955
|
+
# Update properties of this object
|
31956
|
+
def update!(**args)
|
31957
|
+
@distance = args[:distance] if args.key?(:distance)
|
31958
|
+
@memory = args[:memory] if args.key?(:memory)
|
31959
|
+
end
|
31960
|
+
end
|
31961
|
+
|
31353
31962
|
# Configuration for rolling deployments.
|
31354
31963
|
class GoogleCloudAiplatformV1beta1RolloutOptions
|
31355
31964
|
include Google::Apis::Core::Hashable
|
@@ -31850,6 +32459,13 @@ module Google
|
|
31850
32459
|
# @return [String]
|
31851
32460
|
attr_accessor :category
|
31852
32461
|
|
32462
|
+
# Output only. The overwritten threshold for the safety category of Gemini 2.0
|
32463
|
+
# image out. If minors are detected in the output image, the threshold of each
|
32464
|
+
# safety category will be overwritten if user sets a lower threshold.
|
32465
|
+
# Corresponds to the JSON property `overwrittenThreshold`
|
32466
|
+
# @return [String]
|
32467
|
+
attr_accessor :overwritten_threshold
|
32468
|
+
|
31853
32469
|
# Output only. Harm probability levels in the content.
|
31854
32470
|
# Corresponds to the JSON property `probability`
|
31855
32471
|
# @return [String]
|
@@ -31878,6 +32494,7 @@ module Google
|
|
31878
32494
|
def update!(**args)
|
31879
32495
|
@blocked = args[:blocked] if args.key?(:blocked)
|
31880
32496
|
@category = args[:category] if args.key?(:category)
|
32497
|
+
@overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
|
31881
32498
|
@probability = args[:probability] if args.key?(:probability)
|
31882
32499
|
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
31883
32500
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -42344,7 +42961,8 @@ module Google
|
|
42344
42961
|
# @return [Fixnum]
|
42345
42962
|
attr_accessor :epoch_count
|
42346
42963
|
|
42347
|
-
# Optional. Multiplier for adjusting the default learning rate.
|
42964
|
+
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
42965
|
+
# exclusive with `learning_rate`.
|
42348
42966
|
# Corresponds to the JSON property `learningRateMultiplier`
|
42349
42967
|
# @return [Float]
|
42350
42968
|
attr_accessor :learning_rate_multiplier
|
@@ -45018,7 +45636,10 @@ module Google
|
|
45018
45636
|
attr_accessor :endpoint
|
45019
45637
|
|
45020
45638
|
# Output only. The resource name of the TunedModel. Format: `projects/`project`/
|
45021
|
-
# locations/`location`/models/`model
|
45639
|
+
# locations/`location`/models/`model`@`version_id`` When tuning from a base
|
45640
|
+
# model, the version_id will be 1. For continuous tuning, the version id will be
|
45641
|
+
# incremented by 1 from the last version id in the parent model. E.g., `projects/
|
45642
|
+
# `project`/locations/`location`/models/`model`@`last_version_id + 1``
|
45022
45643
|
# Corresponds to the JSON property `model`
|
45023
45644
|
# @return [String]
|
45024
45645
|
attr_accessor :model
|
@@ -45932,6 +46553,16 @@ module Google
|
|
45932
46553
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
|
45933
46554
|
attr_accessor :rag_file_chunking_config
|
45934
46555
|
|
46556
|
+
# Metadata config for RagFile.
|
46557
|
+
# Corresponds to the JSON property `ragFileMetadataConfig`
|
46558
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileMetadataConfig]
|
46559
|
+
attr_accessor :rag_file_metadata_config
|
46560
|
+
|
46561
|
+
# Specifies the parsing config for RagFiles.
|
46562
|
+
# Corresponds to the JSON property `ragFileParsingConfig`
|
46563
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfig]
|
46564
|
+
attr_accessor :rag_file_parsing_config
|
46565
|
+
|
45935
46566
|
# Specifies the transformation config for RagFiles.
|
45936
46567
|
# Corresponds to the JSON property `ragFileTransformationConfig`
|
45937
46568
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileTransformationConfig]
|
@@ -45944,6 +46575,8 @@ module Google
|
|
45944
46575
|
# Update properties of this object
|
45945
46576
|
def update!(**args)
|
45946
46577
|
@rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
|
46578
|
+
@rag_file_metadata_config = args[:rag_file_metadata_config] if args.key?(:rag_file_metadata_config)
|
46579
|
+
@rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
|
45947
46580
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
45948
46581
|
end
|
45949
46582
|
end
|