google-apis-aiplatform_v1beta1 0.42.0 → 0.44.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +400 -32
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +191 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +485 -204
- metadata +5 -5
@@ -1107,6 +1107,11 @@ module Google
|
|
1107
1107
|
class GoogleCloudAiplatformV1beta1AssembleDataRequest
|
1108
1108
|
include Google::Apis::Core::Hashable
|
1109
1109
|
|
1110
|
+
# Configuration for how to read Gemini requests from a multimodal dataset.
|
1111
|
+
# Corresponds to the JSON property `geminiRequestReadConfig`
|
1112
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
|
1113
|
+
attr_accessor :gemini_request_read_config
|
1114
|
+
|
1110
1115
|
# Template configuration to create Gemini examples from a multimodal dataset.
|
1111
1116
|
# Corresponds to the JSON property `geminiTemplateConfig`
|
1112
1117
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
@@ -1125,6 +1130,7 @@ module Google
|
|
1125
1130
|
|
1126
1131
|
# Update properties of this object
|
1127
1132
|
def update!(**args)
|
1133
|
+
@gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
|
1128
1134
|
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1129
1135
|
@request_column_name = args[:request_column_name] if args.key?(:request_column_name)
|
1130
1136
|
end
|
@@ -1145,6 +1151,11 @@ module Google
|
|
1145
1151
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig]
|
1146
1152
|
attr_accessor :batch_prediction_validation_assessment_config
|
1147
1153
|
|
1154
|
+
# Configuration for how to read Gemini requests from a multimodal dataset.
|
1155
|
+
# Corresponds to the JSON property `geminiRequestReadConfig`
|
1156
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
|
1157
|
+
attr_accessor :gemini_request_read_config
|
1158
|
+
|
1148
1159
|
# Template configuration to create Gemini examples from a multimodal dataset.
|
1149
1160
|
# Corresponds to the JSON property `geminiTemplateConfig`
|
1150
1161
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
@@ -1174,6 +1185,7 @@ module Google
|
|
1174
1185
|
def update!(**args)
|
1175
1186
|
@batch_prediction_resource_usage_assessment_config = args[:batch_prediction_resource_usage_assessment_config] if args.key?(:batch_prediction_resource_usage_assessment_config)
|
1176
1187
|
@batch_prediction_validation_assessment_config = args[:batch_prediction_validation_assessment_config] if args.key?(:batch_prediction_validation_assessment_config)
|
1188
|
+
@gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
|
1177
1189
|
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1178
1190
|
@request_column_name = args[:request_column_name] if args.key?(:request_column_name)
|
1179
1191
|
@tuning_resource_usage_assessment_config = args[:tuning_resource_usage_assessment_config] if args.key?(:tuning_resource_usage_assessment_config)
|
@@ -1752,12 +1764,12 @@ module Google
|
|
1752
1764
|
# @return [String]
|
1753
1765
|
attr_accessor :autorater_model
|
1754
1766
|
|
1755
|
-
# Optional. Whether to flip the candidate and baseline
|
1756
|
-
# applicable to the pairwise metric. If enabled, also
|
1757
|
-
# candidate_response_field_name and
|
1758
|
-
# baseline_response_field_name. When rendering
|
1759
|
-
# metric_prompt_template, the candidate and baseline fields
|
1760
|
-
# half of the samples to reduce bias.
|
1767
|
+
# Optional. Default is true. Whether to flip the candidate and baseline
|
1768
|
+
# responses. This is only applicable to the pairwise metric. If enabled, also
|
1769
|
+
# provide PairwiseMetricSpec.candidate_response_field_name and
|
1770
|
+
# PairwiseMetricSpec.baseline_response_field_name. When rendering
|
1771
|
+
# PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields
|
1772
|
+
# will be flipped for half of the samples to reduce bias.
|
1761
1773
|
# Corresponds to the JSON property `flipEnabled`
|
1762
1774
|
# @return [Boolean]
|
1763
1775
|
attr_accessor :flip_enabled
|
@@ -6822,6 +6834,12 @@ module Google
|
|
6822
6834
|
attr_accessor :fast_tryout_enabled
|
6823
6835
|
alias_method :fast_tryout_enabled?, :fast_tryout_enabled
|
6824
6836
|
|
6837
|
+
# Optional. System labels for Model Garden deployments. These labels are managed
|
6838
|
+
# by Google and for tracking purposes only.
|
6839
|
+
# Corresponds to the JSON property `systemLabels`
|
6840
|
+
# @return [Hash<String,String>]
|
6841
|
+
attr_accessor :system_labels
|
6842
|
+
|
6825
6843
|
def initialize(**args)
|
6826
6844
|
update!(**args)
|
6827
6845
|
end
|
@@ -6830,6 +6848,7 @@ module Google
|
|
6830
6848
|
def update!(**args)
|
6831
6849
|
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
6832
6850
|
@fast_tryout_enabled = args[:fast_tryout_enabled] if args.key?(:fast_tryout_enabled)
|
6851
|
+
@system_labels = args[:system_labels] if args.key?(:system_labels)
|
6833
6852
|
end
|
6834
6853
|
end
|
6835
6854
|
|
@@ -7663,7 +7682,9 @@ module Google
|
|
7663
7682
|
class GoogleCloudAiplatformV1beta1DistillationSpec
|
7664
7683
|
include Google::Apis::Core::Hashable
|
7665
7684
|
|
7666
|
-
# The base teacher model that is being distilled
|
7685
|
+
# The base teacher model that is being distilled. See [Supported models](https://
|
7686
|
+
# cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#
|
7687
|
+
# supported_models).
|
7667
7688
|
# Corresponds to the JSON property `baseTeacherModel`
|
7668
7689
|
# @return [String]
|
7669
7690
|
attr_accessor :base_teacher_model
|
@@ -8866,6 +8887,11 @@ module Google
|
|
8866
8887
|
attr_accessor :state_delta
|
8867
8888
|
|
8868
8889
|
# Optional. If set, the event transfers to the specified agent.
|
8890
|
+
# Corresponds to the JSON property `transferAgent`
|
8891
|
+
# @return [String]
|
8892
|
+
attr_accessor :transfer_agent
|
8893
|
+
|
8894
|
+
# Deprecated. If set, the event transfers to the specified agent.
|
8869
8895
|
# Corresponds to the JSON property `transferToAgent`
|
8870
8896
|
# @return [Boolean]
|
8871
8897
|
attr_accessor :transfer_to_agent
|
@@ -8882,6 +8908,7 @@ module Google
|
|
8882
8908
|
@requested_auth_configs = args[:requested_auth_configs] if args.key?(:requested_auth_configs)
|
8883
8909
|
@skip_summarization = args[:skip_summarization] if args.key?(:skip_summarization)
|
8884
8910
|
@state_delta = args[:state_delta] if args.key?(:state_delta)
|
8911
|
+
@transfer_agent = args[:transfer_agent] if args.key?(:transfer_agent)
|
8885
8912
|
@transfer_to_agent = args[:transfer_to_agent] if args.key?(:transfer_to_agent)
|
8886
8913
|
end
|
8887
8914
|
end
|
@@ -9143,8 +9170,7 @@ module Google
|
|
9143
9170
|
include Google::Apis::Core::Hashable
|
9144
9171
|
|
9145
9172
|
# Required. The embedding model to be used for vector embedding. Immutable.
|
9146
|
-
# Supported models: * "
|
9147
|
-
# embedding-005" * "text-multilingual-embedding-002"
|
9173
|
+
# Supported models: * "text-embedding-005" * "text-multilingual-embedding-002"
|
9148
9174
|
# Corresponds to the JSON property `vertexEmbeddingModel`
|
9149
9175
|
# @return [String]
|
9150
9176
|
attr_accessor :vertex_embedding_model
|
@@ -10910,6 +10936,12 @@ module Google
|
|
10910
10936
|
class GoogleCloudAiplatformV1beta1Fact
|
10911
10937
|
include Google::Apis::Core::Hashable
|
10912
10938
|
|
10939
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
10940
|
+
# metadata.
|
10941
|
+
# Corresponds to the JSON property `chunk`
|
10942
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk]
|
10943
|
+
attr_accessor :chunk
|
10944
|
+
|
10913
10945
|
# Query that is used to retrieve this fact.
|
10914
10946
|
# Corresponds to the JSON property `query`
|
10915
10947
|
# @return [String]
|
@@ -10952,6 +10984,7 @@ module Google
|
|
10952
10984
|
|
10953
10985
|
# Update properties of this object
|
10954
10986
|
def update!(**args)
|
10987
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
10955
10988
|
@query = args[:query] if args.key?(:query)
|
10956
10989
|
@score = args[:score] if args.key?(:score)
|
10957
10990
|
@summary = args[:summary] if args.key?(:summary)
|
@@ -13293,7 +13326,7 @@ module Google
|
|
13293
13326
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example>]
|
13294
13327
|
attr_accessor :examples
|
13295
13328
|
|
13296
|
-
# A token, which can be sent as
|
13329
|
+
# A token, which can be sent as FetchExamplesRequest.page_token to retrieve the
|
13297
13330
|
# next page. Absence of this field indicates there are no subsequent pages.
|
13298
13331
|
# Corresponds to the JSON property `nextPageToken`
|
13299
13332
|
# @return [String]
|
@@ -13987,8 +14020,8 @@ module Google
|
|
13987
14020
|
class GoogleCloudAiplatformV1beta1FunctionCall
|
13988
14021
|
include Google::Apis::Core::Hashable
|
13989
14022
|
|
13990
|
-
# Optional.
|
13991
|
-
#
|
14023
|
+
# Optional. The function parameters and values in JSON object format. See [
|
14024
|
+
# FunctionDeclaration.parameters] for parameter details.
|
13992
14025
|
# Corresponds to the JSON property `args`
|
13993
14026
|
# @return [Hash<String,Object>]
|
13994
14027
|
attr_accessor :args
|
@@ -14157,7 +14190,7 @@ module Google
|
|
14157
14190
|
|
14158
14191
|
# Required. Google Cloud Storage URI(-s) to the input file(s). May contain
|
14159
14192
|
# wildcards. For more information on wildcards, see https://cloud.google.com/
|
14160
|
-
# storage/docs/
|
14193
|
+
# storage/docs/wildcards.
|
14161
14194
|
# Corresponds to the JSON property `uris`
|
14162
14195
|
# @return [Array<String>]
|
14163
14196
|
attr_accessor :uris
|
@@ -14259,11 +14292,37 @@ module Google
|
|
14259
14292
|
end
|
14260
14293
|
end
|
14261
14294
|
|
14295
|
+
# Configuration for how to read Gemini requests from a multimodal dataset.
|
14296
|
+
class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
|
14297
|
+
include Google::Apis::Core::Hashable
|
14298
|
+
|
14299
|
+
# Optional. Column name in the dataset table that contains already fully
|
14300
|
+
# assembled Gemini requests.
|
14301
|
+
# Corresponds to the JSON property `assembledRequestColumnName`
|
14302
|
+
# @return [String]
|
14303
|
+
attr_accessor :assembled_request_column_name
|
14304
|
+
|
14305
|
+
# Template configuration to create Gemini examples from a multimodal dataset.
|
14306
|
+
# Corresponds to the JSON property `templateConfig`
|
14307
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
14308
|
+
attr_accessor :template_config
|
14309
|
+
|
14310
|
+
def initialize(**args)
|
14311
|
+
update!(**args)
|
14312
|
+
end
|
14313
|
+
|
14314
|
+
# Update properties of this object
|
14315
|
+
def update!(**args)
|
14316
|
+
@assembled_request_column_name = args[:assembled_request_column_name] if args.key?(:assembled_request_column_name)
|
14317
|
+
@template_config = args[:template_config] if args.key?(:template_config)
|
14318
|
+
end
|
14319
|
+
end
|
14320
|
+
|
14262
14321
|
# Template configuration to create Gemini examples from a multimodal dataset.
|
14263
14322
|
class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
|
14264
14323
|
include Google::Apis::Core::Hashable
|
14265
14324
|
|
14266
|
-
# Required. Map of template
|
14325
|
+
# Required. Map of template parameters to the columns in the dataset table.
|
14267
14326
|
# Corresponds to the JSON property `fieldMapping`
|
14268
14327
|
# @return [Hash<String,String>]
|
14269
14328
|
attr_accessor :field_mapping
|
@@ -14733,6 +14792,11 @@ module Google
|
|
14733
14792
|
# @return [String]
|
14734
14793
|
attr_accessor :media_resolution
|
14735
14794
|
|
14795
|
+
# Config for model selection.
|
14796
|
+
# Corresponds to the JSON property `modelConfig`
|
14797
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig]
|
14798
|
+
attr_accessor :model_config
|
14799
|
+
|
14736
14800
|
# Optional. Positive penalties.
|
14737
14801
|
# Corresponds to the JSON property `presencePenalty`
|
14738
14802
|
# @return [Float]
|
@@ -14790,6 +14854,11 @@ module Google
|
|
14790
14854
|
# @return [Float]
|
14791
14855
|
attr_accessor :temperature
|
14792
14856
|
|
14857
|
+
# Config for thinking features.
|
14858
|
+
# Corresponds to the JSON property `thinkingConfig`
|
14859
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig]
|
14860
|
+
attr_accessor :thinking_config
|
14861
|
+
|
14793
14862
|
# Optional. If specified, top-k sampling will be used.
|
14794
14863
|
# Corresponds to the JSON property `topK`
|
14795
14864
|
# @return [Float]
|
@@ -14812,6 +14881,7 @@ module Google
|
|
14812
14881
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
14813
14882
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
14814
14883
|
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
14884
|
+
@model_config = args[:model_config] if args.key?(:model_config)
|
14815
14885
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
14816
14886
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
14817
14887
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
@@ -14822,11 +14892,31 @@ module Google
|
|
14822
14892
|
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
14823
14893
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
14824
14894
|
@temperature = args[:temperature] if args.key?(:temperature)
|
14895
|
+
@thinking_config = args[:thinking_config] if args.key?(:thinking_config)
|
14825
14896
|
@top_k = args[:top_k] if args.key?(:top_k)
|
14826
14897
|
@top_p = args[:top_p] if args.key?(:top_p)
|
14827
14898
|
end
|
14828
14899
|
end
|
14829
14900
|
|
14901
|
+
# Config for model selection.
|
14902
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig
|
14903
|
+
include Google::Apis::Core::Hashable
|
14904
|
+
|
14905
|
+
# Required. Feature selection preference.
|
14906
|
+
# Corresponds to the JSON property `featureSelectionPreference`
|
14907
|
+
# @return [String]
|
14908
|
+
attr_accessor :feature_selection_preference
|
14909
|
+
|
14910
|
+
def initialize(**args)
|
14911
|
+
update!(**args)
|
14912
|
+
end
|
14913
|
+
|
14914
|
+
# Update properties of this object
|
14915
|
+
def update!(**args)
|
14916
|
+
@feature_selection_preference = args[:feature_selection_preference] if args.key?(:feature_selection_preference)
|
14917
|
+
end
|
14918
|
+
end
|
14919
|
+
|
14830
14920
|
# The configuration for routing the request to a specific model.
|
14831
14921
|
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
|
14832
14922
|
include Google::Apis::Core::Hashable
|
@@ -14877,8 +14967,9 @@ module Google
|
|
14877
14967
|
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
|
14878
14968
|
include Google::Apis::Core::Hashable
|
14879
14969
|
|
14880
|
-
# The model name to use. Only the public LLM models are accepted.
|
14881
|
-
#
|
14970
|
+
# The model name to use. Only the public LLM models are accepted. See [Supported
|
14971
|
+
# models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/
|
14972
|
+
# inference#supported-models).
|
14882
14973
|
# Corresponds to the JSON property `modelName`
|
14883
14974
|
# @return [String]
|
14884
14975
|
attr_accessor :model_name
|
@@ -14893,6 +14984,26 @@ module Google
|
|
14893
14984
|
end
|
14894
14985
|
end
|
14895
14986
|
|
14987
|
+
# Config for thinking features.
|
14988
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
14989
|
+
include Google::Apis::Core::Hashable
|
14990
|
+
|
14991
|
+
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
14992
|
+
# enable_thinking is true.
|
14993
|
+
# Corresponds to the JSON property `thinkingBudget`
|
14994
|
+
# @return [Fixnum]
|
14995
|
+
attr_accessor :thinking_budget
|
14996
|
+
|
14997
|
+
def initialize(**args)
|
14998
|
+
update!(**args)
|
14999
|
+
end
|
15000
|
+
|
15001
|
+
# Update properties of this object
|
15002
|
+
def update!(**args)
|
15003
|
+
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
15004
|
+
end
|
15005
|
+
end
|
15006
|
+
|
14896
15007
|
# Generic Metadata shared by all operations.
|
14897
15008
|
class GoogleCloudAiplatformV1beta1GenericOperationMetadata
|
14898
15009
|
include Google::Apis::Core::Hashable
|
@@ -15140,6 +15251,12 @@ module Google
|
|
15140
15251
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
15141
15252
|
include Google::Apis::Core::Hashable
|
15142
15253
|
|
15254
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
15255
|
+
# metadata.
|
15256
|
+
# Corresponds to the JSON property `ragChunk`
|
15257
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk]
|
15258
|
+
attr_accessor :rag_chunk
|
15259
|
+
|
15143
15260
|
# Text of the attribution.
|
15144
15261
|
# Corresponds to the JSON property `text`
|
15145
15262
|
# @return [String]
|
@@ -15161,6 +15278,7 @@ module Google
|
|
15161
15278
|
|
15162
15279
|
# Update properties of this object
|
15163
15280
|
def update!(**args)
|
15281
|
+
@rag_chunk = args[:rag_chunk] if args.key?(:rag_chunk)
|
15164
15282
|
@text = args[:text] if args.key?(:text)
|
15165
15283
|
@title = args[:title] if args.key?(:title)
|
15166
15284
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -17126,7 +17244,7 @@ module Google
|
|
17126
17244
|
# @return [String]
|
17127
17245
|
attr_accessor :next_page_token
|
17128
17246
|
|
17129
|
-
# A list of events matching the request.
|
17247
|
+
# A list of events matching the request. Ordered by timestamp in ascending order.
|
17130
17248
|
# Corresponds to the JSON property `sessionEvents`
|
17131
17249
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SessionEvent>]
|
17132
17250
|
attr_accessor :session_events
|
@@ -21244,8 +21362,7 @@ module Google
|
|
21244
21362
|
attr_accessor :format
|
21245
21363
|
|
21246
21364
|
# Google Cloud Storage URI to the input file(s). May contain wildcards. For more
|
21247
|
-
# information on wildcards, see https://cloud.google.com/storage/docs/
|
21248
|
-
# addlhelp/WildcardNames.
|
21365
|
+
# information on wildcards, see https://cloud.google.com/storage/docs/wildcards.
|
21249
21366
|
# Corresponds to the JSON property `gcsUri`
|
21250
21367
|
# @return [String]
|
21251
21368
|
attr_accessor :gcs_uri
|
@@ -22389,13 +22506,6 @@ module Google
|
|
22389
22506
|
# @return [Fixnum]
|
22390
22507
|
attr_accessor :epoch
|
22391
22508
|
|
22392
|
-
# Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/
|
22393
|
-
# `project`/locations/`location`/models/`model`/versions/`version`/checkpoints/`
|
22394
|
-
# checkpoint``
|
22395
|
-
# Corresponds to the JSON property `name`
|
22396
|
-
# @return [String]
|
22397
|
-
attr_accessor :name
|
22398
|
-
|
22399
22509
|
# The step of the checkpoint.
|
22400
22510
|
# Corresponds to the JSON property `step`
|
22401
22511
|
# @return [Fixnum]
|
@@ -22409,7 +22519,6 @@ module Google
|
|
22409
22519
|
def update!(**args)
|
22410
22520
|
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
|
22411
22521
|
@epoch = args[:epoch] if args.key?(:epoch)
|
22412
|
-
@name = args[:name] if args.key?(:name)
|
22413
22522
|
@step = args[:step] if args.key?(:step)
|
22414
22523
|
end
|
22415
22524
|
end
|
@@ -23732,6 +23841,42 @@ module Google
|
|
23732
23841
|
end
|
23733
23842
|
end
|
23734
23843
|
|
23844
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
23845
|
+
class GoogleCloudAiplatformV1beta1NotebookReservationAffinity
|
23846
|
+
include Google::Apis::Core::Hashable
|
23847
|
+
|
23848
|
+
# Required. Specifies the type of reservation from which this instance can
|
23849
|
+
# consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or
|
23850
|
+
# RESERVATION_NONE. See Consuming reserved instances for examples.
|
23851
|
+
# Corresponds to the JSON property `consumeReservationType`
|
23852
|
+
# @return [String]
|
23853
|
+
attr_accessor :consume_reservation_type
|
23854
|
+
|
23855
|
+
# Optional. Corresponds to the label key of a reservation resource. To target a
|
23856
|
+
# RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as
|
23857
|
+
# the key and specify the name of your reservation as its value.
|
23858
|
+
# Corresponds to the JSON property `key`
|
23859
|
+
# @return [String]
|
23860
|
+
attr_accessor :key
|
23861
|
+
|
23862
|
+
# Optional. Corresponds to the label values of a reservation resource. This must
|
23863
|
+
# be the full path name of Reservation.
|
23864
|
+
# Corresponds to the JSON property `values`
|
23865
|
+
# @return [Array<String>]
|
23866
|
+
attr_accessor :values
|
23867
|
+
|
23868
|
+
def initialize(**args)
|
23869
|
+
update!(**args)
|
23870
|
+
end
|
23871
|
+
|
23872
|
+
# Update properties of this object
|
23873
|
+
def update!(**args)
|
23874
|
+
@consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
|
23875
|
+
@key = args[:key] if args.key?(:key)
|
23876
|
+
@values = args[:values] if args.key?(:values)
|
23877
|
+
end
|
23878
|
+
end
|
23879
|
+
|
23735
23880
|
# A runtime is a virtual machine allocated to a particular user for a particular
|
23736
23881
|
# Notebook file on temporary basis with lifetime limited to 24 hours.
|
23737
23882
|
class GoogleCloudAiplatformV1beta1NotebookRuntime
|
@@ -23848,6 +23993,11 @@ module Google
|
|
23848
23993
|
# @return [String]
|
23849
23994
|
attr_accessor :proxy_uri
|
23850
23995
|
|
23996
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
23997
|
+
# Corresponds to the JSON property `reservationAffinity`
|
23998
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookReservationAffinity]
|
23999
|
+
attr_accessor :reservation_affinity
|
24000
|
+
|
23851
24001
|
# Output only. The runtime (instance) state of the NotebookRuntime.
|
23852
24002
|
# Corresponds to the JSON property `runtimeState`
|
23853
24003
|
# @return [String]
|
@@ -23926,6 +24076,7 @@ module Google
|
|
23926
24076
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
23927
24077
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
23928
24078
|
@proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
|
24079
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
23929
24080
|
@runtime_state = args[:runtime_state] if args.key?(:runtime_state)
|
23930
24081
|
@runtime_user = args[:runtime_user] if args.key?(:runtime_user)
|
23931
24082
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -24030,6 +24181,11 @@ module Google
|
|
24030
24181
|
# @return [String]
|
24031
24182
|
attr_accessor :notebook_runtime_type
|
24032
24183
|
|
24184
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
24185
|
+
# Corresponds to the JSON property `reservationAffinity`
|
24186
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookReservationAffinity]
|
24187
|
+
attr_accessor :reservation_affinity
|
24188
|
+
|
24033
24189
|
# Deprecated: This field is ignored and the "Vertex AI Notebook Service Account"
|
24034
24190
|
# (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used
|
24035
24191
|
# for the runtime workload identity. See https://cloud.google.com/iam/docs/
|
@@ -24083,6 +24239,7 @@ module Google
|
|
24083
24239
|
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
24084
24240
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
24085
24241
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
24242
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
24086
24243
|
@service_account = args[:service_account] if args.key?(:service_account)
|
24087
24244
|
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
24088
24245
|
@software_config = args[:software_config] if args.key?(:software_config)
|
@@ -25939,12 +26096,27 @@ module Google
|
|
25939
26096
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination]
|
25940
26097
|
attr_accessor :bigquery_destination
|
25941
26098
|
|
26099
|
+
# This field is used for large models. If true, in addition to the original
|
26100
|
+
# large model logs, logs will be converted in OTel schema format, and saved in
|
26101
|
+
# otel_log column. Default value is false.
|
26102
|
+
# Corresponds to the JSON property `enableOtelLogging`
|
26103
|
+
# @return [Boolean]
|
26104
|
+
attr_accessor :enable_otel_logging
|
26105
|
+
alias_method :enable_otel_logging?, :enable_otel_logging
|
26106
|
+
|
25942
26107
|
# If logging is enabled or not.
|
25943
26108
|
# Corresponds to the JSON property `enabled`
|
25944
26109
|
# @return [Boolean]
|
25945
26110
|
attr_accessor :enabled
|
25946
26111
|
alias_method :enabled?, :enabled
|
25947
26112
|
|
26113
|
+
# Output only. The schema version used in creating the BigQuery table for the
|
26114
|
+
# request response logging. The versions are "v1" and "v2". The current default
|
26115
|
+
# version is "v1".
|
26116
|
+
# Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
|
26117
|
+
# @return [String]
|
26118
|
+
attr_accessor :request_response_logging_schema_version
|
26119
|
+
|
25948
26120
|
# Percentage of requests to be logged, expressed as a fraction in range(0,1].
|
25949
26121
|
# Corresponds to the JSON property `samplingRate`
|
25950
26122
|
# @return [Float]
|
@@ -25957,7 +26129,9 @@ module Google
|
|
25957
26129
|
# Update properties of this object
|
25958
26130
|
def update!(**args)
|
25959
26131
|
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
26132
|
+
@enable_otel_logging = args[:enable_otel_logging] if args.key?(:enable_otel_logging)
|
25960
26133
|
@enabled = args[:enabled] if args.key?(:enabled)
|
26134
|
+
@request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
|
25961
26135
|
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
|
25962
26136
|
end
|
25963
26137
|
end
|
@@ -26297,8 +26471,8 @@ module Google
|
|
26297
26471
|
# @return [Fixnum]
|
26298
26472
|
attr_accessor :port
|
26299
26473
|
|
26300
|
-
# Service is the name of the service to place in the gRPC HealthCheckRequest
|
26301
|
-
#
|
26474
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest.
|
26475
|
+
# See https://github.com/grpc/grpc/blob/master/doc/health-checking.md. If this
|
26302
26476
|
# is not specified, the default behavior is defined by gRPC.
|
26303
26477
|
# Corresponds to the JSON property `service`
|
26304
26478
|
# @return [String]
|
@@ -26914,6 +27088,25 @@ module Google
|
|
26914
27088
|
end
|
26915
27089
|
end
|
26916
27090
|
|
27091
|
+
# This message contains configs of a publisher model.
|
27092
|
+
class GoogleCloudAiplatformV1beta1PublisherModelConfig
|
27093
|
+
include Google::Apis::Core::Hashable
|
27094
|
+
|
27095
|
+
# Configuration for logging request-response to a BigQuery table.
|
27096
|
+
# Corresponds to the JSON property `loggingConfig`
|
27097
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
|
27098
|
+
attr_accessor :logging_config
|
27099
|
+
|
27100
|
+
def initialize(**args)
|
27101
|
+
update!(**args)
|
27102
|
+
end
|
27103
|
+
|
27104
|
+
# Update properties of this object
|
27105
|
+
def update!(**args)
|
27106
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
27107
|
+
end
|
27108
|
+
end
|
27109
|
+
|
26917
27110
|
# A named piece of documentation.
|
26918
27111
|
class GoogleCloudAiplatformV1beta1PublisherModelDocumentation
|
26919
27112
|
include Google::Apis::Core::Hashable
|
@@ -27930,6 +28123,57 @@ module Google
|
|
27930
28123
|
end
|
27931
28124
|
end
|
27932
28125
|
|
28126
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
28127
|
+
# metadata.
|
28128
|
+
class GoogleCloudAiplatformV1beta1RagChunk
|
28129
|
+
include Google::Apis::Core::Hashable
|
28130
|
+
|
28131
|
+
# Represents where the chunk starts and ends in the document.
|
28132
|
+
# Corresponds to the JSON property `pageSpan`
|
28133
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunkPageSpan]
|
28134
|
+
attr_accessor :page_span
|
28135
|
+
|
28136
|
+
# The content of the chunk.
|
28137
|
+
# Corresponds to the JSON property `text`
|
28138
|
+
# @return [String]
|
28139
|
+
attr_accessor :text
|
28140
|
+
|
28141
|
+
def initialize(**args)
|
28142
|
+
update!(**args)
|
28143
|
+
end
|
28144
|
+
|
28145
|
+
# Update properties of this object
|
28146
|
+
def update!(**args)
|
28147
|
+
@page_span = args[:page_span] if args.key?(:page_span)
|
28148
|
+
@text = args[:text] if args.key?(:text)
|
28149
|
+
end
|
28150
|
+
end
|
28151
|
+
|
28152
|
+
# Represents where the chunk starts and ends in the document.
|
28153
|
+
class GoogleCloudAiplatformV1beta1RagChunkPageSpan
|
28154
|
+
include Google::Apis::Core::Hashable
|
28155
|
+
|
28156
|
+
# Page where chunk starts in the document. Inclusive. 1-indexed.
|
28157
|
+
# Corresponds to the JSON property `firstPage`
|
28158
|
+
# @return [Fixnum]
|
28159
|
+
attr_accessor :first_page
|
28160
|
+
|
28161
|
+
# Page where chunk ends in the document. Inclusive. 1-indexed.
|
28162
|
+
# Corresponds to the JSON property `lastPage`
|
28163
|
+
# @return [Fixnum]
|
28164
|
+
attr_accessor :last_page
|
28165
|
+
|
28166
|
+
def initialize(**args)
|
28167
|
+
update!(**args)
|
28168
|
+
end
|
28169
|
+
|
28170
|
+
# Update properties of this object
|
28171
|
+
def update!(**args)
|
28172
|
+
@first_page = args[:first_page] if args.key?(:first_page)
|
28173
|
+
@last_page = args[:last_page] if args.key?(:last_page)
|
28174
|
+
end
|
28175
|
+
end
|
28176
|
+
|
27933
28177
|
# Relevant contexts for one query.
|
27934
28178
|
class GoogleCloudAiplatformV1beta1RagContexts
|
27935
28179
|
include Google::Apis::Core::Hashable
|
@@ -27953,6 +28197,12 @@ module Google
|
|
27953
28197
|
class GoogleCloudAiplatformV1beta1RagContextsContext
|
27954
28198
|
include Google::Apis::Core::Hashable
|
27955
28199
|
|
28200
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
28201
|
+
# metadata.
|
28202
|
+
# Corresponds to the JSON property `chunk`
|
28203
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk]
|
28204
|
+
attr_accessor :chunk
|
28205
|
+
|
27956
28206
|
# The distance between the query dense embedding vector and the context text
|
27957
28207
|
# vector.
|
27958
28208
|
# Corresponds to the JSON property `distance`
|
@@ -27999,6 +28249,7 @@ module Google
|
|
27999
28249
|
|
28000
28250
|
# Update properties of this object
|
28001
28251
|
def update!(**args)
|
28252
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
28002
28253
|
@distance = args[:distance] if args.key?(:distance)
|
28003
28254
|
@score = args[:score] if args.key?(:score)
|
28004
28255
|
@source_display_name = args[:source_display_name] if args.key?(:source_display_name)
|
@@ -28229,6 +28480,32 @@ module Google
|
|
28229
28480
|
end
|
28230
28481
|
end
|
28231
28482
|
|
28483
|
+
# Config for RagEngine.
|
28484
|
+
class GoogleCloudAiplatformV1beta1RagEngineConfig
|
28485
|
+
include Google::Apis::Core::Hashable
|
28486
|
+
|
28487
|
+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
|
28488
|
+
# locations/`location`/ragEngineConfig`
|
28489
|
+
# Corresponds to the JSON property `name`
|
28490
|
+
# @return [String]
|
28491
|
+
attr_accessor :name
|
28492
|
+
|
28493
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
28494
|
+
# Corresponds to the JSON property `ragManagedDbConfig`
|
28495
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfig]
|
28496
|
+
attr_accessor :rag_managed_db_config
|
28497
|
+
|
28498
|
+
def initialize(**args)
|
28499
|
+
update!(**args)
|
28500
|
+
end
|
28501
|
+
|
28502
|
+
# Update properties of this object
|
28503
|
+
def update!(**args)
|
28504
|
+
@name = args[:name] if args.key?(:name)
|
28505
|
+
@rag_managed_db_config = args[:rag_managed_db_config] if args.key?(:rag_managed_db_config)
|
28506
|
+
end
|
28507
|
+
end
|
28508
|
+
|
28232
28509
|
# A RagFile contains user data for chunking, embedding and indexing.
|
28233
28510
|
class GoogleCloudAiplatformV1beta1RagFile
|
28234
28511
|
include Google::Apis::Core::Hashable
|
@@ -28548,6 +28825,67 @@ module Google
|
|
28548
28825
|
end
|
28549
28826
|
end
|
28550
28827
|
|
28828
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
28829
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfig
|
28830
|
+
include Google::Apis::Core::Hashable
|
28831
|
+
|
28832
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
28833
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
28834
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
28835
|
+
# Corresponds to the JSON property `basic`
|
28836
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic]
|
28837
|
+
attr_accessor :basic
|
28838
|
+
|
28839
|
+
# Enterprise tier offers production grade performance along with autoscaling
|
28840
|
+
# functionality. It is suitable for customers with large amounts of data or
|
28841
|
+
# performance sensitive workloads. NOTE: This is the default tier if not
|
28842
|
+
# explicitly chosen.
|
28843
|
+
# Corresponds to the JSON property `enterprise`
|
28844
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise]
|
28845
|
+
attr_accessor :enterprise
|
28846
|
+
|
28847
|
+
def initialize(**args)
|
28848
|
+
update!(**args)
|
28849
|
+
end
|
28850
|
+
|
28851
|
+
# Update properties of this object
|
28852
|
+
def update!(**args)
|
28853
|
+
@basic = args[:basic] if args.key?(:basic)
|
28854
|
+
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
28855
|
+
end
|
28856
|
+
end
|
28857
|
+
|
28858
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
28859
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
28860
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
28861
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic
|
28862
|
+
include Google::Apis::Core::Hashable
|
28863
|
+
|
28864
|
+
def initialize(**args)
|
28865
|
+
update!(**args)
|
28866
|
+
end
|
28867
|
+
|
28868
|
+
# Update properties of this object
|
28869
|
+
def update!(**args)
|
28870
|
+
end
|
28871
|
+
end
|
28872
|
+
|
28873
|
+
# Enterprise tier offers production grade performance along with autoscaling
|
28874
|
+
# functionality. It is suitable for customers with large amounts of data or
|
28875
|
+
# performance sensitive workloads. NOTE: This is the default tier if not
|
28876
|
+
# explicitly chosen.
|
28877
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise
|
28878
|
+
include Google::Apis::Core::Hashable
|
28879
|
+
|
28880
|
+
def initialize(**args)
|
28881
|
+
update!(**args)
|
28882
|
+
end
|
28883
|
+
|
28884
|
+
# Update properties of this object
|
28885
|
+
def update!(**args)
|
28886
|
+
end
|
28887
|
+
end
|
28888
|
+
|
28551
28889
|
# A query to retrieve relevant contexts.
|
28552
28890
|
class GoogleCloudAiplatformV1beta1RagQuery
|
28553
28891
|
include Google::Apis::Core::Hashable
|
@@ -28728,7 +29066,9 @@ module Google
|
|
28728
29066
|
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
|
28729
29067
|
include Google::Apis::Core::Hashable
|
28730
29068
|
|
28731
|
-
# Optional. The model name used for ranking.
|
29069
|
+
# Optional. The model name used for ranking. See [Supported models](https://
|
29070
|
+
# cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#
|
29071
|
+
# supported-models).
|
28732
29072
|
# Corresponds to the JSON property `modelName`
|
28733
29073
|
# @return [String]
|
28734
29074
|
attr_accessor :model_name
|
@@ -29462,7 +29802,8 @@ module Google
|
|
29462
29802
|
include Google::Apis::Core::Hashable
|
29463
29803
|
|
29464
29804
|
# Optional. The OSS agent framework used to develop the agent. Currently
|
29465
|
-
# supported values: "langchain", "langgraph", "ag2", "
|
29805
|
+
# supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index",
|
29806
|
+
# "custom".
|
29466
29807
|
# Corresponds to the JSON property `agentFramework`
|
29467
29808
|
# @return [String]
|
29468
29809
|
attr_accessor :agent_framework
|
@@ -39027,6 +39368,25 @@ module Google
|
|
39027
39368
|
end
|
39028
39369
|
end
|
39029
39370
|
|
39371
|
+
# Request message for EndpointService.SetPublisherModelConfig.
|
39372
|
+
class GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest
|
39373
|
+
include Google::Apis::Core::Hashable
|
39374
|
+
|
39375
|
+
# This message contains configs of a publisher model.
|
39376
|
+
# Corresponds to the JSON property `publisherModelConfig`
|
39377
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig]
|
39378
|
+
attr_accessor :publisher_model_config
|
39379
|
+
|
39380
|
+
def initialize(**args)
|
39381
|
+
update!(**args)
|
39382
|
+
end
|
39383
|
+
|
39384
|
+
# Update properties of this object
|
39385
|
+
def update!(**args)
|
39386
|
+
@publisher_model_config = args[:publisher_model_config] if args.key?(:publisher_model_config)
|
39387
|
+
end
|
39388
|
+
end
|
39389
|
+
|
39030
39390
|
# The SharePointSources to pass to ImportRagFiles.
|
39031
39391
|
class GoogleCloudAiplatformV1beta1SharePointSources
|
39032
39392
|
include Google::Apis::Core::Hashable
|
@@ -39399,6 +39759,11 @@ module Google
|
|
39399
39759
|
class GoogleCloudAiplatformV1beta1SpeechConfig
|
39400
39760
|
include Google::Apis::Core::Hashable
|
39401
39761
|
|
39762
|
+
# Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
|
39763
|
+
# Corresponds to the JSON property `languageCode`
|
39764
|
+
# @return [String]
|
39765
|
+
attr_accessor :language_code
|
39766
|
+
|
39402
39767
|
# The configuration for the voice to use.
|
39403
39768
|
# Corresponds to the JSON property `voiceConfig`
|
39404
39769
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VoiceConfig]
|
@@ -39410,6 +39775,7 @@ module Google
|
|
39410
39775
|
|
39411
39776
|
# Update properties of this object
|
39412
39777
|
def update!(**args)
|
39778
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
39413
39779
|
@voice_config = args[:voice_config] if args.key?(:voice_config)
|
39414
39780
|
end
|
39415
39781
|
end
|
@@ -43959,7 +44325,9 @@ module Google
|
|
43959
44325
|
class GoogleCloudAiplatformV1beta1TuningJob
|
43960
44326
|
include Google::Apis::Core::Hashable
|
43961
44327
|
|
43962
|
-
# The base model that is being tuned
|
44328
|
+
# The base model that is being tuned. See [Supported models](https://cloud.
|
44329
|
+
# google.com/vertex-ai/generative-ai/docs/model-reference/tuning#
|
44330
|
+
# supported_models).
|
43963
44331
|
# Corresponds to the JSON property `baseModel`
|
43964
44332
|
# @return [String]
|
43965
44333
|
attr_accessor :base_model
|