google-cloud-ai_platform-v1 0.60.0 → 0.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -20
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +43 -20
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +9 -5
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +43 -20
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +84 -35
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +166 -116
  8. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +34 -7
  9. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +9 -5
  10. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +33 -7
  11. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +84 -35
  12. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +62 -38
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +36 -10
  14. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +9 -5
  15. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +36 -10
  16. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +84 -35
  17. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +86 -56
  18. data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +29 -2
  19. data/lib/google/cloud/ai_platform/v1/evaluation_service/rest/client.rb +29 -2
  20. data/lib/google/cloud/ai_platform/v1/evaluation_service/rest/service_stub.rb +22 -8
  21. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +38 -14
  22. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +9 -5
  23. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +38 -14
  24. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +84 -35
  25. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +118 -80
  26. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +29 -3
  27. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +29 -3
  28. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +30 -14
  29. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +38 -12
  30. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +9 -5
  31. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +38 -12
  32. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +84 -35
  33. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +102 -68
  34. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +29 -4
  35. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +29 -3
  36. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +31 -14
  37. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +45 -22
  38. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +9 -5
  39. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +45 -22
  40. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +84 -35
  41. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +182 -128
  42. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +872 -0
  43. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/credentials.rb +47 -0
  44. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/paths.rb +88 -0
  45. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/client.rb +820 -0
  46. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest/service_stub.rb +388 -0
  47. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/rest.rb +53 -0
  48. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service.rb +55 -0
  49. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +31 -6
  50. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +9 -5
  51. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +31 -6
  52. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +84 -35
  53. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +54 -32
  54. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +35 -9
  55. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +9 -5
  56. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +35 -9
  57. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +84 -35
  58. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +78 -50
  59. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +33 -8
  60. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +9 -5
  61. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +33 -8
  62. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +84 -35
  63. data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +70 -44
  64. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +44 -36
  65. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +9 -5
  66. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +44 -36
  67. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +84 -35
  68. data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +294 -212
  69. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +29 -3
  70. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +29 -3
  71. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +30 -14
  72. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +29 -3
  73. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +29 -3
  74. data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +30 -14
  75. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +42 -33
  76. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +9 -5
  77. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +42 -33
  78. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +84 -35
  79. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +270 -194
  80. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +31 -3
  81. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +9 -5
  82. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +31 -3
  83. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +84 -35
  84. data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +30 -14
  85. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +29 -2
  86. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +29 -2
  87. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +22 -8
  88. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +39 -19
  89. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +9 -5
  90. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +39 -19
  91. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +84 -35
  92. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +158 -110
  93. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +41 -17
  94. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +9 -5
  95. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +41 -17
  96. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +84 -35
  97. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +142 -98
  98. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +34 -7
  99. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +9 -5
  100. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +34 -7
  101. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +84 -35
  102. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +62 -38
  103. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +35 -13
  104. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +9 -5
  105. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +35 -13
  106. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +84 -35
  107. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +110 -74
  108. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +43 -16
  109. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +19 -0
  110. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +43 -9
  111. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +65 -38
  112. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +593 -0
  113. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/credentials.rb +47 -0
  114. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/paths.rb +52 -0
  115. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client.rb +564 -0
  116. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb +199 -0
  117. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest.rb +53 -0
  118. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service.rb +55 -0
  119. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +914 -0
  120. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/credentials.rb +47 -0
  121. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +814 -0
  122. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/paths.rb +69 -0
  123. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/client.rb +862 -0
  124. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +4293 -0
  125. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/service_stub.rb +388 -0
  126. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest.rb +54 -0
  127. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service.rb +56 -0
  128. data/lib/google/cloud/ai_platform/v1/rest.rb +3 -0
  129. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +31 -8
  130. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +9 -5
  131. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +31 -8
  132. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +84 -35
  133. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +70 -44
  134. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +33 -6
  135. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +9 -5
  136. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +33 -6
  137. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +84 -35
  138. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +54 -32
  139. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +40 -31
  140. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +9 -5
  141. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +40 -30
  142. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +84 -35
  143. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +247 -176
  144. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  145. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +36 -11
  146. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +9 -5
  147. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +36 -11
  148. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +84 -35
  149. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/service_stub.rb +94 -62
  150. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +29 -4
  151. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +29 -4
  152. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/service_stub.rb +38 -20
  153. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +33 -16
  154. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +9 -5
  155. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +33 -16
  156. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +84 -35
  157. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +134 -92
  158. data/lib/google/cloud/ai_platform/v1.rb +3 -0
  159. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  160. data/lib/google/cloud/aiplatform/v1/cached_content_pb.rb +54 -0
  161. data/lib/google/cloud/aiplatform/v1/gen_ai_cache_service_pb.rb +57 -0
  162. data/lib/google/cloud/aiplatform/v1/gen_ai_cache_service_services_pb.rb +54 -0
  163. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +1 -1
  164. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  165. data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_pb.rb +52 -0
  166. data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_services_pb.rb +47 -0
  167. data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +51 -0
  168. data/lib/google/cloud/aiplatform/v1/reasoning_engine_service_pb.rb +62 -0
  169. data/lib/google/cloud/aiplatform/v1/reasoning_engine_service_services_pb.rb +53 -0
  170. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
  171. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  172. data/proto_docs/google/cloud/aiplatform/v1/cached_content.rb +101 -0
  173. data/proto_docs/google/cloud/aiplatform/v1/gen_ai_cache_service.rb +108 -0
  174. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +42 -2
  175. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +11 -0
  176. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +87 -0
  177. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine_execution_service.rb +73 -0
  178. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine_service.rb +136 -0
  179. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +15 -0
  180. data/proto_docs/google/type/latlng.rb +38 -0
  181. metadata +42 -8
