google-apis-aiplatform_v1beta1 0.47.0 → 0.49.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/lib/google/apis/aiplatform_v1beta1/classes.rb +368 -18
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +160 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +2779 -1735
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83d19de38cd2f7bb88e964bd98e8c0d8af2f16825727c3db5efb7b2e7c1faff3
|
4
|
+
data.tar.gz: 671a7322a5cad1af42fab37e031018fc760b2e756423687ff14a1c2e2db022fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f02c2f663f472144a629507844721fd1aa5a98e2ff5cb5e0d0d74a04612cc78cc39e3dda0ddb9641ba0b57b7a656110e50b53e07b47ea3c3512c77d761996ac5
|
7
|
+
data.tar.gz: 1de8eb3980c4c1a49fe41654669fbdc57fae4d7747044f96664ecfbaafa699f2e10486d8b666610478f845330fd702ddf23bedbcd86f6a97c3eff62404d0d2f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1beta1
|
2
2
|
|
3
|
+
### v0.49.0 (2025-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250529
|
6
|
+
|
7
|
+
### v0.48.0 (2025-06-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250527
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.47.0 (2025-05-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250519
|
@@ -3723,8 +3723,9 @@ module Google
|
|
3723
3723
|
end
|
3724
3724
|
end
|
3725
3725
|
|
3726
|
-
# Result of executing the [ExecutableCode].
|
3727
|
-
# the [
|
3726
|
+
# Result of executing the [ExecutableCode]. Only generated when using the [
|
3727
|
+
# CodeExecution] tool, and always follows a `part` containing the [
|
3728
|
+
# ExecutableCode].
|
3728
3729
|
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
3729
3730
|
include Google::Apis::Core::Hashable
|
3730
3731
|
|
@@ -3844,6 +3845,34 @@ module Google
|
|
3844
3845
|
end
|
3845
3846
|
end
|
3846
3847
|
|
3848
|
+
# Colab image of the runtime.
|
3849
|
+
class GoogleCloudAiplatformV1beta1ColabImage
|
3850
|
+
include Google::Apis::Core::Hashable
|
3851
|
+
|
3852
|
+
# Output only. A human-readable description of the specified colab image release,
|
3853
|
+
# populated by the system. Example: "Python 3.10", "Latest - current Python 3.
|
3854
|
+
# 11"
|
3855
|
+
# Corresponds to the JSON property `description`
|
3856
|
+
# @return [String]
|
3857
|
+
attr_accessor :description
|
3858
|
+
|
3859
|
+
# Optional. The release name of the NotebookRuntime Colab image, e.g. "py310".
|
3860
|
+
# If not specified, detault to the latest release.
|
3861
|
+
# Corresponds to the JSON property `releaseName`
|
3862
|
+
# @return [String]
|
3863
|
+
attr_accessor :release_name
|
3864
|
+
|
3865
|
+
def initialize(**args)
|
3866
|
+
update!(**args)
|
3867
|
+
end
|
3868
|
+
|
3869
|
+
# Update properties of this object
|
3870
|
+
def update!(**args)
|
3871
|
+
@description = args[:description] if args.key?(:description)
|
3872
|
+
@release_name = args[:release_name] if args.key?(:release_name)
|
3873
|
+
end
|
3874
|
+
end
|
3875
|
+
|
3847
3876
|
# Input for Comet metric.
|
3848
3877
|
class GoogleCloudAiplatformV1beta1CometInput
|
3849
3878
|
include Google::Apis::Core::Hashable
|
@@ -9418,8 +9447,9 @@ module Google
|
|
9418
9447
|
end
|
9419
9448
|
|
9420
9449
|
# Code generated by the model that is meant to be executed, and the result
|
9421
|
-
# returned to the model. Generated when using the [
|
9422
|
-
#
|
9450
|
+
# returned to the model. Generated when using the [CodeExecution] tool, in which
|
9451
|
+
# the code will be automatically executed, and a corresponding [
|
9452
|
+
# CodeExecutionResult] will also be generated.
|
9423
9453
|
class GoogleCloudAiplatformV1beta1ExecutableCode
|
9424
9454
|
include Google::Apis::Core::Hashable
|
9425
9455
|
|
@@ -14260,6 +14290,16 @@ module Google
|
|
14260
14290
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
14261
14291
|
attr_accessor :parameters
|
14262
14292
|
|
14293
|
+
# Optional. Describes the parameters to the function in JSON Schema format. The
|
14294
|
+
# schema must describe an object where the properties are the parameters to the
|
14295
|
+
# function. For example: ``` ` "type": "object", "properties": ` "name": ` "type"
|
14296
|
+
# : "string" `, "age": ` "type": "integer" ` `, "additionalProperties": false, "
|
14297
|
+
# required": ["name", "age"], "propertyOrdering": ["name", "age"] ` ``` This
|
14298
|
+
# field is mutually exclusive with `parameters`.
|
14299
|
+
# Corresponds to the JSON property `parametersJsonSchema`
|
14300
|
+
# @return [Object]
|
14301
|
+
attr_accessor :parameters_json_schema
|
14302
|
+
|
14263
14303
|
# Schema is used to define the format of input/output data. Represents a select
|
14264
14304
|
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
14265
14305
|
# schema-object). More fields may be added in the future as needed.
|
@@ -14267,6 +14307,13 @@ module Google
|
|
14267
14307
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
14268
14308
|
attr_accessor :response
|
14269
14309
|
|
14310
|
+
# Optional. Describes the output from this function in JSON Schema format. The
|
14311
|
+
# value specified by the schema is the response value of the function. This
|
14312
|
+
# field is mutually exclusive with `response`.
|
14313
|
+
# Corresponds to the JSON property `responseJsonSchema`
|
14314
|
+
# @return [Object]
|
14315
|
+
attr_accessor :response_json_schema
|
14316
|
+
|
14270
14317
|
def initialize(**args)
|
14271
14318
|
update!(**args)
|
14272
14319
|
end
|
@@ -14276,7 +14323,9 @@ module Google
|
|
14276
14323
|
@description = args[:description] if args.key?(:description)
|
14277
14324
|
@name = args[:name] if args.key?(:name)
|
14278
14325
|
@parameters = args[:parameters] if args.key?(:parameters)
|
14326
|
+
@parameters_json_schema = args[:parameters_json_schema] if args.key?(:parameters_json_schema)
|
14279
14327
|
@response = args[:response] if args.key?(:response)
|
14328
|
+
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
|
14280
14329
|
end
|
14281
14330
|
end
|
14282
14331
|
|
@@ -14928,6 +14977,13 @@ module Google
|
|
14928
14977
|
# @return [Fixnum]
|
14929
14978
|
attr_accessor :candidate_count
|
14930
14979
|
|
14980
|
+
# Optional. If enabled, the model will detect emotions and adapt its responses
|
14981
|
+
# accordingly.
|
14982
|
+
# Corresponds to the JSON property `enableAffectiveDialog`
|
14983
|
+
# @return [Boolean]
|
14984
|
+
attr_accessor :enable_affective_dialog
|
14985
|
+
alias_method :enable_affective_dialog?, :enable_affective_dialog
|
14986
|
+
|
14931
14987
|
# Optional. Frequency penalties.
|
14932
14988
|
# Corresponds to the JSON property `frequencyPenalty`
|
14933
14989
|
# @return [Float]
|
@@ -14958,6 +15014,23 @@ module Google
|
|
14958
15014
|
# @return [Float]
|
14959
15015
|
attr_accessor :presence_penalty
|
14960
15016
|
|
15017
|
+
# Optional. Output schema of the generated response. This is an alternative to `
|
15018
|
+
# response_schema` that accepts [JSON Schema](https://json-schema.org/). If set,
|
15019
|
+
# `response_schema` must be omitted, but `response_mime_type` is required. While
|
15020
|
+
# the full JSON Schema may be sent, not all features are supported. Specifically,
|
15021
|
+
# only the following properties are supported: - `$id` - `$defs` - `$ref` - `$
|
15022
|
+
# anchor` - `type` - `format` - `title` - `description` - `enum` (for strings
|
15023
|
+
# and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` -
|
15024
|
+
# `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties`
|
15025
|
+
# - `additionalProperties` - `required` The non-standard `propertyOrdering`
|
15026
|
+
# property may also be set. Cyclic references are unrolled to a limited degree
|
15027
|
+
# and, as such, may only be used within non-required properties. (Nullable
|
15028
|
+
# properties are not sufficient.) If `$ref` is set on a sub-schema, no other
|
15029
|
+
# properties, except for than those starting as a `$`, may be set.
|
15030
|
+
# Corresponds to the JSON property `responseJsonSchema`
|
15031
|
+
# @return [Object]
|
15032
|
+
attr_accessor :response_json_schema
|
15033
|
+
|
14961
15034
|
# Optional. If true, export the logprobs results in response.
|
14962
15035
|
# Corresponds to the JSON property `responseLogprobs`
|
14963
15036
|
# @return [Boolean]
|
@@ -15033,12 +15106,14 @@ module Google
|
|
15033
15106
|
def update!(**args)
|
15034
15107
|
@audio_timestamp = args[:audio_timestamp] if args.key?(:audio_timestamp)
|
15035
15108
|
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
15109
|
+
@enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
|
15036
15110
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
15037
15111
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
15038
15112
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
15039
15113
|
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
15040
15114
|
@model_config = args[:model_config] if args.key?(:model_config)
|
15041
15115
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
15116
|
+
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
|
15042
15117
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
15043
15118
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
15044
15119
|
@response_modalities = args[:response_modalities] if args.key?(:response_modalities)
|
@@ -16064,6 +16139,184 @@ module Google
|
|
16064
16139
|
end
|
16065
16140
|
end
|
16066
16141
|
|
16142
|
+
# Request message for IndexService.ImportIndex.
|
16143
|
+
class GoogleCloudAiplatformV1beta1ImportIndexRequest
|
16144
|
+
include Google::Apis::Core::Hashable
|
16145
|
+
|
16146
|
+
# Configuration for importing data from an external source.
|
16147
|
+
# Corresponds to the JSON property `config`
|
16148
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig]
|
16149
|
+
attr_accessor :config
|
16150
|
+
|
16151
|
+
# Optional. If true, completely replace existing index data. Must be true for
|
16152
|
+
# streaming update indexes.
|
16153
|
+
# Corresponds to the JSON property `isCompleteOverwrite`
|
16154
|
+
# @return [Boolean]
|
16155
|
+
attr_accessor :is_complete_overwrite
|
16156
|
+
alias_method :is_complete_overwrite?, :is_complete_overwrite
|
16157
|
+
|
16158
|
+
def initialize(**args)
|
16159
|
+
update!(**args)
|
16160
|
+
end
|
16161
|
+
|
16162
|
+
# Update properties of this object
|
16163
|
+
def update!(**args)
|
16164
|
+
@config = args[:config] if args.key?(:config)
|
16165
|
+
@is_complete_overwrite = args[:is_complete_overwrite] if args.key?(:is_complete_overwrite)
|
16166
|
+
end
|
16167
|
+
end
|
16168
|
+
|
16169
|
+
# Configuration for importing data from an external source.
|
16170
|
+
class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig
|
16171
|
+
include Google::Apis::Core::Hashable
|
16172
|
+
|
16173
|
+
# Configuration for importing data from a BigQuery table.
|
16174
|
+
# Corresponds to the JSON property `bigQuerySourceConfig`
|
16175
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig]
|
16176
|
+
attr_accessor :big_query_source_config
|
16177
|
+
|
16178
|
+
def initialize(**args)
|
16179
|
+
update!(**args)
|
16180
|
+
end
|
16181
|
+
|
16182
|
+
# Update properties of this object
|
16183
|
+
def update!(**args)
|
16184
|
+
@big_query_source_config = args[:big_query_source_config] if args.key?(:big_query_source_config)
|
16185
|
+
end
|
16186
|
+
end
|
16187
|
+
|
16188
|
+
# Configuration for importing data from a BigQuery table.
|
16189
|
+
class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig
|
16190
|
+
include Google::Apis::Core::Hashable
|
16191
|
+
|
16192
|
+
# Mapping of datapoint fields to column names for columnar data sources.
|
16193
|
+
# Corresponds to the JSON property `datapointFieldMapping`
|
16194
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping]
|
16195
|
+
attr_accessor :datapoint_field_mapping
|
16196
|
+
|
16197
|
+
# Required. The path to the BigQuery table containing the index data, in the
|
16198
|
+
# format of `bq://..`.
|
16199
|
+
# Corresponds to the JSON property `tablePath`
|
16200
|
+
# @return [String]
|
16201
|
+
attr_accessor :table_path
|
16202
|
+
|
16203
|
+
def initialize(**args)
|
16204
|
+
update!(**args)
|
16205
|
+
end
|
16206
|
+
|
16207
|
+
# Update properties of this object
|
16208
|
+
def update!(**args)
|
16209
|
+
@datapoint_field_mapping = args[:datapoint_field_mapping] if args.key?(:datapoint_field_mapping)
|
16210
|
+
@table_path = args[:table_path] if args.key?(:table_path)
|
16211
|
+
end
|
16212
|
+
end
|
16213
|
+
|
16214
|
+
# Mapping of datapoint fields to column names for columnar data sources.
|
16215
|
+
class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping
|
16216
|
+
include Google::Apis::Core::Hashable
|
16217
|
+
|
16218
|
+
# Required. The column with the vector embeddings for each data point.
|
16219
|
+
# Corresponds to the JSON property `embeddingColumn`
|
16220
|
+
# @return [String]
|
16221
|
+
attr_accessor :embedding_column
|
16222
|
+
|
16223
|
+
# Required. The column with unique identifiers for each data point.
|
16224
|
+
# Corresponds to the JSON property `idColumn`
|
16225
|
+
# @return [String]
|
16226
|
+
attr_accessor :id_column
|
16227
|
+
|
16228
|
+
# Optional. List of columns containing metadata to be included in the index.
|
16229
|
+
# Corresponds to the JSON property `metadataColumns`
|
16230
|
+
# @return [Array<String>]
|
16231
|
+
attr_accessor :metadata_columns
|
16232
|
+
|
16233
|
+
# Optional. List of restricts for numeric values.
|
16234
|
+
# Corresponds to the JSON property `numericRestricts`
|
16235
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict>]
|
16236
|
+
attr_accessor :numeric_restricts
|
16237
|
+
|
16238
|
+
# Optional. List of restricts for string values.
|
16239
|
+
# Corresponds to the JSON property `restricts`
|
16240
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict>]
|
16241
|
+
attr_accessor :restricts
|
16242
|
+
|
16243
|
+
def initialize(**args)
|
16244
|
+
update!(**args)
|
16245
|
+
end
|
16246
|
+
|
16247
|
+
# Update properties of this object
|
16248
|
+
def update!(**args)
|
16249
|
+
@embedding_column = args[:embedding_column] if args.key?(:embedding_column)
|
16250
|
+
@id_column = args[:id_column] if args.key?(:id_column)
|
16251
|
+
@metadata_columns = args[:metadata_columns] if args.key?(:metadata_columns)
|
16252
|
+
@numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
|
16253
|
+
@restricts = args[:restricts] if args.key?(:restricts)
|
16254
|
+
end
|
16255
|
+
end
|
16256
|
+
|
16257
|
+
# Restrictions on numeric values.
|
16258
|
+
class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict
|
16259
|
+
include Google::Apis::Core::Hashable
|
16260
|
+
|
16261
|
+
# Required. The namespace of the restrict.
|
16262
|
+
# Corresponds to the JSON property `namespace`
|
16263
|
+
# @return [String]
|
16264
|
+
attr_accessor :namespace
|
16265
|
+
|
16266
|
+
# Optional. The column containing the numeric value.
|
16267
|
+
# Corresponds to the JSON property `valueColumn`
|
16268
|
+
# @return [String]
|
16269
|
+
attr_accessor :value_column
|
16270
|
+
|
16271
|
+
# Required. Numeric type of the restrict. Must be consistent for all datapoints
|
16272
|
+
# within the namespace.
|
16273
|
+
# Corresponds to the JSON property `valueType`
|
16274
|
+
# @return [String]
|
16275
|
+
attr_accessor :value_type
|
16276
|
+
|
16277
|
+
def initialize(**args)
|
16278
|
+
update!(**args)
|
16279
|
+
end
|
16280
|
+
|
16281
|
+
# Update properties of this object
|
16282
|
+
def update!(**args)
|
16283
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
16284
|
+
@value_column = args[:value_column] if args.key?(:value_column)
|
16285
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
16286
|
+
end
|
16287
|
+
end
|
16288
|
+
|
16289
|
+
# Restrictions on string values.
|
16290
|
+
class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict
|
16291
|
+
include Google::Apis::Core::Hashable
|
16292
|
+
|
16293
|
+
# Optional. The columns containing the allow values.
|
16294
|
+
# Corresponds to the JSON property `allowColumn`
|
16295
|
+
# @return [Array<String>]
|
16296
|
+
attr_accessor :allow_column
|
16297
|
+
|
16298
|
+
# Optional. The columns containing the deny values.
|
16299
|
+
# Corresponds to the JSON property `denyColumn`
|
16300
|
+
# @return [Array<String>]
|
16301
|
+
attr_accessor :deny_column
|
16302
|
+
|
16303
|
+
# Required. The namespace of the restrict in the index.
|
16304
|
+
# Corresponds to the JSON property `namespace`
|
16305
|
+
# @return [String]
|
16306
|
+
attr_accessor :namespace
|
16307
|
+
|
16308
|
+
def initialize(**args)
|
16309
|
+
update!(**args)
|
16310
|
+
end
|
16311
|
+
|
16312
|
+
# Update properties of this object
|
16313
|
+
def update!(**args)
|
16314
|
+
@allow_column = args[:allow_column] if args.key?(:allow_column)
|
16315
|
+
@deny_column = args[:deny_column] if args.key?(:deny_column)
|
16316
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
16317
|
+
end
|
16318
|
+
end
|
16319
|
+
|
16067
16320
|
# Request message for ModelService.ImportModelEvaluation
|
16068
16321
|
class GoogleCloudAiplatformV1beta1ImportModelEvaluationRequest
|
16069
16322
|
include Google::Apis::Core::Hashable
|
@@ -24463,6 +24716,11 @@ module Google
|
|
24463
24716
|
class GoogleCloudAiplatformV1beta1NotebookSoftwareConfig
|
24464
24717
|
include Google::Apis::Core::Hashable
|
24465
24718
|
|
24719
|
+
# Colab image of the runtime.
|
24720
|
+
# Corresponds to the JSON property `colabImage`
|
24721
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ColabImage]
|
24722
|
+
attr_accessor :colab_image
|
24723
|
+
|
24466
24724
|
# Optional. Environment variables to be passed to the container. Maximum limit
|
24467
24725
|
# is 100.
|
24468
24726
|
# Corresponds to the JSON property `env`
|
@@ -24480,6 +24738,7 @@ module Google
|
|
24480
24738
|
|
24481
24739
|
# Update properties of this object
|
24482
24740
|
def update!(**args)
|
24741
|
+
@colab_image = args[:colab_image] if args.key?(:colab_image)
|
24483
24742
|
@env = args[:env] if args.key?(:env)
|
24484
24743
|
@post_startup_script_config = args[:post_startup_script_config] if args.key?(:post_startup_script_config)
|
24485
24744
|
end
|
@@ -24509,6 +24768,18 @@ module Google
|
|
24509
24768
|
class GoogleCloudAiplatformV1beta1PscAutomationConfig
|
24510
24769
|
include Google::Apis::Core::Hashable
|
24511
24770
|
|
24771
|
+
# Output only. Forwarding rule created by the PSC service automation. Note for
|
24772
|
+
# Vector search, use IndexPrivateEndpoint instead.
|
24773
|
+
# Corresponds to the JSON property `forwardingRule`
|
24774
|
+
# @return [String]
|
24775
|
+
attr_accessor :forwarding_rule
|
24776
|
+
|
24777
|
+
# Output only. IP address rule created by the PSC service automation. Note for
|
24778
|
+
# Vector search, use IndexPrivateEndpoint instead.
|
24779
|
+
# Corresponds to the JSON property `ipAddress`
|
24780
|
+
# @return [String]
|
24781
|
+
attr_accessor :ip_address
|
24782
|
+
|
24512
24783
|
# Required. The full name of the Google Compute Engine [network](https://cloud.
|
24513
24784
|
# google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
|
24514
24785
|
# cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
|
@@ -24529,6 +24800,8 @@ module Google
|
|
24529
24800
|
|
24530
24801
|
# Update properties of this object
|
24531
24802
|
def update!(**args)
|
24803
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
24804
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
24532
24805
|
@network = args[:network] if args.key?(:network)
|
24533
24806
|
@project_id = args[:project_id] if args.key?(:project_id)
|
24534
24807
|
end
|
@@ -24921,15 +25194,17 @@ module Google
|
|
24921
25194
|
class GoogleCloudAiplatformV1beta1Part
|
24922
25195
|
include Google::Apis::Core::Hashable
|
24923
25196
|
|
24924
|
-
# Result of executing the [ExecutableCode].
|
24925
|
-
# the [
|
25197
|
+
# Result of executing the [ExecutableCode]. Only generated when using the [
|
25198
|
+
# CodeExecution] tool, and always follows a `part` containing the [
|
25199
|
+
# ExecutableCode].
|
24926
25200
|
# Corresponds to the JSON property `codeExecutionResult`
|
24927
25201
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CodeExecutionResult]
|
24928
25202
|
attr_accessor :code_execution_result
|
24929
25203
|
|
24930
25204
|
# Code generated by the model that is meant to be executed, and the result
|
24931
|
-
# returned to the model. Generated when using the [
|
24932
|
-
#
|
25205
|
+
# returned to the model. Generated when using the [CodeExecution] tool, in which
|
25206
|
+
# the code will be automatically executed, and a corresponding [
|
25207
|
+
# CodeExecutionResult] will also be generated.
|
24933
25208
|
# Corresponds to the JSON property `executableCode`
|
24934
25209
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecutableCode]
|
24935
25210
|
attr_accessor :executable_code
|
@@ -28461,6 +28736,11 @@ module Google
|
|
28461
28736
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CorpusStatus]
|
28462
28737
|
attr_accessor :corpus_status
|
28463
28738
|
|
28739
|
+
# The config for the corpus type of the RagCorpus.
|
28740
|
+
# Corresponds to the JSON property `corpusTypeConfig`
|
28741
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig]
|
28742
|
+
attr_accessor :corpus_type_config
|
28743
|
+
|
28464
28744
|
# Output only. Timestamp when this RagCorpus was created.
|
28465
28745
|
# Corresponds to the JSON property `createTime`
|
28466
28746
|
# @return [String]
|
@@ -28525,6 +28805,7 @@ module Google
|
|
28525
28805
|
# Update properties of this object
|
28526
28806
|
def update!(**args)
|
28527
28807
|
@corpus_status = args[:corpus_status] if args.key?(:corpus_status)
|
28808
|
+
@corpus_type_config = args[:corpus_type_config] if args.key?(:corpus_type_config)
|
28528
28809
|
@create_time = args[:create_time] if args.key?(:create_time)
|
28529
28810
|
@description = args[:description] if args.key?(:description)
|
28530
28811
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -28539,6 +28820,63 @@ module Google
|
|
28539
28820
|
end
|
28540
28821
|
end
|
28541
28822
|
|
28823
|
+
# The config for the corpus type of the RagCorpus.
|
28824
|
+
class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig
|
28825
|
+
include Google::Apis::Core::Hashable
|
28826
|
+
|
28827
|
+
# Config for the document corpus.
|
28828
|
+
# Corresponds to the JSON property `documentCorpus`
|
28829
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus]
|
28830
|
+
attr_accessor :document_corpus
|
28831
|
+
|
28832
|
+
# Config for the memory corpus.
|
28833
|
+
# Corresponds to the JSON property `memoryCorpus`
|
28834
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus]
|
28835
|
+
attr_accessor :memory_corpus
|
28836
|
+
|
28837
|
+
def initialize(**args)
|
28838
|
+
update!(**args)
|
28839
|
+
end
|
28840
|
+
|
28841
|
+
# Update properties of this object
|
28842
|
+
def update!(**args)
|
28843
|
+
@document_corpus = args[:document_corpus] if args.key?(:document_corpus)
|
28844
|
+
@memory_corpus = args[:memory_corpus] if args.key?(:memory_corpus)
|
28845
|
+
end
|
28846
|
+
end
|
28847
|
+
|
28848
|
+
# Config for the document corpus.
|
28849
|
+
class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus
|
28850
|
+
include Google::Apis::Core::Hashable
|
28851
|
+
|
28852
|
+
def initialize(**args)
|
28853
|
+
update!(**args)
|
28854
|
+
end
|
28855
|
+
|
28856
|
+
# Update properties of this object
|
28857
|
+
def update!(**args)
|
28858
|
+
end
|
28859
|
+
end
|
28860
|
+
|
28861
|
+
# Config for the memory corpus.
|
28862
|
+
class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus
|
28863
|
+
include Google::Apis::Core::Hashable
|
28864
|
+
|
28865
|
+
# Specifies the LLM parsing for RagFiles.
|
28866
|
+
# Corresponds to the JSON property `llmParser`
|
28867
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser]
|
28868
|
+
attr_accessor :llm_parser
|
28869
|
+
|
28870
|
+
def initialize(**args)
|
28871
|
+
update!(**args)
|
28872
|
+
end
|
28873
|
+
|
28874
|
+
# Update properties of this object
|
28875
|
+
def update!(**args)
|
28876
|
+
@llm_parser = args[:llm_parser] if args.key?(:llm_parser)
|
28877
|
+
end
|
28878
|
+
end
|
28879
|
+
|
28542
28880
|
# Config for the embedding model to use for RAG.
|
28543
28881
|
class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
|
28544
28882
|
include Google::Apis::Core::Hashable
|
@@ -39553,9 +39891,8 @@ module Google
|
|
39553
39891
|
# @return [String]
|
39554
39892
|
attr_accessor :display_name
|
39555
39893
|
|
39556
|
-
#
|
39557
|
-
#
|
39558
|
-
# session`'.
|
39894
|
+
# Identifier. The resource name of the session. Format: 'projects/`project`/
|
39895
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
|
39559
39896
|
# Corresponds to the JSON property `name`
|
39560
39897
|
# @return [String]
|
39561
39898
|
attr_accessor :name
|
@@ -39633,9 +39970,9 @@ module Google
|
|
39633
39970
|
# @return [String]
|
39634
39971
|
attr_accessor :invocation_id
|
39635
39972
|
|
39636
|
-
#
|
39637
|
-
#
|
39638
|
-
#
|
39973
|
+
# Identifier. The resource name of the event. Format:`projects/`project`/
|
39974
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`/
|
39975
|
+
# events/`event``.
|
39639
39976
|
# Corresponds to the JSON property `name`
|
39640
39977
|
# @return [String]
|
39641
39978
|
attr_accessor :name
|
@@ -42139,14 +42476,16 @@ module Google
|
|
42139
42476
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters]
|
42140
42477
|
attr_accessor :hyper_parameters
|
42141
42478
|
|
42142
|
-
# Required.
|
42143
|
-
#
|
42479
|
+
# Required. Training dataset used for tuning. The dataset can be specified as
|
42480
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
42481
|
+
# Vertex Multimodal Dataset.
|
42144
42482
|
# Corresponds to the JSON property `trainingDatasetUri`
|
42145
42483
|
# @return [String]
|
42146
42484
|
attr_accessor :training_dataset_uri
|
42147
42485
|
|
42148
|
-
# Optional.
|
42149
|
-
#
|
42486
|
+
# Optional. Validation dataset used for tuning. The dataset can be specified as
|
42487
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
42488
|
+
# Vertex Multimodal Dataset.
|
42150
42489
|
# Corresponds to the JSON property `validationDatasetUri`
|
42151
42490
|
# @return [String]
|
42152
42491
|
attr_accessor :validation_dataset_uri
|
@@ -45849,6 +46188,16 @@ module Google
|
|
45849
46188
|
# @return [Fixnum]
|
45850
46189
|
attr_accessor :similarity_top_k
|
45851
46190
|
|
46191
|
+
# Optional. Currently only supported for Gemini Multimodal Live API. In Gemini
|
46192
|
+
# Multimodal Live API, if `store_context` bool is specified, Gemini will
|
46193
|
+
# leverage it to automatically memorize the interactions between the client and
|
46194
|
+
# Gemini, and retrieve context when needed to augment the response generation
|
46195
|
+
# for users' ongoing and future interactions.
|
46196
|
+
# Corresponds to the JSON property `storeContext`
|
46197
|
+
# @return [Boolean]
|
46198
|
+
attr_accessor :store_context
|
46199
|
+
alias_method :store_context?, :store_context
|
46200
|
+
|
45852
46201
|
# Optional. Only return results with vector distance smaller than the threshold.
|
45853
46202
|
# Corresponds to the JSON property `vectorDistanceThreshold`
|
45854
46203
|
# @return [Float]
|
@@ -45864,6 +46213,7 @@ module Google
|
|
45864
46213
|
@rag_resources = args[:rag_resources] if args.key?(:rag_resources)
|
45865
46214
|
@rag_retrieval_config = args[:rag_retrieval_config] if args.key?(:rag_retrieval_config)
|
45866
46215
|
@similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
|
46216
|
+
@store_context = args[:store_context] if args.key?(:store_context)
|
45867
46217
|
@vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
|
45868
46218
|
end
|
45869
46219
|
end
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250529"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|