google-apis-aiplatform_v1 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e0650fb34c1825782cd68a21329bb136a2cf350884300b926d7af835b573bd2
|
4
|
+
data.tar.gz: a94b2793a558ba613002949d5f211d15a0e1481d0641407afb3f8008ee1325e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86d973767f258ae5a24a613897be7d39046be0169915898fa18d41639db593f5f5b247d8b0a132eaf0aae4745a7392fada3bff8b2be917ea57d483be1f5007a5
|
7
|
+
data.tar.gz: 39dca9aa0af9ff54723d283fc8e638f5a8ce441a92c778d7ea34a80a3ef6907df464991d34b241b1f2426d624f740ae400f1ae29804976d3875a50817dbe636c
|
data/CHANGELOG.md
CHANGED
@@ -9689,7 +9689,7 @@ module Google
|
|
9689
9689
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapoint]
|
9690
9690
|
attr_accessor :datapoint
|
9691
9691
|
|
9692
|
-
# The distance between the neighbor and the query
|
9692
|
+
# The distance between the neighbor and the dense embedding query.
|
9693
9693
|
# Corresponds to the JSON property `distance`
|
9694
9694
|
# @return [Float]
|
9695
9695
|
attr_accessor :distance
|
@@ -10154,6 +10154,11 @@ module Google
|
|
10154
10154
|
class GoogleCloudAiplatformV1GroundingMetadata
|
10155
10155
|
include Google::Apis::Core::Hashable
|
10156
10156
|
|
10157
|
+
# Google search entry point.
|
10158
|
+
# Corresponds to the JSON property `searchEntryPoint`
|
10159
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint]
|
10160
|
+
attr_accessor :search_entry_point
|
10161
|
+
|
10157
10162
|
# Optional. Web search queries for the following-up web search.
|
10158
10163
|
# Corresponds to the JSON property `webSearchQueries`
|
10159
10164
|
# @return [Array<String>]
|
@@ -10165,6 +10170,7 @@ module Google
|
|
10165
10170
|
|
10166
10171
|
# Update properties of this object
|
10167
10172
|
def update!(**args)
|
10173
|
+
@search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
|
10168
10174
|
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
10169
10175
|
end
|
10170
10176
|
end
|
@@ -10786,8 +10792,8 @@ module Google
|
|
10786
10792
|
# @return [String]
|
10787
10793
|
attr_accessor :datapoint_id
|
10788
10794
|
|
10789
|
-
# Required. Feature embedding vector. An array of numbers with
|
10790
|
-
# NearestNeighborSearchConfig.dimensions].
|
10795
|
+
# Required. Feature embedding vector for dense index. An array of numbers with
|
10796
|
+
# the length of [NearestNeighborSearchConfig.dimensions].
|
10791
10797
|
# Corresponds to the JSON property `featureVector`
|
10792
10798
|
# @return [Array<Float>]
|
10793
10799
|
attr_accessor :feature_vector
|
@@ -11087,7 +11093,7 @@ module Google
|
|
11087
11093
|
# @return [Fixnum]
|
11088
11094
|
attr_accessor :shards_count
|
11089
11095
|
|
11090
|
-
# Output only. The number of vectors in the Index.
|
11096
|
+
# Output only. The number of dense vectors in the Index.
|
11091
11097
|
# Corresponds to the JSON property `vectorsCount`
|
11092
11098
|
# @return [Fixnum]
|
11093
11099
|
attr_accessor :vectors_count
|
@@ -17608,6 +17614,12 @@ module Google
|
|
17608
17614
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke]
|
17609
17615
|
attr_accessor :deploy_gke
|
17610
17616
|
|
17617
|
+
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
17618
|
+
# europe-west2, global, etc..
|
17619
|
+
# Corresponds to the JSON property `fineTune`
|
17620
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences]
|
17621
|
+
attr_accessor :fine_tune
|
17622
|
+
|
17611
17623
|
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
17612
17624
|
# europe-west2, global, etc..
|
17613
17625
|
# Corresponds to the JSON property `openEvaluationPipeline`
|
@@ -17674,6 +17686,7 @@ module Google
|
|
17674
17686
|
@create_application = args[:create_application] if args.key?(:create_application)
|
17675
17687
|
@deploy = args[:deploy] if args.key?(:deploy)
|
17676
17688
|
@deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
|
17689
|
+
@fine_tune = args[:fine_tune] if args.key?(:fine_tune)
|
17677
17690
|
@open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
|
17678
17691
|
@open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
|
17679
17692
|
@open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
|
@@ -17719,6 +17732,11 @@ module Google
|
|
17719
17732
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
|
17720
17733
|
attr_accessor :dedicated_resources
|
17721
17734
|
|
17735
|
+
# Optional. The name of the deploy task (e.g., "text to image generation").
|
17736
|
+
# Corresponds to the JSON property `deployTaskName`
|
17737
|
+
# @return [String]
|
17738
|
+
attr_accessor :deploy_task_name
|
17739
|
+
|
17722
17740
|
# Contains information about the Large Model.
|
17723
17741
|
# Corresponds to the JSON property `largeModelReference`
|
17724
17742
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LargeModelReference]
|
@@ -17756,6 +17774,7 @@ module Google
|
|
17756
17774
|
@automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
|
17757
17775
|
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
17758
17776
|
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
17777
|
+
@deploy_task_name = args[:deploy_task_name] if args.key?(:deploy_task_name)
|
17759
17778
|
@large_model_reference = args[:large_model_reference] if args.key?(:large_model_reference)
|
17760
17779
|
@model_display_name = args[:model_display_name] if args.key?(:model_display_name)
|
17761
17780
|
@public_artifact_uri = args[:public_artifact_uri] if args.key?(:public_artifact_uri)
|
@@ -22481,6 +22500,12 @@ module Google
|
|
22481
22500
|
# @return [Array<String>]
|
22482
22501
|
attr_accessor :stop_sequences
|
22483
22502
|
|
22503
|
+
# The Google Cloud Storage URI that stores the system instruction, starting with
|
22504
|
+
# gs://.
|
22505
|
+
# Corresponds to the JSON property `systemInstructionGcsUri`
|
22506
|
+
# @return [String]
|
22507
|
+
attr_accessor :system_instruction_gcs_uri
|
22508
|
+
|
22484
22509
|
# Temperature value used for sampling set when the dataset was saved. This value
|
22485
22510
|
# is used to tune the degree of randomness.
|
22486
22511
|
# Corresponds to the JSON property `temperature`
|
@@ -22518,6 +22543,7 @@ module Google
|
|
22518
22543
|
@note = args[:note] if args.key?(:note)
|
22519
22544
|
@prompt_type = args[:prompt_type] if args.key?(:prompt_type)
|
22520
22545
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
22546
|
+
@system_instruction_gcs_uri = args[:system_instruction_gcs_uri] if args.key?(:system_instruction_gcs_uri)
|
22521
22547
|
@temperature = args[:temperature] if args.key?(:temperature)
|
22522
22548
|
@text = args[:text] if args.key?(:text)
|
22523
22549
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -25751,6 +25777,33 @@ module Google
|
|
25751
25777
|
end
|
25752
25778
|
end
|
25753
25779
|
|
25780
|
+
# Google search entry point.
|
25781
|
+
class GoogleCloudAiplatformV1SearchEntryPoint
|
25782
|
+
include Google::Apis::Core::Hashable
|
25783
|
+
|
25784
|
+
# Optional. Web content snippet that can be embedded in a web page or an app
|
25785
|
+
# webview.
|
25786
|
+
# Corresponds to the JSON property `renderedContent`
|
25787
|
+
# @return [String]
|
25788
|
+
attr_accessor :rendered_content
|
25789
|
+
|
25790
|
+
# Optional. Base64 encoded JSON representing array of tuple.
|
25791
|
+
# Corresponds to the JSON property `sdkBlob`
|
25792
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
25793
|
+
# @return [String]
|
25794
|
+
attr_accessor :sdk_blob
|
25795
|
+
|
25796
|
+
def initialize(**args)
|
25797
|
+
update!(**args)
|
25798
|
+
end
|
25799
|
+
|
25800
|
+
# Update properties of this object
|
25801
|
+
def update!(**args)
|
25802
|
+
@rendered_content = args[:rendered_content] if args.key?(:rendered_content)
|
25803
|
+
@sdk_blob = args[:sdk_blob] if args.key?(:sdk_blob)
|
25804
|
+
end
|
25805
|
+
end
|
25806
|
+
|
25754
25807
|
# Response message for FeaturestoreService.SearchFeatures.
|
25755
25808
|
class GoogleCloudAiplatformV1SearchFeaturesResponse
|
25756
25809
|
include Google::Apis::Core::Hashable
|
@@ -30752,7 +30805,8 @@ module Google
|
|
30752
30805
|
class LanguageLabsAidaTrustRecitationProtoSegmentResult
|
30753
30806
|
include Google::Apis::Core::Hashable
|
30754
30807
|
|
30755
|
-
# The dataset the segment came from.
|
30808
|
+
# The dataset the segment came from. Datasets change often as model evolves.
|
30809
|
+
# Treat this field as informational only and avoid depending on it directly.
|
30756
30810
|
# Corresponds to the JSON property `attributionDataset`
|
30757
30811
|
# @return [String]
|
30758
30812
|
attr_accessor :attribution_dataset
|
@@ -30794,6 +30848,12 @@ module Google
|
|
30794
30848
|
# @return [String]
|
30795
30849
|
attr_accessor :segment_recitation_action
|
30796
30850
|
|
30851
|
+
# The category of the source dataset where the segment came from. This is more
|
30852
|
+
# stable than Dataset.
|
30853
|
+
# Corresponds to the JSON property `sourceCategory`
|
30854
|
+
# @return [String]
|
30855
|
+
attr_accessor :source_category
|
30856
|
+
|
30797
30857
|
# The segment boundary start (inclusive) and end index (exclusive) in the given
|
30798
30858
|
# text. In the streaming RPC, the indexes always start from the beginning of the
|
30799
30859
|
# first text in the entire stream. The indexes are measured in UTF-16 code units.
|
@@ -30814,6 +30874,7 @@ module Google
|
|
30814
30874
|
@end_index = args[:end_index] if args.key?(:end_index)
|
30815
30875
|
@raw_text = args[:raw_text] if args.key?(:raw_text)
|
30816
30876
|
@segment_recitation_action = args[:segment_recitation_action] if args.key?(:segment_recitation_action)
|
30877
|
+
@source_category = args[:source_category] if args.key?(:source_category)
|
30817
30878
|
@start_index = args[:start_index] if args.key?(:start_index)
|
30818
30879
|
end
|
30819
30880
|
end
|
@@ -31107,7 +31168,8 @@ module Google
|
|
31107
31168
|
class LearningGenaiRecitationSegmentResult
|
31108
31169
|
include Google::Apis::Core::Hashable
|
31109
31170
|
|
31110
|
-
# The dataset the segment came from.
|
31171
|
+
# The dataset the segment came from. Datasets change often as model evolves.
|
31172
|
+
# Treat this field as informational only and avoid depending on it directly.
|
31111
31173
|
# Corresponds to the JSON property `attributionDataset`
|
31112
31174
|
# @return [String]
|
31113
31175
|
attr_accessor :attribution_dataset
|
@@ -31149,6 +31211,12 @@ module Google
|
|
31149
31211
|
# @return [String]
|
31150
31212
|
attr_accessor :segment_recitation_action
|
31151
31213
|
|
31214
|
+
# The category of the source dataset where the segment came from. This is more
|
31215
|
+
# stable than Dataset.
|
31216
|
+
# Corresponds to the JSON property `sourceCategory`
|
31217
|
+
# @return [String]
|
31218
|
+
attr_accessor :source_category
|
31219
|
+
|
31152
31220
|
# The segment boundary start (inclusive) and end index (exclusive) in the given
|
31153
31221
|
# text. In the streaming RPC, the indexes always start from the beginning of the
|
31154
31222
|
# first text in the entire stream. The indexes are measured in UTF-16 code units.
|
@@ -31169,6 +31237,7 @@ module Google
|
|
31169
31237
|
@end_index = args[:end_index] if args.key?(:end_index)
|
31170
31238
|
@raw_text = args[:raw_text] if args.key?(:raw_text)
|
31171
31239
|
@segment_recitation_action = args[:segment_recitation_action] if args.key?(:segment_recitation_action)
|
31240
|
+
@source_category = args[:source_category] if args.key?(:source_category)
|
31172
31241
|
@start_index = args[:start_index] if args.key?(:start_index)
|
31173
31242
|
end
|
31174
31243
|
end
|
@@ -32967,8 +33036,9 @@ module Google
|
|
32967
33036
|
attr_accessor :stream_terminated
|
32968
33037
|
alias_method :stream_terminated?, :stream_terminated
|
32969
33038
|
|
32970
|
-
#
|
32971
|
-
#
|
33039
|
+
# Total tokens decoded so far per response_candidate. For streaming: Count of
|
33040
|
+
# all the tokens decoded so far (aggregated count). For unary: Count of all the
|
33041
|
+
# tokens decoded per response_candidate.
|
32972
33042
|
# Corresponds to the JSON property `totalDecodedTokenCount`
|
32973
33043
|
# @return [Fixnum]
|
32974
33044
|
attr_accessor :total_decoded_token_count
|
@@ -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.22.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 = "20240429"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4216,6 +4216,12 @@ module Google
|
|
4216
4216
|
include Google::Apis::Core::JsonObjectSupport
|
4217
4217
|
end
|
4218
4218
|
|
4219
|
+
class GoogleCloudAiplatformV1SearchEntryPoint
|
4220
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4221
|
+
|
4222
|
+
include Google::Apis::Core::JsonObjectSupport
|
4223
|
+
end
|
4224
|
+
|
4219
4225
|
class GoogleCloudAiplatformV1SearchFeaturesResponse
|
4220
4226
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4221
4227
|
|
@@ -8256,6 +8262,8 @@ module Google
|
|
8256
8262
|
class GoogleCloudAiplatformV1GroundingMetadata
|
8257
8263
|
# @private
|
8258
8264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8265
|
+
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint::Representation
|
8266
|
+
|
8259
8267
|
collection :web_search_queries, as: 'webSearchQueries'
|
8260
8268
|
end
|
8261
8269
|
end
|
@@ -10287,6 +10295,8 @@ module Google
|
|
10287
10295
|
|
10288
10296
|
property :deploy_gke, as: 'deployGke', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke::Representation
|
10289
10297
|
|
10298
|
+
property :fine_tune, as: 'fineTune', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
|
10299
|
+
|
10290
10300
|
property :open_evaluation_pipeline, as: 'openEvaluationPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
|
10291
10301
|
|
10292
10302
|
property :open_fine_tuning_pipeline, as: 'openFineTuningPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
|
@@ -10320,6 +10330,7 @@ module Google
|
|
10320
10330
|
|
10321
10331
|
property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
|
10322
10332
|
|
10333
|
+
property :deploy_task_name, as: 'deployTaskName'
|
10323
10334
|
property :large_model_reference, as: 'largeModelReference', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LargeModelReference, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LargeModelReference::Representation
|
10324
10335
|
|
10325
10336
|
property :model_display_name, as: 'modelDisplayName'
|
@@ -11640,6 +11651,7 @@ module Google
|
|
11640
11651
|
property :note, as: 'note'
|
11641
11652
|
property :prompt_type, as: 'promptType'
|
11642
11653
|
collection :stop_sequences, as: 'stopSequences'
|
11654
|
+
property :system_instruction_gcs_uri, as: 'systemInstructionGcsUri'
|
11643
11655
|
property :temperature, as: 'temperature'
|
11644
11656
|
property :text, as: 'text'
|
11645
11657
|
property :top_k, :numeric_string => true, as: 'topK'
|
@@ -12507,6 +12519,14 @@ module Google
|
|
12507
12519
|
end
|
12508
12520
|
end
|
12509
12521
|
|
12522
|
+
class GoogleCloudAiplatformV1SearchEntryPoint
|
12523
|
+
# @private
|
12524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12525
|
+
property :rendered_content, as: 'renderedContent'
|
12526
|
+
property :sdk_blob, :base64 => true, as: 'sdkBlob'
|
12527
|
+
end
|
12528
|
+
end
|
12529
|
+
|
12510
12530
|
class GoogleCloudAiplatformV1SearchFeaturesResponse
|
12511
12531
|
# @private
|
12512
12532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13845,6 +13865,7 @@ module Google
|
|
13845
13865
|
property :end_index, as: 'endIndex'
|
13846
13866
|
property :raw_text, as: 'rawText'
|
13847
13867
|
property :segment_recitation_action, as: 'segmentRecitationAction'
|
13868
|
+
property :source_category, as: 'sourceCategory'
|
13848
13869
|
property :start_index, as: 'startIndex'
|
13849
13870
|
end
|
13850
13871
|
end
|
@@ -13918,6 +13939,7 @@ module Google
|
|
13918
13939
|
property :end_index, as: 'endIndex'
|
13919
13940
|
property :raw_text, as: 'rawText'
|
13920
13941
|
property :segment_recitation_action, as: 'segmentRecitationAction'
|
13942
|
+
property :source_category, as: 'sourceCategory'
|
13921
13943
|
property :start_index, as: 'startIndex'
|
13922
13944
|
end
|
13923
13945
|
end
|
@@ -3953,7 +3953,7 @@ module Google
|
|
3953
3953
|
# Creates a new FeatureGroup in a given project and location.
|
3954
3954
|
# @param [String] parent
|
3955
3955
|
# Required. The resource name of the Location to create FeatureGroups. Format: `
|
3956
|
-
# projects/`project`/locations/`location
|
3956
|
+
# projects/`project`/locations/`location``
|
3957
3957
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
|
3958
3958
|
# @param [String] feature_group_id
|
3959
3959
|
# Required. The ID to use for this FeatureGroup, which will become the final
|
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.22.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-
|
11
|
+
date: 2024-05-05 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.22.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: []
|