@@ -8,9 +8,10 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/cloud/aiplatform/v1/openapi_pb'
10
10
  require 'google/protobuf/struct_pb'
11
+ require 'google/type/latlng_pb'
11
12
 
12
13
 
13
- descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xf3\x01\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\"\xba\x01\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x39\n\x08response\x18\x04 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\"M\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"U\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\"\xc9\x01\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12\x46\n\x10vertex_rag_store\x18\x04 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexRagStoreH\x00\x12\"\n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x42\x08\n\x06source\"\xaa\x03\n\x0eVertexRagStore\x12R\n\rrag_resources\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.VertexRagStore.RagResourceB\x03\xe0\x41\x01\x12$\n\x10similarity_top_k\x18\x02 \x01(\x05\x42\x05\x18\x01\xe0\x41\x01H\x00\x88\x01\x01\x12-\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x05\x18\x01\xe0\x41\x01H\x01\x88\x01\x01\x12Q\n\x14rag_retrieval_config\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xe0\x41\x01\x1ai\n\x0bRagResource\x12?\n\nrag_corpus\x18\x01 \x01(\tB+\xe0\x41\x01\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x19\n\x0crag_file_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x42\x13\n\x11_similarity_top_kB\x1c\n\x1a_vector_distance_threshold\"(\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x02\"m\n\x15GoogleSearchRetrieval\x12T\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"\xca\x01\n\x16\x44ynamicRetrievalConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\n\x11\x64ynamic_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\".\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_DYNAMIC\x10\x01\x42\x14\n\x12_dynamic_threshold\"e\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\"\xc2\x01\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"9\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\"\x8a\x02\n\x12RagRetrievalConfig\x12\x12\n\x05top_k\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\x03\xe0\x41\x01\x1a\x93\x01\n\x06\x46ilter\x12(\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12*\n\x1bvector_similarity_threshold\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1c\n\x0fmetadata_filter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x15\n\x13vector_db_thresholdB\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
14
+ descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x18google/type/latlng.proto\"\xf3\x01\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\"\xba\x01\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x39\n\x08response\x18\x04 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\"M\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"U\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\"\xc9\x01\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12\x46\n\x10vertex_rag_store\x18\x04 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexRagStoreH\x00\x12\"\n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x42\x08\n\x06source\"\xaa\x03\n\x0eVertexRagStore\x12R\n\rrag_resources\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.VertexRagStore.RagResourceB\x03\xe0\x41\x01\x12$\n\x10similarity_top_k\x18\x02 \x01(\x05\x42\x05\x18\x01\xe0\x41\x01H\x00\x88\x01\x01\x12-\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x05\x18\x01\xe0\x41\x01H\x01\x88\x01\x01\x12Q\n\x14rag_retrieval_config\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xe0\x41\x01\x1ai\n\x0bRagResource\x12?\n\nrag_corpus\x18\x01 \x01(\tB+\xe0\x41\x01\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x19\n\x0crag_file_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x42\x13\n\x11_similarity_top_kB\x1c\n\x1a_vector_distance_threshold\"(\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x02\"m\n\x15GoogleSearchRetrieval\x12T\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"\xca\x01\n\x16\x44ynamicRetrievalConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\n\x11\x64ynamic_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\".\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_DYNAMIC\x10\x01\x42\x14\n\x12_dynamic_threshold\"\xb1\x01\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\x12J\n\x10retrieval_config\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.RetrievalConfigB\x03\xe0\x41\x01\"\xc2\x01\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"9\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\"v\n\x0fRetrievalConfig\x12)\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_lat_lngB\x10\n\x0e_language_code\"\x8a\x02\n\x12RagRetrievalConfig\x12\x12\n\x05top_k\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\x03\xe0\x41\x01\x1a\x93\x01\n\x06\x46ilter\x12(\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12*\n\x1bvector_similarity_threshold\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1c\n\x0fmetadata_filter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x15\n\x13vector_db_thresholdB\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
14
15
 
