google-apis-aiplatform_v1 0.18.0 → 0.19.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa6a094f391c51a6e7277a7a1500dcaba07e0d3172d90c7b02f326e64742a799
|
4
|
+
data.tar.gz: 82314d037d6b270a5ca28c965d1b75546818d7411535eccd81a32517e388f228
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abfc426549846e7afc6278b35535e4e96f786411d7c9cea4b266ff6b63971fa97cd2f8cdc99b627d5cd4bd522e5006e1b5d97803fa002f36ee63bb6e5a71c9f0
|
7
|
+
data.tar.gz: cadbd7d53a145024a6f7ab2274d4aa51fa0954ef693fa4060b81ca0b97d445514e33648bd0ba242f13232a21cb8910a7c91552f46aabce548ba238e190387156
|
data/CHANGELOG.md
CHANGED
@@ -802,6 +802,11 @@ module Google
|
|
802
802
|
# @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob]
|
803
803
|
attr_accessor :inline_data
|
804
804
|
|
805
|
+
# Metadata provides extra info for building the LM Root request.
|
806
|
+
# Corresponds to the JSON property `lmRootMetadata`
|
807
|
+
# @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartLmRootMetadata]
|
808
|
+
attr_accessor :lm_root_metadata
|
809
|
+
|
805
810
|
# Text input.
|
806
811
|
# Corresponds to the JSON property `text`
|
807
812
|
# @return [String]
|
@@ -823,6 +828,7 @@ module Google
|
|
823
828
|
@function_call = args[:function_call] if args.key?(:function_call)
|
824
829
|
@function_response = args[:function_response] if args.key?(:function_response)
|
825
830
|
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
831
|
+
@lm_root_metadata = args[:lm_root_metadata] if args.key?(:lm_root_metadata)
|
826
832
|
@text = args[:text] if args.key?(:text)
|
827
833
|
@video_metadata = args[:video_metadata] if args.key?(:video_metadata)
|
828
834
|
end
|
@@ -911,6 +917,25 @@ module Google
|
|
911
917
|
end
|
912
918
|
end
|
913
919
|
|
920
|
+
# Metadata provides extra info for building the LM Root request.
|
921
|
+
class CloudAiNlLlmProtoServicePartLmRootMetadata
|
922
|
+
include Google::Apis::Core::Hashable
|
923
|
+
|
924
|
+
# Chunk id that will be used when mapping the part to the LM Root's chunk.
|
925
|
+
# Corresponds to the JSON property `chunkId`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :chunk_id
|
928
|
+
|
929
|
+
def initialize(**args)
|
930
|
+
update!(**args)
|
931
|
+
end
|
932
|
+
|
933
|
+
# Update properties of this object
|
934
|
+
def update!(**args)
|
935
|
+
@chunk_id = args[:chunk_id] if args.key?(:chunk_id)
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
914
939
|
# Metadata describes the input video content.
|
915
940
|
class CloudAiNlLlmProtoServicePartVideoMetadata
|
916
941
|
include Google::Apis::Core::Hashable
|
@@ -2941,11 +2966,11 @@ module Google
|
|
2941
2966
|
end
|
2942
2967
|
end
|
2943
2968
|
|
2944
|
-
#
|
2969
|
+
# Content blob. It's preferred to send as text directly rather than raw bytes.
|
2945
2970
|
class GoogleCloudAiplatformV1Blob
|
2946
2971
|
include Google::Apis::Core::Hashable
|
2947
2972
|
|
2948
|
-
# Required. Raw bytes
|
2973
|
+
# Required. Raw bytes.
|
2949
2974
|
# Corresponds to the JSON property `data`
|
2950
2975
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2951
2976
|
# @return [String]
|
@@ -5667,6 +5692,13 @@ module Google
|
|
5667
5692
|
attr_accessor :disable_container_logging
|
5668
5693
|
alias_method :disable_container_logging?, :disable_container_logging
|
5669
5694
|
|
5695
|
+
# If true, deploy the model without explainable feature, regardless the
|
5696
|
+
# existence of Model.explanation_spec or explanation_spec.
|
5697
|
+
# Corresponds to the JSON property `disableExplanations`
|
5698
|
+
# @return [Boolean]
|
5699
|
+
attr_accessor :disable_explanations
|
5700
|
+
alias_method :disable_explanations?, :disable_explanations
|
5701
|
+
|
5670
5702
|
# The display name of the DeployedModel. If not provided upon creation, the
|
5671
5703
|
# Model's display_name is used.
|
5672
5704
|
# Corresponds to the JSON property `displayName`
|
@@ -5744,6 +5776,7 @@ module Google
|
|
5744
5776
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5745
5777
|
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
5746
5778
|
@disable_container_logging = args[:disable_container_logging] if args.key?(:disable_container_logging)
|
5779
|
+
@disable_explanations = args[:disable_explanations] if args.key?(:disable_explanations)
|
5747
5780
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5748
5781
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
5749
5782
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
@@ -8194,6 +8227,13 @@ module Google
|
|
8194
8227
|
# @return [String]
|
8195
8228
|
attr_accessor :create_time
|
8196
8229
|
|
8230
|
+
# The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
|
8231
|
+
# when you choose Optimized storage type. Public endpoint is provisioned by
|
8232
|
+
# default.
|
8233
|
+
# Corresponds to the JSON property `dedicatedServingEndpoint`
|
8234
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint]
|
8235
|
+
attr_accessor :dedicated_serving_endpoint
|
8236
|
+
|
8197
8237
|
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
8198
8238
|
# blind "overwrite" update happens.
|
8199
8239
|
# Corresponds to the JSON property `etag`
|
@@ -8218,6 +8258,11 @@ module Google
|
|
8218
8258
|
# @return [String]
|
8219
8259
|
attr_accessor :name
|
8220
8260
|
|
8261
|
+
# Optimized storage type
|
8262
|
+
# Corresponds to the JSON property `optimized`
|
8263
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized]
|
8264
|
+
attr_accessor :optimized
|
8265
|
+
|
8221
8266
|
# Output only. State of the featureOnlineStore.
|
8222
8267
|
# Corresponds to the JSON property `state`
|
8223
8268
|
# @return [String]
|
@@ -8236,9 +8281,11 @@ module Google
|
|
8236
8281
|
def update!(**args)
|
8237
8282
|
@bigtable = args[:bigtable] if args.key?(:bigtable)
|
8238
8283
|
@create_time = args[:create_time] if args.key?(:create_time)
|
8284
|
+
@dedicated_serving_endpoint = args[:dedicated_serving_endpoint] if args.key?(:dedicated_serving_endpoint)
|
8239
8285
|
@etag = args[:etag] if args.key?(:etag)
|
8240
8286
|
@labels = args[:labels] if args.key?(:labels)
|
8241
8287
|
@name = args[:name] if args.key?(:name)
|
8288
|
+
@optimized = args[:optimized] if args.key?(:optimized)
|
8242
8289
|
@state = args[:state] if args.key?(:state)
|
8243
8290
|
@update_time = args[:update_time] if args.key?(:update_time)
|
8244
8291
|
end
|
@@ -8301,6 +8348,41 @@ module Google
|
|
8301
8348
|
end
|
8302
8349
|
end
|
8303
8350
|
|
8351
|
+
# The dedicated serving endpoint for this FeatureOnlineStore. Only need to set
|
8352
|
+
# when you choose Optimized storage type. Public endpoint is provisioned by
|
8353
|
+
# default.
|
8354
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
|
8355
|
+
include Google::Apis::Core::Hashable
|
8356
|
+
|
8357
|
+
# Output only. This field will be populated with the domain name to use for this
|
8358
|
+
# FeatureOnlineStore
|
8359
|
+
# Corresponds to the JSON property `publicEndpointDomainName`
|
8360
|
+
# @return [String]
|
8361
|
+
attr_accessor :public_endpoint_domain_name
|
8362
|
+
|
8363
|
+
def initialize(**args)
|
8364
|
+
update!(**args)
|
8365
|
+
end
|
8366
|
+
|
8367
|
+
# Update properties of this object
|
8368
|
+
def update!(**args)
|
8369
|
+
@public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
|
8370
|
+
end
|
8371
|
+
end
|
8372
|
+
|
8373
|
+
# Optimized storage type
|
8374
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreOptimized
|
8375
|
+
include Google::Apis::Core::Hashable
|
8376
|
+
|
8377
|
+
def initialize(**args)
|
8378
|
+
update!(**args)
|
8379
|
+
end
|
8380
|
+
|
8381
|
+
# Update properties of this object
|
8382
|
+
def update!(**args)
|
8383
|
+
end
|
8384
|
+
end
|
8385
|
+
|
8304
8386
|
# Selector for Features of an EntityType.
|
8305
8387
|
class GoogleCloudAiplatformV1FeatureSelector
|
8306
8388
|
include Google::Apis::Core::Hashable
|
@@ -8578,6 +8660,11 @@ module Google
|
|
8578
8660
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource]
|
8579
8661
|
attr_accessor :feature_registry_source
|
8580
8662
|
|
8663
|
+
# Configuration for vector indexing.
|
8664
|
+
# Corresponds to the JSON property `indexConfig`
|
8665
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfig]
|
8666
|
+
attr_accessor :index_config
|
8667
|
+
|
8581
8668
|
# Optional. The labels with user-defined metadata to organize your FeatureViews.
|
8582
8669
|
# Label keys and values can be no longer than 64 characters (Unicode codepoints),
|
8583
8670
|
# can only contain lowercase letters, numeric characters, underscores and
|
@@ -8617,6 +8704,7 @@ module Google
|
|
8617
8704
|
@create_time = args[:create_time] if args.key?(:create_time)
|
8618
8705
|
@etag = args[:etag] if args.key?(:etag)
|
8619
8706
|
@feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
|
8707
|
+
@index_config = args[:index_config] if args.key?(:index_config)
|
8620
8708
|
@labels = args[:labels] if args.key?(:labels)
|
8621
8709
|
@name = args[:name] if args.key?(:name)
|
8622
8710
|
@sync_config = args[:sync_config] if args.key?(:sync_config)
|
@@ -8746,6 +8834,100 @@ module Google
|
|
8746
8834
|
end
|
8747
8835
|
end
|
8748
8836
|
|
8837
|
+
# Configuration for vector indexing.
|
8838
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfig
|
8839
|
+
include Google::Apis::Core::Hashable
|
8840
|
+
|
8841
|
+
# Configuration options for using brute force search.
|
8842
|
+
# Corresponds to the JSON property `bruteForceConfig`
|
8843
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig]
|
8844
|
+
attr_accessor :brute_force_config
|
8845
|
+
|
8846
|
+
# Optional. Column of crowding. This column contains crowding attribute which is
|
8847
|
+
# a constraint on a neighbor list produced by FeatureOnlineStoreService.
|
8848
|
+
# SearchNearestEntities to diversify search results. If NearestNeighborQuery.
|
8849
|
+
# per_crowding_attribute_neighbor_count is set to K in
|
8850
|
+
# SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of
|
8851
|
+
# the same crowding attribute are returned in the response.
|
8852
|
+
# Corresponds to the JSON property `crowdingColumn`
|
8853
|
+
# @return [String]
|
8854
|
+
attr_accessor :crowding_column
|
8855
|
+
|
8856
|
+
# Optional. The distance measure used in nearest neighbor search.
|
8857
|
+
# Corresponds to the JSON property `distanceMeasureType`
|
8858
|
+
# @return [String]
|
8859
|
+
attr_accessor :distance_measure_type
|
8860
|
+
|
8861
|
+
# Optional. Column of embedding. This column contains the source data to create
|
8862
|
+
# index for vector search. embedding_column must be set when using vector search.
|
8863
|
+
# Corresponds to the JSON property `embeddingColumn`
|
8864
|
+
# @return [String]
|
8865
|
+
attr_accessor :embedding_column
|
8866
|
+
|
8867
|
+
# Optional. The number of dimensions of the input embedding.
|
8868
|
+
# Corresponds to the JSON property `embeddingDimension`
|
8869
|
+
# @return [Fixnum]
|
8870
|
+
attr_accessor :embedding_dimension
|
8871
|
+
|
8872
|
+
# Optional. Columns of features that're used to filter vector search results.
|
8873
|
+
# Corresponds to the JSON property `filterColumns`
|
8874
|
+
# @return [Array<String>]
|
8875
|
+
attr_accessor :filter_columns
|
8876
|
+
|
8877
|
+
# Configuration options for the tree-AH algorithm.
|
8878
|
+
# Corresponds to the JSON property `treeAhConfig`
|
8879
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig]
|
8880
|
+
attr_accessor :tree_ah_config
|
8881
|
+
|
8882
|
+
def initialize(**args)
|
8883
|
+
update!(**args)
|
8884
|
+
end
|
8885
|
+
|
8886
|
+
# Update properties of this object
|
8887
|
+
def update!(**args)
|
8888
|
+
@brute_force_config = args[:brute_force_config] if args.key?(:brute_force_config)
|
8889
|
+
@crowding_column = args[:crowding_column] if args.key?(:crowding_column)
|
8890
|
+
@distance_measure_type = args[:distance_measure_type] if args.key?(:distance_measure_type)
|
8891
|
+
@embedding_column = args[:embedding_column] if args.key?(:embedding_column)
|
8892
|
+
@embedding_dimension = args[:embedding_dimension] if args.key?(:embedding_dimension)
|
8893
|
+
@filter_columns = args[:filter_columns] if args.key?(:filter_columns)
|
8894
|
+
@tree_ah_config = args[:tree_ah_config] if args.key?(:tree_ah_config)
|
8895
|
+
end
|
8896
|
+
end
|
8897
|
+
|
8898
|
+
# Configuration options for using brute force search.
|
8899
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig
|
8900
|
+
include Google::Apis::Core::Hashable
|
8901
|
+
|
8902
|
+
def initialize(**args)
|
8903
|
+
update!(**args)
|
8904
|
+
end
|
8905
|
+
|
8906
|
+
# Update properties of this object
|
8907
|
+
def update!(**args)
|
8908
|
+
end
|
8909
|
+
end
|
8910
|
+
|
8911
|
+
# Configuration options for the tree-AH algorithm.
|
8912
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig
|
8913
|
+
include Google::Apis::Core::Hashable
|
8914
|
+
|
8915
|
+
# Optional. Number of embeddings on each leaf node. The default value is 1000 if
|
8916
|
+
# not set.
|
8917
|
+
# Corresponds to the JSON property `leafNodeEmbeddingCount`
|
8918
|
+
# @return [Fixnum]
|
8919
|
+
attr_accessor :leaf_node_embedding_count
|
8920
|
+
|
8921
|
+
def initialize(**args)
|
8922
|
+
update!(**args)
|
8923
|
+
end
|
8924
|
+
|
8925
|
+
# Update properties of this object
|
8926
|
+
def update!(**args)
|
8927
|
+
@leaf_node_embedding_count = args[:leaf_node_embedding_count] if args.key?(:leaf_node_embedding_count)
|
8928
|
+
end
|
8929
|
+
end
|
8930
|
+
|
8749
8931
|
# FeatureViewSync is a representation of sync operation which copies data from
|
8750
8932
|
# data source to Feature View in Online Store.
|
8751
8933
|
class GoogleCloudAiplatformV1FeatureViewSync
|
@@ -9682,6 +9864,14 @@ module Google
|
|
9682
9864
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting>]
|
9683
9865
|
attr_accessor :safety_settings
|
9684
9866
|
|
9867
|
+
# The base structured datatype containing multi-part content of a message. A `
|
9868
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
9869
|
+
# a `parts` field containing multi-part data that contains the content of the
|
9870
|
+
# message turn.
|
9871
|
+
# Corresponds to the JSON property `systemInstruction`
|
9872
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
|
9873
|
+
attr_accessor :system_instruction
|
9874
|
+
|
9685
9875
|
# Optional. A list of `Tools` the model may use to generate the next response. A
|
9686
9876
|
# `Tool` is a piece of code that enables the system to interact with external
|
9687
9877
|
# systems to perform an action, or set of actions, outside of knowledge and
|
@@ -9699,6 +9889,7 @@ module Google
|
|
9699
9889
|
@contents = args[:contents] if args.key?(:contents)
|
9700
9890
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
9701
9891
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
9892
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
9702
9893
|
@tools = args[:tools] if args.key?(:tools)
|
9703
9894
|
end
|
9704
9895
|
end
|
@@ -9805,11 +9996,21 @@ module Google
|
|
9805
9996
|
# @return [Fixnum]
|
9806
9997
|
attr_accessor :candidate_count
|
9807
9998
|
|
9999
|
+
# Optional. Frequency penalties.
|
10000
|
+
# Corresponds to the JSON property `frequencyPenalty`
|
10001
|
+
# @return [Float]
|
10002
|
+
attr_accessor :frequency_penalty
|
10003
|
+
|
9808
10004
|
# Optional. The maximum number of output tokens to generate per message.
|
9809
10005
|
# Corresponds to the JSON property `maxOutputTokens`
|
9810
10006
|
# @return [Fixnum]
|
9811
10007
|
attr_accessor :max_output_tokens
|
9812
10008
|
|
10009
|
+
# Optional. Positive penalties.
|
10010
|
+
# Corresponds to the JSON property `presencePenalty`
|
10011
|
+
# @return [Float]
|
10012
|
+
attr_accessor :presence_penalty
|
10013
|
+
|
9813
10014
|
# Optional. Stop sequences.
|
9814
10015
|
# Corresponds to the JSON property `stopSequences`
|
9815
10016
|
# @return [Array<String>]
|
@@ -9837,7 +10038,9 @@ module Google
|
|
9837
10038
|
# Update properties of this object
|
9838
10039
|
def update!(**args)
|
9839
10040
|
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
10041
|
+
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
9840
10042
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
10043
|
+
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
9841
10044
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
9842
10045
|
@temperature = args[:temperature] if args.key?(:temperature)
|
9843
10046
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -9987,6 +10190,11 @@ module Google
|
|
9987
10190
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution>]
|
9988
10191
|
attr_accessor :grounding_attributions
|
9989
10192
|
|
10193
|
+
# Optional. Queries executed by the retrieval tools.
|
10194
|
+
# Corresponds to the JSON property `retrievalQueries`
|
10195
|
+
# @return [Array<String>]
|
10196
|
+
attr_accessor :retrieval_queries
|
10197
|
+
|
9990
10198
|
# Optional. Web search queries for the following-up web search.
|
9991
10199
|
# Corresponds to the JSON property `webSearchQueries`
|
9992
10200
|
# @return [Array<String>]
|
@@ -9999,6 +10207,7 @@ module Google
|
|
9999
10207
|
# Update properties of this object
|
10000
10208
|
def update!(**args)
|
10001
10209
|
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
10210
|
+
@retrieval_queries = args[:retrieval_queries] if args.key?(:retrieval_queries)
|
10002
10211
|
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
10003
10212
|
end
|
10004
10213
|
end
|
@@ -16157,7 +16366,7 @@ module Google
|
|
16157
16366
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse]
|
16158
16367
|
attr_accessor :function_response
|
16159
16368
|
|
16160
|
-
#
|
16369
|
+
# Content blob. It's preferred to send as text directly rather than raw bytes.
|
16161
16370
|
# Corresponds to the JSON property `inlineData`
|
16162
16371
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob]
|
16163
16372
|
attr_accessor :inline_data
|
@@ -31126,6 +31335,12 @@ module Google
|
|
31126
31335
|
# @return [Google::Apis::AiplatformV1::LearningGenaiRootHarmGrailTextHarmType]
|
31127
31336
|
attr_accessor :grail_text_harm_type
|
31128
31337
|
|
31338
|
+
#
|
31339
|
+
# Corresponds to the JSON property `imageChild`
|
31340
|
+
# @return [Boolean]
|
31341
|
+
attr_accessor :image_child
|
31342
|
+
alias_method :image_child?, :image_child
|
31343
|
+
|
31129
31344
|
#
|
31130
31345
|
# Corresponds to the JSON property `imageCsam`
|
31131
31346
|
# @return [Boolean]
|
@@ -31173,6 +31388,12 @@ module Google
|
|
31173
31388
|
# @return [Float]
|
31174
31389
|
attr_accessor :threshold
|
31175
31390
|
|
31391
|
+
#
|
31392
|
+
# Corresponds to the JSON property `videoFrameChild`
|
31393
|
+
# @return [Boolean]
|
31394
|
+
attr_accessor :video_frame_child
|
31395
|
+
alias_method :video_frame_child?, :video_frame_child
|
31396
|
+
|
31176
31397
|
#
|
31177
31398
|
# Corresponds to the JSON property `videoFrameCsam`
|
31178
31399
|
# @return [Boolean]
|
@@ -31208,6 +31429,7 @@ module Google
|
|
31208
31429
|
@fringe = args[:fringe] if args.key?(:fringe)
|
31209
31430
|
@grail_image_harm_type = args[:grail_image_harm_type] if args.key?(:grail_image_harm_type)
|
31210
31431
|
@grail_text_harm_type = args[:grail_text_harm_type] if args.key?(:grail_text_harm_type)
|
31432
|
+
@image_child = args[:image_child] if args.key?(:image_child)
|
31211
31433
|
@image_csam = args[:image_csam] if args.key?(:image_csam)
|
31212
31434
|
@image_pedo = args[:image_pedo] if args.key?(:image_pedo)
|
31213
31435
|
@image_porn = args[:image_porn] if args.key?(:image_porn)
|
@@ -31216,6 +31438,7 @@ module Google
|
|
31216
31438
|
@safetycat = args[:safetycat] if args.key?(:safetycat)
|
31217
31439
|
@spii = args[:spii] if args.key?(:spii)
|
31218
31440
|
@threshold = args[:threshold] if args.key?(:threshold)
|
31441
|
+
@video_frame_child = args[:video_frame_child] if args.key?(:video_frame_child)
|
31219
31442
|
@video_frame_csam = args[:video_frame_csam] if args.key?(:video_frame_csam)
|
31220
31443
|
@video_frame_pedo = args[:video_frame_pedo] if args.key?(:video_frame_pedo)
|
31221
31444
|
@video_frame_porn = args[:video_frame_porn] if args.key?(:video_frame_porn)
|
@@ -31633,6 +31856,18 @@ module Google
|
|
31633
31856
|
# @return [String]
|
31634
31857
|
attr_accessor :model_id
|
31635
31858
|
|
31859
|
+
# If true, the model was selected as a fallback, since no model met requirements.
|
31860
|
+
# Corresponds to the JSON property `pickedAsFallback`
|
31861
|
+
# @return [Boolean]
|
31862
|
+
attr_accessor :picked_as_fallback
|
31863
|
+
alias_method :picked_as_fallback?, :picked_as_fallback
|
31864
|
+
|
31865
|
+
# If true, the model was selected since it met the requriements.
|
31866
|
+
# Corresponds to the JSON property `selected`
|
31867
|
+
# @return [Boolean]
|
31868
|
+
attr_accessor :selected
|
31869
|
+
alias_method :selected?, :selected
|
31870
|
+
|
31636
31871
|
def initialize(**args)
|
31637
31872
|
update!(**args)
|
31638
31873
|
end
|
@@ -31641,6 +31876,8 @@ module Google
|
|
31641
31876
|
def update!(**args)
|
31642
31877
|
@computed_input_token_length = args[:computed_input_token_length] if args.key?(:computed_input_token_length)
|
31643
31878
|
@model_id = args[:model_id] if args.key?(:model_id)
|
31879
|
+
@picked_as_fallback = args[:picked_as_fallback] if args.key?(:picked_as_fallback)
|
31880
|
+
@selected = args[:selected] if args.key?(:selected)
|
31644
31881
|
end
|
31645
31882
|
end
|
31646
31883
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,12 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class CloudAiNlLlmProtoServicePartLmRootMetadata
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
187
193
|
class CloudAiNlLlmProtoServicePartVideoMetadata
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
@@ -1402,6 +1408,18 @@ module Google
|
|
1402
1408
|
include Google::Apis::Core::JsonObjectSupport
|
1403
1409
|
end
|
1404
1410
|
|
1411
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1413
|
+
|
1414
|
+
include Google::Apis::Core::JsonObjectSupport
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreOptimized
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1405
1423
|
class GoogleCloudAiplatformV1FeatureSelector
|
1406
1424
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
1425
|
|
@@ -1474,6 +1492,24 @@ module Google
|
|
1474
1492
|
include Google::Apis::Core::JsonObjectSupport
|
1475
1493
|
end
|
1476
1494
|
|
1495
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfig
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
|
+
|
1498
|
+
include Google::Apis::Core::JsonObjectSupport
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
+
|
1504
|
+
include Google::Apis::Core::JsonObjectSupport
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
|
+
|
1510
|
+
include Google::Apis::Core::JsonObjectSupport
|
1511
|
+
end
|
1512
|
+
|
1477
1513
|
class GoogleCloudAiplatformV1FeatureViewSync
|
1478
1514
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1479
1515
|
|
@@ -5551,6 +5587,8 @@ module Google
|
|
5551
5587
|
|
5552
5588
|
property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob::Representation
|
5553
5589
|
|
5590
|
+
property :lm_root_metadata, as: 'lmRootMetadata', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartLmRootMetadata, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartLmRootMetadata::Representation
|
5591
|
+
|
5554
5592
|
property :text, as: 'text'
|
5555
5593
|
property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata::Representation
|
5556
5594
|
|
@@ -5584,6 +5622,13 @@ module Google
|
|
5584
5622
|
end
|
5585
5623
|
end
|
5586
5624
|
|
5625
|
+
class CloudAiNlLlmProtoServicePartLmRootMetadata
|
5626
|
+
# @private
|
5627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5628
|
+
property :chunk_id, as: 'chunkId'
|
5629
|
+
end
|
5630
|
+
end
|
5631
|
+
|
5587
5632
|
class CloudAiNlLlmProtoServicePartVideoMetadata
|
5588
5633
|
# @private
|
5589
5634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6939,6 +6984,7 @@ module Google
|
|
6939
6984
|
property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
|
6940
6985
|
|
6941
6986
|
property :disable_container_logging, as: 'disableContainerLogging'
|
6987
|
+
property :disable_explanations, as: 'disableExplanations'
|
6942
6988
|
property :display_name, as: 'displayName'
|
6943
6989
|
property :enable_access_logging, as: 'enableAccessLogging'
|
6944
6990
|
property :explanation_spec, as: 'explanationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExplanationSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExplanationSpec::Representation
|
@@ -7591,9 +7637,13 @@ module Google
|
|
7591
7637
|
property :bigtable, as: 'bigtable', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreBigtable, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreBigtable::Representation
|
7592
7638
|
|
7593
7639
|
property :create_time, as: 'createTime'
|
7640
|
+
property :dedicated_serving_endpoint, as: 'dedicatedServingEndpoint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint::Representation
|
7641
|
+
|
7594
7642
|
property :etag, as: 'etag'
|
7595
7643
|
hash :labels, as: 'labels'
|
7596
7644
|
property :name, as: 'name'
|
7645
|
+
property :optimized, as: 'optimized', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreOptimized::Representation
|
7646
|
+
|
7597
7647
|
property :state, as: 'state'
|
7598
7648
|
property :update_time, as: 'updateTime'
|
7599
7649
|
end
|
@@ -7616,6 +7666,19 @@ module Google
|
|
7616
7666
|
end
|
7617
7667
|
end
|
7618
7668
|
|
7669
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
|
7670
|
+
# @private
|
7671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7672
|
+
property :public_endpoint_domain_name, as: 'publicEndpointDomainName'
|
7673
|
+
end
|
7674
|
+
end
|
7675
|
+
|
7676
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreOptimized
|
7677
|
+
# @private
|
7678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7679
|
+
end
|
7680
|
+
end
|
7681
|
+
|
7619
7682
|
class GoogleCloudAiplatformV1FeatureSelector
|
7620
7683
|
# @private
|
7621
7684
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7694,6 +7757,8 @@ module Google
|
|
7694
7757
|
property :etag, as: 'etag'
|
7695
7758
|
property :feature_registry_source, as: 'featureRegistrySource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource::Representation
|
7696
7759
|
|
7760
|
+
property :index_config, as: 'indexConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfig::Representation
|
7761
|
+
|
7697
7762
|
hash :labels, as: 'labels'
|
7698
7763
|
property :name, as: 'name'
|
7699
7764
|
property :sync_config, as: 'syncConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig::Representation
|
@@ -7743,6 +7808,34 @@ module Google
|
|
7743
7808
|
end
|
7744
7809
|
end
|
7745
7810
|
|
7811
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfig
|
7812
|
+
# @private
|
7813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7814
|
+
property :brute_force_config, as: 'bruteForceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig::Representation
|
7815
|
+
|
7816
|
+
property :crowding_column, as: 'crowdingColumn'
|
7817
|
+
property :distance_measure_type, as: 'distanceMeasureType'
|
7818
|
+
property :embedding_column, as: 'embeddingColumn'
|
7819
|
+
property :embedding_dimension, as: 'embeddingDimension'
|
7820
|
+
collection :filter_columns, as: 'filterColumns'
|
7821
|
+
property :tree_ah_config, as: 'treeAhConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig::Representation
|
7822
|
+
|
7823
|
+
end
|
7824
|
+
end
|
7825
|
+
|
7826
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig
|
7827
|
+
# @private
|
7828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7829
|
+
end
|
7830
|
+
end
|
7831
|
+
|
7832
|
+
class GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAhConfig
|
7833
|
+
# @private
|
7834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7835
|
+
property :leaf_node_embedding_count, :numeric_string => true, as: 'leafNodeEmbeddingCount'
|
7836
|
+
end
|
7837
|
+
end
|
7838
|
+
|
7746
7839
|
class GoogleCloudAiplatformV1FeatureViewSync
|
7747
7840
|
# @private
|
7748
7841
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8005,6 +8098,8 @@ module Google
|
|
8005
8098
|
|
8006
8099
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting::Representation
|
8007
8100
|
|
8101
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
8102
|
+
|
8008
8103
|
collection :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool::Representation
|
8009
8104
|
|
8010
8105
|
end
|
@@ -8045,7 +8140,9 @@ module Google
|
|
8045
8140
|
# @private
|
8046
8141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8047
8142
|
property :candidate_count, as: 'candidateCount'
|
8143
|
+
property :frequency_penalty, as: 'frequencyPenalty'
|
8048
8144
|
property :max_output_tokens, as: 'maxOutputTokens'
|
8145
|
+
property :presence_penalty, as: 'presencePenalty'
|
8049
8146
|
collection :stop_sequences, as: 'stopSequences'
|
8050
8147
|
property :temperature, as: 'temperature'
|
8051
8148
|
property :top_k, as: 'topK'
|
@@ -8101,6 +8198,7 @@ module Google
|
|
8101
8198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8102
8199
|
collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution::Representation
|
8103
8200
|
|
8201
|
+
collection :retrieval_queries, as: 'retrievalQueries'
|
8104
8202
|
collection :web_search_queries, as: 'webSearchQueries'
|
8105
8203
|
end
|
8106
8204
|
end
|
@@ -13833,6 +13931,7 @@ module Google
|
|
13833
13931
|
|
13834
13932
|
property :grail_text_harm_type, as: 'grailTextHarmType', class: Google::Apis::AiplatformV1::LearningGenaiRootHarmGrailTextHarmType, decorator: Google::Apis::AiplatformV1::LearningGenaiRootHarmGrailTextHarmType::Representation
|
13835
13933
|
|
13934
|
+
property :image_child, as: 'imageChild'
|
13836
13935
|
property :image_csam, as: 'imageCsam'
|
13837
13936
|
property :image_pedo, as: 'imagePedo'
|
13838
13937
|
property :image_porn, as: 'imagePorn'
|
@@ -13843,6 +13942,7 @@ module Google
|
|
13843
13942
|
property :spii, as: 'spii', class: Google::Apis::AiplatformV1::LearningGenaiRootHarmSpiiFilter, decorator: Google::Apis::AiplatformV1::LearningGenaiRootHarmSpiiFilter::Representation
|
13844
13943
|
|
13845
13944
|
property :threshold, as: 'threshold'
|
13945
|
+
property :video_frame_child, as: 'videoFrameChild'
|
13846
13946
|
property :video_frame_csam, as: 'videoFrameCsam'
|
13847
13947
|
property :video_frame_pedo, as: 'videoFramePedo'
|
13848
13948
|
property :video_frame_porn, as: 'videoFramePorn'
|
@@ -13982,6 +14082,8 @@ module Google
|
|
13982
14082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13983
14083
|
property :computed_input_token_length, as: 'computedInputTokenLength'
|
13984
14084
|
property :model_id, as: 'modelId'
|
14085
|
+
property :picked_as_fallback, as: 'pickedAsFallback'
|
14086
|
+
property :selected, as: 'selected'
|
13985
14087
|
end
|
13986
14088
|
end
|
13987
14089
|
|
@@ -18841,6 +18841,46 @@ module Google
|
|
18841
18841
|
execute_or_queue_command(command, &block)
|
18842
18842
|
end
|
18843
18843
|
|
18844
|
+
# Lists operations that match the specified filter in the request. If the server
|
18845
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
18846
|
+
# @param [String] name
|
18847
|
+
# The name of the operation's parent resource.
|
18848
|
+
# @param [String] filter
|
18849
|
+
# The standard list filter.
|
18850
|
+
# @param [Fixnum] page_size
|
18851
|
+
# The standard list page size.
|
18852
|
+
# @param [String] page_token
|
18853
|
+
# The standard list page token.
|
18854
|
+
# @param [String] fields
|
18855
|
+
# Selector specifying which fields to include in a partial response.
|
18856
|
+
# @param [String] quota_user
|
18857
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18858
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18859
|
+
# @param [Google::Apis::RequestOptions] options
|
18860
|
+
# Request-specific options
|
18861
|
+
#
|
18862
|
+
# @yield [result, err] Result & error if block supplied
|
18863
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
18864
|
+
# @yieldparam err [StandardError] error object if request failed
|
18865
|
+
#
|
18866
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
18867
|
+
#
|
18868
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18869
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18870
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18871
|
+
def list_project_location_tuning_job_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18872
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
18873
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
18874
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
18875
|
+
command.params['name'] = name unless name.nil?
|
18876
|
+
command.query['filter'] = filter unless filter.nil?
|
18877
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
18878
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
18879
|
+
command.query['fields'] = fields unless fields.nil?
|
18880
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18881
|
+
execute_or_queue_command(command, &block)
|
18882
|
+
end
|
18883
|
+
|
18844
18884
|
# Gets a Model Garden publisher model.
|
18845
18885
|
# @param [String] name
|
18846
18886
|
# Required. The name of the PublisherModel resource. Format: `publishers/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|