google-apis-aiplatform_v1beta1 0.69.0 → 0.70.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 +326 -125
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +72 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +43 -2
- 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: 6adb893e664609608ad4f814f9f1a107164504f18e7042e2506d5f22968c97d1
|
|
4
|
+
data.tar.gz: cfa692d7743fa570eb9aa8e2e5d037a32c9ce5ef80d47526fcaa2fb9cdc5cce0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bafaa61bc2647087964f818a27affbcedbe6b51d7bc275c2126e079c58eb193fa8c2189facc1d8e92903be5b57d641f14611a6d85c9471ec64de0a9b96bb9700
|
|
7
|
+
data.tar.gz: ad3016cf674eb1e5abd551c4cbc30f2cf428dea5f13f994921e064194e0d80fee5517bf6bfd4aeb24f177d1a6600d7baf885bb5047022bfae59d48819083c76f
|
data/CHANGELOG.md
CHANGED
|
@@ -2416,8 +2416,8 @@ module Google
|
|
|
2416
2416
|
# @return [String]
|
|
2417
2417
|
attr_accessor :display_name
|
|
2418
2418
|
|
|
2419
|
-
# Represents a customer-managed encryption key
|
|
2420
|
-
#
|
|
2419
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
2420
|
+
# to a Vertex AI resource.
|
|
2421
2421
|
# Corresponds to the JSON property `encryptionSpec`
|
|
2422
2422
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
2423
2423
|
attr_accessor :encryption_spec
|
|
@@ -3340,8 +3340,8 @@ module Google
|
|
|
3340
3340
|
# @return [String]
|
|
3341
3341
|
attr_accessor :display_name
|
|
3342
3342
|
|
|
3343
|
-
# Represents a customer-managed encryption key
|
|
3344
|
-
#
|
|
3343
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
3344
|
+
# to a Vertex AI resource.
|
|
3345
3345
|
# Corresponds to the JSON property `encryptionSpec`
|
|
3346
3346
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
3347
3347
|
attr_accessor :encryption_spec
|
|
@@ -4732,8 +4732,8 @@ module Google
|
|
|
4732
4732
|
class GoogleCloudAiplatformV1beta1CopyModelRequest
|
|
4733
4733
|
include Google::Apis::Core::Hashable
|
|
4734
4734
|
|
|
4735
|
-
# Represents a customer-managed encryption key
|
|
4736
|
-
#
|
|
4735
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
4736
|
+
# to a Vertex AI resource.
|
|
4737
4737
|
# Corresponds to the JSON property `encryptionSpec`
|
|
4738
4738
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
4739
4739
|
attr_accessor :encryption_spec
|
|
@@ -5785,8 +5785,8 @@ module Google
|
|
|
5785
5785
|
# @return [String]
|
|
5786
5786
|
attr_accessor :display_name
|
|
5787
5787
|
|
|
5788
|
-
# Represents a customer-managed encryption key
|
|
5789
|
-
#
|
|
5788
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
5789
|
+
# to a Vertex AI resource.
|
|
5790
5790
|
# Corresponds to the JSON property `encryptionSpec`
|
|
5791
5791
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
5792
5792
|
attr_accessor :encryption_spec
|
|
@@ -6233,8 +6233,8 @@ module Google
|
|
|
6233
6233
|
# @return [String]
|
|
6234
6234
|
attr_accessor :display_name
|
|
6235
6235
|
|
|
6236
|
-
# Represents a customer-managed encryption key
|
|
6237
|
-
#
|
|
6236
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
6237
|
+
# to a Vertex AI resource.
|
|
6238
6238
|
# Corresponds to the JSON property `encryptionSpec`
|
|
6239
6239
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
6240
6240
|
attr_accessor :encryption_spec
|
|
@@ -6365,8 +6365,8 @@ module Google
|
|
|
6365
6365
|
# @return [String]
|
|
6366
6366
|
attr_accessor :display_name
|
|
6367
6367
|
|
|
6368
|
-
# Represents a customer-managed encryption key
|
|
6369
|
-
#
|
|
6368
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
6369
|
+
# to a Vertex AI resource.
|
|
6370
6370
|
# Corresponds to the JSON property `encryptionSpec`
|
|
6371
6371
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
6372
6372
|
attr_accessor :encryption_spec
|
|
@@ -8078,8 +8078,8 @@ module Google
|
|
|
8078
8078
|
attr_accessor :disable_container_logging
|
|
8079
8079
|
alias_method :disable_container_logging?, :disable_container_logging
|
|
8080
8080
|
|
|
8081
|
-
# Represents a customer-managed encryption key
|
|
8082
|
-
#
|
|
8081
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
8082
|
+
# to a Vertex AI resource.
|
|
8083
8083
|
# Corresponds to the JSON property `encryptionSpec`
|
|
8084
8084
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
8085
8085
|
attr_accessor :encryption_spec
|
|
@@ -8639,15 +8639,15 @@ module Google
|
|
|
8639
8639
|
end
|
|
8640
8640
|
end
|
|
8641
8641
|
|
|
8642
|
-
# Represents a customer-managed encryption key
|
|
8643
|
-
#
|
|
8642
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
8643
|
+
# to a Vertex AI resource.
|
|
8644
8644
|
class GoogleCloudAiplatformV1beta1EncryptionSpec
|
|
8645
8645
|
include Google::Apis::Core::Hashable
|
|
8646
8646
|
|
|
8647
|
-
# Required.
|
|
8648
|
-
# key
|
|
8649
|
-
#
|
|
8650
|
-
#
|
|
8647
|
+
# Required. Resource name of the Cloud KMS key used to protect the resource. The
|
|
8648
|
+
# Cloud KMS key must be in the same region as the resource. It must have the
|
|
8649
|
+
# format `projects/`project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/
|
|
8650
|
+
# `crypto_key``.
|
|
8651
8651
|
# Corresponds to the JSON property `kmsKeyName`
|
|
8652
8652
|
# @return [String]
|
|
8653
8653
|
attr_accessor :kms_key_name
|
|
@@ -8722,8 +8722,8 @@ module Google
|
|
|
8722
8722
|
attr_accessor :enable_private_service_connect
|
|
8723
8723
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
|
8724
8724
|
|
|
8725
|
-
# Represents a customer-managed encryption key
|
|
8726
|
-
#
|
|
8725
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
8726
|
+
# to a Vertex AI resource.
|
|
8727
8727
|
# Corresponds to the JSON property `encryptionSpec`
|
|
8728
8728
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
8729
8729
|
attr_accessor :encryption_spec
|
|
@@ -13933,8 +13933,8 @@ module Google
|
|
|
13933
13933
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement]
|
|
13934
13934
|
attr_accessor :embedding_management
|
|
13935
13935
|
|
|
13936
|
-
# Represents a customer-managed encryption key
|
|
13937
|
-
#
|
|
13936
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
13937
|
+
# to a Vertex AI resource.
|
|
13938
13938
|
# Corresponds to the JSON property `encryptionSpec`
|
|
13939
13939
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
13940
13940
|
attr_accessor :encryption_spec
|
|
@@ -15394,8 +15394,8 @@ module Google
|
|
|
15394
15394
|
# @return [String]
|
|
15395
15395
|
attr_accessor :create_time
|
|
15396
15396
|
|
|
15397
|
-
# Represents a customer-managed encryption key
|
|
15398
|
-
#
|
|
15397
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
15398
|
+
# to a Vertex AI resource.
|
|
15399
15399
|
# Corresponds to the JSON property `encryptionSpec`
|
|
15400
15400
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
15401
15401
|
attr_accessor :encryption_spec
|
|
@@ -16634,9 +16634,8 @@ module Google
|
|
|
16634
16634
|
# @return [String]
|
|
16635
16635
|
attr_accessor :name
|
|
16636
16636
|
|
|
16637
|
-
#
|
|
16638
|
-
#
|
|
16639
|
-
# schema-object). More fields may be added in the future as needed.
|
|
16637
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
16638
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
16640
16639
|
# Corresponds to the JSON property `parameters`
|
|
16641
16640
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
16642
16641
|
attr_accessor :parameters
|
|
@@ -16651,9 +16650,8 @@ module Google
|
|
|
16651
16650
|
# @return [Object]
|
|
16652
16651
|
attr_accessor :parameters_json_schema
|
|
16653
16652
|
|
|
16654
|
-
#
|
|
16655
|
-
#
|
|
16656
|
-
# schema-object). More fields may be added in the future as needed.
|
|
16653
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
16654
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
16657
16655
|
# Corresponds to the JSON property `response`
|
|
16658
16656
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
16659
16657
|
attr_accessor :response
|
|
@@ -17581,6 +17579,17 @@ module Google
|
|
|
17581
17579
|
attr_accessor :disable_memory_revisions
|
|
17582
17580
|
alias_method :disable_memory_revisions?, :disable_memory_revisions
|
|
17583
17581
|
|
|
17582
|
+
# Optional. User-provided metadata for the generated memories. This is not
|
|
17583
|
+
# generated by Memory Bank.
|
|
17584
|
+
# Corresponds to the JSON property `metadata`
|
|
17585
|
+
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue>]
|
|
17586
|
+
attr_accessor :metadata
|
|
17587
|
+
|
|
17588
|
+
# Optional. The strategy to use when applying metadata to existing memories.
|
|
17589
|
+
# Corresponds to the JSON property `metadataMergeStrategy`
|
|
17590
|
+
# @return [String]
|
|
17591
|
+
attr_accessor :metadata_merge_strategy
|
|
17592
|
+
|
|
17584
17593
|
# Optional. Timestamp of when the revision is considered expired. If not set,
|
|
17585
17594
|
# the memory revision will be kept until manually deleted.
|
|
17586
17595
|
# Corresponds to the JSON property `revisionExpireTime`
|
|
@@ -17624,6 +17633,8 @@ module Google
|
|
|
17624
17633
|
@direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source)
|
|
17625
17634
|
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
|
17626
17635
|
@disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
|
|
17636
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
17637
|
+
@metadata_merge_strategy = args[:metadata_merge_strategy] if args.key?(:metadata_merge_strategy)
|
|
17627
17638
|
@revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
|
|
17628
17639
|
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
17629
17640
|
@revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
|
|
@@ -17996,9 +18007,8 @@ module Google
|
|
|
17996
18007
|
# @return [Array<String>]
|
|
17997
18008
|
attr_accessor :response_modalities
|
|
17998
18009
|
|
|
17999
|
-
#
|
|
18000
|
-
#
|
|
18001
|
-
# schema-object). More fields may be added in the future as needed.
|
|
18010
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
18011
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
18002
18012
|
# Corresponds to the JSON property `responseSchema`
|
|
18003
18013
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
18004
18014
|
attr_accessor :response_schema
|
|
@@ -18853,8 +18863,8 @@ module Google
|
|
|
18853
18863
|
# @return [String]
|
|
18854
18864
|
attr_accessor :display_name
|
|
18855
18865
|
|
|
18856
|
-
# Represents a customer-managed encryption key
|
|
18857
|
-
#
|
|
18866
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
18867
|
+
# to a Vertex AI resource.
|
|
18858
18868
|
# Corresponds to the JSON property `encryptionSpec`
|
|
18859
18869
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
18860
18870
|
attr_accessor :encryption_spec
|
|
@@ -19770,8 +19780,8 @@ module Google
|
|
|
19770
19780
|
# @return [String]
|
|
19771
19781
|
attr_accessor :display_name
|
|
19772
19782
|
|
|
19773
|
-
# Represents a customer-managed encryption key
|
|
19774
|
-
#
|
|
19783
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
19784
|
+
# to a Vertex AI resource.
|
|
19775
19785
|
# Corresponds to the JSON property `encryptionSpec`
|
|
19776
19786
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
19777
19787
|
attr_accessor :encryption_spec
|
|
@@ -20096,8 +20106,8 @@ module Google
|
|
|
20096
20106
|
attr_accessor :enable_private_service_connect
|
|
20097
20107
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
|
20098
20108
|
|
|
20099
|
-
# Represents a customer-managed encryption key
|
|
20100
|
-
#
|
|
20109
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
20110
|
+
# to a Vertex AI resource.
|
|
20101
20111
|
# Corresponds to the JSON property `encryptionSpec`
|
|
20102
20112
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
20103
20113
|
attr_accessor :encryption_spec
|
|
@@ -22864,6 +22874,13 @@ module Google
|
|
|
22864
22874
|
# @return [String]
|
|
22865
22875
|
attr_accessor :fact
|
|
22866
22876
|
|
|
22877
|
+
# Optional. User-provided metadata for the Memory. This information was provided
|
|
22878
|
+
# when creating, updating, or generating the Memory. It was not generated by
|
|
22879
|
+
# Memory Bank.
|
|
22880
|
+
# Corresponds to the JSON property `metadata`
|
|
22881
|
+
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue>]
|
|
22882
|
+
attr_accessor :metadata
|
|
22883
|
+
|
|
22867
22884
|
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
|
22868
22885
|
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
|
22869
22886
|
# Corresponds to the JSON property `name`
|
|
@@ -22923,6 +22940,7 @@ module Google
|
|
|
22923
22940
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
22924
22941
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
22925
22942
|
@fact = args[:fact] if args.key?(:fact)
|
|
22943
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
22926
22944
|
@name = args[:name] if args.key?(:name)
|
|
22927
22945
|
@revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
|
|
22928
22946
|
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
@@ -23148,6 +23166,103 @@ module Google
|
|
|
23148
23166
|
end
|
|
23149
23167
|
end
|
|
23150
23168
|
|
|
23169
|
+
# A conjunction of filters that will be combined using AND logic.
|
|
23170
|
+
class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter
|
|
23171
|
+
include Google::Apis::Core::Hashable
|
|
23172
|
+
|
|
23173
|
+
# Filters that will combined using AND logic.
|
|
23174
|
+
# Corresponds to the JSON property `filters`
|
|
23175
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryFilter>]
|
|
23176
|
+
attr_accessor :filters
|
|
23177
|
+
|
|
23178
|
+
def initialize(**args)
|
|
23179
|
+
update!(**args)
|
|
23180
|
+
end
|
|
23181
|
+
|
|
23182
|
+
# Update properties of this object
|
|
23183
|
+
def update!(**args)
|
|
23184
|
+
@filters = args[:filters] if args.key?(:filters)
|
|
23185
|
+
end
|
|
23186
|
+
end
|
|
23187
|
+
|
|
23188
|
+
# Filter to apply when retrieving memories.
|
|
23189
|
+
class GoogleCloudAiplatformV1beta1MemoryFilter
|
|
23190
|
+
include Google::Apis::Core::Hashable
|
|
23191
|
+
|
|
23192
|
+
# Key of the filter. For example, "author" would apply to `metadata` entries
|
|
23193
|
+
# with the key "author".
|
|
23194
|
+
# Corresponds to the JSON property `key`
|
|
23195
|
+
# @return [String]
|
|
23196
|
+
attr_accessor :key
|
|
23197
|
+
|
|
23198
|
+
# If true, the filter will be negated.
|
|
23199
|
+
# Corresponds to the JSON property `negate`
|
|
23200
|
+
# @return [Boolean]
|
|
23201
|
+
attr_accessor :negate
|
|
23202
|
+
alias_method :negate?, :negate
|
|
23203
|
+
|
|
23204
|
+
# Operator to apply to the filter. If not set, then EQUAL will be used.
|
|
23205
|
+
# Corresponds to the JSON property `op`
|
|
23206
|
+
# @return [String]
|
|
23207
|
+
attr_accessor :op
|
|
23208
|
+
|
|
23209
|
+
# Memory metadata.
|
|
23210
|
+
# Corresponds to the JSON property `value`
|
|
23211
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue]
|
|
23212
|
+
attr_accessor :value
|
|
23213
|
+
|
|
23214
|
+
def initialize(**args)
|
|
23215
|
+
update!(**args)
|
|
23216
|
+
end
|
|
23217
|
+
|
|
23218
|
+
# Update properties of this object
|
|
23219
|
+
def update!(**args)
|
|
23220
|
+
@key = args[:key] if args.key?(:key)
|
|
23221
|
+
@negate = args[:negate] if args.key?(:negate)
|
|
23222
|
+
@op = args[:op] if args.key?(:op)
|
|
23223
|
+
@value = args[:value] if args.key?(:value)
|
|
23224
|
+
end
|
|
23225
|
+
end
|
|
23226
|
+
|
|
23227
|
+
# Memory metadata.
|
|
23228
|
+
class GoogleCloudAiplatformV1beta1MemoryMetadataValue
|
|
23229
|
+
include Google::Apis::Core::Hashable
|
|
23230
|
+
|
|
23231
|
+
# Boolean value.
|
|
23232
|
+
# Corresponds to the JSON property `boolValue`
|
|
23233
|
+
# @return [Boolean]
|
|
23234
|
+
attr_accessor :bool_value
|
|
23235
|
+
alias_method :bool_value?, :bool_value
|
|
23236
|
+
|
|
23237
|
+
# Double value.
|
|
23238
|
+
# Corresponds to the JSON property `doubleValue`
|
|
23239
|
+
# @return [Float]
|
|
23240
|
+
attr_accessor :double_value
|
|
23241
|
+
|
|
23242
|
+
# String value.
|
|
23243
|
+
# Corresponds to the JSON property `stringValue`
|
|
23244
|
+
# @return [String]
|
|
23245
|
+
attr_accessor :string_value
|
|
23246
|
+
|
|
23247
|
+
# Timestamp value. When filtering on timestamp values, only the seconds field
|
|
23248
|
+
# will be compared.
|
|
23249
|
+
# Corresponds to the JSON property `timestampValue`
|
|
23250
|
+
# @return [String]
|
|
23251
|
+
attr_accessor :timestamp_value
|
|
23252
|
+
|
|
23253
|
+
def initialize(**args)
|
|
23254
|
+
update!(**args)
|
|
23255
|
+
end
|
|
23256
|
+
|
|
23257
|
+
# Update properties of this object
|
|
23258
|
+
def update!(**args)
|
|
23259
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
|
23260
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
23261
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
23262
|
+
@timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
|
|
23263
|
+
end
|
|
23264
|
+
end
|
|
23265
|
+
|
|
23151
23266
|
# A revision of a Memory.
|
|
23152
23267
|
class GoogleCloudAiplatformV1beta1MemoryRevision
|
|
23153
23268
|
include Google::Apis::Core::Hashable
|
|
@@ -23352,8 +23467,8 @@ module Google
|
|
|
23352
23467
|
# @return [String]
|
|
23353
23468
|
attr_accessor :description
|
|
23354
23469
|
|
|
23355
|
-
# Represents a customer-managed encryption key
|
|
23356
|
-
#
|
|
23470
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
23471
|
+
# to a Vertex AI resource.
|
|
23357
23472
|
# Corresponds to the JSON property `encryptionSpec`
|
|
23358
23473
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
23359
23474
|
attr_accessor :encryption_spec
|
|
@@ -24146,8 +24261,8 @@ module Google
|
|
|
24146
24261
|
# @return [String]
|
|
24147
24262
|
attr_accessor :display_name
|
|
24148
24263
|
|
|
24149
|
-
# Represents a customer-managed encryption key
|
|
24150
|
-
#
|
|
24264
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24265
|
+
# to a Vertex AI resource.
|
|
24151
24266
|
# Corresponds to the JSON property `encryptionSpec`
|
|
24152
24267
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
24153
24268
|
attr_accessor :encryption_spec
|
|
@@ -24760,8 +24875,8 @@ module Google
|
|
|
24760
24875
|
attr_accessor :enable_monitoring_pipeline_logs
|
|
24761
24876
|
alias_method :enable_monitoring_pipeline_logs?, :enable_monitoring_pipeline_logs
|
|
24762
24877
|
|
|
24763
|
-
# Represents a customer-managed encryption key
|
|
24764
|
-
#
|
|
24878
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24879
|
+
# to a Vertex AI resource.
|
|
24765
24880
|
# Corresponds to the JSON property `encryptionSpec`
|
|
24766
24881
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
24767
24882
|
attr_accessor :encryption_spec
|
|
@@ -25470,8 +25585,8 @@ module Google
|
|
|
25470
25585
|
# @return [String]
|
|
25471
25586
|
attr_accessor :display_name
|
|
25472
25587
|
|
|
25473
|
-
# Represents a customer-managed encryption key
|
|
25474
|
-
#
|
|
25588
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
25589
|
+
# to a Vertex AI resource.
|
|
25475
25590
|
# Corresponds to the JSON property `encryptionSpec`
|
|
25476
25591
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
25477
25592
|
attr_accessor :encryption_spec
|
|
@@ -27288,8 +27403,8 @@ module Google
|
|
|
27288
27403
|
attr_accessor :enable_restricted_image_training
|
|
27289
27404
|
alias_method :enable_restricted_image_training?, :enable_restricted_image_training
|
|
27290
27405
|
|
|
27291
|
-
# Represents a customer-managed encryption key
|
|
27292
|
-
#
|
|
27406
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
27407
|
+
# to a Vertex AI resource.
|
|
27293
27408
|
# Corresponds to the JSON property `encryptionSpec`
|
|
27294
27409
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
27295
27410
|
attr_accessor :encryption_spec
|
|
@@ -28209,8 +28324,8 @@ module Google
|
|
|
28209
28324
|
# @return [String]
|
|
28210
28325
|
attr_accessor :display_name
|
|
28211
28326
|
|
|
28212
|
-
# Represents a customer-managed encryption key
|
|
28213
|
-
#
|
|
28327
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
28328
|
+
# to a Vertex AI resource.
|
|
28214
28329
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28215
28330
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
28216
28331
|
attr_accessor :encryption_spec
|
|
@@ -28540,8 +28655,8 @@ module Google
|
|
|
28540
28655
|
# @return [String]
|
|
28541
28656
|
attr_accessor :display_name
|
|
28542
28657
|
|
|
28543
|
-
# Represents a customer-managed encryption key
|
|
28544
|
-
#
|
|
28658
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
28659
|
+
# to a Vertex AI resource.
|
|
28545
28660
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28546
28661
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
28547
28662
|
attr_accessor :encryption_spec
|
|
@@ -28754,8 +28869,8 @@ module Google
|
|
|
28754
28869
|
# @return [String]
|
|
28755
28870
|
attr_accessor :display_name
|
|
28756
28871
|
|
|
28757
|
-
# Represents a customer-managed encryption key
|
|
28758
|
-
#
|
|
28872
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
28873
|
+
# to a Vertex AI resource.
|
|
28759
28874
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28760
28875
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
28761
28876
|
attr_accessor :encryption_spec
|
|
@@ -29769,8 +29884,8 @@ module Google
|
|
|
29769
29884
|
# @return [String]
|
|
29770
29885
|
attr_accessor :display_name
|
|
29771
29886
|
|
|
29772
|
-
# Represents a customer-managed encryption key
|
|
29773
|
-
#
|
|
29887
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
29888
|
+
# to a Vertex AI resource.
|
|
29774
29889
|
# Corresponds to the JSON property `encryptionSpec`
|
|
29775
29890
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
29776
29891
|
attr_accessor :encryption_spec
|
|
@@ -29912,8 +30027,8 @@ module Google
|
|
|
29912
30027
|
# @return [String]
|
|
29913
30028
|
attr_accessor :display_name
|
|
29914
30029
|
|
|
29915
|
-
# Represents a customer-managed encryption key
|
|
29916
|
-
#
|
|
30030
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
30031
|
+
# to a Vertex AI resource.
|
|
29917
30032
|
# Corresponds to the JSON property `encryptionSpec`
|
|
29918
30033
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
29919
30034
|
attr_accessor :encryption_spec
|
|
@@ -33447,8 +33562,8 @@ module Google
|
|
|
33447
33562
|
# @return [String]
|
|
33448
33563
|
attr_accessor :display_name
|
|
33449
33564
|
|
|
33450
|
-
# Represents a customer-managed encryption key
|
|
33451
|
-
#
|
|
33565
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
33566
|
+
# to a Vertex AI resource.
|
|
33452
33567
|
# Corresponds to the JSON property `encryptionSpec`
|
|
33453
33568
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
33454
33569
|
attr_accessor :encryption_spec
|
|
@@ -35201,8 +35316,8 @@ module Google
|
|
|
35201
35316
|
# @return [String]
|
|
35202
35317
|
attr_accessor :display_name
|
|
35203
35318
|
|
|
35204
|
-
# Represents a customer-managed encryption key
|
|
35205
|
-
#
|
|
35319
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
35320
|
+
# to a Vertex AI resource.
|
|
35206
35321
|
# Corresponds to the JSON property `encryptionSpec`
|
|
35207
35322
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
35208
35323
|
attr_accessor :encryption_spec
|
|
@@ -35747,13 +35862,15 @@ module Google
|
|
|
35747
35862
|
# Optional. The Python module to load as the entrypoint, specified as a fully
|
|
35748
35863
|
# qualified module name. For example: path.to.agent. If not specified, defaults
|
|
35749
35864
|
# to "agent". The project root will be added to Python sys.path, allowing
|
|
35750
|
-
# imports to be specified relative to the root.
|
|
35865
|
+
# imports to be specified relative to the root. This field should not be set if
|
|
35866
|
+
# the source is `agent_config_source`.
|
|
35751
35867
|
# Corresponds to the JSON property `entrypointModule`
|
|
35752
35868
|
# @return [String]
|
|
35753
35869
|
attr_accessor :entrypoint_module
|
|
35754
35870
|
|
|
35755
35871
|
# Optional. The name of the callable object within the `entrypoint_module` to
|
|
35756
|
-
# use as the application If not specified, defaults to "root_agent".
|
|
35872
|
+
# use as the application If not specified, defaults to "root_agent". This field
|
|
35873
|
+
# should not be set if the source is `agent_config_source`.
|
|
35757
35874
|
# Corresponds to the JSON property `entrypointObject`
|
|
35758
35875
|
# @return [String]
|
|
35759
35876
|
attr_accessor :entrypoint_object
|
|
@@ -36712,6 +36829,18 @@ module Google
|
|
|
36712
36829
|
# @return [String]
|
|
36713
36830
|
attr_accessor :filter
|
|
36714
36831
|
|
|
36832
|
+
# Optional. Metadata filters that will be applied to the retrieved memories' `
|
|
36833
|
+
# metadata` using OR logic. Filters are defined using disjunctive normal form (
|
|
36834
|
+
# OR of ANDs). For example: `filter_groups: [`filters: [`key: "author", value: `
|
|
36835
|
+
# string_value: "agent 123"`, op: EQUAL`]`, `filters: [`key: "label", value: `
|
|
36836
|
+
# string_value: "travel"`, op: EQUAL`, `key: "author", value: `string_value: "
|
|
36837
|
+
# agent 321"`, op: EQUAL`]`]` would be equivalent to the logical expression: `(
|
|
36838
|
+
# metadata.author = "agent 123" OR (metadata.label = "travel" AND metadata.
|
|
36839
|
+
# author = "agent 321"))`.
|
|
36840
|
+
# Corresponds to the JSON property `filterGroups`
|
|
36841
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryConjunctionFilter>]
|
|
36842
|
+
attr_accessor :filter_groups
|
|
36843
|
+
|
|
36715
36844
|
# Required. The scope of the memories to retrieve. A memory must have exactly
|
|
36716
36845
|
# the same scope (`Memory.scope`) as the scope provided here to be retrieved (
|
|
36717
36846
|
# same keys and values). Order does not matter, but it is case-sensitive.
|
|
@@ -36736,6 +36865,7 @@ module Google
|
|
|
36736
36865
|
# Update properties of this object
|
|
36737
36866
|
def update!(**args)
|
|
36738
36867
|
@filter = args[:filter] if args.key?(:filter)
|
|
36868
|
+
@filter_groups = args[:filter_groups] if args.key?(:filter_groups)
|
|
36739
36869
|
@scope = args[:scope] if args.key?(:scope)
|
|
36740
36870
|
@similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params)
|
|
36741
36871
|
@simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params)
|
|
@@ -38310,154 +38440,166 @@ module Google
|
|
|
38310
38440
|
end
|
|
38311
38441
|
end
|
|
38312
38442
|
|
|
38313
|
-
#
|
|
38314
|
-
#
|
|
38315
|
-
# schema-object). More fields may be added in the future as needed.
|
|
38443
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
38444
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
38316
38445
|
class GoogleCloudAiplatformV1beta1Schema
|
|
38317
38446
|
include Google::Apis::Core::Hashable
|
|
38318
38447
|
|
|
38319
|
-
# Optional.
|
|
38320
|
-
# additional properties
|
|
38448
|
+
# Optional. If `type` is `OBJECT`, specifies how to handle properties not
|
|
38449
|
+
# defined in `properties`. If it is a boolean `false`, no additional properties
|
|
38450
|
+
# are allowed. If it is a schema, additional properties are allowed if they
|
|
38451
|
+
# conform to the schema.
|
|
38321
38452
|
# Corresponds to the JSON property `additionalProperties`
|
|
38322
38453
|
# @return [Object]
|
|
38323
38454
|
attr_accessor :additional_properties
|
|
38324
38455
|
|
|
38325
|
-
# Optional. The
|
|
38326
|
-
# subschemas in
|
|
38456
|
+
# Optional. The instance must be valid against any (one or more) of the
|
|
38457
|
+
# subschemas listed in `any_of`.
|
|
38327
38458
|
# Corresponds to the JSON property `anyOf`
|
|
38328
38459
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
|
38329
38460
|
attr_accessor :any_of
|
|
38330
38461
|
|
|
38331
|
-
# Optional. Default value
|
|
38462
|
+
# Optional. Default value to use if the field is not specified.
|
|
38332
38463
|
# Corresponds to the JSON property `default`
|
|
38333
38464
|
# @return [Object]
|
|
38334
38465
|
attr_accessor :default
|
|
38335
38466
|
|
|
38336
|
-
# Optional.
|
|
38337
|
-
# the schema.
|
|
38467
|
+
# Optional. `defs` provides a map of schema definitions that can be reused by `
|
|
38468
|
+
# ref` elsewhere in the schema. Only allowed at root level of the schema.
|
|
38338
38469
|
# Corresponds to the JSON property `defs`
|
|
38339
38470
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
|
38340
38471
|
attr_accessor :defs
|
|
38341
38472
|
|
|
38342
|
-
# Optional.
|
|
38473
|
+
# Optional. Description of the schema.
|
|
38343
38474
|
# Corresponds to the JSON property `description`
|
|
38344
38475
|
# @return [String]
|
|
38345
38476
|
attr_accessor :description
|
|
38346
38477
|
|
|
38347
|
-
# Optional. Possible values of the
|
|
38348
|
-
#
|
|
38349
|
-
#
|
|
38350
|
-
#
|
|
38478
|
+
# Optional. Possible values of the field. This field can be used to restrict a
|
|
38479
|
+
# value to a fixed set of values. To mark a field as an enum, set `format` to `
|
|
38480
|
+
# enum` and provide the list of possible values in `enum`. For example: 1. To
|
|
38481
|
+
# define directions: ``type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH",
|
|
38482
|
+
# "WEST"]`` 2. To define apartment numbers: ``type:INTEGER, format:enum, enum:["
|
|
38483
|
+
# 101", "201", "301"]``
|
|
38351
38484
|
# Corresponds to the JSON property `enum`
|
|
38352
38485
|
# @return [Array<String>]
|
|
38353
38486
|
attr_accessor :enum
|
|
38354
38487
|
|
|
38355
|
-
# Optional. Example of
|
|
38356
|
-
# root.
|
|
38488
|
+
# Optional. Example of an instance of this schema.
|
|
38357
38489
|
# Corresponds to the JSON property `example`
|
|
38358
38490
|
# @return [Object]
|
|
38359
38491
|
attr_accessor :example
|
|
38360
38492
|
|
|
38361
|
-
# Optional. The format of the data.
|
|
38362
|
-
#
|
|
38363
|
-
#
|
|
38493
|
+
# Optional. The format of the data. For `NUMBER` type, format can be `float` or `
|
|
38494
|
+
# double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING`
|
|
38495
|
+
# type, format can be `email`, `byte`, `date`, `date-time`, `password`, and
|
|
38496
|
+
# other formats to further refine the data type.
|
|
38364
38497
|
# Corresponds to the JSON property `format`
|
|
38365
38498
|
# @return [String]
|
|
38366
38499
|
attr_accessor :format
|
|
38367
38500
|
|
|
38368
|
-
#
|
|
38369
|
-
#
|
|
38370
|
-
# schema-object). More fields may be added in the future as needed.
|
|
38501
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
38502
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
38371
38503
|
# Corresponds to the JSON property `items`
|
|
38372
38504
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
38373
38505
|
attr_accessor :items
|
|
38374
38506
|
|
|
38375
|
-
# Optional.
|
|
38507
|
+
# Optional. If type is `ARRAY`, `max_items` specifies the maximum number of
|
|
38508
|
+
# items in an array.
|
|
38376
38509
|
# Corresponds to the JSON property `maxItems`
|
|
38377
38510
|
# @return [Fixnum]
|
|
38378
38511
|
attr_accessor :max_items
|
|
38379
38512
|
|
|
38380
|
-
# Optional.
|
|
38513
|
+
# Optional. If type is `STRING`, `max_length` specifies the maximum length of
|
|
38514
|
+
# the string.
|
|
38381
38515
|
# Corresponds to the JSON property `maxLength`
|
|
38382
38516
|
# @return [Fixnum]
|
|
38383
38517
|
attr_accessor :max_length
|
|
38384
38518
|
|
|
38385
|
-
# Optional.
|
|
38519
|
+
# Optional. If type is `OBJECT`, `max_properties` specifies the maximum number
|
|
38520
|
+
# of properties that can be provided.
|
|
38386
38521
|
# Corresponds to the JSON property `maxProperties`
|
|
38387
38522
|
# @return [Fixnum]
|
|
38388
38523
|
attr_accessor :max_properties
|
|
38389
38524
|
|
|
38390
|
-
# Optional.
|
|
38525
|
+
# Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum
|
|
38526
|
+
# allowed value.
|
|
38391
38527
|
# Corresponds to the JSON property `maximum`
|
|
38392
38528
|
# @return [Float]
|
|
38393
38529
|
attr_accessor :maximum
|
|
38394
38530
|
|
|
38395
|
-
# Optional.
|
|
38531
|
+
# Optional. If type is `ARRAY`, `min_items` specifies the minimum number of
|
|
38532
|
+
# items in an array.
|
|
38396
38533
|
# Corresponds to the JSON property `minItems`
|
|
38397
38534
|
# @return [Fixnum]
|
|
38398
38535
|
attr_accessor :min_items
|
|
38399
38536
|
|
|
38400
|
-
# Optional.
|
|
38537
|
+
# Optional. If type is `STRING`, `min_length` specifies the minimum length of
|
|
38538
|
+
# the string.
|
|
38401
38539
|
# Corresponds to the JSON property `minLength`
|
|
38402
38540
|
# @return [Fixnum]
|
|
38403
38541
|
attr_accessor :min_length
|
|
38404
38542
|
|
|
38405
|
-
# Optional.
|
|
38543
|
+
# Optional. If type is `OBJECT`, `min_properties` specifies the minimum number
|
|
38544
|
+
# of properties that can be provided.
|
|
38406
38545
|
# Corresponds to the JSON property `minProperties`
|
|
38407
38546
|
# @return [Fixnum]
|
|
38408
38547
|
attr_accessor :min_properties
|
|
38409
38548
|
|
|
38410
|
-
# Optional.
|
|
38411
|
-
#
|
|
38549
|
+
# Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum
|
|
38550
|
+
# allowed value.
|
|
38412
38551
|
# Corresponds to the JSON property `minimum`
|
|
38413
38552
|
# @return [Float]
|
|
38414
38553
|
attr_accessor :minimum
|
|
38415
38554
|
|
|
38416
|
-
# Optional. Indicates if the value
|
|
38555
|
+
# Optional. Indicates if the value of this field can be null.
|
|
38417
38556
|
# Corresponds to the JSON property `nullable`
|
|
38418
38557
|
# @return [Boolean]
|
|
38419
38558
|
attr_accessor :nullable
|
|
38420
38559
|
alias_method :nullable?, :nullable
|
|
38421
38560
|
|
|
38422
|
-
# Optional.
|
|
38423
|
-
#
|
|
38561
|
+
# Optional. If type is `STRING`, `pattern` specifies a regular expression that
|
|
38562
|
+
# the string must match.
|
|
38424
38563
|
# Corresponds to the JSON property `pattern`
|
|
38425
38564
|
# @return [String]
|
|
38426
38565
|
attr_accessor :pattern
|
|
38427
38566
|
|
|
38428
|
-
# Optional.
|
|
38567
|
+
# Optional. If type is `OBJECT`, `properties` is a map of property names to
|
|
38568
|
+
# schema definitions for each property of the object.
|
|
38429
38569
|
# Corresponds to the JSON property `properties`
|
|
38430
38570
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
|
38431
38571
|
attr_accessor :properties
|
|
38432
38572
|
|
|
38433
|
-
# Optional.
|
|
38434
|
-
#
|
|
38573
|
+
# Optional. Order of properties displayed or used where order matters. This is
|
|
38574
|
+
# not a standard field in OpenAPI specification, but can be used to control the
|
|
38575
|
+
# order of properties.
|
|
38435
38576
|
# Corresponds to the JSON property `propertyOrdering`
|
|
38436
38577
|
# @return [Array<String>]
|
|
38437
38578
|
attr_accessor :property_ordering
|
|
38438
38579
|
|
|
38439
|
-
# Optional. Allows
|
|
38440
|
-
# a valid reference to a
|
|
38441
|
-
# schema defines a reference to a schema node named "Pet": type:
|
|
38442
|
-
# properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
|
|
38443
|
-
# type: string The value of the "pet" property is a reference to the
|
|
38444
|
-
# named "Pet". See details in https://json-schema.org/understanding-
|
|
38445
|
-
# structuring
|
|
38580
|
+
# Optional. Allows referencing another schema definition to use in place of this
|
|
38581
|
+
# schema. The value must be a valid reference to a schema in `defs`. For example,
|
|
38582
|
+
# the following schema defines a reference to a schema node named "Pet": type:
|
|
38583
|
+
# object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
|
|
38584
|
+
# name: type: string The value of the "pet" property is a reference to the
|
|
38585
|
+
# schema node named "Pet". See details in https://json-schema.org/understanding-
|
|
38586
|
+
# json-schema/structuring
|
|
38446
38587
|
# Corresponds to the JSON property `ref`
|
|
38447
38588
|
# @return [String]
|
|
38448
38589
|
attr_accessor :ref
|
|
38449
38590
|
|
|
38450
|
-
# Optional.
|
|
38591
|
+
# Optional. If type is `OBJECT`, `required` lists the names of properties that
|
|
38592
|
+
# must be present.
|
|
38451
38593
|
# Corresponds to the JSON property `required`
|
|
38452
38594
|
# @return [Array<String>]
|
|
38453
38595
|
attr_accessor :required
|
|
38454
38596
|
|
|
38455
|
-
# Optional.
|
|
38597
|
+
# Optional. Title for the schema.
|
|
38456
38598
|
# Corresponds to the JSON property `title`
|
|
38457
38599
|
# @return [String]
|
|
38458
38600
|
attr_accessor :title
|
|
38459
38601
|
|
|
38460
|
-
# Optional.
|
|
38602
|
+
# Optional. Data type of the schema field.
|
|
38461
38603
|
# Corresponds to the JSON property `type`
|
|
38462
38604
|
# @return [String]
|
|
38463
38605
|
attr_accessor :type
|
|
@@ -41240,6 +41382,11 @@ module Google
|
|
|
41240
41382
|
# @return [String]
|
|
41241
41383
|
attr_accessor :code_repository_state
|
|
41242
41384
|
|
|
41385
|
+
# Optional. Framework used to build the application.
|
|
41386
|
+
# Corresponds to the JSON property `framework`
|
|
41387
|
+
# @return [String]
|
|
41388
|
+
attr_accessor :framework
|
|
41389
|
+
|
|
41243
41390
|
# Linked resources attached to the application by the user.
|
|
41244
41391
|
# Corresponds to the JSON property `linkedResources`
|
|
41245
41392
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource>]
|
|
@@ -41252,6 +41399,7 @@ module Google
|
|
|
41252
41399
|
# Update properties of this object
|
|
41253
41400
|
def update!(**args)
|
|
41254
41401
|
@code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state)
|
|
41402
|
+
@framework = args[:framework] if args.key?(:framework)
|
|
41255
41403
|
@linked_resources = args[:linked_resources] if args.key?(:linked_resources)
|
|
41256
41404
|
end
|
|
41257
41405
|
end
|
|
@@ -44960,17 +45108,19 @@ module Google
|
|
|
44960
45108
|
end
|
|
44961
45109
|
end
|
|
44962
45110
|
|
|
44963
|
-
#
|
|
44964
|
-
#
|
|
45111
|
+
# Represents a 2D point in the image. Vertex coordinates are normalized to be
|
|
45112
|
+
# relative to the original image dimensions and range from 0 to 1. The origin of
|
|
45113
|
+
# the coordinate system (0,0) is the top-left corner of the image. x increases
|
|
45114
|
+
# to the right, and y increases to the bottom.
|
|
44965
45115
|
class GoogleCloudAiplatformV1beta1SchemaVertex
|
|
44966
45116
|
include Google::Apis::Core::Hashable
|
|
44967
45117
|
|
|
44968
|
-
# X coordinate.
|
|
45118
|
+
# X coordinate of the vertex, normalized to [0.0, 1.0].
|
|
44969
45119
|
# Corresponds to the JSON property `x`
|
|
44970
45120
|
# @return [Float]
|
|
44971
45121
|
attr_accessor :x
|
|
44972
45122
|
|
|
44973
|
-
# Y coordinate.
|
|
45123
|
+
# Y coordinate of the vertex, normalized to [0.0, 1.0].
|
|
44974
45124
|
# Corresponds to the JSON property `y`
|
|
44975
45125
|
# @return [Float]
|
|
44976
45126
|
attr_accessor :y
|
|
@@ -48924,8 +49074,8 @@ module Google
|
|
|
48924
49074
|
# @return [String]
|
|
48925
49075
|
attr_accessor :display_name
|
|
48926
49076
|
|
|
48927
|
-
# Represents a customer-managed encryption key
|
|
48928
|
-
#
|
|
49077
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
49078
|
+
# to a Vertex AI resource.
|
|
48929
49079
|
# Corresponds to the JSON property `encryptionSpec`
|
|
48930
49080
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
48931
49081
|
attr_accessor :encryption_spec
|
|
@@ -49564,6 +49714,12 @@ module Google
|
|
|
49564
49714
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
|
|
49565
49715
|
attr_accessor :google_search_retrieval
|
|
49566
49716
|
|
|
49717
|
+
# ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
|
|
49718
|
+
# grounding.
|
|
49719
|
+
# Corresponds to the JSON property `parallelAiSearch`
|
|
49720
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch]
|
|
49721
|
+
attr_accessor :parallel_ai_search
|
|
49722
|
+
|
|
49567
49723
|
# Defines a retrieval tool that model can call to access external knowledge.
|
|
49568
49724
|
# Corresponds to the JSON property `retrieval`
|
|
49569
49725
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
|
|
@@ -49587,6 +49743,7 @@ module Google
|
|
|
49587
49743
|
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
|
49588
49744
|
@google_search = args[:google_search] if args.key?(:google_search)
|
|
49589
49745
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
|
49746
|
+
@parallel_ai_search = args[:parallel_ai_search] if args.key?(:parallel_ai_search)
|
|
49590
49747
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
|
49591
49748
|
@url_context = args[:url_context] if args.key?(:url_context)
|
|
49592
49749
|
end
|
|
@@ -49917,6 +50074,42 @@ module Google
|
|
|
49917
50074
|
end
|
|
49918
50075
|
end
|
|
49919
50076
|
|
|
50077
|
+
# ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
|
|
50078
|
+
# grounding.
|
|
50079
|
+
class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
|
|
50080
|
+
include Google::Apis::Core::Hashable
|
|
50081
|
+
|
|
50082
|
+
# Optional. The API key for ParallelAiSearch. If an API key is not provided, the
|
|
50083
|
+
# system will attempt to verify access by checking for an active Parallel.ai
|
|
50084
|
+
# subscription through the Google Cloud Marketplace. See https://docs.parallel.
|
|
50085
|
+
# ai/search/search-quickstart for more details.
|
|
50086
|
+
# Corresponds to the JSON property `apiKey`
|
|
50087
|
+
# @return [String]
|
|
50088
|
+
attr_accessor :api_key
|
|
50089
|
+
|
|
50090
|
+
# Optional. Custom configs for ParallelAiSearch. This field can be used to pass
|
|
50091
|
+
# any parameter from the Parallel.ai Search API. See the Parallel.ai
|
|
50092
|
+
# documentation for the full list of available parameters and their usage: https:
|
|
50093
|
+
# //docs.parallel.ai/api-reference/search-beta/search Currently only `
|
|
50094
|
+
# source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set
|
|
50095
|
+
# via this field. For example: ` "source_policy": ` "include_domains": ["google.
|
|
50096
|
+
# com", "wikipedia.org"], "exclude_domains": ["example.com"] `, "fetch_policy": `
|
|
50097
|
+
# "max_age_seconds": 3600 ` `
|
|
50098
|
+
# Corresponds to the JSON property `customConfigs`
|
|
50099
|
+
# @return [Hash<String,Object>]
|
|
50100
|
+
attr_accessor :custom_configs
|
|
50101
|
+
|
|
50102
|
+
def initialize(**args)
|
|
50103
|
+
update!(**args)
|
|
50104
|
+
end
|
|
50105
|
+
|
|
50106
|
+
# Update properties of this object
|
|
50107
|
+
def update!(**args)
|
|
50108
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
|
50109
|
+
@custom_configs = args[:custom_configs] if args.key?(:custom_configs)
|
|
50110
|
+
end
|
|
50111
|
+
end
|
|
50112
|
+
|
|
49920
50113
|
# Input for tool parameter key value match metric.
|
|
49921
50114
|
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput
|
|
49922
50115
|
include Google::Apis::Core::Hashable
|
|
@@ -50245,8 +50438,8 @@ module Google
|
|
|
50245
50438
|
# @return [String]
|
|
50246
50439
|
attr_accessor :display_name
|
|
50247
50440
|
|
|
50248
|
-
# Represents a customer-managed encryption key
|
|
50249
|
-
#
|
|
50441
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
50442
|
+
# to a Vertex AI resource.
|
|
50250
50443
|
# Corresponds to the JSON property `encryptionSpec`
|
|
50251
50444
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
50252
50445
|
attr_accessor :encryption_spec
|
|
@@ -51360,8 +51553,8 @@ module Google
|
|
|
51360
51553
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec]
|
|
51361
51554
|
attr_accessor :distillation_spec
|
|
51362
51555
|
|
|
51363
|
-
# Represents a customer-managed encryption key
|
|
51364
|
-
#
|
|
51556
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
51557
|
+
# to a Vertex AI resource.
|
|
51365
51558
|
# Corresponds to the JSON property `encryptionSpec`
|
|
51366
51559
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
51367
51560
|
attr_accessor :encryption_spec
|
|
@@ -52625,6 +52818,13 @@ module Google
|
|
|
52625
52818
|
# @return [String]
|
|
52626
52819
|
attr_accessor :tuning_task
|
|
52627
52820
|
|
|
52821
|
+
# Optional. The ratio of Google internal dataset to use in the training mixture,
|
|
52822
|
+
# in range of `[0, 1)`. If `0.2`, it means 20% of Google internal dataset and 80%
|
|
52823
|
+
# of user dataset will be used for training.
|
|
52824
|
+
# Corresponds to the JSON property `veoDataMixtureRatio`
|
|
52825
|
+
# @return [Float]
|
|
52826
|
+
attr_accessor :veo_data_mixture_ratio
|
|
52827
|
+
|
|
52628
52828
|
def initialize(**args)
|
|
52629
52829
|
update!(**args)
|
|
52630
52830
|
end
|
|
@@ -52634,6 +52834,7 @@ module Google
|
|
|
52634
52834
|
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
|
52635
52835
|
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
|
52636
52836
|
@tuning_task = args[:tuning_task] if args.key?(:tuning_task)
|
|
52837
|
+
@veo_data_mixture_ratio = args[:veo_data_mixture_ratio] if args.key?(:veo_data_mixture_ratio)
|
|
52637
52838
|
end
|
|
52638
52839
|
end
|
|
52639
52840
|
|
|
@@ -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.70.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251215"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -3868,6 +3868,24 @@ module Google
|
|
|
3868
3868
|
include Google::Apis::Core::JsonObjectSupport
|
|
3869
3869
|
end
|
|
3870
3870
|
|
|
3871
|
+
class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter
|
|
3872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3873
|
+
|
|
3874
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3875
|
+
end
|
|
3876
|
+
|
|
3877
|
+
class GoogleCloudAiplatformV1beta1MemoryFilter
|
|
3878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3879
|
+
|
|
3880
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3881
|
+
end
|
|
3882
|
+
|
|
3883
|
+
class GoogleCloudAiplatformV1beta1MemoryMetadataValue
|
|
3884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3885
|
+
|
|
3886
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3887
|
+
end
|
|
3888
|
+
|
|
3871
3889
|
class GoogleCloudAiplatformV1beta1MemoryRevision
|
|
3872
3890
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3873
3891
|
|
|
@@ -8290,6 +8308,12 @@ module Google
|
|
|
8290
8308
|
include Google::Apis::Core::JsonObjectSupport
|
|
8291
8309
|
end
|
|
8292
8310
|
|
|
8311
|
+
class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
|
|
8312
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8313
|
+
|
|
8314
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
8315
|
+
end
|
|
8316
|
+
|
|
8293
8317
|
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput
|
|
8294
8318
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8295
8319
|
|
|
@@ -14113,6 +14137,9 @@ module Google
|
|
|
14113
14137
|
|
|
14114
14138
|
property :disable_consolidation, as: 'disableConsolidation'
|
|
14115
14139
|
property :disable_memory_revisions, as: 'disableMemoryRevisions'
|
|
14140
|
+
hash :metadata, as: 'metadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue::Representation
|
|
14141
|
+
|
|
14142
|
+
property :metadata_merge_strategy, as: 'metadataMergeStrategy'
|
|
14116
14143
|
property :revision_expire_time, as: 'revisionExpireTime'
|
|
14117
14144
|
hash :revision_labels, as: 'revisionLabels'
|
|
14118
14145
|
property :revision_ttl, as: 'revisionTtl'
|
|
@@ -15669,6 +15696,8 @@ module Google
|
|
|
15669
15696
|
property :display_name, as: 'displayName'
|
|
15670
15697
|
property :expire_time, as: 'expireTime'
|
|
15671
15698
|
property :fact, as: 'fact'
|
|
15699
|
+
hash :metadata, as: 'metadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue::Representation
|
|
15700
|
+
|
|
15672
15701
|
property :name, as: 'name'
|
|
15673
15702
|
property :revision_expire_time, as: 'revisionExpireTime'
|
|
15674
15703
|
hash :revision_labels, as: 'revisionLabels'
|
|
@@ -15753,6 +15782,35 @@ module Google
|
|
|
15753
15782
|
end
|
|
15754
15783
|
end
|
|
15755
15784
|
|
|
15785
|
+
class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter
|
|
15786
|
+
# @private
|
|
15787
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15788
|
+
collection :filters, as: 'filters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryFilter, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryFilter::Representation
|
|
15789
|
+
|
|
15790
|
+
end
|
|
15791
|
+
end
|
|
15792
|
+
|
|
15793
|
+
class GoogleCloudAiplatformV1beta1MemoryFilter
|
|
15794
|
+
# @private
|
|
15795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15796
|
+
property :key, as: 'key'
|
|
15797
|
+
property :negate, as: 'negate'
|
|
15798
|
+
property :op, as: 'op'
|
|
15799
|
+
property :value, as: 'value', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue::Representation
|
|
15800
|
+
|
|
15801
|
+
end
|
|
15802
|
+
end
|
|
15803
|
+
|
|
15804
|
+
class GoogleCloudAiplatformV1beta1MemoryMetadataValue
|
|
15805
|
+
# @private
|
|
15806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15807
|
+
property :bool_value, as: 'boolValue'
|
|
15808
|
+
property :double_value, as: 'doubleValue'
|
|
15809
|
+
property :string_value, as: 'stringValue'
|
|
15810
|
+
property :timestamp_value, as: 'timestampValue'
|
|
15811
|
+
end
|
|
15812
|
+
end
|
|
15813
|
+
|
|
15756
15814
|
class GoogleCloudAiplatformV1beta1MemoryRevision
|
|
15757
15815
|
# @private
|
|
15758
15816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -19642,6 +19700,8 @@ module Google
|
|
|
19642
19700
|
# @private
|
|
19643
19701
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19644
19702
|
property :filter, as: 'filter'
|
|
19703
|
+
collection :filter_groups, as: 'filterGroups', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryConjunctionFilter, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryConjunctionFilter::Representation
|
|
19704
|
+
|
|
19645
19705
|
hash :scope, as: 'scope'
|
|
19646
19706
|
property :similarity_search_params, as: 'similaritySearchParams', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams::Representation
|
|
19647
19707
|
|
|
@@ -20851,6 +20911,7 @@ module Google
|
|
|
20851
20911
|
# @private
|
|
20852
20912
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20853
20913
|
property :code_repository_state, as: 'codeRepositoryState'
|
|
20914
|
+
property :framework, as: 'framework'
|
|
20854
20915
|
collection :linked_resources, as: 'linkedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource::Representation
|
|
20855
20916
|
|
|
20856
20917
|
end
|
|
@@ -23163,6 +23224,8 @@ module Google
|
|
|
23163
23224
|
|
|
23164
23225
|
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
|
23165
23226
|
|
|
23227
|
+
property :parallel_ai_search, as: 'parallelAiSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch::Representation
|
|
23228
|
+
|
|
23166
23229
|
property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval::Representation
|
|
23167
23230
|
|
|
23168
23231
|
property :url_context, as: 'urlContext', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext::Representation
|
|
@@ -23288,6 +23351,14 @@ module Google
|
|
|
23288
23351
|
end
|
|
23289
23352
|
end
|
|
23290
23353
|
|
|
23354
|
+
class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
|
|
23355
|
+
# @private
|
|
23356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
23357
|
+
property :api_key, as: 'apiKey'
|
|
23358
|
+
hash :custom_configs, as: 'customConfigs'
|
|
23359
|
+
end
|
|
23360
|
+
end
|
|
23361
|
+
|
|
23291
23362
|
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput
|
|
23292
23363
|
# @private
|
|
23293
23364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -24180,6 +24251,7 @@ module Google
|
|
|
24180
24251
|
property :epoch_count, :numeric_string => true, as: 'epochCount'
|
|
24181
24252
|
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
|
24182
24253
|
property :tuning_task, as: 'tuningTask'
|
|
24254
|
+
property :veo_data_mixture_ratio, as: 'veoDataMixtureRatio'
|
|
24183
24255
|
end
|
|
24184
24256
|
end
|
|
24185
24257
|
|
|
@@ -14657,7 +14657,8 @@ module Google
|
|
|
14657
14657
|
# Perform a streaming online prediction with an arbitrary HTTP payload.
|
|
14658
14658
|
# @param [String] endpoint
|
|
14659
14659
|
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
|
14660
|
-
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
|
14660
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
|
14661
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
|
14661
14662
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
|
|
14662
14663
|
# @param [String] fields
|
|
14663
14664
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -14949,6 +14950,45 @@ module Google
|
|
|
14949
14950
|
execute_or_queue_command(command, &block)
|
|
14950
14951
|
end
|
|
14951
14952
|
|
|
14953
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
|
14954
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
|
14955
|
+
# will be specified in the request.
|
|
14956
|
+
# @param [String] endpoint
|
|
14957
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
|
14958
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
|
14959
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object
|
|
14960
|
+
# @param [String] deployed_model_id
|
|
14961
|
+
# ID of the DeployedModel that serves the invoke request.
|
|
14962
|
+
# @param [String] fields
|
|
14963
|
+
# Selector specifying which fields to include in a partial response.
|
|
14964
|
+
# @param [String] quota_user
|
|
14965
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14966
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14967
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14968
|
+
# Request-specific options
|
|
14969
|
+
#
|
|
14970
|
+
# @yield [result, err] Result & error if block supplied
|
|
14971
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
|
14972
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14973
|
+
#
|
|
14974
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
|
14975
|
+
#
|
|
14976
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14977
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14978
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14979
|
+
def completions_project_location_endpoint_openapi(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
14980
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/completions', options)
|
|
14981
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
|
14982
|
+
command.request_object = google_api_http_body_object
|
|
14983
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
|
14984
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
|
14985
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
|
14986
|
+
command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
|
14987
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14988
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14989
|
+
execute_or_queue_command(command, &block)
|
|
14990
|
+
end
|
|
14991
|
+
|
|
14952
14992
|
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
|
14953
14993
|
# To use this method, invoke_route_prefix must be set to allow the paths that
|
|
14954
14994
|
# will be specified in the request.
|
|
@@ -31389,7 +31429,8 @@ module Google
|
|
|
31389
31429
|
# Perform a streaming online prediction with an arbitrary HTTP payload.
|
|
31390
31430
|
# @param [String] endpoint
|
|
31391
31431
|
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
|
31392
|
-
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
|
31432
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
|
31433
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
|
31393
31434
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
|
|
31394
31435
|
# @param [String] fields
|
|
31395
31436
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.70.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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.70.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:
|