15
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
17
 
@@ -27,6 +28,7 @@ rescue TypeError
27
28
  imports = [
28
29
  ["google.cloud.aiplatform.v1.Schema", "google/cloud/aiplatform/v1/openapi.proto"],
29
30
  ["google.protobuf.Struct", "google/protobuf/struct.proto"],
31
+ ["google.type.LatLng", "google/type/latlng.proto"],
30
32
  ]
31
33
  imports.each do |type_name, expected_filename|
32
34
  import_file = pool.lookup(type_name).file_descriptor
@@ -56,6 +58,7 @@ module Google
56
58
  ToolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ToolConfig").msgclass
57
59
  FunctionCallingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionCallingConfig").msgclass
58
60
  FunctionCallingConfig::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionCallingConfig.Mode").enummodule
61
+ RetrievalConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RetrievalConfig").msgclass
59
62
  RagRetrievalConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagRetrievalConfig").msgclass
60
63
  RagRetrievalConfig::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagRetrievalConfig.Filter").msgclass
61
64
  end
@@ -54,6 +54,9 @@ module Google
54
54
  # Nvidia H100 80Gb GPU.
55
55
  NVIDIA_H100_80GB = 13
56
56
 
57
+ # Nvidia H100 Mega 80Gb GPU.
58
+ NVIDIA_H100_MEGA_80GB = 14
59
+
57
60
  # TPU v2.
58
61
  TPU_V2 = 6
59
62
 
