google-cloud-ai_platform-v1 0.39.0 → 0.41.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.
Files changed (221) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/bindings_override.rb +399 -0
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +138 -18
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +13 -5
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +2280 -0
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3971 -0
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1196 -0
  8. data/lib/google/cloud/ai_platform/v1/dataset_service/rest.rb +54 -0
  9. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +6 -0
  10. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +13 -5
  11. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +13 -5
  12. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +851 -0
  13. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +3971 -0
  14. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +365 -0
  15. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest.rb +54 -0
  16. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service.rb +6 -0
  17. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +19 -8
  18. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +13 -5
  19. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +1215 -0
  20. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +3971 -0
  21. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +546 -0
  22. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest.rb +54 -0
  23. data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +6 -0
  24. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +29 -13
  25. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +13 -5
  26. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +1732 -0
  27. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +3971 -0
  28. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +841 -0
  29. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest.rb +55 -0
  30. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +6 -0
  31. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +7 -2
  32. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +534 -0
  33. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +189 -0
  34. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest.rb +53 -0
  35. data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +6 -0
  36. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +24 -11
  37. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +13 -5
  38. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +1450 -0
  39. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +3971 -0
  40. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +663 -0
  41. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest.rb +55 -0
  42. data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +6 -0
  43. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +9 -3
  44. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +645 -0
  45. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +244 -0
  46. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest.rb +53 -0
  47. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +6 -0
  48. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +45 -21
  49. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +13 -5
  50. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2765 -0
  51. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +3971 -0
  52. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1319 -0
  53. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest.rb +54 -0
  54. data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +6 -0
  55. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +11 -4
  56. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +720 -0
  57. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +307 -0
  58. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +53 -0
  59. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +6 -0
  60. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +19 -8
  61. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +13 -5
  62. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +1151 -0
  63. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +3971 -0
  64. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +546 -0
  65. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest.rb +54 -0
  66. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +6 -0
  67. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +17 -7
  68. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +13 -5
  69. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +1034 -0
  70. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +3971 -0
  71. data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +486 -0
  72. data/lib/google/cloud/ai_platform/v1/index_service/rest.rb +54 -0
  73. data/lib/google/cloud/ai_platform/v1/index_service.rb +6 -0
  74. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +73 -35
  75. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +13 -5
  76. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +3841 -0
  77. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +3971 -0
  78. data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +2149 -0
  79. data/lib/google/cloud/ai_platform/v1/job_service/rest.rb +54 -0
  80. data/lib/google/cloud/ai_platform/v1/job_service.rb +6 -0
  81. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -2
  82. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +533 -0
  83. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +205 -0
  84. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest.rb +53 -0
  85. data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +6 -0
  86. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -2
  87. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +541 -0
  88. data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +189 -0
  89. data/lib/google/cloud/ai_platform/v1/match_service/rest.rb +54 -0
  90. data/lib/google/cloud/ai_platform/v1/match_service.rb +6 -0
  91. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +67 -32
  92. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +13 -5
  93. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +3634 -0
  94. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +3971 -0
  95. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1972 -0
  96. data/lib/google/cloud/ai_platform/v1/metadata_service/rest.rb +54 -0
  97. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +6 -0
  98. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -2
  99. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +13 -5
  100. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +574 -0
  101. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +3971 -0
  102. data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +189 -0
  103. data/lib/google/cloud/ai_platform/v1/migration_service/rest.rb +55 -0
  104. data/lib/google/cloud/ai_platform/v1/migration_service.rb +6 -0
  105. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -1
  106. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +438 -0
  107. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +128 -0
  108. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +53 -0
  109. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +6 -0
  110. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +39 -18
  111. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +13 -5
  112. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +2213 -0
  113. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +3971 -0
  114. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1140 -0
  115. data/lib/google/cloud/ai_platform/v1/model_service/rest.rb +54 -0
  116. data/lib/google/cloud/ai_platform/v1/model_service.rb +6 -0
  117. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +123 -10
  118. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +13 -5
  119. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +1503 -0
  120. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3971 -0
  121. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +723 -0
  122. data/lib/google/cloud/ai_platform/v1/notebook_service/rest.rb +54 -0
  123. data/lib/google/cloud/ai_platform/v1/notebook_service.rb +6 -0
  124. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +15 -6
  125. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +13 -5
  126. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +942 -0
  127. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +3971 -0
  128. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +426 -0
  129. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest.rb +54 -0
  130. data/lib/google/cloud/ai_platform/v1/persistent_resource_service.rb +6 -0
  131. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +27 -12
  132. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +13 -5
  133. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +1600 -0
  134. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +3971 -0
  135. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +783 -0
  136. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest.rb +56 -0
  137. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +6 -0
  138. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +37 -15
  139. data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +2 -1
  140. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1303 -0
  141. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +658 -0
  142. data/lib/google/cloud/ai_platform/v1/prediction_service/rest.rb +53 -0
  143. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +6 -0
  144. data/lib/google/cloud/ai_platform/v1/rest.rb +63 -0
  145. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +17 -7
  146. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +13 -5
  147. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +1076 -0
  148. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +3971 -0
  149. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +486 -0
  150. data/lib/google/cloud/ai_platform/v1/schedule_service/rest.rb +55 -0
  151. data/lib/google/cloud/ai_platform/v1/schedule_service.rb +6 -0
  152. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +13 -5
  153. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +13 -5
  154. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +847 -0
  155. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +3971 -0
  156. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +366 -0
  157. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest.rb +59 -0
  158. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +6 -0
  159. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +63 -30
  160. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +13 -5
  161. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +3274 -0
  162. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +3971 -0
  163. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1847 -0
  164. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest.rb +54 -0
  165. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +6 -0
  166. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  167. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +33 -15
  168. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +13 -5
  169. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +1788 -0
  170. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +3971 -0
  171. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +963 -0
  172. data/lib/google/cloud/ai_platform/v1/vizier_service/rest.rb +58 -0
  173. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +6 -0
  174. data/lib/google/cloud/ai_platform/v1.rb +6 -1
  175. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  176. data/lib/google/cloud/aiplatform/v1/content_pb.rb +4 -4
  177. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  178. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
  179. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  180. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  181. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
  182. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
  183. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
  184. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  185. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
  186. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  187. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
  188. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
  189. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  190. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
  191. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
  192. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
  193. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
  194. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  195. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
  196. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
  197. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  198. data/proto_docs/google/cloud/aiplatform/v1/content.rb +26 -48
  199. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  200. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
  201. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
  202. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
  203. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +7 -0
  204. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
  205. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
  206. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  207. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +1 -1
  208. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  209. data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
  210. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +20 -2
  211. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
  212. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
  213. data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
  214. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +17 -2
  215. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
  216. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
  217. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
  218. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
  219. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
  220. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -7
  221. metadata +101 -2
