google-cloud-ai_platform-v1 0.38.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) 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 +39 -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 +2188 -0
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3901 -0
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1136 -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 +3901 -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 +21 -11
  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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +765 -0
  56. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/credentials.rb +47 -0
  57. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/paths.rb +154 -0
  58. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +720 -0
  59. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +307 -0
  60. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +53 -0
  61. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +55 -0
  62. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +19 -8
  63. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +13 -5
  64. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +1151 -0
  65. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +3901 -0
  66. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +546 -0
  67. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest.rb +54 -0
  68. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +6 -0
  69. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +17 -7
  70. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +13 -5
  71. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +1034 -0
  72. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +3901 -0
  73. data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +486 -0
  74. data/lib/google/cloud/ai_platform/v1/index_service/rest.rb +54 -0
  75. data/lib/google/cloud/ai_platform/v1/index_service.rb +6 -0
  76. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +73 -35
  77. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +13 -5
  78. data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +19 -0
  79. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +3841 -0
  80. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +3901 -0
  81. data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +2149 -0
  82. data/lib/google/cloud/ai_platform/v1/job_service/rest.rb +54 -0
  83. data/lib/google/cloud/ai_platform/v1/job_service.rb +6 -0
  84. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -2
  85. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +533 -0
  86. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +205 -0
  87. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest.rb +53 -0
  88. data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +6 -0
  89. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -2
  90. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +541 -0
  91. data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +189 -0
  92. data/lib/google/cloud/ai_platform/v1/match_service/rest.rb +54 -0
  93. data/lib/google/cloud/ai_platform/v1/match_service.rb +6 -0
  94. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +67 -32
  95. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +13 -5
  96. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +3634 -0
  97. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +3901 -0
  98. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1972 -0
  99. data/lib/google/cloud/ai_platform/v1/metadata_service/rest.rb +54 -0
  100. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +6 -0
  101. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -2
  102. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +13 -5
  103. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +574 -0
  104. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +3901 -0
  105. data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +189 -0
  106. data/lib/google/cloud/ai_platform/v1/migration_service/rest.rb +55 -0
  107. data/lib/google/cloud/ai_platform/v1/migration_service.rb +6 -0
  108. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -1
  109. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +438 -0
  110. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +128 -0
  111. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +53 -0
  112. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +6 -0
  113. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +39 -18
  114. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +13 -5
  115. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +2213 -0
  116. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +3901 -0
  117. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1140 -0
  118. data/lib/google/cloud/ai_platform/v1/model_service/rest.rb +54 -0
  119. data/lib/google/cloud/ai_platform/v1/model_service.rb +6 -0
  120. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +1497 -0
  121. data/lib/google/cloud/ai_platform/v1/notebook_service/credentials.rb +47 -0
  122. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +817 -0
  123. data/lib/google/cloud/ai_platform/v1/notebook_service/paths.rb +124 -0
  124. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +1410 -0
  125. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3901 -0
  126. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +663 -0
  127. data/lib/google/cloud/ai_platform/v1/notebook_service/rest.rb +54 -0
  128. data/lib/google/cloud/ai_platform/v1/notebook_service.rb +56 -0
  129. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +1001 -0
  130. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/credentials.rb +47 -0
  131. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +817 -0
  132. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/paths.rb +86 -0
  133. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +942 -0
  134. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +3901 -0
  135. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +426 -0
  136. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest.rb +54 -0
  137. data/lib/google/cloud/ai_platform/v1/persistent_resource_service.rb +56 -0
  138. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +27 -12
  139. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +13 -5
  140. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +1600 -0
  141. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +3901 -0
  142. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +783 -0
  143. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest.rb +56 -0
  144. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +6 -0
  145. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +39 -15
  146. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1297 -0
  147. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +642 -0
  148. data/lib/google/cloud/ai_platform/v1/prediction_service/rest.rb +53 -0
  149. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +6 -0
  150. data/lib/google/cloud/ai_platform/v1/rest.rb +63 -0
  151. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +17 -7
  152. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +13 -5
  153. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +1076 -0
  154. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +3901 -0
  155. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +486 -0
  156. data/lib/google/cloud/ai_platform/v1/schedule_service/rest.rb +55 -0
  157. data/lib/google/cloud/ai_platform/v1/schedule_service.rb +6 -0
  158. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +13 -5
  159. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +13 -5
  160. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +847 -0
  161. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +3901 -0
  162. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +366 -0
  163. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest.rb +59 -0
  164. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +6 -0
  165. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +63 -30
  166. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +13 -5
  167. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +3274 -0
  168. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +3901 -0
  169. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1847 -0
  170. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest.rb +54 -0
  171. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +6 -0
  172. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  173. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +33 -15
  174. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +13 -5
  175. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +1788 -0
  176. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +3901 -0
  177. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +963 -0
  178. data/lib/google/cloud/ai_platform/v1/vizier_service/rest.rb +58 -0
  179. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +6 -0
  180. data/lib/google/cloud/ai_platform/v1.rb +9 -1
  181. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  182. data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -1
  183. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
  184. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
  185. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
  186. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +1 -1
  187. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +5 -1
  188. data/lib/google/cloud/aiplatform/v1/genai_tuning_service_pb.rb +54 -0
  189. data/lib/google/cloud/aiplatform/v1/genai_tuning_service_services_pb.rb +63 -0
  190. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
  191. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +2 -1
  192. data/lib/google/cloud/aiplatform/v1/network_spec_pb.rb +44 -0
  193. data/lib/google/cloud/aiplatform/v1/notebook_euc_config_pb.rb +44 -0
  194. data/lib/google/cloud/aiplatform/v1/notebook_idle_shutdown_config_pb.rb +46 -0
  195. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +61 -0
  196. data/lib/google/cloud/aiplatform/v1/notebook_runtime_template_ref_pb.rb +45 -0
  197. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +72 -0
  198. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +64 -0
  199. data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +1 -1
  200. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +60 -0
  201. data/lib/google/cloud/aiplatform/v1/persistent_resource_service_pb.rb +64 -0
  202. data/lib/google/cloud/aiplatform/v1/persistent_resource_service_services_pb.rb +55 -0
  203. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  204. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
  205. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +60 -0
  206. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  207. data/proto_docs/google/cloud/aiplatform/v1/content.rb +52 -3
  208. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +9 -0
  209. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +14 -0
  210. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +2 -3
  211. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +29 -0
  212. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +5 -0
  213. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +1 -1
  214. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +86 -0
  215. data/proto_docs/google/cloud/aiplatform/v1/genai_tuning_service.rb +100 -0
  216. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +3 -0
  217. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +17 -0
  218. data/proto_docs/google/cloud/aiplatform/v1/network_spec.rb +44 -0
  219. data/proto_docs/google/cloud/aiplatform/v1/notebook_euc_config.rb +46 -0
  220. data/proto_docs/google/cloud/aiplatform/v1/notebook_idle_shutdown_config.rb +41 -0
  221. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +263 -0
  222. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime_template_ref.rb +35 -0
  223. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +371 -0
  224. data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +43 -4
  225. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +248 -0
  226. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource_service.rb +170 -0
  227. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +12 -0
  228. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
  229. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +7 -5
  230. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +262 -0
  231. metadata +138 -2
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/notebook_euc_config.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n4google/cloud/aiplatform/v1/notebook_euc_config.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\"O\n\x11NotebookEucConfig\x12\x19\n\x0c\x65uc_disabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x04\x12\x1f\n\x12\x62ypass_actas_check\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x42\xd4\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x16NotebookEucConfigProtoP\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"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Google
37
+ module Cloud
38
+ module AIPlatform
39
+ module V1
40
+ NotebookEucConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookEucConfig").msgclass
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/protobuf/duration_pb'
9
+
10
+
11
+ descriptor_data = "\n>google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\"r\n\x1aNotebookIdleShutdownConfig\x12\x34\n\x0cidle_timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x1e\n\x16idle_shutdown_disabled\x18\x02 \x01(\x08\x42\xdd\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1fNotebookIdleShutdownConfigProtoP\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"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
+ end
33
+ end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
36
+ end
37
+
38
+ module Google
39
+ module Cloud
40
+ module AIPlatform
41
+ module V1
42
+ NotebookIdleShutdownConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookIdleShutdownConfig").msgclass
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/notebook_runtime.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/aiplatform/v1/machine_resources_pb'
10
+ require 'google/cloud/aiplatform/v1/network_spec_pb'
11
+ require 'google/cloud/aiplatform/v1/notebook_euc_config_pb'
12
+ require 'google/cloud/aiplatform/v1/notebook_idle_shutdown_config_pb'
13
+ require 'google/cloud/aiplatform/v1/notebook_runtime_template_ref_pb'
14
+ require 'google/protobuf/timestamp_pb'
15
+
16
+
17
+ descriptor_data = "\n1google/cloud/aiplatform/v1/notebook_runtime.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a-google/cloud/aiplatform/v1/network_spec.proto\x1a\x34google/cloud/aiplatform/v1/notebook_euc_config.proto\x1a>google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto\x1a>google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdc\x08\n\x17NotebookRuntimeTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x17\n\nis_default\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\x0cmachine_spec\x18\x05 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x01\xe0\x41\x05\x12V\n\x19\x64\x61ta_persistent_disk_spec\x18\x08 \x01(\x0b\x32..google.cloud.aiplatform.v1.PersistentDiskSpecB\x03\xe0\x41\x01\x12\x42\n\x0cnetwork_spec\x18\x0c \x01(\x0b\x32\'.google.cloud.aiplatform.v1.NetworkSpecB\x03\xe0\x41\x01\x12\x17\n\x0fservice_account\x18\r \x01(\t\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12O\n\x06labels\x18\x0f \x03(\x0b\x32?.google.cloud.aiplatform.v1.NotebookRuntimeTemplate.LabelsEntry\x12T\n\x14idle_shutdown_config\x18\x11 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.NotebookIdleShutdownConfig\x12\x41\n\neuc_config\x18\x12 \x01(\x0b\x32-.google.cloud.aiplatform.v1.NotebookEucConfig\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12V\n\x15notebook_runtime_type\x18\x13 \x01(\x0e\x32/.google.cloud.aiplatform.v1.NotebookRuntimeTypeB\x06\xe0\x41\x01\xe0\x41\x05\x12P\n\x12shielded_vm_config\x18\x14 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ShieldedVmConfigB\x06\xe0\x41\x01\xe0\x41\x05\x12\x19\n\x0cnetwork_tags\x18\x15 \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x95\x01\xea\x41\x91\x01\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\x12\\projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}\"\xd5\t\n\x0fNotebookRuntime\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cruntime_user\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x1dnotebook_runtime_template_ref\x18\x03 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.NotebookRuntimeTemplateRefB\x03\xe0\x41\x03\x12\x16\n\tproxy_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x0chealth_state\x18\x08 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.NotebookRuntime.HealthStateB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\x12\x1c\n\x0fservice_account\x18\r \x01(\tB\x03\xe0\x41\x03\x12T\n\rruntime_state\x18\x0e \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.NotebookRuntime.RuntimeStateB\x03\xe0\x41\x03\x12\x1a\n\ris_upgradable\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\x06labels\x18\x10 \x03(\x0b\x32\x37.google.cloud.aiplatform.v1.NotebookRuntime.LabelsEntry\x12\x38\n\x0f\x65xpiration_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07version\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12S\n\x15notebook_runtime_type\x18\x13 \x01(\x0e\x32/.google.cloud.aiplatform.v1.NotebookRuntimeTypeB\x03\xe0\x41\x03\x12\x19\n\x0cnetwork_tags\x18\x19 \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\x0bHealthState\x12\x1c\n\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\"\x99\x01\n\x0cRuntimeState\x12\x1d\n\x19RUNTIME_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x11\n\rBEING_STARTED\x10\x02\x12\x11\n\rBEING_STOPPED\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x12\n\x0e\x42\x45ING_UPGRADED\x10\x05\x12\t\n\x05\x45RROR\x10\x64\x12\x0b\n\x07INVALID\x10\x65:{\xea\x41x\n)aiplatform.googleapis.com/NotebookRuntime\x12Kprojects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}*]\n\x13NotebookRuntimeType\x12%\n!NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_DEFINED\x10\x01\x12\r\n\tONE_CLICK\x10\x02\x42\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14NotebookRuntimeProtoP\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"
18
+
19
+ pool = Google::Protobuf::DescriptorPool.generated_pool
20
+
21
+ begin
22
+ pool.add_serialized_file(descriptor_data)
23
+ rescue TypeError
24
+ # Compatibility code: will be removed in the next major version.
25
+ require 'google/protobuf/descriptor_pb'
26
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
+ parsed.clear_dependency
28
+ serialized = parsed.class.encode(parsed)
29
+ file = pool.add_serialized_file(serialized)
30
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
+ imports = [
32
+ ["google.cloud.aiplatform.v1.MachineSpec", "google/cloud/aiplatform/v1/machine_resources.proto"],
33
+ ["google.cloud.aiplatform.v1.NetworkSpec", "google/cloud/aiplatform/v1/network_spec.proto"],
34
+ ["google.cloud.aiplatform.v1.NotebookIdleShutdownConfig", "google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto"],
35
+ ["google.cloud.aiplatform.v1.NotebookEucConfig", "google/cloud/aiplatform/v1/notebook_euc_config.proto"],
36
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
37
+ ["google.cloud.aiplatform.v1.NotebookRuntimeTemplateRef", "google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto"],
38
+ ]
39
+ imports.each do |type_name, expected_filename|
40
+ import_file = pool.lookup(type_name).file_descriptor
41
+ if import_file.name != expected_filename
42
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
43
+ end
44
+ end
45
+ warn "Each proto file must use a consistent fully-qualified name."
46
+ warn "This will become an error in the next major version."
47
+ end
48
+
49
+ module Google
50
+ module Cloud
51
+ module AIPlatform
52
+ module V1
53
+ NotebookRuntimeTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookRuntimeTemplate").msgclass
54
+ NotebookRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookRuntime").msgclass
55
+ NotebookRuntime::HealthState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookRuntime.HealthState").enummodule
56
+ NotebookRuntime::RuntimeState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookRuntime.RuntimeState").enummodule
57
+ NotebookRuntimeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookRuntimeType").enummodule
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n>google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"z\n\x1aNotebookRuntimeTemplateRef\x12\\\n\x19notebook_runtime_template\x18\x01 \x01(\tB9\xe0\x41\x05\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplateB\xdd\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1fNotebookRuntimeTemplateRefProtoP\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"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Cloud
39
+ module AIPlatform
40
+ module V1
41
+ NotebookRuntimeTemplateRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookRuntimeTemplateRef").msgclass
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,72 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/notebook_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/aiplatform/v1/notebook_runtime_pb'
12
+ require 'google/cloud/aiplatform/v1/operation_pb'
13
+ require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf/field_mask_pb'
16
+
17
+
18
+ descriptor_data = "\n1google/cloud/aiplatform/v1/notebook_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/aiplatform/v1/notebook_runtime.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe9\x01\n$CreateNotebookRuntimeTemplateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12[\n\x19notebook_runtime_template\x18\x02 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xe0\x41\x02\x12)\n\x1cnotebook_runtime_template_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n.CreateNotebookRuntimeTemplateOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"l\n!GetNotebookRuntimeTemplateRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xf1\x01\n#ListNotebookRuntimeTemplatesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x98\x01\n$ListNotebookRuntimeTemplatesResponse\x12W\n\x1anotebook_runtime_templates\x18\x01 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n$DeleteNotebookRuntimeTemplateRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xa5\x02\n\x1c\x41ssignNotebookRuntimeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\\\n\x19notebook_runtime_template\x18\x02 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\x12J\n\x10notebook_runtime\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.NotebookRuntimeB\x03\xe0\x41\x02\x12 \n\x13notebook_runtime_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n&AssignNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\\\n\x19GetNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\xe9\x01\n\x1bListNotebookRuntimesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x1cListNotebookRuntimesResponse\x12\x46\n\x11notebook_runtimes\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.NotebookRuntime\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1c\x44\x65leteNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"`\n\x1dUpgradeNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\x93\x01\n\'UpgradeNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\" \n\x1eUpgradeNotebookRuntimeResponse\"^\n\x1bStartNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\x91\x01\n%StartNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x1e\n\x1cStartNotebookRuntimeResponse2\xff\x14\n\x0fNotebookService\x12\xee\x02\n\x1d\x43reateNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest\x1a\x1d.google.longrunning.Operation\"\xeb\x01\xca\x41I\n\x17NotebookRuntimeTemplate\x12.CreateNotebookRuntimeTemplateOperationMetadata\xda\x41=parent,notebook_runtime_template,notebook_runtime_template_id\x82\xd3\xe4\x93\x02Y\"</v1/{parent=projects/*/locations/*}/notebookRuntimeTemplates:\x19notebook_runtime_template\x12\xdd\x01\n\x1aGetNotebookRuntimeTemplate\x12=.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest\x1a\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}\x12\xf0\x01\n\x1cListNotebookRuntimeTemplates\x12?.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest\x1a@.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*}/notebookRuntimeTemplates\x12\x80\x02\n\x1d\x44\x65leteNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}\x12\xbd\x02\n\x15\x41ssignNotebookRuntime\x12\x38.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\xca\x01\xca\x41\x39\n\x0fNotebookRuntime\x12&AssignNotebookRuntimeOperationMetadata\xda\x41\x45parent,notebook_runtime_template,notebook_runtime,notebook_runtime_id\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/notebookRuntimes:assign:\x01*\x12\xbd\x01\n\x12GetNotebookRuntime\x12\x35.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest\x1a+.google.cloud.aiplatform.v1.NotebookRuntime\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/notebookRuntimes/*}\x12\xd0\x01\n\x14ListNotebookRuntimes\x12\x37.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest\x1a\x38.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/notebookRuntimes\x12\xe8\x01\n\x15\x44\x65leteNotebookRuntime\x12\x38.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/notebookRuntimes/*}\x12\x8f\x02\n\x16UpgradeNotebookRuntime\x12\x39.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41I\n\x1eUpgradeNotebookRuntimeResponse\x12\'UpgradeNotebookRuntimeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1/{name=projects/*/locations/*/notebookRuntimes/*}:upgrade:\x01*\x12\x85\x02\n\x14StartNotebookRuntime\x12\x37.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41\x45\n\x1cStartNotebookRuntimeResponse\x12%StartNotebookRuntimeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02?\":/v1/{name=projects/*/locations/*/notebookRuntimes/*}:start:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14NotebookServiceProtoP\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"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.cloud.aiplatform.v1.NotebookRuntimeTemplate", "google/cloud/aiplatform/v1/notebook_runtime.proto"],
34
+ ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
41
+ end
42
+ end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
45
+ end
46
+
47
+ module Google
48
+ module Cloud
49
+ module AIPlatform
50
+ module V1
51
+ CreateNotebookRuntimeTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest").msgclass
52
+ CreateNotebookRuntimeTemplateOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateOperationMetadata").msgclass
53
+ GetNotebookRuntimeTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest").msgclass
54
+ ListNotebookRuntimeTemplatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest").msgclass
55
+ ListNotebookRuntimeTemplatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse").msgclass
56
+ DeleteNotebookRuntimeTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest").msgclass
57
+ AssignNotebookRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest").msgclass
58
+ AssignNotebookRuntimeOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AssignNotebookRuntimeOperationMetadata").msgclass
59
+ GetNotebookRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetNotebookRuntimeRequest").msgclass
60
+ ListNotebookRuntimesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListNotebookRuntimesRequest").msgclass
61
+ ListNotebookRuntimesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListNotebookRuntimesResponse").msgclass
62
+ DeleteNotebookRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest").msgclass
63
+ UpgradeNotebookRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest").msgclass
64
+ UpgradeNotebookRuntimeOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpgradeNotebookRuntimeOperationMetadata").msgclass
65
+ UpgradeNotebookRuntimeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpgradeNotebookRuntimeResponse").msgclass
66
+ StartNotebookRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StartNotebookRuntimeRequest").msgclass
67
+ StartNotebookRuntimeOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StartNotebookRuntimeOperationMetadata").msgclass
68
+ StartNotebookRuntimeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StartNotebookRuntimeResponse").msgclass
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,64 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/aiplatform/v1/notebook_service.proto for package 'Google.Cloud.AIPlatform.V1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/aiplatform/v1/notebook_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module AIPlatform
25
+ module V1
26
+ module NotebookService
27
+ # The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.aiplatform.v1.NotebookService'
35
+
36
+ # Creates a NotebookRuntimeTemplate.
37
+ rpc :CreateNotebookRuntimeTemplate, ::Google::Cloud::AIPlatform::V1::CreateNotebookRuntimeTemplateRequest, ::Google::Longrunning::Operation
38
+ # Gets a NotebookRuntimeTemplate.
39
+ rpc :GetNotebookRuntimeTemplate, ::Google::Cloud::AIPlatform::V1::GetNotebookRuntimeTemplateRequest, ::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate
40
+ # Lists NotebookRuntimeTemplates in a Location.
41
+ rpc :ListNotebookRuntimeTemplates, ::Google::Cloud::AIPlatform::V1::ListNotebookRuntimeTemplatesRequest, ::Google::Cloud::AIPlatform::V1::ListNotebookRuntimeTemplatesResponse
42
+ # Deletes a NotebookRuntimeTemplate.
43
+ rpc :DeleteNotebookRuntimeTemplate, ::Google::Cloud::AIPlatform::V1::DeleteNotebookRuntimeTemplateRequest, ::Google::Longrunning::Operation
44
+ # Assigns a NotebookRuntime to a user for a particular Notebook file. This
45
+ # method will either returns an existing assignment or generates a new one.
46
+ rpc :AssignNotebookRuntime, ::Google::Cloud::AIPlatform::V1::AssignNotebookRuntimeRequest, ::Google::Longrunning::Operation
47
+ # Gets a NotebookRuntime.
48
+ rpc :GetNotebookRuntime, ::Google::Cloud::AIPlatform::V1::GetNotebookRuntimeRequest, ::Google::Cloud::AIPlatform::V1::NotebookRuntime
49
+ # Lists NotebookRuntimes in a Location.
50
+ rpc :ListNotebookRuntimes, ::Google::Cloud::AIPlatform::V1::ListNotebookRuntimesRequest, ::Google::Cloud::AIPlatform::V1::ListNotebookRuntimesResponse
51
+ # Deletes a NotebookRuntime.
52
+ rpc :DeleteNotebookRuntime, ::Google::Cloud::AIPlatform::V1::DeleteNotebookRuntimeRequest, ::Google::Longrunning::Operation
53
+ # Upgrades a NotebookRuntime.
54
+ rpc :UpgradeNotebookRuntime, ::Google::Cloud::AIPlatform::V1::UpgradeNotebookRuntimeRequest, ::Google::Longrunning::Operation
55
+ # Starts a NotebookRuntime.
56
+ rpc :StartNotebookRuntime, ::Google::Cloud::AIPlatform::V1::StartNotebookRuntimeRequest, ::Google::Longrunning::Operation
57
+ end
58
+
59
+ Stub = Service.rpc_stub_class
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/struct_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n(google/cloud/aiplatform/v1/openapi.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb7\x03\n\x06Schema\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32 .google.cloud.aiplatform.v1.TypeB\x03\xe0\x41\x01\x12\x13\n\x06\x66ormat\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08nullable\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x36\n\x05items\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x11\n\x04\x65num\x18\t \x03(\tB\x03\xe0\x41\x01\x12K\n\nproperties\x18\x03 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.Schema.PropertiesEntryB\x03\xe0\x41\x01\x12\x15\n\x08required\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12,\n\x07\x65xample\x18\x04 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x1aU\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Schema:\x02\x38\x01*e\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\t\n\x05\x41RRAY\x10\x05\x12\n\n\x06OBJECT\x10\x06\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0cOpenApiProtoP\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"
11
+ descriptor_data = "\n(google/cloud/aiplatform/v1/openapi.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd7\x05\n\x06Schema\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32 .google.cloud.aiplatform.v1.TypeB\x03\xe0\x41\x01\x12\x13\n\x06\x66ormat\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05title\x18\x18 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08nullable\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x07\x64\x65\x66\x61ult\x18\x17 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x36\n\x05items\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x16\n\tmin_items\x18\x15 \x01(\x03\x42\x03\xe0\x41\x01\x12\x16\n\tmax_items\x18\x16 \x01(\x03\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65num\x18\t \x03(\tB\x03\xe0\x41\x01\x12K\n\nproperties\x18\x03 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.Schema.PropertiesEntryB\x03\xe0\x41\x01\x12\x15\n\x08required\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0emin_properties\x18\x0e \x01(\x03\x42\x03\xe0\x41\x01\x12\x1b\n\x0emax_properties\x18\x0f \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07minimum\x18\x10 \x01(\x01\x42\x03\xe0\x41\x01\x12\x14\n\x07maximum\x18\x11 \x01(\x01\x42\x03\xe0\x41\x01\x12\x17\n\nmin_length\x18\x12 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nmax_length\x18\x13 \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07pattern\x18\x14 \x01(\tB\x03\xe0\x41\x01\x12,\n\x07\x65xample\x18\x04 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x1aU\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Schema:\x02\x38\x01*e\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\t\n\x05\x41RRAY\x10\x05\x12\n\n\x06OBJECT\x10\x06\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0cOpenApiProtoP\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"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/persistent_resource.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/aiplatform/v1/encryption_spec_pb'
10
+ require 'google/cloud/aiplatform/v1/machine_resources_pb'
11
+ require 'google/protobuf/timestamp_pb'
12
+ require 'google/rpc/status_pb'
13
+
14
+
15
+ descriptor_data = "\n4google/cloud/aiplatform/v1/persistent_resource.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xde\x08\n\x12PersistentResource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0eresource_pools\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.ResourcePoolB\x03\xe0\x41\x02\x12H\n\x05state\x18\x05 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.PersistentResource.StateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\n \x03(\x0b\x32:.google.cloud.aiplatform.v1.PersistentResource.LabelsEntryB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12H\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x01\x12S\n\x15resource_runtime_spec\x18\r \x01(\x0b\x32/.google.cloud.aiplatform.v1.ResourceRuntimeSpecB\x03\xe0\x41\x01\x12J\n\x10resource_runtime\x18\x0e \x01(\x0b\x32+.google.cloud.aiplatform.v1.ResourceRuntimeB\x03\xe0\x41\x03\x12\x1f\n\x12reserved_ip_ranges\x18\x0f \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\r\n\tREBOOTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07:\x85\x01\xea\x41\x81\x01\n,aiplatform.googleapis.com/PersistentResource\x12Qprojects/{project}/locations/{location}/persistentResources/{persistent_resource}\"\xdb\x03\n\x0cResourcePool\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x45\n\x0cmachine_spec\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1f\n\rreplica_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12<\n\tdisk_spec\x18\x04 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DiskSpecB\x03\xe0\x41\x01\x12\x1f\n\x12used_replica_count\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12W\n\x10\x61utoscaling_spec\x18\x07 \x01(\x0b\x32\x38.google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpecB\x03\xe0\x41\x01\x1a\x87\x01\n\x0f\x41utoscalingSpec\x12#\n\x11min_replica_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12#\n\x11max_replica_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x14\n\x12_min_replica_countB\x14\n\x12_max_replica_countB\x10\n\x0e_replica_count\"\xa4\x01\n\x13ResourceRuntimeSpec\x12Q\n\x14service_account_spec\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.ServiceAccountSpecB\x03\xe0\x41\x01\x12:\n\x08ray_spec\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RaySpecB\x03\xe0\x41\x01\"\t\n\x07RaySpec\"\x11\n\x0fResourceRuntime\"^\n\x12ServiceAccountSpec\x12*\n\x1d\x65nable_custom_service_account\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17PersistentResourceProtoP\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"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.rpc.Status", "google/rpc/status.proto"],
31
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
33
+ ["google.cloud.aiplatform.v1.MachineSpec", "google/cloud/aiplatform/v1/machine_resources.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
39
+ end
40
+ end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
43
+ end
44
+
45
+ module Google
46
+ module Cloud
47
+ module AIPlatform
48
+ module V1
49
+ PersistentResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PersistentResource").msgclass
50
+ PersistentResource::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PersistentResource.State").enummodule
51
+ ResourcePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourcePool").msgclass
52
+ ResourcePool::AutoscalingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpec").msgclass
53
+ ResourceRuntimeSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourceRuntimeSpec").msgclass
54
+ RaySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RaySpec").msgclass
55
+ ResourceRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourceRuntime").msgclass
56
+ ServiceAccountSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ServiceAccountSpec").msgclass
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/persistent_resource_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/aiplatform/v1/operation_pb'
12
+ require 'google/cloud/aiplatform/v1/persistent_resource_pb'
13
+ require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf/field_mask_pb'
16
+
17
+
18
+ descriptor_data = "\n<google/cloud/aiplatform/v1/persistent_resource_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a\x34google/cloud/aiplatform/v1/persistent_resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xd3\x01\n\x1f\x43reatePersistentResourceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12P\n\x13persistent_resource\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.PersistentResourceB\x03\xe0\x41\x02\x12#\n\x16persistent_resource_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x95\x01\n)CreatePersistentResourceOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x95\x01\n)UpdatePersistentResourceOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x95\x01\n)RebootPersistentResourceOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"b\n\x1cGetPersistentResourceRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource\"\x8c\x01\n\x1eListPersistentResourcesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x88\x01\n\x1fListPersistentResourcesResponse\x12L\n\x14persistent_resources\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.PersistentResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"e\n\x1f\x44\x65letePersistentResourceRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource\"\xa9\x01\n\x1fUpdatePersistentResourceRequest\x12P\n\x13persistent_resource\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.PersistentResourceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"e\n\x1fRebootPersistentResourceRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource2\xa5\r\n\x19PersistentResourceService\x12\xc3\x02\n\x18\x43reatePersistentResource\x12;.google.cloud.aiplatform.v1.CreatePersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"\xca\x01\xca\x41?\n\x12PersistentResource\x12)CreatePersistentResourceOperationMetadata\xda\x41\x31parent,persistent_resource,persistent_resource_id\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/persistentResources:\x13persistent_resource\x12\xc9\x01\n\x15GetPersistentResource\x12\x38.google.cloud.aiplatform.v1.GetPersistentResourceRequest\x1a..google.cloud.aiplatform.v1.PersistentResource\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/persistentResources/*}\x12\xdc\x01\n\x17ListPersistentResources\x12:.google.cloud.aiplatform.v1.ListPersistentResourcesRequest\x1a;.google.cloud.aiplatform.v1.ListPersistentResourcesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/persistentResources\x12\xf1\x01\n\x18\x44\x65letePersistentResource\x12;.google.cloud.aiplatform.v1.DeletePersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/persistentResources/*}\x12\xc5\x02\n\x18UpdatePersistentResource\x12;.google.cloud.aiplatform.v1.UpdatePersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"\xcc\x01\xca\x41?\n\x12PersistentResource\x12)UpdatePersistentResourceOperationMetadata\xda\x41\x1fpersistent_resource,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1/{persistent_resource.name=projects/*/locations/*/persistentResources/*}:\x13persistent_resource\x12\x8b\x02\n\x18RebootPersistentResource\x12;.google.cloud.aiplatform.v1.RebootPersistentResourceRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41?\n\x12PersistentResource\x12)RebootPersistentResourceOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/persistentResources/*}:reboot:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1ePersistentResourceServiceProtoP\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"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.cloud.aiplatform.v1.PersistentResource", "google/cloud/aiplatform/v1/persistent_resource.proto"],
34
+ ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
41
+ end
42
+ end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
45
+ end
46
+
47
+ module Google
48
+ module Cloud
49
+ module AIPlatform
50
+ module V1
51
+ CreatePersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreatePersistentResourceRequest").msgclass
52
+ CreatePersistentResourceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreatePersistentResourceOperationMetadata").msgclass
53
+ UpdatePersistentResourceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdatePersistentResourceOperationMetadata").msgclass
54
+ RebootPersistentResourceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RebootPersistentResourceOperationMetadata").msgclass
55
+ GetPersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetPersistentResourceRequest").msgclass
56
+ ListPersistentResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListPersistentResourcesRequest").msgclass
57
+ ListPersistentResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListPersistentResourcesResponse").msgclass
58
+ DeletePersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeletePersistentResourceRequest").msgclass
59
+ UpdatePersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdatePersistentResourceRequest").msgclass
60
+ RebootPersistentResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RebootPersistentResourceRequest").msgclass
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,55 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/aiplatform/v1/persistent_resource_service.proto for package 'Google.Cloud.AIPlatform.V1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/aiplatform/v1/persistent_resource_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module AIPlatform
25
+ module V1
26
+ module PersistentResourceService
27
+ # A service for managing Vertex AI's machine learning PersistentResource.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.aiplatform.v1.PersistentResourceService'
35
+
36
+ # Creates a PersistentResource.
37
+ rpc :CreatePersistentResource, ::Google::Cloud::AIPlatform::V1::CreatePersistentResourceRequest, ::Google::Longrunning::Operation
38
+ # Gets a PersistentResource.
39
+ rpc :GetPersistentResource, ::Google::Cloud::AIPlatform::V1::GetPersistentResourceRequest, ::Google::Cloud::AIPlatform::V1::PersistentResource
40
+ # Lists PersistentResources in a Location.
41
+ rpc :ListPersistentResources, ::Google::Cloud::AIPlatform::V1::ListPersistentResourcesRequest, ::Google::Cloud::AIPlatform::V1::ListPersistentResourcesResponse
42
+ # Deletes a PersistentResource.
43
+ rpc :DeletePersistentResource, ::Google::Cloud::AIPlatform::V1::DeletePersistentResourceRequest, ::Google::Longrunning::Operation
44
+ # Updates a PersistentResource.
45
+ rpc :UpdatePersistentResource, ::Google::Cloud::AIPlatform::V1::UpdatePersistentResourceRequest, ::Google::Longrunning::Operation
46
+ # Reboots a PersistentResource.
47
+ rpc :RebootPersistentResource, ::Google::Cloud::AIPlatform::V1::RebootPersistentResourceRequest, ::Google::Longrunning::Operation
48
+ end
49
+
50
+ Stub = Service.rpc_stub_class
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end