@@ -0,0 +1,101 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # A resource used in LLM queries for users to explicitly specify what to cache
25
+ # and how to cache.
26
+ # @!attribute [rw] expire_time
27
+ # @return [::Google::Protobuf::Timestamp]
28
+ # Timestamp of when this resource is considered expired.
29
+ # This is *always* provided on output, regardless of what was sent
30
+ # on input.
31
+ # @!attribute [rw] ttl
32
+ # @return [::Google::Protobuf::Duration]
33
+ # Input only. The TTL for this resource. The expiration time is computed:
34
+ # now + TTL.
35
+ # @!attribute [rw] name
36
+ # @return [::String]
37
+ # Immutable. Identifier. The server-generated resource name of the cached
38
+ # content Format:
39
+ # projects/\\{project}/locations/\\{location}/cachedContents/\\{cached_content}
40
+ # @!attribute [rw] display_name
41
+ # @return [::String]
42
+ # Optional. Immutable. The user-generated meaningful display name of the
43
+ # cached content.
44
+ # @!attribute [rw] model
45
+ # @return [::String]
46
+ # Immutable. The name of the publisher model to use for cached content.
47
+ # Format:
48
+ # projects/\\{project}/locations/\\{location}/publishers/\\{publisher}/models/\\{model}
49
+ # @!attribute [rw] system_instruction
50
+ # @return [::Google::Cloud::AIPlatform::V1::Content]
51
+ # Optional. Input only. Immutable. Developer set system instruction.
52
+ # Currently, text only
53
+ # @!attribute [rw] contents
54
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
55
+ # Optional. Input only. Immutable. The content to cache
56
+ # @!attribute [rw] tools
57
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Tool>]
58
+ # Optional. Input only. Immutable. A list of `Tools` the model may use to
59
+ # generate the next response
60
+ # @!attribute [rw] tool_config
61
+ # @return [::Google::Cloud::AIPlatform::V1::ToolConfig]
62
+ # Optional. Input only. Immutable. Tool config. This config is shared for all
63
+ # tools
64
+ # @!attribute [r] create_time
65
+ # @return [::Google::Protobuf::Timestamp]
66
+ # Output only. Creatation time of the cache entry.
67
+ # @!attribute [r] update_time
68
+ # @return [::Google::Protobuf::Timestamp]
69
+ # Output only. When the cache entry was last updated in UTC time.
70
+ # @!attribute [r] usage_metadata
71
+ # @return [::Google::Cloud::AIPlatform::V1::CachedContent::UsageMetadata]
72
+ # Output only. Metadata on the usage of the cached content.
73
+ class CachedContent
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+
77
+ # Metadata on the usage of the cached content.
78
+ # @!attribute [rw] total_token_count
79
+ # @return [::Integer]
80
+ # Total number of tokens that the cached content consumes.
81
+ # @!attribute [rw] text_count
82
+ # @return [::Integer]
83
+ # Number of text characters.
84
+ # @!attribute [rw] image_count
85
+ # @return [::Integer]
86
+ # Number of images.
87
+ # @!attribute [rw] video_duration_seconds
88
+ # @return [::Integer]
89
+ # Duration of video in seconds.
90
+ # @!attribute [rw] audio_duration_seconds
91
+ # @return [::Integer]
92
+ # Duration of audio in seconds.
93
+ class UsageMetadata
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,108 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # Request message for
25
+ # {::Google::Cloud::AIPlatform::V1::GenAiCacheService::Client#create_cached_content GenAiCacheService.CreateCachedContent}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The parent resource where the cached content will be created
29
+ # @!attribute [rw] cached_content
30
+ # @return [::Google::Cloud::AIPlatform::V1::CachedContent]
31
+ # Required. The cached content to create
32
+ class CreateCachedContentRequest
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+
37
+ # Request message for
38
+ # {::Google::Cloud::AIPlatform::V1::GenAiCacheService::Client#get_cached_content GenAiCacheService.GetCachedContent}.
39
+ # @!attribute [rw] name
40
+ # @return [::String]
41
+ # Required. The resource name referring to the cached content
42
+ class GetCachedContentRequest
43
+ include ::Google::Protobuf::MessageExts
44
+ extend ::Google::Protobuf::MessageExts::ClassMethods
45
+ end
46
+
47
+ # Request message for
48
+ # {::Google::Cloud::AIPlatform::V1::GenAiCacheService::Client#update_cached_content GenAiCacheService.UpdateCachedContent}.
49
+ # Only expire_time or ttl can be updated.
50
+ # @!attribute [rw] cached_content
51
+ # @return [::Google::Cloud::AIPlatform::V1::CachedContent]
52
+ # Required. The cached content to update
53
+ # @!attribute [rw] update_mask
54
+ # @return [::Google::Protobuf::FieldMask]
55
+ # Required. The list of fields to update.
56
+ class UpdateCachedContentRequest
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # Request message for
62
+ # {::Google::Cloud::AIPlatform::V1::GenAiCacheService::Client#delete_cached_content GenAiCacheService.DeleteCachedContent}.
63
+ # @!attribute [rw] name
64
+ # @return [::String]
65
+ # Required. The resource name referring to the cached content
66
+ class DeleteCachedContentRequest
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Request to list CachedContents.
72
+ # @!attribute [rw] parent
73
+ # @return [::String]
74
+ # Required. The parent, which owns this collection of cached contents.
75
+ # @!attribute [rw] page_size
76
+ # @return [::Integer]
77
+ # Optional. The maximum number of cached contents to return. The service may
78
+ # return fewer than this value. If unspecified, some default (under maximum)
79
+ # number of items will be returned. The maximum value is 1000; values above
80
+ # 1000 will be coerced to 1000.
81
+ # @!attribute [rw] page_token
82
+ # @return [::String]
83
+ # Optional. A page token, received from a previous `ListCachedContents` call.
84
+ # Provide this to retrieve the subsequent page.
85
+ #
86
+ # When paginating, all other parameters provided to `ListCachedContents` must
87
+ # match the call that provided the page token.
88
+ class ListCachedContentsRequest
89
+ include ::Google::Protobuf::MessageExts
90
+ extend ::Google::Protobuf::MessageExts::ClassMethods
91
+ end
92
+
93
+ # Response with a list of CachedContents.
94
+ # @!attribute [rw] cached_contents
95
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::CachedContent>]
96
+ # List of cached contents.
97
+ # @!attribute [rw] next_page_token
98
+ # @return [::String]
99
+ # A token, which can be sent as `page_token` to retrieve the next page.
100
+ # If this field is omitted, there are no subsequent pages.
101
+ class ListCachedContentsResponse
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+ end
106
+ end
107
+ end
108
+ end
@@ -36,8 +36,12 @@ module Google
36
36
  # @return [::String]
