google-apis-aiplatform_v1beta1 0.39.0 → 0.40.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 +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +236 -2
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +107 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +69 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 025ab707eb783af9773bfd79ec464b6ac34bfcbe6d2816422047177364cd066c
|
4
|
+
data.tar.gz: bc209bbd818aafe0bb626958128faeb5f0d2b9e9e6847969b01f6f95649510cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9efbee7a9e3a208f63b9064c4bf893d8972c7a8ab7cb33f8963e6bdc52154fe7770a162057c8ca04b93080bab1c9017e2b844cea38d4f5edd8d8b3eb2582ad52
|
7
|
+
data.tar.gz: 8790a9d7f807a0aeb6854512bea89a0c9783675b48251a0a6e4082aec4139015d165e399757b2e350b73d58cc693d18db13f0fcfda9669b69b9c39bd00fc1cbd
|
data/CHANGELOG.md
CHANGED
@@ -1068,6 +1068,102 @@ module Google
|
|
1068
1068
|
end
|
1069
1069
|
end
|
1070
1070
|
|
1071
|
+
# Request message for DatasetService.AssembleData. Used only for MULTIMODAL
|
1072
|
+
# datasets.
|
1073
|
+
class GoogleCloudAiplatformV1beta1AssembleDataRequest
|
1074
|
+
include Google::Apis::Core::Hashable
|
1075
|
+
|
1076
|
+
# Template configuration to create Gemini examples from a multimodal dataset.
|
1077
|
+
# Corresponds to the JSON property `geminiTemplateConfig`
|
1078
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
1079
|
+
attr_accessor :gemini_template_config
|
1080
|
+
|
1081
|
+
def initialize(**args)
|
1082
|
+
update!(**args)
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
# Update properties of this object
|
1086
|
+
def update!(**args)
|
1087
|
+
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1088
|
+
end
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# Request message for DatasetService.AssessData. Used only for MULTIMODAL
|
1092
|
+
# datasets.
|
1093
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequest
|
1094
|
+
include Google::Apis::Core::Hashable
|
1095
|
+
|
1096
|
+
# Template configuration to create Gemini examples from a multimodal dataset.
|
1097
|
+
# Corresponds to the JSON property `geminiTemplateConfig`
|
1098
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
1099
|
+
attr_accessor :gemini_template_config
|
1100
|
+
|
1101
|
+
# Configuration for the tuning resource usage assessment.
|
1102
|
+
# Corresponds to the JSON property `tuningResourceUsageAssessmentConfig`
|
1103
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig]
|
1104
|
+
attr_accessor :tuning_resource_usage_assessment_config
|
1105
|
+
|
1106
|
+
# Configuration for the tuning validation assessment.
|
1107
|
+
# Corresponds to the JSON property `tuningValidationAssessmentConfig`
|
1108
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig]
|
1109
|
+
attr_accessor :tuning_validation_assessment_config
|
1110
|
+
|
1111
|
+
def initialize(**args)
|
1112
|
+
update!(**args)
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# Update properties of this object
|
1116
|
+
def update!(**args)
|
1117
|
+
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1118
|
+
@tuning_resource_usage_assessment_config = args[:tuning_resource_usage_assessment_config] if args.key?(:tuning_resource_usage_assessment_config)
|
1119
|
+
@tuning_validation_assessment_config = args[:tuning_validation_assessment_config] if args.key?(:tuning_validation_assessment_config)
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# Configuration for the tuning resource usage assessment.
|
1124
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig
|
1125
|
+
include Google::Apis::Core::Hashable
|
1126
|
+
|
1127
|
+
# Required. The name of the model used for tuning.
|
1128
|
+
# Corresponds to the JSON property `modelName`
|
1129
|
+
# @return [String]
|
1130
|
+
attr_accessor :model_name
|
1131
|
+
|
1132
|
+
def initialize(**args)
|
1133
|
+
update!(**args)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# Update properties of this object
|
1137
|
+
def update!(**args)
|
1138
|
+
@model_name = args[:model_name] if args.key?(:model_name)
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# Configuration for the tuning validation assessment.
|
1143
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig
|
1144
|
+
include Google::Apis::Core::Hashable
|
1145
|
+
|
1146
|
+
# Required. The dataset usage (e.g. training/validation).
|
1147
|
+
# Corresponds to the JSON property `datasetUsage`
|
1148
|
+
# @return [String]
|
1149
|
+
attr_accessor :dataset_usage
|
1150
|
+
|
1151
|
+
# Required. The name of the model used for tuning.
|
1152
|
+
# Corresponds to the JSON property `modelName`
|
1153
|
+
# @return [String]
|
1154
|
+
attr_accessor :model_name
|
1155
|
+
|
1156
|
+
def initialize(**args)
|
1157
|
+
update!(**args)
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# Update properties of this object
|
1161
|
+
def update!(**args)
|
1162
|
+
@dataset_usage = args[:dataset_usage] if args.key?(:dataset_usage)
|
1163
|
+
@model_name = args[:model_name] if args.key?(:model_name)
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1071
1167
|
# Metadata information for NotebookService.AssignNotebookRuntime.
|
1072
1168
|
class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata
|
1073
1169
|
include Google::Apis::Core::Hashable
|
@@ -13308,6 +13404,118 @@ module Google
|
|
13308
13404
|
end
|
13309
13405
|
end
|
13310
13406
|
|
13407
|
+
# Format for Gemini examples used for Vertex Multimodal datasets.
|
13408
|
+
class GoogleCloudAiplatformV1beta1GeminiExample
|
13409
|
+
include Google::Apis::Core::Hashable
|
13410
|
+
|
13411
|
+
# Optional. The name of the cached content used as context to serve the
|
13412
|
+
# prediction. Note: only used in explicit caching, where users can have control
|
13413
|
+
# over caching (e.g. what content to cache) and enjoy guaranteed cost savings.
|
13414
|
+
# Format: `projects/`project`/locations/`location`/cachedContents/`cachedContent`
|
13415
|
+
# `
|
13416
|
+
# Corresponds to the JSON property `cachedContent`
|
13417
|
+
# @return [String]
|
13418
|
+
attr_accessor :cached_content
|
13419
|
+
|
13420
|
+
# Required. The content of the current conversation with the model. For single-
|
13421
|
+
# turn queries, this is a single instance. For multi-turn queries, this is a
|
13422
|
+
# repeated field that contains conversation history + latest request.
|
13423
|
+
# Corresponds to the JSON property `contents`
|
13424
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
13425
|
+
attr_accessor :contents
|
13426
|
+
|
13427
|
+
# Generation config.
|
13428
|
+
# Corresponds to the JSON property `generationConfig`
|
13429
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig]
|
13430
|
+
attr_accessor :generation_config
|
13431
|
+
|
13432
|
+
# Optional. The labels with user-defined metadata for the request. It is used
|
13433
|
+
# for billing and reporting only. Label keys and values can be no longer than 63
|
13434
|
+
# characters (Unicode codepoints) and can only contain lowercase letters,
|
13435
|
+
# numeric characters, underscores, and dashes. International characters are
|
13436
|
+
# allowed. Label values are optional. Label keys must start with a letter.
|
13437
|
+
# Corresponds to the JSON property `labels`
|
13438
|
+
# @return [Hash<String,String>]
|
13439
|
+
attr_accessor :labels
|
13440
|
+
|
13441
|
+
# Optional. The fully qualified name of the publisher model or tuned model
|
13442
|
+
# endpoint to use. Publisher model format: `projects/`project`/locations/`
|
13443
|
+
# location`/publishers/*/models/*` Tuned model endpoint format: `projects/`
|
13444
|
+
# project`/locations/`location`/endpoints/`endpoint``
|
13445
|
+
# Corresponds to the JSON property `model`
|
13446
|
+
# @return [String]
|
13447
|
+
attr_accessor :model
|
13448
|
+
|
13449
|
+
# Optional. Per request settings for blocking unsafe content. Enforced on
|
13450
|
+
# GenerateContentResponse.candidates.
|
13451
|
+
# Corresponds to the JSON property `safetySettings`
|
13452
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting>]
|
13453
|
+
attr_accessor :safety_settings
|
13454
|
+
|
13455
|
+
# The base structured datatype containing multi-part content of a message. A `
|
13456
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
13457
|
+
# a `parts` field containing multi-part data that contains the content of the
|
13458
|
+
# message turn.
|
13459
|
+
# Corresponds to the JSON property `systemInstruction`
|
13460
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
13461
|
+
attr_accessor :system_instruction
|
13462
|
+
|
13463
|
+
# Tool config. This config is shared for all tools provided in the request.
|
13464
|
+
# Corresponds to the JSON property `toolConfig`
|
13465
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolConfig]
|
13466
|
+
attr_accessor :tool_config
|
13467
|
+
|
13468
|
+
# Optional. A list of `Tools` the model may use to generate the next response. A
|
13469
|
+
# `Tool` is a piece of code that enables the system to interact with external
|
13470
|
+
# systems to perform an action, or set of actions, outside of knowledge and
|
13471
|
+
# scope of the model.
|
13472
|
+
# Corresponds to the JSON property `tools`
|
13473
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
|
13474
|
+
attr_accessor :tools
|
13475
|
+
|
13476
|
+
def initialize(**args)
|
13477
|
+
update!(**args)
|
13478
|
+
end
|
13479
|
+
|
13480
|
+
# Update properties of this object
|
13481
|
+
def update!(**args)
|
13482
|
+
@cached_content = args[:cached_content] if args.key?(:cached_content)
|
13483
|
+
@contents = args[:contents] if args.key?(:contents)
|
13484
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
13485
|
+
@labels = args[:labels] if args.key?(:labels)
|
13486
|
+
@model = args[:model] if args.key?(:model)
|
13487
|
+
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
13488
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
13489
|
+
@tool_config = args[:tool_config] if args.key?(:tool_config)
|
13490
|
+
@tools = args[:tools] if args.key?(:tools)
|
13491
|
+
end
|
13492
|
+
end
|
13493
|
+
|
13494
|
+
# Template configuration to create Gemini examples from a multimodal dataset.
|
13495
|
+
class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
|
13496
|
+
include Google::Apis::Core::Hashable
|
13497
|
+
|
13498
|
+
# Required. Map of template params to the columns in the dataset table.
|
13499
|
+
# Corresponds to the JSON property `fieldMapping`
|
13500
|
+
# @return [Hash<String,String>]
|
13501
|
+
attr_accessor :field_mapping
|
13502
|
+
|
13503
|
+
# Format for Gemini examples used for Vertex Multimodal datasets.
|
13504
|
+
# Corresponds to the JSON property `geminiExample`
|
13505
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiExample]
|
13506
|
+
attr_accessor :gemini_example
|
13507
|
+
|
13508
|
+
def initialize(**args)
|
13509
|
+
update!(**args)
|
13510
|
+
end
|
13511
|
+
|
13512
|
+
# Update properties of this object
|
13513
|
+
def update!(**args)
|
13514
|
+
@field_mapping = args[:field_mapping] if args.key?(:field_mapping)
|
13515
|
+
@gemini_example = args[:gemini_example] if args.key?(:gemini_example)
|
13516
|
+
end
|
13517
|
+
end
|
13518
|
+
|
13311
13519
|
# Configuration for GenAiAdvancedFeatures.
|
13312
13520
|
class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig
|
13313
13521
|
include Google::Apis::Core::Hashable
|
@@ -14827,6 +15035,16 @@ module Google
|
|
14827
15035
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
|
14828
15036
|
attr_accessor :google_drive_source
|
14829
15037
|
|
15038
|
+
# The BigQuery location for the output content.
|
15039
|
+
# Corresponds to the JSON property `importResultBigquerySink`
|
15040
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination]
|
15041
|
+
attr_accessor :import_result_bigquery_sink
|
15042
|
+
|
15043
|
+
# The Google Cloud Storage location where the output is to be written to.
|
15044
|
+
# Corresponds to the JSON property `importResultGcsSink`
|
15045
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsDestination]
|
15046
|
+
attr_accessor :import_result_gcs_sink
|
15047
|
+
|
14830
15048
|
# The Jira source for the ImportRagFilesRequest.
|
14831
15049
|
# Corresponds to the JSON property `jiraSource`
|
14832
15050
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1JiraSource]
|
@@ -14884,6 +15102,8 @@ module Google
|
|
14884
15102
|
def update!(**args)
|
14885
15103
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
14886
15104
|
@google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
|
15105
|
+
@import_result_bigquery_sink = args[:import_result_bigquery_sink] if args.key?(:import_result_bigquery_sink)
|
15106
|
+
@import_result_gcs_sink = args[:import_result_gcs_sink] if args.key?(:import_result_gcs_sink)
|
14887
15107
|
@jira_source = args[:jira_source] if args.key?(:jira_source)
|
14888
15108
|
@max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
|
14889
15109
|
@partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
|
@@ -24649,8 +24869,7 @@ module Google
|
|
24649
24869
|
# @return [String]
|
24650
24870
|
attr_accessor :post_startup_script_behavior
|
24651
24871
|
|
24652
|
-
# Optional. Post startup script url to download. Example:
|
24653
|
-
# sh
|
24872
|
+
# Optional. Post startup script url to download. Example: `gs://bucket/script.sh`
|
24654
24873
|
# Corresponds to the JSON property `postStartupScriptUrl`
|
24655
24874
|
# @return [String]
|
24656
24875
|
attr_accessor :post_startup_script_url
|
@@ -28266,6 +28485,12 @@ module Google
|
|
28266
28485
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpec
|
28267
28486
|
include Google::Apis::Core::Hashable
|
28268
28487
|
|
28488
|
+
# Optional. The OSS agent framework used to develop the agent. Currently
|
28489
|
+
# supported values: "langchain", "langgraph", "ag2", "custom".
|
28490
|
+
# Corresponds to the JSON property `agentFramework`
|
28491
|
+
# @return [String]
|
28492
|
+
attr_accessor :agent_framework
|
28493
|
+
|
28269
28494
|
# Optional. Declarations for object class methods in OpenAPI specification
|
28270
28495
|
# format.
|
28271
28496
|
# Corresponds to the JSON property `classMethods`
|
@@ -28288,6 +28513,7 @@ module Google
|
|
28288
28513
|
|
28289
28514
|
# Update properties of this object
|
28290
28515
|
def update!(**args)
|
28516
|
+
@agent_framework = args[:agent_framework] if args.key?(:agent_framework)
|
28291
28517
|
@class_methods = args[:class_methods] if args.key?(:class_methods)
|
28292
28518
|
@deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
|
28293
28519
|
@package_spec = args[:package_spec] if args.key?(:package_spec)
|
@@ -43219,6 +43445,13 @@ module Google
|
|
43219
43445
|
# @return [String]
|
43220
43446
|
attr_accessor :datastore
|
43221
43447
|
|
43448
|
+
# Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `
|
43449
|
+
# projects/`project`/locations/`location`/collections/`collection`/engines/`
|
43450
|
+
# engine``
|
43451
|
+
# Corresponds to the JSON property `engine`
|
43452
|
+
# @return [String]
|
43453
|
+
attr_accessor :engine
|
43454
|
+
|
43222
43455
|
def initialize(**args)
|
43223
43456
|
update!(**args)
|
43224
43457
|
end
|
@@ -43226,6 +43459,7 @@ module Google
|
|
43226
43459
|
# Update properties of this object
|
43227
43460
|
def update!(**args)
|
43228
43461
|
@datastore = args[:datastore] if args.key?(:datastore)
|
43462
|
+
@engine = args[:engine] if args.key?(:engine)
|
43229
43463
|
end
|
43230
43464
|
end
|
43231
43465
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,30 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class GoogleCloudAiplatformV1beta1AssembleDataRequest
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
199
223
|
class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata
|
200
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
225
|
|
@@ -2182,6 +2206,18 @@ module Google
|
|
2182
2206
|
include Google::Apis::Core::JsonObjectSupport
|
2183
2207
|
end
|
2184
2208
|
|
2209
|
+
class GoogleCloudAiplatformV1beta1GeminiExample
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
|
+
|
2212
|
+
include Google::Apis::Core::JsonObjectSupport
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2217
|
+
|
2218
|
+
include Google::Apis::Core::JsonObjectSupport
|
2219
|
+
end
|
2220
|
+
|
2185
2221
|
class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig
|
2186
2222
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2187
2223
|
|
@@ -7805,6 +7841,41 @@ module Google
|
|
7805
7841
|
end
|
7806
7842
|
end
|
7807
7843
|
|
7844
|
+
class GoogleCloudAiplatformV1beta1AssembleDataRequest
|
7845
|
+
# @private
|
7846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7847
|
+
property :gemini_template_config, as: 'geminiTemplateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
|
7848
|
+
|
7849
|
+
end
|
7850
|
+
end
|
7851
|
+
|
7852
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequest
|
7853
|
+
# @private
|
7854
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7855
|
+
property :gemini_template_config, as: 'geminiTemplateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
|
7856
|
+
|
7857
|
+
property :tuning_resource_usage_assessment_config, as: 'tuningResourceUsageAssessmentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig::Representation
|
7858
|
+
|
7859
|
+
property :tuning_validation_assessment_config, as: 'tuningValidationAssessmentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig::Representation
|
7860
|
+
|
7861
|
+
end
|
7862
|
+
end
|
7863
|
+
|
7864
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig
|
7865
|
+
# @private
|
7866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7867
|
+
property :model_name, as: 'modelName'
|
7868
|
+
end
|
7869
|
+
end
|
7870
|
+
|
7871
|
+
class GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig
|
7872
|
+
# @private
|
7873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7874
|
+
property :dataset_usage, as: 'datasetUsage'
|
7875
|
+
property :model_name, as: 'modelName'
|
7876
|
+
end
|
7877
|
+
end
|
7878
|
+
|
7808
7879
|
class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata
|
7809
7880
|
# @private
|
7810
7881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11270,6 +11341,36 @@ module Google
|
|
11270
11341
|
end
|
11271
11342
|
end
|
11272
11343
|
|
11344
|
+
class GoogleCloudAiplatformV1beta1GeminiExample
|
11345
|
+
# @private
|
11346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11347
|
+
property :cached_content, as: 'cachedContent'
|
11348
|
+
collection :contents, as: 'contents', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
11349
|
+
|
11350
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
11351
|
+
|
11352
|
+
hash :labels, as: 'labels'
|
11353
|
+
property :model, as: 'model'
|
11354
|
+
collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting::Representation
|
11355
|
+
|
11356
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
11357
|
+
|
11358
|
+
property :tool_config, as: 'toolConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolConfig::Representation
|
11359
|
+
|
11360
|
+
collection :tools, as: 'tools', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool::Representation
|
11361
|
+
|
11362
|
+
end
|
11363
|
+
end
|
11364
|
+
|
11365
|
+
class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
|
11366
|
+
# @private
|
11367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11368
|
+
hash :field_mapping, as: 'fieldMapping'
|
11369
|
+
property :gemini_example, as: 'geminiExample', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiExample, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiExample::Representation
|
11370
|
+
|
11371
|
+
end
|
11372
|
+
end
|
11373
|
+
|
11273
11374
|
class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig
|
11274
11375
|
# @private
|
11275
11376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11710,6 +11811,10 @@ module Google
|
|
11710
11811
|
|
11711
11812
|
property :google_drive_source, as: 'googleDriveSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource::Representation
|
11712
11813
|
|
11814
|
+
property :import_result_bigquery_sink, as: 'importResultBigquerySink', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination::Representation
|
11815
|
+
|
11816
|
+
property :import_result_gcs_sink, as: 'importResultGcsSink', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsDestination, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsDestination::Representation
|
11817
|
+
|
11713
11818
|
property :jira_source, as: 'jiraSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1JiraSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1JiraSource::Representation
|
11714
11819
|
|
11715
11820
|
property :max_embedding_requests_per_min, as: 'maxEmbeddingRequestsPerMin'
|
@@ -15599,6 +15704,7 @@ module Google
|
|
15599
15704
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpec
|
15600
15705
|
# @private
|
15601
15706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15707
|
+
property :agent_framework, as: 'agentFramework'
|
15602
15708
|
collection :class_methods, as: 'classMethods'
|
15603
15709
|
property :deployment_spec, as: 'deploymentSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec::Representation
|
15604
15710
|
|
@@ -19881,6 +19987,7 @@ module Google
|
|
19881
19987
|
# @private
|
19882
19988
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19883
19989
|
property :datastore, as: 'datastore'
|
19990
|
+
property :engine, as: 'engine'
|
19884
19991
|
end
|
19885
19992
|
end
|
19886
19993
|
|
@@ -2535,6 +2535,75 @@ module Google
|
|
2535
2535
|
execute_or_queue_command(command, &block)
|
2536
2536
|
end
|
2537
2537
|
|
2538
|
+
# Assembles each row of a multimodal dataset and writes the result into a
|
2539
|
+
# BigQuery table.
|
2540
|
+
# @param [String] name
|
2541
|
+
# Required. The name of the Dataset resource (used only for MULTIMODAL datasets).
|
2542
|
+
# Format: `projects/`project`/locations/`location`/datasets/`dataset``
|
2543
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssembleDataRequest] google_cloud_aiplatform_v1beta1_assemble_data_request_object
|
2544
|
+
# @param [String] fields
|
2545
|
+
# Selector specifying which fields to include in a partial response.
|
2546
|
+
# @param [String] quota_user
|
2547
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2548
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2549
|
+
# @param [Google::Apis::RequestOptions] options
|
2550
|
+
# Request-specific options
|
2551
|
+
#
|
2552
|
+
# @yield [result, err] Result & error if block supplied
|
2553
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
2554
|
+
# @yieldparam err [StandardError] error object if request failed
|
2555
|
+
#
|
2556
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
2557
|
+
#
|
2558
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2559
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2560
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2561
|
+
def assemble_project_location_dataset(name, google_cloud_aiplatform_v1beta1_assemble_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2562
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:assemble', options)
|
2563
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssembleDataRequest::Representation
|
2564
|
+
command.request_object = google_cloud_aiplatform_v1beta1_assemble_data_request_object
|
2565
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
2566
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
2567
|
+
command.params['name'] = name unless name.nil?
|
2568
|
+
command.query['fields'] = fields unless fields.nil?
|
2569
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2570
|
+
execute_or_queue_command(command, &block)
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
# Assesses the state or validity of the dataset with respect to a given use case.
|
2574
|
+
# @param [String] name
|
2575
|
+
# Required. The name of the Dataset resource. Used only for MULTIMODAL datasets.
|
2576
|
+
# Format: `projects/`project`/locations/`location`/datasets/`dataset``
|
2577
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequest] google_cloud_aiplatform_v1beta1_assess_data_request_object
|
2578
|
+
# @param [String] fields
|
2579
|
+
# Selector specifying which fields to include in a partial response.
|
2580
|
+
# @param [String] quota_user
|
2581
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2582
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2583
|
+
# @param [Google::Apis::RequestOptions] options
|
2584
|
+
# Request-specific options
|
2585
|
+
#
|
2586
|
+
# @yield [result, err] Result & error if block supplied
|
2587
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
2588
|
+
# @yieldparam err [StandardError] error object if request failed
|
2589
|
+
#
|
2590
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
2591
|
+
#
|
2592
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2593
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2594
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2595
|
+
def assess_project_location_dataset(name, google_cloud_aiplatform_v1beta1_assess_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2596
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:assess', options)
|
2597
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequest::Representation
|
2598
|
+
command.request_object = google_cloud_aiplatform_v1beta1_assess_data_request_object
|
2599
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
2600
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
2601
|
+
command.params['name'] = name unless name.nil?
|
2602
|
+
command.query['fields'] = fields unless fields.nil?
|
2603
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2604
|
+
execute_or_queue_command(command, &block)
|
2605
|
+
end
|
2606
|
+
|
2538
2607
|
# Creates a Dataset.
|
2539
2608
|
# @param [String] parent
|
2540
2609
|
# Required. The resource name of the Location to create the Dataset in. Format: `
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.40.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|