@@ -221,6 +221,9 @@ module Google
221
221
  # @!attribute [rw] bytes_value
222
222
  # @return [::String]
223
223
  # Bytes feature value.
224
+ # @!attribute [rw] struct_value
225
+ # @return [::Google::Cloud::AIPlatform::V1::StructValue]
226
+ # A struct type feature value.
224
227
  # @!attribute [rw] metadata
225
228
  # @return [::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata]
226
229
  # Metadata of feature value.
@@ -243,6 +246,27 @@ module Google
243
246
  end
244
247
  end
245
248
 
249
+ # Struct (or object) type feature value.
250
+ # @!attribute [rw] values
251
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::StructFieldValue>]
252
+ # A list of field values.
253
+ class StructValue
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+ end
257
+
258
+ # One field of a Struct (or object) type feature value.
259
+ # @!attribute [rw] name
260
+ # @return [::String]
261
+ # Name of the field in the struct feature.
262
+ # @!attribute [rw] value
263
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureValue]
264
+ # The value for this field.
265
+ class StructFieldValue
266
+ include ::Google::Protobuf::MessageExts
267
+ extend ::Google::Protobuf::MessageExts::ClassMethods
268
+ end
269
+
246
270
  # Container for list of values.
247
271
  # @!attribute [rw] values
248
272
  # @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureValue>]
@@ -126,8 +126,11 @@ module Google
126
126
  # Required. Unique identifier of the datapoint.
127
127
  # @!attribute [rw] feature_vector
128
128
  # @return [::Array<::Float>]
129
- # Required. Feature embedding vector. An array of numbers with the length of
130
- # [NearestNeighborSearchConfig.dimensions].
129
+ # Required. Feature embedding vector for dense index. An array of numbers
130
+ # with the length of [NearestNeighborSearchConfig.dimensions].
131
+ # @!attribute [rw] sparse_embedding
132
+ # @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint::SparseEmbedding]
133
+ # Optional. Feature embedding vector for sparse index.
131
134
  # @!attribute [rw] restricts