37
37
  # The description of the NotebookRuntimeTemplate.
38
38
  # @!attribute [r] is_default
39
+ # @deprecated This field is deprecated and may be removed in the next major version update.
39
40
  # @return [::Boolean]
40
- # Output only. The default template to use if not specified.
41
+ # Output only. Deprecated: This field has no behavior. Use
42
+ # notebook_runtime_type = 'ONE_CLICK' instead.
43
+ #
44
+ # The default template to use if not specified.
41
45
  # @!attribute [rw] machine_spec
42
46
  # @return [::Google::Cloud::AIPlatform::V1::MachineSpec]
43
47
  # Optional. Immutable. The specification of a single machine for the
@@ -51,7 +55,17 @@ module Google
51
55
  # @return [::Google::Cloud::AIPlatform::V1::NetworkSpec]
52
56
  # Optional. Network spec.
53
57
  # @!attribute [rw] service_account
58
+ # @deprecated This field is deprecated and may be removed in the next major version update.
54
59
  # @return [::String]
60
+ # Deprecated: This field is ignored and the "Vertex AI Notebook Service
61
+ # Account"
62
+ # (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
63
+ # used for the runtime workload identity.
64
+ # See
65
+ # https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
66
+ # for more details.
67
+ # For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
68
+ #
55
69
  # The service account that the runtime workload runs as.
56
70
  # You can use any service account within the same project, but you
57
71
  # must have the service account user permission to use the instance.
@@ -149,7 +163,15 @@ module Google
149
163
  # The description of the NotebookRuntime.
150
164
  # @!attribute [r] service_account
151
165
  # @return [::String]
