google-cloud-ai_platform-v1 0.40.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +99 -0
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +92 -0
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +70 -0
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +60 -0
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +70 -0
  7. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +70 -0
  8. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +70 -0
  9. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +70 -0
  10. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +70 -0
  11. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +70 -0
  12. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +70 -0
  13. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +70 -0
  14. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +70 -0
  15. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +70 -0
  16. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +70 -0
  17. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +100 -0
  18. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +93 -0
  19. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +70 -0
  20. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +60 -0
  21. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +70 -0
  22. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +70 -0
  23. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +8 -2
  24. data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +2 -1
  25. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +8 -2
  26. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +16 -0
  27. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +70 -0
  28. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +70 -0
  29. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +70 -0
  30. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  31. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +70 -0
  32. data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -4
  33. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  34. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
  35. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  36. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  37. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
  38. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
  39. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  40. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
  41. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  42. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
  43. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
  44. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  45. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
  46. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
  47. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
  48. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
  49. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  50. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
  51. data/proto_docs/google/cloud/aiplatform/v1/content.rb +9 -48
  52. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  53. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
  54. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
  55. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
  56. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
  57. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
  58. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  59. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  60. data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
  61. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +17 -2
  62. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
  63. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
  64. data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
  65. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +15 -0
  66. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
  67. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
  68. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
  69. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
  70. metadata +2 -2
@@ -485,6 +485,10 @@ module Google
485
485
  # A `Tool` is a piece of code that enables the system to interact with
486
486
  # external systems to perform an action, or set of actions, outside of
487
487
  # knowledge and scope of the model.
488
+ # @!attribute [rw] tool_config
489
+ # @return [::Google::Cloud::AIPlatform::V1::ToolConfig]
490
+ # Optional. Tool config. This config is shared for all tools provided in the
491
+ # request.
488
492
  # @!attribute [rw] safety_settings
489
493
  # @return [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting>]
490
494
  # Optional. Per request settings for blocking unsafe content.
@@ -148,15 +148,53 @@ module Google
148
148
  end
149
149
 
150
150
  # Tool to retrieve public web data for grounding, powered by Google.
151
- # @!attribute [rw] disable_attribution
152
- # @return [::Boolean]
153
- # Optional. Disable using the result from this tool in detecting grounding
154
- # attribution. This does not affect how the result is given to the model for
155
- # generation.
156
151
  class GoogleSearchRetrieval
157
152
  include ::Google::Protobuf::MessageExts
158
153
  extend ::Google::Protobuf::MessageExts::ClassMethods
159
154
  end
155
+
156
+ # Tool config. This config is shared for all tools provided in the request.
157
+ # @!attribute [rw] function_calling_config
158
+ # @return [::Google::Cloud::AIPlatform::V1::FunctionCallingConfig]
159
+ # Optional. Function calling config.
160
+ class ToolConfig
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+
165
+ # Function calling config.
166
+ # @!attribute [rw] mode
167
+ # @return [::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode]
168
+ # Optional. Function calling mode.
169
+ # @!attribute [rw] allowed_function_names
170
+ # @return [::Array<::String>]
171
+ # Optional. Function names to call. Only set when the Mode is ANY. Function
172
+ # names should match [FunctionDeclaration.name]. With mode set to ANY, model
173
+ # will predict a function call from the set of function names provided.
174
+ class FunctionCallingConfig
175
+ include ::Google::Protobuf::MessageExts
176
+ extend ::Google::Protobuf::MessageExts::ClassMethods
177
+
178
+ # Function calling mode.
179
+ module Mode
180
+ # Unspecified function calling mode. This value should not be used.
181
+ MODE_UNSPECIFIED = 0
182
+
183
+ # Default model behavior, model decides to predict either a function call
184
+ # or a natural language repspose.
185
+ AUTO = 1
186
+
187
+ # Model is constrained to always predicting a function call only.
188
+ # If "allowed_function_names" are set, the predicted function call will be
189
+ # limited to any one of "allowed_function_names", else the predicted
190
+ # function call will be any one of the provided "function_declarations".
191
+ ANY = 2
192
+
193
+ # Model will not predict any function call. Model behavior is same as when
194
+ # not passing any function declarations.
195
+ NONE = 3
196
+ end
197
+ end
160
198
  end
161
199
  end
162
200
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ai_platform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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-05-23 00:00:00.000000000 Z
11
+ date: 2024-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common