132
135
  # @return [::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction>]
133
136
  # Optional. List of Restrict of the datapoint, used to perform "restricted
@@ -147,6 +150,20 @@ module Google
147
150
  include ::Google::Protobuf::MessageExts
148
151
  extend ::Google::Protobuf::MessageExts::ClassMethods
149
152
 
153
+ # Feature embedding vector for sparse index. An array of numbers whose values
154
+ # are located in the specified dimensions.
155
+ # @!attribute [rw] values
156
+ # @return [::Array<::Float>]
157
+ # Required. The list of embedding values of the sparse vector.
158
+ # @!attribute [rw] dimensions
159
+ # @return [::Array<::Integer>]
160
+ # Required. The list of indexes for the embedding values of the sparse
161
+ # vector.
162
+ class SparseEmbedding
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
150
167
  # Restriction of a datapoint which describe its attributes(tokens) from each
151
168
  # of several attribute categories(namespaces).
152
169
  # @!attribute [rw] namespace
@@ -233,7 +250,10 @@ module Google
233
250
  # Stats of the Index.
234
251
  # @!attribute [r] vectors_count
235
252
  # @return [::Integer]
236
- # Output only. The number of vectors in the Index.
253
+ # Output only. The number of dense vectors in the Index.
254
+ # @!attribute [r] sparse_vectors_count
255
+ # @return [::Integer]
256
+ # Output only. The number of sparse vectors in the Index.
237
257
  # @!attribute [r] shards_count
238
258
  # @return [::Integer]
239
259
  # Output only. The number of shards in the Index.
@@ -253,8 +253,8 @@ module Google
253
253
  # The embedding id is not valid.
254
254
  INVALID_EMBEDDING_ID = 5
255
255
 
256
- # The size of the embedding vectors does not match with the specified
257
- # dimension.
256
+ # The size of the dense embedding vectors does not match with the
257
+ # specified dimension.
258
258
  EMBEDDING_SIZE_MISMATCH = 6
259
259
 
260
260
  # The `namespace` field is missing.
@@ -278,6 +278,18 @@ module Google
278
278
 
279
279
  # File is not in UTF_8 format.
280
280
  INVALID_ENCODING = 13
281
+
282
+ # Error parsing sparse dimensions field.
283
+ INVALID_SPARSE_DIMENSIONS = 14
284
+
285
+ # Token restrict value is invalid.
286
+ INVALID_TOKEN_VALUE = 15
287
+
288
+ # Invalid sparse embedding.
289
+ INVALID_SPARSE_EMBEDDING = 16
290
+
291
+ # Invalid dense embedding.
292
+ INVALID_EMBEDDING = 17
281
293
  end
282
294
  end
283
295
 
@@ -295,6 +307,12 @@ module Google
295
307
  # The detail information of the partial failures encountered for those
296
308
  # invalid records that couldn't be parsed.
297
309
  # Up to 50 partial errors will be reported.
310
+ # @!attribute [rw] valid_sparse_record_count
311
+ # @return [::Integer]
312
+ # Number of sparse records in this file that were successfully processed.
313
+ # @!attribute [rw] invalid_sparse_record_count
314
+ # @return [::Integer]
315
+ # Number of sparse records in this file we skipped due to validate errors.
298
316
  class ContentValidationStats
299
317
  include ::Google::Protobuf::MessageExts
300
318
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -51,6 +51,9 @@ module Google
51
51
 
52
52
  # A query to find a number of the nearest neighbors (most similar vectors)
53
53
  # of a vector.
54
+ # @!attribute [rw] rrf
55
+ # @return [::Google::Cloud::AIPlatform::V1::FindNeighborsRequest::Query::RRF]
56
+ # Optional. Represents RRF algorithm that combines search results.
54
57
  # @!attribute [rw] datapoint
55
58
  # @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint]
56
59
  # Required. The datapoint/vector whose nearest neighbors should be searched
@@ -83,6 +86,17 @@ module Google
83
86
  class Query
84
87
  include ::Google::Protobuf::MessageExts
85
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
89
+
90
+ # Parameters for RRF algorithm that combines search results.
91
+ # @!attribute [rw] alpha
92
+ # @return [::Float]
93
+ # Required. Users can provide an alpha value to give more weight to dense
94
+ # vs sparse results. For example, if the alpha is 0, we only return
95
+ # sparse and if the alpha is 1, we only return dense.
96
+ class RRF
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
+ end
86
100
  end
