google-apis-aiplatform_v1 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/aiplatform_v1/classes.rb +207 -96
- data/lib/google/apis/aiplatform_v1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1/representations.rb +97 -45
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3654b6b1de0755bc87106847afa071bbc49c4c5194a8a26c7544275bdd416443
|
4
|
+
data.tar.gz: 3970daf356ded8964e9e95683eb9bb6989ea00ccc50afe71de1e728a44d2b147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05565b2bf3b36c343012d1318ba03f8cafb93ac9be810ce3364686fcfbb9ed6e57093fb2da3b1487d0c2b5724ebdc64ee7105f26b2f2a8cf85ecd9397c24709f
|
7
|
+
data.tar.gz: 89aadb5c151481553a592d1e67b4ce9c01f211fc5dfb1de395fadde937be194ddb405ab9dd6014d32cf0de6166e37cbc16f9e3c89da91080c35bb42d76bfb646
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2024-02-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240219
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
3
8
|
### v0.14.0 (2024-02-18)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240213
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/vertex-ai/) may provide gui
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionImageRaiScores]
|
136
136
|
attr_accessor :image_rai_scores
|
137
137
|
|
138
|
-
# RAI info for image
|
138
|
+
# RAI info for image.
|
139
139
|
# Corresponds to the JSON property `raiInfo`
|
140
140
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfo]
|
141
141
|
attr_accessor :rai_info
|
@@ -145,6 +145,11 @@ module Google
|
|
145
145
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionSemanticFilterResponse]
|
146
146
|
attr_accessor :semantic_filter_response
|
147
147
|
|
148
|
+
# Text/Expanded text input for imagen.
|
149
|
+
# Corresponds to the JSON property `text`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :text
|
152
|
+
|
148
153
|
# Path to another storage (typically Google Cloud Storage).
|
149
154
|
# Corresponds to the JSON property `uri`
|
150
155
|
# @return [String]
|
@@ -161,6 +166,7 @@ module Google
|
|
161
166
|
@image_rai_scores = args[:image_rai_scores] if args.key?(:image_rai_scores)
|
162
167
|
@rai_info = args[:rai_info] if args.key?(:rai_info)
|
163
168
|
@semantic_filter_response = args[:semantic_filter_response] if args.key?(:semantic_filter_response)
|
169
|
+
@text = args[:text] if args.key?(:text)
|
164
170
|
@uri = args[:uri] if args.key?(:uri)
|
165
171
|
end
|
166
172
|
end
|
@@ -4793,12 +4799,23 @@ module Google
|
|
4793
4799
|
# @return [String]
|
4794
4800
|
attr_accessor :create_time
|
4795
4801
|
|
4802
|
+
# The user-defined name of the DatasetVersion. The name can be up to 128
|
4803
|
+
# characters long and can consist of any UTF-8 characters.
|
4804
|
+
# Corresponds to the JSON property `displayName`
|
4805
|
+
# @return [String]
|
4806
|
+
attr_accessor :display_name
|
4807
|
+
|
4796
4808
|
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
4797
4809
|
# overwrite" update happens.
|
4798
4810
|
# Corresponds to the JSON property `etag`
|
4799
4811
|
# @return [String]
|
4800
4812
|
attr_accessor :etag
|
4801
4813
|
|
4814
|
+
# Required. Additional information about the DatasetVersion.
|
4815
|
+
# Corresponds to the JSON property `metadata`
|
4816
|
+
# @return [Object]
|
4817
|
+
attr_accessor :metadata
|
4818
|
+
|
4802
4819
|
# Output only. The resource name of the DatasetVersion.
|
4803
4820
|
# Corresponds to the JSON property `name`
|
4804
4821
|
# @return [String]
|
@@ -4817,7 +4834,9 @@ module Google
|
|
4817
4834
|
def update!(**args)
|
4818
4835
|
@big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
|
4819
4836
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4837
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
4820
4838
|
@etag = args[:etag] if args.key?(:etag)
|
4839
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
4821
4840
|
@name = args[:name] if args.key?(:name)
|
4822
4841
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4823
4842
|
end
|
@@ -7795,6 +7814,12 @@ module Google
|
|
7795
7814
|
# @return [String]
|
7796
7815
|
attr_accessor :name
|
7797
7816
|
|
7817
|
+
# Entity responsible for maintaining this feature. Can be comma separated list
|
7818
|
+
# of email addresses or URIs.
|
7819
|
+
# Corresponds to the JSON property `pointOfContact`
|
7820
|
+
# @return [String]
|
7821
|
+
attr_accessor :point_of_contact
|
7822
|
+
|
7798
7823
|
# Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp
|
7799
7824
|
# when this EntityType was most recently updated.
|
7800
7825
|
# Corresponds to the JSON property `updateTime`
|
@@ -7827,6 +7852,7 @@ module Google
|
|
7827
7852
|
@labels = args[:labels] if args.key?(:labels)
|
7828
7853
|
@monitoring_stats_anomalies = args[:monitoring_stats_anomalies] if args.key?(:monitoring_stats_anomalies)
|
7829
7854
|
@name = args[:name] if args.key?(:name)
|
7855
|
+
@point_of_contact = args[:point_of_contact] if args.key?(:point_of_contact)
|
7830
7856
|
@update_time = args[:update_time] if args.key?(:update_time)
|
7831
7857
|
@value_type = args[:value_type] if args.key?(:value_type)
|
7832
7858
|
@version_column_name = args[:version_column_name] if args.key?(:version_column_name)
|
@@ -7905,8 +7931,8 @@ module Google
|
|
7905
7931
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource]
|
7906
7932
|
attr_accessor :big_query_source
|
7907
7933
|
|
7908
|
-
# Optional. Columns to construct entity_id / row keys.
|
7909
|
-
#
|
7934
|
+
# Optional. Columns to construct entity_id / row keys. If not provided defaults
|
7935
|
+
# to `entity_id`.
|
7910
7936
|
# Corresponds to the JSON property `entityIdColumns`
|
7911
7937
|
# @return [Array<String>]
|
7912
7938
|
attr_accessor :entity_id_columns
|
@@ -8456,8 +8482,7 @@ module Google
|
|
8456
8482
|
class GoogleCloudAiplatformV1FeatureViewBigQuerySource
|
8457
8483
|
include Google::Apis::Core::Hashable
|
8458
8484
|
|
8459
|
-
# Required. Columns to construct entity_id / row keys.
|
8460
|
-
# only.
|
8485
|
+
# Required. Columns to construct entity_id / row keys.
|
8461
8486
|
# Corresponds to the JSON property `entityIdColumns`
|
8462
8487
|
# @return [Array<String>]
|
8463
8488
|
attr_accessor :entity_id_columns
|
@@ -8483,6 +8508,11 @@ module Google
|
|
8483
8508
|
class GoogleCloudAiplatformV1FeatureViewDataKey
|
8484
8509
|
include Google::Apis::Core::Hashable
|
8485
8510
|
|
8511
|
+
# ID that is comprised from several parts (columns).
|
8512
|
+
# Corresponds to the JSON property `compositeKey`
|
8513
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey]
|
8514
|
+
attr_accessor :composite_key
|
8515
|
+
|
8486
8516
|
# String key to use for lookup.
|
8487
8517
|
# Corresponds to the JSON property `key`
|
8488
8518
|
# @return [String]
|
@@ -8494,10 +8524,31 @@ module Google
|
|
8494
8524
|
|
8495
8525
|
# Update properties of this object
|
8496
8526
|
def update!(**args)
|
8527
|
+
@composite_key = args[:composite_key] if args.key?(:composite_key)
|
8497
8528
|
@key = args[:key] if args.key?(:key)
|
8498
8529
|
end
|
8499
8530
|
end
|
8500
8531
|
|
8532
|
+
# ID that is comprised from several parts (columns).
|
8533
|
+
class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey
|
8534
|
+
include Google::Apis::Core::Hashable
|
8535
|
+
|
8536
|
+
# Parts to construct Entity ID. Should match with the same ID columns as defined
|
8537
|
+
# in FeatureView in the same order.
|
8538
|
+
# Corresponds to the JSON property `parts`
|
8539
|
+
# @return [Array<String>]
|
8540
|
+
attr_accessor :parts
|
8541
|
+
|
8542
|
+
def initialize(**args)
|
8543
|
+
update!(**args)
|
8544
|
+
end
|
8545
|
+
|
8546
|
+
# Update properties of this object
|
8547
|
+
def update!(**args)
|
8548
|
+
@parts = args[:parts] if args.key?(:parts)
|
8549
|
+
end
|
8550
|
+
end
|
8551
|
+
|
8501
8552
|
# A Feature Registry source for features that need to be synced to Online Store.
|
8502
8553
|
class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
|
8503
8554
|
include Google::Apis::Core::Hashable
|
@@ -9676,28 +9727,6 @@ module Google
|
|
9676
9727
|
end
|
9677
9728
|
end
|
9678
9729
|
|
9679
|
-
# Tool to retrieve public web data for grounding, powered by Google.
|
9680
|
-
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
9681
|
-
include Google::Apis::Core::Hashable
|
9682
|
-
|
9683
|
-
# Optional. Disable using the result from this tool in detecting grounding
|
9684
|
-
# attribution. This does not affect how the result is given to the model for
|
9685
|
-
# generation.
|
9686
|
-
# Corresponds to the JSON property `disableAttribution`
|
9687
|
-
# @return [Boolean]
|
9688
|
-
attr_accessor :disable_attribution
|
9689
|
-
alias_method :disable_attribution?, :disable_attribution
|
9690
|
-
|
9691
|
-
def initialize(**args)
|
9692
|
-
update!(**args)
|
9693
|
-
end
|
9694
|
-
|
9695
|
-
# Update properties of this object
|
9696
|
-
def update!(**args)
|
9697
|
-
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
9698
|
-
end
|
9699
|
-
end
|
9700
|
-
|
9701
9730
|
# Grounding attribution.
|
9702
9731
|
class GoogleCloudAiplatformV1GroundingAttribution
|
9703
9732
|
include Google::Apis::Core::Hashable
|
@@ -18145,35 +18174,6 @@ module Google
|
|
18145
18174
|
end
|
18146
18175
|
end
|
18147
18176
|
|
18148
|
-
# Defines a retrieval tool that model can call to access external knowledge.
|
18149
|
-
class GoogleCloudAiplatformV1Retrieval
|
18150
|
-
include Google::Apis::Core::Hashable
|
18151
|
-
|
18152
|
-
# Optional. Disable using the result from this tool in detecting grounding
|
18153
|
-
# attribution. This does not affect how the result is given to the model for
|
18154
|
-
# generation.
|
18155
|
-
# Corresponds to the JSON property `disableAttribution`
|
18156
|
-
# @return [Boolean]
|
18157
|
-
attr_accessor :disable_attribution
|
18158
|
-
alias_method :disable_attribution?, :disable_attribution
|
18159
|
-
|
18160
|
-
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
18161
|
-
# google.com/vertex-ai-search-and-conversation
|
18162
|
-
# Corresponds to the JSON property `vertexAiSearch`
|
18163
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch]
|
18164
|
-
attr_accessor :vertex_ai_search
|
18165
|
-
|
18166
|
-
def initialize(**args)
|
18167
|
-
update!(**args)
|
18168
|
-
end
|
18169
|
-
|
18170
|
-
# Update properties of this object
|
18171
|
-
def update!(**args)
|
18172
|
-
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
18173
|
-
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
18174
|
-
end
|
18175
|
-
end
|
18176
|
-
|
18177
18177
|
# Safety rating corresponding to the generated content.
|
18178
18178
|
class GoogleCloudAiplatformV1SafetyRating
|
18179
18179
|
include Google::Apis::Core::Hashable
|
@@ -18195,6 +18195,21 @@ module Google
|
|
18195
18195
|
# @return [String]
|
18196
18196
|
attr_accessor :probability
|
18197
18197
|
|
18198
|
+
# Output only. Harm probability score.
|
18199
|
+
# Corresponds to the JSON property `probabilityScore`
|
18200
|
+
# @return [Float]
|
18201
|
+
attr_accessor :probability_score
|
18202
|
+
|
18203
|
+
# Output only. Harm severity levels in the content.
|
18204
|
+
# Corresponds to the JSON property `severity`
|
18205
|
+
# @return [String]
|
18206
|
+
attr_accessor :severity
|
18207
|
+
|
18208
|
+
# Output only. Harm severity score.
|
18209
|
+
# Corresponds to the JSON property `severityScore`
|
18210
|
+
# @return [Float]
|
18211
|
+
attr_accessor :severity_score
|
18212
|
+
|
18198
18213
|
def initialize(**args)
|
18199
18214
|
update!(**args)
|
18200
18215
|
end
|
@@ -18204,6 +18219,9 @@ module Google
|
|
18204
18219
|
@blocked = args[:blocked] if args.key?(:blocked)
|
18205
18220
|
@category = args[:category] if args.key?(:category)
|
18206
18221
|
@probability = args[:probability] if args.key?(:probability)
|
18222
|
+
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
18223
|
+
@severity = args[:severity] if args.key?(:severity)
|
18224
|
+
@severity_score = args[:severity_score] if args.key?(:severity_score)
|
18207
18225
|
end
|
18208
18226
|
end
|
18209
18227
|
|
@@ -26995,30 +27013,21 @@ module Google
|
|
26995
27013
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
26996
27014
|
# of code that enables the system to interact with external systems to perform
|
26997
27015
|
# an action, or set of actions, outside of knowledge and scope of the model. A
|
26998
|
-
# Tool object should contain exactly one type of Tool.
|
27016
|
+
# Tool object should contain exactly one type of Tool (e.g FunctionDeclaration,
|
27017
|
+
# Retrieval or GoogleSearchRetrieval).
|
26999
27018
|
class GoogleCloudAiplatformV1Tool
|
27000
27019
|
include Google::Apis::Core::Hashable
|
27001
27020
|
|
27002
|
-
# Optional. One or more function declarations to be passed
|
27003
|
-
# with the current user query. Model may decide to call a
|
27004
|
-
# functions by populating FunctionCall in the response. User
|
27005
|
-
# FunctionResponse for each function call in the next turn.
|
27006
|
-
# function responses, Model will generate the final response back
|
27007
|
-
# Maximum 64 function declarations can be provided.
|
27021
|
+
# Optional. Function tool type. One or more function declarations to be passed
|
27022
|
+
# to the model along with the current user query. Model may decide to call a
|
27023
|
+
# subset of these functions by populating FunctionCall in the response. User
|
27024
|
+
# should provide a FunctionResponse for each function call in the next turn.
|
27025
|
+
# Based on the function responses, Model will generate the final response back
|
27026
|
+
# to the user. Maximum 64 function declarations can be provided.
|
27008
27027
|
# Corresponds to the JSON property `functionDeclarations`
|
27009
27028
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
|
27010
27029
|
attr_accessor :function_declarations
|
27011
27030
|
|
27012
|
-
# Tool to retrieve public web data for grounding, powered by Google.
|
27013
|
-
# Corresponds to the JSON property `googleSearchRetrieval`
|
27014
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
|
27015
|
-
attr_accessor :google_search_retrieval
|
27016
|
-
|
27017
|
-
# Defines a retrieval tool that model can call to access external knowledge.
|
27018
|
-
# Corresponds to the JSON property `retrieval`
|
27019
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
|
27020
|
-
attr_accessor :retrieval
|
27021
|
-
|
27022
27031
|
def initialize(**args)
|
27023
27032
|
update!(**args)
|
27024
27033
|
end
|
@@ -27026,8 +27035,6 @@ module Google
|
|
27026
27035
|
# Update properties of this object
|
27027
27036
|
def update!(**args)
|
27028
27037
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
27029
|
-
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
27030
|
-
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
27031
27038
|
end
|
27032
27039
|
end
|
27033
27040
|
|
@@ -28014,27 +28021,6 @@ module Google
|
|
28014
28021
|
end
|
28015
28022
|
end
|
28016
28023
|
|
28017
|
-
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
28018
|
-
# google.com/vertex-ai-search-and-conversation
|
28019
|
-
class GoogleCloudAiplatformV1VertexAiSearch
|
28020
|
-
include Google::Apis::Core::Hashable
|
28021
|
-
|
28022
|
-
# Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>
|
28023
|
-
# /locations/<>/collections/<>/dataStores/<>
|
28024
|
-
# Corresponds to the JSON property `datastore`
|
28025
|
-
# @return [String]
|
28026
|
-
attr_accessor :datastore
|
28027
|
-
|
28028
|
-
def initialize(**args)
|
28029
|
-
update!(**args)
|
28030
|
-
end
|
28031
|
-
|
28032
|
-
# Update properties of this object
|
28033
|
-
def update!(**args)
|
28034
|
-
@datastore = args[:datastore] if args.key?(:datastore)
|
28035
|
-
end
|
28036
|
-
end
|
28037
|
-
|
28038
28024
|
# Metadata describes the input video content.
|
28039
28025
|
class GoogleCloudAiplatformV1VideoMetadata
|
28040
28026
|
include Google::Apis::Core::Hashable
|
@@ -29897,6 +29883,125 @@ module Google
|
|
29897
29883
|
end
|
29898
29884
|
end
|
29899
29885
|
|
29886
|
+
# Stores all metadata relating to AIDA DoConversation.
|
29887
|
+
class LearningGenaiRootCodeyChatMetadata
|
29888
|
+
include Google::Apis::Core::Hashable
|
29889
|
+
|
29890
|
+
# Indicates the programming language of the code if the message is a code chunk.
|
29891
|
+
# Corresponds to the JSON property `codeLanguage`
|
29892
|
+
# @return [String]
|
29893
|
+
attr_accessor :code_language
|
29894
|
+
|
29895
|
+
def initialize(**args)
|
29896
|
+
update!(**args)
|
29897
|
+
end
|
29898
|
+
|
29899
|
+
# Update properties of this object
|
29900
|
+
def update!(**args)
|
29901
|
+
@code_language = args[:code_language] if args.key?(:code_language)
|
29902
|
+
end
|
29903
|
+
end
|
29904
|
+
|
29905
|
+
# Describes a sample at a checkpoint for post-processing.
|
29906
|
+
class LearningGenaiRootCodeyCheckpoint
|
29907
|
+
include Google::Apis::Core::Hashable
|
29908
|
+
|
29909
|
+
# Metadata describing what was truncated at each checkpoint.
|
29910
|
+
# Corresponds to the JSON property `codeyTruncatorMetadata`
|
29911
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata]
|
29912
|
+
attr_accessor :codey_truncator_metadata
|
29913
|
+
|
29914
|
+
# Current state of the sample after truncator.
|
29915
|
+
# Corresponds to the JSON property `currentSample`
|
29916
|
+
# @return [String]
|
29917
|
+
attr_accessor :current_sample
|
29918
|
+
|
29919
|
+
# Postprocessor run that yielded this checkpoint.
|
29920
|
+
# Corresponds to the JSON property `postInferenceStep`
|
29921
|
+
# @return [String]
|
29922
|
+
attr_accessor :post_inference_step
|
29923
|
+
|
29924
|
+
def initialize(**args)
|
29925
|
+
update!(**args)
|
29926
|
+
end
|
29927
|
+
|
29928
|
+
# Update properties of this object
|
29929
|
+
def update!(**args)
|
29930
|
+
@codey_truncator_metadata = args[:codey_truncator_metadata] if args.key?(:codey_truncator_metadata)
|
29931
|
+
@current_sample = args[:current_sample] if args.key?(:current_sample)
|
29932
|
+
@post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step)
|
29933
|
+
end
|
29934
|
+
end
|
29935
|
+
|
29936
|
+
# Stores all metadata relating to Completion.
|
29937
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
29938
|
+
include Google::Apis::Core::Hashable
|
29939
|
+
|
29940
|
+
#
|
29941
|
+
# Corresponds to the JSON property `checkpoints`
|
29942
|
+
# @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint>]
|
29943
|
+
attr_accessor :checkpoints
|
29944
|
+
|
29945
|
+
def initialize(**args)
|
29946
|
+
update!(**args)
|
29947
|
+
end
|
29948
|
+
|
29949
|
+
# Update properties of this object
|
29950
|
+
def update!(**args)
|
29951
|
+
@checkpoints = args[:checkpoints] if args.key?(:checkpoints)
|
29952
|
+
end
|
29953
|
+
end
|
29954
|
+
|
29955
|
+
# Top-level wrapper used to store all things codey-related.
|
29956
|
+
class LearningGenaiRootCodeyOutput
|
29957
|
+
include Google::Apis::Core::Hashable
|
29958
|
+
|
29959
|
+
# Stores all metadata relating to AIDA DoConversation.
|
29960
|
+
# Corresponds to the JSON property `codeyChatMetadata`
|
29961
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyChatMetadata]
|
29962
|
+
attr_accessor :codey_chat_metadata
|
29963
|
+
|
29964
|
+
# Stores all metadata relating to Completion.
|
29965
|
+
# Corresponds to the JSON property `codeyCompletionMetadata`
|
29966
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata]
|
29967
|
+
attr_accessor :codey_completion_metadata
|
29968
|
+
|
29969
|
+
def initialize(**args)
|
29970
|
+
update!(**args)
|
29971
|
+
end
|
29972
|
+
|
29973
|
+
# Update properties of this object
|
29974
|
+
def update!(**args)
|
29975
|
+
@codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata)
|
29976
|
+
@codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata)
|
29977
|
+
end
|
29978
|
+
end
|
29979
|
+
|
29980
|
+
# Metadata describing what was truncated at each checkpoint.
|
29981
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
29982
|
+
include Google::Apis::Core::Hashable
|
29983
|
+
|
29984
|
+
# Index of the current sample that trims off truncated text.
|
29985
|
+
# Corresponds to the JSON property `cutoffIndex`
|
29986
|
+
# @return [Fixnum]
|
29987
|
+
attr_accessor :cutoff_index
|
29988
|
+
|
29989
|
+
# Text that was truncated at a specific checkpoint.
|
29990
|
+
# Corresponds to the JSON property `truncatedText`
|
29991
|
+
# @return [String]
|
29992
|
+
attr_accessor :truncated_text
|
29993
|
+
|
29994
|
+
def initialize(**args)
|
29995
|
+
update!(**args)
|
29996
|
+
end
|
29997
|
+
|
29998
|
+
# Update properties of this object
|
29999
|
+
def update!(**args)
|
30000
|
+
@cutoff_index = args[:cutoff_index] if args.key?(:cutoff_index)
|
30001
|
+
@truncated_text = args[:truncated_text] if args.key?(:truncated_text)
|
30002
|
+
end
|
30003
|
+
end
|
30004
|
+
|
29900
30005
|
#
|
29901
30006
|
class LearningGenaiRootDataProviderOutput
|
29902
30007
|
include Google::Apis::Core::Hashable
|
@@ -31115,6 +31220,11 @@ module Google
|
|
31115
31220
|
# @return [Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary]
|
31116
31221
|
attr_accessor :classifier_summary
|
31117
31222
|
|
31223
|
+
# Top-level wrapper used to store all things codey-related.
|
31224
|
+
# Corresponds to the JSON property `codeyOutput`
|
31225
|
+
# @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyOutput]
|
31226
|
+
attr_accessor :codey_output
|
31227
|
+
|
31118
31228
|
#
|
31119
31229
|
# Corresponds to the JSON property `currentStreamTextLength`
|
31120
31230
|
# @return [Fixnum]
|
@@ -31245,6 +31355,7 @@ module Google
|
|
31245
31355
|
# Update properties of this object
|
31246
31356
|
def update!(**args)
|
31247
31357
|
@classifier_summary = args[:classifier_summary] if args.key?(:classifier_summary)
|
31358
|
+
@codey_output = args[:codey_output] if args.key?(:codey_output)
|
31248
31359
|
@current_stream_text_length = args[:current_stream_text_length] if args.key?(:current_stream_text_length)
|
31249
31360
|
@deleted = args[:deleted] if args.key?(:deleted)
|
31250
31361
|
@filter_meta = args[:filter_meta] if args.key?(:filter_meta)
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240219"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1426,6 +1426,12 @@ module Google
|
|
1426
1426
|
include Google::Apis::Core::JsonObjectSupport
|
1427
1427
|
end
|
1428
1428
|
|
1429
|
+
class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey
|
1430
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1431
|
+
|
1432
|
+
include Google::Apis::Core::JsonObjectSupport
|
1433
|
+
end
|
1434
|
+
|
1429
1435
|
class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
|
1430
1436
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1431
1437
|
|
@@ -1636,12 +1642,6 @@ module Google
|
|
1636
1642
|
include Google::Apis::Core::JsonObjectSupport
|
1637
1643
|
end
|
1638
1644
|
|
1639
|
-
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
1640
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1641
|
-
|
1642
|
-
include Google::Apis::Core::JsonObjectSupport
|
1643
|
-
end
|
1644
|
-
|
1645
1645
|
class GoogleCloudAiplatformV1GroundingAttribution
|
1646
1646
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1647
1647
|
|
@@ -3016,12 +3016,6 @@ module Google
|
|
3016
3016
|
include Google::Apis::Core::JsonObjectSupport
|
3017
3017
|
end
|
3018
3018
|
|
3019
|
-
class GoogleCloudAiplatformV1Retrieval
|
3020
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3021
|
-
|
3022
|
-
include Google::Apis::Core::JsonObjectSupport
|
3023
|
-
end
|
3024
|
-
|
3025
3019
|
class GoogleCloudAiplatformV1SafetyRating
|
3026
3020
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3027
3021
|
|
@@ -4636,12 +4630,6 @@ module Google
|
|
4636
4630
|
include Google::Apis::Core::JsonObjectSupport
|
4637
4631
|
end
|
4638
4632
|
|
4639
|
-
class GoogleCloudAiplatformV1VertexAiSearch
|
4640
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4641
|
-
|
4642
|
-
include Google::Apis::Core::JsonObjectSupport
|
4643
|
-
end
|
4644
|
-
|
4645
4633
|
class GoogleCloudAiplatformV1VideoMetadata
|
4646
4634
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4647
4635
|
|
@@ -4876,6 +4864,36 @@ module Google
|
|
4876
4864
|
include Google::Apis::Core::JsonObjectSupport
|
4877
4865
|
end
|
4878
4866
|
|
4867
|
+
class LearningGenaiRootCodeyChatMetadata
|
4868
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4869
|
+
|
4870
|
+
include Google::Apis::Core::JsonObjectSupport
|
4871
|
+
end
|
4872
|
+
|
4873
|
+
class LearningGenaiRootCodeyCheckpoint
|
4874
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4875
|
+
|
4876
|
+
include Google::Apis::Core::JsonObjectSupport
|
4877
|
+
end
|
4878
|
+
|
4879
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
4880
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4881
|
+
|
4882
|
+
include Google::Apis::Core::JsonObjectSupport
|
4883
|
+
end
|
4884
|
+
|
4885
|
+
class LearningGenaiRootCodeyOutput
|
4886
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4887
|
+
|
4888
|
+
include Google::Apis::Core::JsonObjectSupport
|
4889
|
+
end
|
4890
|
+
|
4891
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
4892
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4893
|
+
|
4894
|
+
include Google::Apis::Core::JsonObjectSupport
|
4895
|
+
end
|
4896
|
+
|
4879
4897
|
class LearningGenaiRootDataProviderOutput
|
4880
4898
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4881
4899
|
|
@@ -5180,6 +5198,7 @@ module Google
|
|
5180
5198
|
|
5181
5199
|
property :semantic_filter_response, as: 'semanticFilterResponse', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionSemanticFilterResponse, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionSemanticFilterResponse::Representation
|
5182
5200
|
|
5201
|
+
property :text, as: 'text'
|
5183
5202
|
property :uri, as: 'uri'
|
5184
5203
|
end
|
5185
5204
|
end
|
@@ -6523,7 +6542,9 @@ module Google
|
|
6523
6542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6524
6543
|
property :big_query_dataset_name, as: 'bigQueryDatasetName'
|
6525
6544
|
property :create_time, as: 'createTime'
|
6545
|
+
property :display_name, as: 'displayName'
|
6526
6546
|
property :etag, as: 'etag'
|
6547
|
+
property :metadata, as: 'metadata'
|
6527
6548
|
property :name, as: 'name'
|
6528
6549
|
property :update_time, as: 'updateTime'
|
6529
6550
|
end
|
@@ -7320,6 +7341,7 @@ module Google
|
|
7320
7341
|
collection :monitoring_stats_anomalies, as: 'monitoringStatsAnomalies', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly::Representation
|
7321
7342
|
|
7322
7343
|
property :name, as: 'name'
|
7344
|
+
property :point_of_contact, as: 'pointOfContact'
|
7323
7345
|
property :update_time, as: 'updateTime'
|
7324
7346
|
property :value_type, as: 'valueType'
|
7325
7347
|
property :version_column_name, as: 'versionColumnName'
|
@@ -7502,10 +7524,19 @@ module Google
|
|
7502
7524
|
class GoogleCloudAiplatformV1FeatureViewDataKey
|
7503
7525
|
# @private
|
7504
7526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7527
|
+
property :composite_key, as: 'compositeKey', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey::Representation
|
7528
|
+
|
7505
7529
|
property :key, as: 'key'
|
7506
7530
|
end
|
7507
7531
|
end
|
7508
7532
|
|
7533
|
+
class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey
|
7534
|
+
# @private
|
7535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7536
|
+
collection :parts, as: 'parts'
|
7537
|
+
end
|
7538
|
+
end
|
7539
|
+
|
7509
7540
|
class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
|
7510
7541
|
# @private
|
7511
7542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7841,13 +7872,6 @@ module Google
|
|
7841
7872
|
end
|
7842
7873
|
end
|
7843
7874
|
|
7844
|
-
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
7845
|
-
# @private
|
7846
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7847
|
-
property :disable_attribution, as: 'disableAttribution'
|
7848
|
-
end
|
7849
|
-
end
|
7850
|
-
|
7851
7875
|
class GoogleCloudAiplatformV1GroundingAttribution
|
7852
7876
|
# @private
|
7853
7877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10221,21 +10245,15 @@ module Google
|
|
10221
10245
|
end
|
10222
10246
|
end
|
10223
10247
|
|
10224
|
-
class GoogleCloudAiplatformV1Retrieval
|
10225
|
-
# @private
|
10226
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10227
|
-
property :disable_attribution, as: 'disableAttribution'
|
10228
|
-
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch::Representation
|
10229
|
-
|
10230
|
-
end
|
10231
|
-
end
|
10232
|
-
|
10233
10248
|
class GoogleCloudAiplatformV1SafetyRating
|
10234
10249
|
# @private
|
10235
10250
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10236
10251
|
property :blocked, as: 'blocked'
|
10237
10252
|
property :category, as: 'category'
|
10238
10253
|
property :probability, as: 'probability'
|
10254
|
+
property :probability_score, as: 'probabilityScore'
|
10255
|
+
property :severity, as: 'severity'
|
10256
|
+
property :severity_score, as: 'severityScore'
|
10239
10257
|
end
|
10240
10258
|
end
|
10241
10259
|
|
@@ -12565,10 +12583,6 @@ module Google
|
|
12565
12583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12566
12584
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
|
12567
12585
|
|
12568
|
-
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation
|
12569
|
-
|
12570
|
-
property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation
|
12571
|
-
|
12572
12586
|
end
|
12573
12587
|
end
|
12574
12588
|
|
@@ -12878,13 +12892,6 @@ module Google
|
|
12878
12892
|
end
|
12879
12893
|
end
|
12880
12894
|
|
12881
|
-
class GoogleCloudAiplatformV1VertexAiSearch
|
12882
|
-
# @private
|
12883
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
12884
|
-
property :datastore, as: 'datastore'
|
12885
|
-
end
|
12886
|
-
end
|
12887
|
-
|
12888
12895
|
class GoogleCloudAiplatformV1VideoMetadata
|
12889
12896
|
# @private
|
12890
12897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13316,6 +13323,49 @@ module Google
|
|
13316
13323
|
end
|
13317
13324
|
end
|
13318
13325
|
|
13326
|
+
class LearningGenaiRootCodeyChatMetadata
|
13327
|
+
# @private
|
13328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13329
|
+
property :code_language, as: 'codeLanguage'
|
13330
|
+
end
|
13331
|
+
end
|
13332
|
+
|
13333
|
+
class LearningGenaiRootCodeyCheckpoint
|
13334
|
+
# @private
|
13335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13336
|
+
property :codey_truncator_metadata, as: 'codeyTruncatorMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata::Representation
|
13337
|
+
|
13338
|
+
property :current_sample, as: 'currentSample'
|
13339
|
+
property :post_inference_step, as: 'postInferenceStep'
|
13340
|
+
end
|
13341
|
+
end
|
13342
|
+
|
13343
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
13344
|
+
# @private
|
13345
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13346
|
+
collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint::Representation
|
13347
|
+
|
13348
|
+
end
|
13349
|
+
end
|
13350
|
+
|
13351
|
+
class LearningGenaiRootCodeyOutput
|
13352
|
+
# @private
|
13353
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13354
|
+
property :codey_chat_metadata, as: 'codeyChatMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyChatMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyChatMetadata::Representation
|
13355
|
+
|
13356
|
+
property :codey_completion_metadata, as: 'codeyCompletionMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata::Representation
|
13357
|
+
|
13358
|
+
end
|
13359
|
+
end
|
13360
|
+
|
13361
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
13362
|
+
# @private
|
13363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13364
|
+
property :cutoff_index, as: 'cutoffIndex'
|
13365
|
+
property :truncated_text, as: 'truncatedText'
|
13366
|
+
end
|
13367
|
+
end
|
13368
|
+
|
13319
13369
|
class LearningGenaiRootDataProviderOutput
|
13320
13370
|
# @private
|
13321
13371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13690,6 +13740,8 @@ module Google
|
|
13690
13740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13691
13741
|
property :classifier_summary, as: 'classifierSummary', class: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary, decorator: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary::Representation
|
13692
13742
|
|
13743
|
+
property :codey_output, as: 'codeyOutput', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyOutput, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyOutput::Representation
|
13744
|
+
|
13693
13745
|
property :current_stream_text_length, as: 'currentStreamTextLength'
|
13694
13746
|
property :deleted, as: 'deleted'
|
13695
13747
|
collection :filter_meta, as: 'filterMeta', class: Google::Apis::AiplatformV1::LearningGenaiRootFilterMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootFilterMetadata::Representation
|
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.15.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-02-
|
11
|
+
date: 2024-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.15.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Vertex AI API V1
|