152
- # Output only. The service account that the NotebookRuntime workload runs as.
166
+ # Output only. Deprecated: This field is no longer used and the "Vertex AI
167
+ # Notebook Service Account"
168
+ # (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
169
+ # used for the runtime workload identity.
170
+ # See
171
+ # https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
172
+ # for more details.
173
+ #
174
+ # The service account that the NotebookRuntime workload runs as.
153
175
  # @!attribute [r] runtime_state
154
176
  # @return [::Google::Cloud::AIPlatform::V1::NotebookRuntime::RuntimeState]
155
177
  # Output only. The runtime (instance) state of the NotebookRuntime.
@@ -189,9 +211,27 @@ module Google
189
211
  # @!attribute [r] notebook_runtime_type
190
212
  # @return [::Google::Cloud::AIPlatform::V1::NotebookRuntimeType]
191
213
  # Output only. The type of the notebook runtime.
214
+ # @!attribute [r] machine_spec
215
+ # @return [::Google::Cloud::AIPlatform::V1::MachineSpec]
216
+ # Output only. The specification of a single machine used by the notebook
217
+ # runtime.
218
+ # @!attribute [r] data_persistent_disk_spec
219
+ # @return [::Google::Cloud::AIPlatform::V1::PersistentDiskSpec]
220
+ # Output only. The specification of [persistent
221
+ # disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
222
+ # attached to the notebook runtime as data disk storage.
223
+ # @!attribute [r] network_spec
224
+ # @return [::Google::Cloud::AIPlatform::V1::NetworkSpec]
225
+ # Output only. Network spec of the notebook runtime.
192
226
  # @!attribute [r] idle_shutdown_config
193
227
  # @return [::Google::Cloud::AIPlatform::V1::NotebookIdleShutdownConfig]
194
228
  # Output only. The idle shutdown configuration of the notebook runtime.
229
+ # @!attribute [r] euc_config
230
+ # @return [::Google::Cloud::AIPlatform::V1::NotebookEucConfig]
231
+ # Output only. EUC configuration of the notebook runtime.
232
+ # @!attribute [r] shielded_vm_config
233
+ # @return [::Google::Cloud::AIPlatform::V1::ShieldedVmConfig]
234
+ # Output only. Runtime Shielded VM spec.
195
235
  # @!attribute [rw] network_tags
196
236
  # @return [::Array<::String>]
197
237
  # Optional. The Compute Engine tags to add to runtime (see [Tagging
@@ -499,6 +499,13 @@ module Google
499
499
  # Optional. The user provided system instructions for the model.
500
500
  # Note: only text should be used in parts and content in each part will be in
501
501
  # a separate paragraph.
502
+ # @!attribute [rw] cached_content
503
+ # @return [::String]
504
+ # Optional. The name of the cached content used as context to serve the
505
+ # prediction. Note: only used in explicit caching, where users can have
506
+ # control over caching (e.g. what content to cache) and enjoy guaranteed cost
507
+ # savings. Format:
508
+ # `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
502
509
  # @!attribute [rw] tools
503
510
  # @return [::Array<::Google::Cloud::AIPlatform::V1::Tool>]
504
511
  # Optional. A list of `Tools` the model may use to generate the next
@@ -606,6 +613,10 @@ module Google
606
613
  # @!attribute [rw] total_token_count
607
614
  # @return [::Integer]
608
615
  # Total token count for prompt and response candidates.
616
+ # @!attribute [r] cached_content_token_count
617
+ # @return [::Integer]
618
+ # Output only. Number of tokens in the cached part in the input (the cached
619
+ # content).
609
620
  class UsageMetadata
610
621
  include ::Google::Protobuf::MessageExts