87
101
  end
88
102
 
@@ -104,7 +118,10 @@ module Google
104
118
  # fields are populated.
105
119
  # @!attribute [rw] distance
106
120
  # @return [::Float]
107
- # The distance between the neighbor and the query vector.
121
+ # The distance between the neighbor and the dense embedding query.
122
+ # @!attribute [rw] sparse_distance
123
+ # @return [::Float]
124
+ # The distance between the neighbor and the query sparse_embedding.
108
125
  class Neighbor
109
126
  include ::Google::Protobuf::MessageExts
110
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -43,6 +43,9 @@ module Google
43
43
  # @!attribute [r] state
44
44
  # @return [::Google::Cloud::AIPlatform::V1::MetadataStore::MetadataStoreState]
45
45
  # Output only. State information of the MetadataStore.
46
+ # @!attribute [rw] dataplex_config
47
+ # @return [::Google::Cloud::AIPlatform::V1::MetadataStore::DataplexConfig]
48
+ # Optional. Dataplex integration settings.
46
49
  class MetadataStore
47
50
  include ::Google::Protobuf::MessageExts
48
51
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -55,6 +58,16 @@ module Google
55
58
  include ::Google::Protobuf::MessageExts
56
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
57
60
  end
61
+
62
+ # Represents Dataplex integration settings.
63
+ # @!attribute [rw] enabled_pipelines_lineage
64
+ # @return [::Boolean]
65
+ # Optional. Whether or not Data Lineage synchronization is enabled for
66
+ # Vertex Pipelines.
67
+ class DataplexConfig
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
58
71
  end
59
72
  end
60
73
  end
@@ -830,7 +830,7 @@ module Google
830
830
  # determine whether it is alive or ready to receive traffic.
831
831
  # @!attribute [rw] exec
832
832
  # @return [::Google::Cloud::AIPlatform::V1::Probe::ExecAction]
833
- # Exec specifies the action to take.
833
+ # ExecAction probes the health of a container by executing a command.
834
834
  # @!attribute [rw] period_seconds
835
835
  # @return [::Integer]
836
836
  # How often (in seconds) to perform the probe. Default to 10 seconds.
@@ -24,9 +24,9 @@ module Google
24
24
  # A template that specifies runtime configurations such as machine type,
25
25
  # runtime version, network configurations, etc.
26
26
  # Multiple runtimes can be created from a runtime template.
27
- # @!attribute [r] name
27
+ # @!attribute [rw] name
28
28
  # @return [::String]
29
- # Output only. The resource name of the NotebookRuntimeTemplate.
29
+ # The resource name of the NotebookRuntimeTemplate.
30
30
  # @!attribute [rw] display_name
31
31
  # @return [::String]
32
32
  # Required. The display name of the NotebookRuntimeTemplate.
@@ -97,6 +97,9 @@ module Google
97
97
  # @return [::Array<::String>]
98
98
  # Optional. The Compute Engine tags to add to runtime (see [Tagging
99
99
  # instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
100
+ # @!attribute [rw] encryption_spec
101
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
102
+ # Customer-managed encryption key spec for the notebook runtime.
100
103
  class NotebookRuntimeTemplate
101
104
  include ::Google::Protobuf::MessageExts
102
105
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -186,10 +189,22 @@ module Google
186
189
  # @!attribute [r] notebook_runtime_type
187
190
  # @return [::Google::Cloud::AIPlatform::V1::NotebookRuntimeType]
188
191
  # Output only. The type of the notebook runtime.
192
+ # @!attribute [r] idle_shutdown_config
193
+ # @return [::Google::Cloud::AIPlatform::V1::NotebookIdleShutdownConfig]
194
+ # Output only. The idle shutdown configuration of the notebook runtime.
189
195
  # @!attribute [rw] network_tags
190
196
  # @return [::Array<::String>]
191
197
  # Optional. The Compute Engine tags to add to runtime (see [Tagging
192
198
  # instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
199
+ # @!attribute [r] encryption_spec
200
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
201
+ # Output only. Customer-managed encryption key spec for the notebook runtime.
202
+ # @!attribute [r] satisfies_pzs
203
+ # @return [::Boolean]
204
+ # Output only. Reserved for future use.
205
+ # @!attribute [r] satisfies_pzi
206
+ # @return [::Boolean]
207
+ # Output only. Reserved for future use.
193
208
  class NotebookRuntime
