google-cloud-ai_platform-v1 0.44.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +12 -4
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +12 -4
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +5 -1
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +5 -1
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +15 -4
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +15 -4
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -2
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +5 -2
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +434 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/paths.rb +38 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +406 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +238 -1
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +55 -0
- data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +10 -1
- data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +8 -0
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +85 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +19 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +21 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +12 -4
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +57 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +144 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +125 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +12 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +16 -3
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +0 -1
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +2 -3
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +7 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53d00b7636615a9b12ae0f430fa742e3621ea26799b6f6865537705ce021067d
|
4
|
+
data.tar.gz: d4f9f53635757eedc54ec488dfd55993d1faacb25c70134ad768d61c4fad914e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 159549f450485d66523a478b39606a54be3beb9808b6b4fcba5c9ad0c6c68ce4aa685ca99030708e4271a30d4c56f107b4f7beed3144546e9c69dffd8947cc63
|
7
|
+
data.tar.gz: 4c1b6d8b53e5fe154c24941f4fa78e29b825d3d2489cb3fd24fa29bb8e234c186da303f82d7720731d14835fd4b1cb8d78e7a30faf4a65381952ab88eaf304c9
|
@@ -564,10 +564,11 @@ module Google
|
|
564
564
|
#
|
565
565
|
# Updatable fields:
|
566
566
|
#
|
567
|
-
# * `big_query_source`
|
568
|
-
# * `bigtable`
|
569
567
|
# * `labels`
|
570
|
-
# * `
|
568
|
+
# * `description`
|
569
|
+
# * `bigtable`
|
570
|
+
# * `bigtable.auto_scaling`
|
571
|
+
# * `bigtable.enable_multi_region_replica`
|
571
572
|
#
|
572
573
|
# @yield [response, operation] Access the result along with the RPC operation
|
573
574
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1110,7 +1111,14 @@ module Google
|
|
1110
1111
|
# Updatable fields:
|
1111
1112
|
#
|
1112
1113
|
# * `labels`
|
1113
|
-
# * `
|
1114
|
+
# * `service_agent_type`
|
1115
|
+
# * `big_query_source`
|
1116
|
+
# * `big_query_source.uri`
|
1117
|
+
# * `big_query_source.entity_id_columns`
|
1118
|
+
# * `feature_registry_source`
|
1119
|
+
# * `feature_registry_source.feature_groups`
|
1120
|
+
# * `sync_config`
|
1121
|
+
# * `sync_config.cron`
|
1114
1122
|
#
|
1115
1123
|
# @yield [response, operation] Access the result along with the RPC operation
|
1116
1124
|
# @yieldparam response [::Gapic::Operation]
|
@@ -538,10 +538,11 @@ module Google
|
|
538
538
|
#
|
539
539
|
# Updatable fields:
|
540
540
|
#
|
541
|
-
# * `big_query_source`
|
542
|
-
# * `bigtable`
|
543
541
|
# * `labels`
|
544
|
-
# * `
|
542
|
+
# * `description`
|
543
|
+
# * `bigtable`
|
544
|
+
# * `bigtable.auto_scaling`
|
545
|
+
# * `bigtable.enable_multi_region_replica`
|
545
546
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
546
547
|
# @yieldparam result [::Gapic::Operation]
|
547
548
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1049,7 +1050,14 @@ module Google
|
|
1049
1050
|
# Updatable fields:
|
1050
1051
|
#
|
1051
1052
|
# * `labels`
|
1052
|
-
# * `
|
1053
|
+
# * `service_agent_type`
|
1054
|
+
# * `big_query_source`
|
1055
|
+
# * `big_query_source.uri`
|
1056
|
+
# * `big_query_source.entity_id_columns`
|
1057
|
+
# * `feature_registry_source`
|
1058
|
+
# * `feature_registry_source.feature_groups`
|
1059
|
+
# * `sync_config`
|
1060
|
+
# * `sync_config.cron`
|
1053
1061
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1054
1062
|
# @yieldparam result [::Gapic::Operation]
|
1055
1063
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -565,6 +565,9 @@ module Google
|
|
565
565
|
# Updatable fields:
|
566
566
|
#
|
567
567
|
# * `labels`
|
568
|
+
# * `description`
|
569
|
+
# * `big_query`
|
570
|
+
# * `big_query.entity_id_columns`
|
568
571
|
#
|
569
572
|
# @yield [response, operation] Access the result along with the RPC operation
|
570
573
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1126,7 +1129,8 @@ module Google
|
|
1126
1129
|
#
|
1127
1130
|
# * `description`
|
1128
1131
|
# * `labels`
|
1129
|
-
# * `disable_monitoring` (Not supported for
|
1132
|
+
# * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
|
1133
|
+
# * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
1130
1134
|
#
|
1131
1135
|
# @yield [response, operation] Access the result along with the RPC operation
|
1132
1136
|
# @yieldparam response [::Gapic::Operation]
|
@@ -539,6 +539,9 @@ module Google
|
|
539
539
|
# Updatable fields:
|
540
540
|
#
|
541
541
|
# * `labels`
|
542
|
+
# * `description`
|
543
|
+
# * `big_query`
|
544
|
+
# * `big_query.entity_id_columns`
|
542
545
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
543
546
|
# @yieldparam result [::Gapic::Operation]
|
544
547
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1065,7 +1068,8 @@ module Google
|
|
1065
1068
|
#
|
1066
1069
|
# * `description`
|
1067
1070
|
# * `labels`
|
1068
|
-
# * `disable_monitoring` (Not supported for
|
1071
|
+
# * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
|
1072
|
+
# * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
1069
1073
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1070
1074
|
# @yieldparam result [::Gapic::Operation]
|
1071
1075
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1775,7 +1775,8 @@ module Google
|
|
1775
1775
|
#
|
1776
1776
|
# * `description`
|
1777
1777
|
# * `labels`
|
1778
|
-
# * `disable_monitoring` (Not supported for
|
1778
|
+
# * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
|
1779
|
+
# * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
1779
1780
|
#
|
1780
1781
|
# @yield [response, operation] Access the result along with the RPC operation
|
1781
1782
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
|
@@ -1672,7 +1672,8 @@ module Google
|
|
1672
1672
|
#
|
1673
1673
|
# * `description`
|
1674
1674
|
# * `labels`
|
1675
|
-
# * `disable_monitoring` (Not supported for
|
1675
|
+
# * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
|
1676
|
+
# * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
1676
1677
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1677
1678
|
# @yieldparam result [::Google::Cloud::AIPlatform::V1::Feature]
|
1678
1679
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
# @param options [::Gapic::CallOptions, ::Hash]
|
207
207
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
208
208
|
#
|
209
|
-
# @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil)
|
209
|
+
# @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil, system_instruction: nil, tools: nil)
|
210
210
|
# Pass arguments to `count_tokens` via keyword arguments. Note that at
|
211
211
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
212
212
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -216,14 +216,25 @@ module Google
|
|
216
216
|
# Format:
|
217
217
|
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
218
218
|
# @param model [::String]
|
219
|
-
#
|
219
|
+
# Optional. The name of the publisher model requested to serve the
|
220
220
|
# prediction. Format:
|
221
221
|
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
222
222
|
# @param instances [::Array<::Google::Protobuf::Value, ::Hash>]
|
223
|
-
#
|
223
|
+
# Optional. The instances that are the input to token counting call.
|
224
224
|
# Schema is identical to the prediction schema of the underlying model.
|
225
225
|
# @param contents [::Array<::Google::Cloud::AIPlatform::V1::Content, ::Hash>]
|
226
|
-
#
|
226
|
+
# Optional. Input content.
|
227
|
+
# @param system_instruction [::Google::Cloud::AIPlatform::V1::Content, ::Hash]
|
228
|
+
# Optional. The user provided system instructions for the model.
|
229
|
+
# Note: only text should be used in parts and content in each part will be in
|
230
|
+
# a separate paragraph.
|
231
|
+
# @param tools [::Array<::Google::Cloud::AIPlatform::V1::Tool, ::Hash>]
|
232
|
+
# Optional. A list of `Tools` the model may use to generate the next
|
233
|
+
# response.
|
234
|
+
#
|
235
|
+
# A `Tool` is a piece of code that enables the system to interact with
|
236
|
+
# external systems to perform an action, or set of actions, outside of
|
237
|
+
# knowledge and scope of the model.
|
227
238
|
#
|
228
239
|
# @yield [response, operation] Access the result along with the RPC operation
|
229
240
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::CountTokensResponse]
|
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
# @param options [::Gapic::CallOptions, ::Hash]
|
202
202
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
203
203
|
#
|
204
|
-
# @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil)
|
204
|
+
# @overload count_tokens(endpoint: nil, model: nil, instances: nil, contents: nil, system_instruction: nil, tools: nil)
|
205
205
|
# Pass arguments to `count_tokens` via keyword arguments. Note that at
|
206
206
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
207
207
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -211,14 +211,25 @@ module Google
|
|
211
211
|
# Format:
|
212
212
|
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
213
213
|
# @param model [::String]
|
214
|
-
#
|
214
|
+
# Optional. The name of the publisher model requested to serve the
|
215
215
|
# prediction. Format:
|
216
216
|
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
217
217
|
# @param instances [::Array<::Google::Protobuf::Value, ::Hash>]
|
218
|
-
#
|
218
|
+
# Optional. The instances that are the input to token counting call.
|
219
219
|
# Schema is identical to the prediction schema of the underlying model.
|
220
220
|
# @param contents [::Array<::Google::Cloud::AIPlatform::V1::Content, ::Hash>]
|
221
|
-
#
|
221
|
+
# Optional. Input content.
|
222
|
+
# @param system_instruction [::Google::Cloud::AIPlatform::V1::Content, ::Hash]
|
223
|
+
# Optional. The user provided system instructions for the model.
|
224
|
+
# Note: only text should be used in parts and content in each part will be in
|
225
|
+
# a separate paragraph.
|
226
|
+
# @param tools [::Array<::Google::Cloud::AIPlatform::V1::Tool, ::Hash>]
|
227
|
+
# Optional. A list of `Tools` the model may use to generate the next
|
228
|
+
# response.
|
229
|
+
#
|
230
|
+
# A `Tool` is a piece of code that enables the system to interact with
|
231
|
+
# external systems to perform an action, or set of actions, outside of
|
232
|
+
# knowledge and scope of the model.
|
222
233
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
223
234
|
# @yieldparam result [::Google::Cloud::AIPlatform::V1::CountTokensResponse]
|
224
235
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
# @param options [::Gapic::CallOptions, ::Hash]
|
207
207
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
208
208
|
#
|
209
|
-
# @overload get_publisher_model(name: nil, language_code: nil, view: nil)
|
209
|
+
# @overload get_publisher_model(name: nil, language_code: nil, view: nil, is_hugging_face_model: nil)
|
210
210
|
# Pass arguments to `get_publisher_model` via keyword arguments. Note that at
|
211
211
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
212
212
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -217,9 +217,12 @@ module Google
|
|
217
217
|
# `publishers/{publisher}/models/{publisher_model}`
|
218
218
|
# @param language_code [::String]
|
219
219
|
# Optional. The IETF BCP-47 language code representing the language in which
|
220
|
-
# the publisher model's text information should be written in
|
220
|
+
# the publisher model's text information should be written in.
|
221
221
|
# @param view [::Google::Cloud::AIPlatform::V1::PublisherModelView]
|
222
222
|
# Optional. PublisherModel view specifying which fields to read.
|
223
|
+
# @param is_hugging_face_model [::Boolean]
|
224
|
+
# Optional. Boolean indicates whether the requested model is a Hugging Face
|
225
|
+
# model.
|
223
226
|
#
|
224
227
|
# @yield [response, operation] Access the result along with the RPC operation
|
225
228
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::PublisherModel]
|
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
# @param options [::Gapic::CallOptions, ::Hash]
|
202
202
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
203
203
|
#
|
204
|
-
# @overload get_publisher_model(name: nil, language_code: nil, view: nil)
|
204
|
+
# @overload get_publisher_model(name: nil, language_code: nil, view: nil, is_hugging_face_model: nil)
|
205
205
|
# Pass arguments to `get_publisher_model` via keyword arguments. Note that at
|
206
206
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
207
207
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -212,9 +212,12 @@ module Google
|
|
212
212
|
# `publishers/{publisher}/models/{publisher_model}`
|
213
213
|
# @param language_code [::String]
|
214
214
|
# Optional. The IETF BCP-47 language code representing the language in which
|
215
|
-
# the publisher model's text information should be written in
|
215
|
+
# the publisher model's text information should be written in.
|
216
216
|
# @param view [::Google::Cloud::AIPlatform::V1::PublisherModelView]
|
217
217
|
# Optional. PublisherModel view specifying which fields to read.
|
218
|
+
# @param is_hugging_face_model [::Boolean]
|
219
|
+
# Optional. Boolean indicates whether the requested model is a Hugging Face
|
220
|
+
# model.
|
218
221
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
219
222
|
# @yieldparam result [::Google::Cloud::AIPlatform::V1::PublisherModel]
|
220
223
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|