611
622
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,87 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # ReasoningEngine configurations
25
+ # @!attribute [rw] package_spec
26
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec]
27
+ # Required. User provided package spec of the ReasoningEngine.
28
+ # @!attribute [rw] class_methods
29
+ # @return [::Array<::Google::Protobuf::Struct>]
30
+ # Optional. Declarations for object class methods in OpenAPI specification
31
+ # format.
32
+ class ReasoningEngineSpec
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+
36
+ # User provided package spec like pickled object and package requirements.
37
+ # @!attribute [rw] pickle_object_gcs_uri
38
+ # @return [::String]
39
+ # Optional. The Cloud Storage URI of the pickled python object.
40
+ # @!attribute [rw] dependency_files_gcs_uri
41
+ # @return [::String]
42
+ # Optional. The Cloud Storage URI of the dependency files in tar.gz format.
43
+ # @!attribute [rw] requirements_gcs_uri
44
+ # @return [::String]
45
+ # Optional. The Cloud Storage URI of the `requirements.txt` file
46
+ # @!attribute [rw] python_version
47
+ # @return [::String]
48
+ # Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11.
49
+ # If not specified, default value is 3.10.
50
+ class PackageSpec
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+ end
55
+
56
+ # ReasoningEngine provides a customizable runtime for models to determine
57
+ # which actions to take and in which order.
58
+ # @!attribute [rw] name
59
+ # @return [::String]
60
+ # Identifier. The resource name of the ReasoningEngine.
61
+ # @!attribute [rw] display_name
62
+ # @return [::String]
63
+ # Required. The display name of the ReasoningEngine.
64
+ # @!attribute [rw] description
65
+ # @return [::String]
66
+ # Optional. The description of the ReasoningEngine.
67
+ # @!attribute [rw] spec
68
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec]
69
+ # Required. Configurations of the ReasoningEngine
70
+ # @!attribute [r] create_time
71
+ # @return [::Google::Protobuf::Timestamp]
72
+ # Output only. Timestamp when this ReasoningEngine was created.
73
+ # @!attribute [r] update_time
74
+ # @return [::Google::Protobuf::Timestamp]
75
+ # Output only. Timestamp when this ReasoningEngine was most recently updated.
76
+ # @!attribute [rw] etag
77
+ # @return [::String]
78
+ # Optional. Used to perform consistent read-modify-write updates. If not set,
79
+ # a blind "overwrite" update happens.
80
+ class ReasoningEngine
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # Request message for [ReasoningEngineExecutionService.Query][].
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The name of the ReasoningEngine resource to use.
28
+ # Format:
29
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
30
+ # @!attribute [rw] input
31
+ # @return [::Google::Protobuf::Struct]
32
+ # Optional. Input content provided by users in JSON object format. Examples
33
+ # include text query, function calling parameters, media bytes, etc.
34
+ # @!attribute [rw] class_method
35
+ # @return [::String]
36
+ # Optional. Class method to be used for the query.
37
+ # It is optional and defaults to "query" if unspecified.
38
+ class QueryReasoningEngineRequest
39
+ include ::Google::Protobuf::MessageExts
40
+ extend ::Google::Protobuf::MessageExts::ClassMethods
41
+ end
42
+
43
+ # Response message for [ReasoningEngineExecutionService.Query][]
44
+ # @!attribute [rw] output
45
+ # @return [::Google::Protobuf::Value]
46
+ # Response provided by users in JSON object format.
47
+ class QueryReasoningEngineResponse
48
+ include ::Google::Protobuf::MessageExts
49
+ extend ::Google::Protobuf::MessageExts::ClassMethods
50
+ end
51
+
52
+ # Request message for [ReasoningEngineExecutionService.StreamQuery][].
53
+ # @!attribute [rw] name
54
+ # @return [::String]
55
+ # Required. The name of the ReasoningEngine resource to use.
56
+ # Format:
57
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
58
+ # @!attribute [rw] input
59
+ # @return [::Google::Protobuf::Struct]
60
+ # Optional. Input content provided by users in JSON object format. Examples
61
+ # include text query, function calling parameters, media bytes, etc.
62
+ # @!attribute [rw] class_method
63
+ # @return [::String]
64
+ # Optional. Class method to be used for the stream query.
65
+ # It is optional and defaults to "stream_query" if unspecified.
66
+ class StreamQueryReasoningEngineRequest
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,136 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # Request message for
25
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#create_reasoning_engine ReasoningEngineService.CreateReasoningEngine}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The resource name of the Location to create the ReasoningEngine
29
+ # in. Format: `projects/{project}/locations/{location}`
30
+ # @!attribute [rw] reasoning_engine
31
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngine]
32
+ # Required. The ReasoningEngine to create.
33
+ class CreateReasoningEngineRequest
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+ end
37
+
38
+ # Details of
39
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#create_reasoning_engine ReasoningEngineService.CreateReasoningEngine}
40
+ # operation.
41
+ # @!attribute [rw] generic_metadata
42
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
43
+ # The common part of the operation metadata.
44
+ class CreateReasoningEngineOperationMetadata
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
+ end
48
+
49
+ # Request message for
50
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#get_reasoning_engine ReasoningEngineService.GetReasoningEngine}.
51
+ # @!attribute [rw] name
52
+ # @return [::String]
53
+ # Required. The name of the ReasoningEngine resource.
54
+ # Format:
55
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
56
+ class GetReasoningEngineRequest
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # Request message for
62
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#update_reasoning_engine ReasoningEngineService.UpdateReasoningEngine}.
63
+ # @!attribute [rw] reasoning_engine
64
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngine]
65
+ # Required. The ReasoningEngine which replaces the resource on the server.
66
+ # @!attribute [rw] update_mask
67
+ # @return [::Google::Protobuf::FieldMask]
68
+ # Optional. Mask specifying which fields to update.
69
+ class UpdateReasoningEngineRequest
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+ end
73
+
74
+ # Details of
75
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#update_reasoning_engine ReasoningEngineService.UpdateReasoningEngine}
76
+ # operation.
77
+ # @!attribute [rw] generic_metadata
78
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
79
+ # The common part of the operation metadata.
80
+ class UpdateReasoningEngineOperationMetadata
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # Request message for
86
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#list_reasoning_engines ReasoningEngineService.ListReasoningEngines}.
87
+ # @!attribute [rw] parent
88
+ # @return [::String]
89
+ # Required. The resource name of the Location to list the ReasoningEngines
90
+ # from. Format: `projects/{project}/locations/{location}`
91
+ # @!attribute [rw] filter
92
+ # @return [::String]
93
+ # Optional. The standard list filter.
94
+ # More detail in [AIP-160](https://google.aip.dev/160).
95
+ # @!attribute [rw] page_size
96
+ # @return [::Integer]
97
+ # Optional. The standard list page size.
98
+ # @!attribute [rw] page_token
99
+ # @return [::String]
100
+ # Optional. The standard list page token.
101
+ class ListReasoningEnginesRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # Response message for
107
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#list_reasoning_engines ReasoningEngineService.ListReasoningEngines}
108
+ # @!attribute [rw] reasoning_engines
109
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::ReasoningEngine>]
110
+ # List of ReasoningEngines in the requested page.
111
+ # @!attribute [rw] next_page_token
112
+ # @return [::String]
113
+ # A token to retrieve the next page of results.
114
+ # Pass to
115
+ # {::Google::Cloud::AIPlatform::V1::ListReasoningEnginesRequest#page_token ListReasoningEnginesRequest.page_token}
116
+ # to obtain that page.
117
+ class ListReasoningEnginesResponse
118
+ include ::Google::Protobuf::MessageExts
119
+ extend ::Google::Protobuf::MessageExts::ClassMethods
120
+ end
121
+
122
+ # Request message for
123
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client#delete_reasoning_engine ReasoningEngineService.DeleteReasoningEngine}.
124
+ # @!attribute [rw] name
125
+ # @return [::String]
126
+ # Required. The name of the ReasoningEngine resource to be deleted.
127
+ # Format:
128
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
129
+ class DeleteReasoningEngineRequest
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
133
+ end
134
+ end
135
+ end
136
+ end