194
209
  include ::Google::Protobuf::MessageExts
195
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -147,6 +147,24 @@ module Google
147
147
  extend ::Google::Protobuf::MessageExts::ClassMethods
148
148
  end
149
149
 
150
+ # Request message for
151
+ # {::Google::Cloud::AIPlatform::V1::NotebookService::Client#update_notebook_runtime_template NotebookService.UpdateNotebookRuntimeTemplate}.
152
+ # @!attribute [rw] notebook_runtime_template
153
+ # @return [::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate]
154
+ # Required. The NotebookRuntimeTemplate to update.
155
+ # @!attribute [rw] update_mask
156
+ # @return [::Google::Protobuf::FieldMask]
157
+ # Required. The update mask applies to the resource.
158
+ # For the `FieldMask` definition, see
159
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. Input format:
160
+ # `{paths: "${updated_filed}"}` Updatable fields:
161
+ #
162
+ # * `encryption_spec.kms_key_name`
163
+ class UpdateNotebookRuntimeTemplateRequest
164
+ include ::Google::Protobuf::MessageExts
165
+ extend ::Google::Protobuf::MessageExts::ClassMethods
166
+ end
167
+
150
168
  # Request message for
151
169
  # {::Google::Cloud::AIPlatform::V1::NotebookService::Client#assign_notebook_runtime NotebookService.AssignNotebookRuntime}.
152
170
  # @!attribute [rw] parent
@@ -207,15 +207,69 @@ module Google
207
207
  # For experimental launch, Ray cluster creation and Persistent
208
208
  # cluster creation are 1:1 mapping: We will provision all the nodes within the
209
209
  # Persistent cluster as Ray nodes.
210
+ # @!attribute [rw] image_uri
211
+ # @return [::String]
212
+ # Optional. Default image for user to choose a preferred ML framework
213
+ # (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt
214
+ # images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
215
+ # Either this or the resource_pool_images is required. Use this field if
216
+ # you need all the resource pools to have the same Ray image. Otherwise, use
217
+ # the \\{@code resource_pool_images} field.
218
+ # @!attribute [rw] resource_pool_images
219
+ # @return [::Google::Protobuf::Map{::String => ::String}]
220
+ # Optional. Required if image_uri isn't set. A map of resource_pool_id to
221
+ # prebuild Ray image if user need to use different images for different
222
+ # head/worker pools. This map needs to cover all the resource pool ids.
223
+ # Example:
224
+ # {
225
+ # "ray_head_node_pool": "head image"
226
+ # "ray_worker_node_pool1": "worker image"
227
+ # "ray_worker_node_pool2": "another worker image"
228
+ # }
229
+ # @!attribute [rw] head_node_resource_pool_id
230
+ # @return [::String]
231
+ # Optional. This will be used to indicate which resource pool will serve as
232
+ # the Ray head node(the first node within that pool). Will use the machine
233
+ # from the first workerpool as the head node by default if this field isn't
234
+ # set.
235
+ # @!attribute [rw] ray_metric_spec
236
+ # @return [::Google::Cloud::AIPlatform::V1::RayMetricSpec]
237
+ # Optional. Ray metrics configurations.
210
238
  class RaySpec
211
239
  include ::Google::Protobuf::MessageExts
212
240
  extend ::Google::Protobuf::MessageExts::ClassMethods
241
+
242
+ # @!attribute [rw] key
243
+ # @return [::String]
244
+ # @!attribute [rw] value
245
+ # @return [::String]
246
+ class ResourcePoolImagesEntry
247
+ include ::Google::Protobuf::MessageExts
248
+ extend ::Google::Protobuf::MessageExts::ClassMethods
249
+ end
213
250
  end
214
251
 
215
252
  # Persistent Cluster runtime information as output
253
+ # @!attribute [r] access_uris
254
+ # @return [::Google::Protobuf::Map{::String => ::String}]
255
+ # Output only. URIs for user to connect to the Cluster.
256
+ # Example:
257
+ # {
258
+ # "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
259
+ # "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
260
+ # }
216
261
  class ResourceRuntime
217
262
  include ::Google::Protobuf::MessageExts
218
263
  extend ::Google::Protobuf::MessageExts::ClassMethods
264
+
265
+ # @!attribute [rw] key
266
+ # @return [::String]
267
+ # @!attribute [rw] value
268
+ # @return [::String]
269
+ class AccessUrisEntry
270
+ include ::Google::Protobuf::MessageExts
271
+ extend ::Google::Protobuf::MessageExts::ClassMethods
272
+ end
219
273
  end
220
274
 
221
275
  # Configuration for the use of custom service account to run the workloads.
@@ -242,6 +296,15 @@ module Google
242
296
  include ::Google::Protobuf::MessageExts
243
297
  extend ::Google::Protobuf::MessageExts::ClassMethods
244
298
  end
299
+
300
+ # Configuration for the Ray metrics.
301
+ # @!attribute [rw] disabled
302
+ # @return [::Boolean]
303
+ # Optional. Flag to disable the Ray metrics collection.
304
+ class RayMetricSpec
305
+ include ::Google::Protobuf::MessageExts
306
+ extend ::Google::Protobuf::MessageExts::ClassMethods
307
+ end
245
308
  end
246
309
  end
247
310
  end
@@ -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.
@@ -228,6 +228,10 @@ module Google
228
228
  # @return [::String]
229
229
  # Optional. The path to the directory containing the Model artifact and
230
230
  # any of its supporting files.
231
+ # @!attribute [rw] deploy_task_name
232
+ # @return [::String]
233
+ # Optional. The name of the deploy task (e.g., "text to image
234
+ # generation").
231
235
  # @!attribute [rw] title
232
236
  # @return [::String]
233
237
  # Required. The title of the regional resource reference.
@@ -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
@@ -24,7 +24,7 @@ module Google
24
24
  # Represents a TuningJob that runs with Google owned models.
25
25
  # @!attribute [rw] base_model
26
26
  # @return [::String]
27
- # Model name for tuning, e.g., "gemini-1.0-pro-002".
27
+ # The base model that is being tuned, e.g., "gemini-1.0-pro-002".
28
28
  # @!attribute [rw] supervised_tuning_spec
29
29
  # @return [::Google::Cloud::AIPlatform::V1::SupervisedTuningSpec]
30
30
  # Tuning Spec for Supervised Fine Tuning.
@@ -35,8 +35,8 @@ module Google
35
35
  # @!attribute [rw] tuned_model_display_name
36
36
  # @return [::String]
37
37
  # Optional. The display name of the
38
- # {::Google::Cloud::AIPlatform::V1::Model TunedModel}. The name can be up to
39
- # 128 characters long and can consist of any UTF-8 characters.
38
+ # {::Google::Cloud::AIPlatform::V1::Model TunedModel}. The name can be up to 128
39
+ # characters long and can consist of any UTF-8 characters.
40
40
  # @!attribute [rw] description
41
41
  # @return [::String]
42
42
  # Optional. The description of the
@@ -209,10 +209,11 @@ module Google
209
209
  # Hyperparameters for SFT.
210
210
  # @!attribute [rw] epoch_count
211
211
  # @return [::Integer]
212
- # Optional. Number of training epoches for this tuning job.
212
+ # Optional. Number of complete passes the model makes over the entire
213
+ # training dataset during training.
213
214
  # @!attribute [rw] learning_rate_multiplier
214
215
  # @return [::Float]
215
- # Optional. Learning rate multiplier for tuning.
216
+ # Optional. Multiplier for adjusting the default learning rate.
216
217
  # @!attribute [rw] adapter_size
217
218
  # @return [::Google::Cloud::AIPlatform::V1::SupervisedHyperParameters::AdapterSize]
218
219
  # Optional. Adapter size for tuning.
@@ -243,11 +244,11 @@ module Google
243
244
  # @!attribute [rw] training_dataset_uri
244
245
  # @return [::String]
245
246
  # Required. Cloud Storage path to file containing training dataset for
246
- # tuning.
247
+ # tuning. The dataset must be formatted as a JSONL file.
247
248
  # @!attribute [rw] validation_dataset_uri
248
249
  # @return [::String]
249
250
  # Optional. Cloud Storage path to file containing validation dataset for
250
- # tuning.
251
+ # tuning. The dataset must be formatted as a JSONL file.
251
252
  # @!attribute [rw] hyper_parameters
252
253
  # @return [::Google::Cloud::AIPlatform::V1::SupervisedHyperParameters]
253
254
  # Optional. Hyperparameters for SFT.