google-cloud-ai_platform-v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +1364 -0
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/credentials.rb +47 -0
  8. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +767 -0
  9. data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +111 -0
  10. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +51 -0
  11. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +1076 -0
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/credentials.rb +47 -0
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +767 -0
  14. data/lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb +124 -0
  15. data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +50 -0
  16. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +508 -0
  17. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/credentials.rb +47 -0
  18. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/paths.rb +54 -0
  19. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +49 -0
  20. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2707 -0
  21. data/lib/google/cloud/ai_platform/v1/featurestore_service/credentials.rb +47 -0
  22. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +767 -0
  23. data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +113 -0
  24. data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +50 -0
  25. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +1146 -0
  26. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/credentials.rb +47 -0
  27. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +767 -0
  28. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/paths.rb +88 -0
  29. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +50 -0
  30. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +823 -0
  31. data/lib/google/cloud/ai_platform/v1/index_service/credentials.rb +47 -0
  32. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +767 -0
  33. data/lib/google/cloud/ai_platform/v1/index_service/paths.rb +88 -0
  34. data/lib/google/cloud/ai_platform/v1/index_service.rb +50 -0
  35. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +3236 -0
  36. data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +47 -0
  37. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +767 -0
  38. data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +259 -0
  39. data/lib/google/cloud/ai_platform/v1/job_service.rb +50 -0
  40. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3654 -0
  41. data/lib/google/cloud/ai_platform/v1/metadata_service/credentials.rb +47 -0
  42. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +767 -0
  43. data/lib/google/cloud/ai_platform/v1/metadata_service/paths.rb +153 -0
  44. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +50 -0
  45. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +538 -0
  46. data/lib/google/cloud/ai_platform/v1/migration_service/credentials.rb +47 -0
  47. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +767 -0
  48. data/lib/google/cloud/ai_platform/v1/migration_service/paths.rb +148 -0
  49. data/lib/google/cloud/ai_platform/v1/migration_service.rb +51 -0
  50. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +1355 -0
  51. data/lib/google/cloud/ai_platform/v1/model_service/credentials.rb +47 -0
  52. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +767 -0
  53. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +151 -0
  54. data/lib/google/cloud/ai_platform/v1/model_service.rb +50 -0
  55. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +1384 -0
  56. data/lib/google/cloud/ai_platform/v1/pipeline_service/credentials.rb +47 -0
  57. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +767 -0
  58. data/lib/google/cloud/ai_platform/v1/pipeline_service/paths.rb +225 -0
  59. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +52 -0
  60. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +650 -0
  61. data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +47 -0
  62. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +52 -0
  63. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +49 -0
  64. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +826 -0
  65. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/credentials.rb +47 -0
  66. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +767 -0
  67. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/paths.rb +69 -0
  68. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +55 -0
  69. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +3224 -0
  70. data/lib/google/cloud/ai_platform/v1/tensorboard_service/credentials.rb +48 -0
  71. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +767 -0
  72. data/lib/google/cloud/ai_platform/v1/tensorboard_service/paths.rb +138 -0
  73. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +50 -0
  74. data/lib/google/cloud/ai_platform/v1/version.rb +28 -0
  75. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +1793 -0
  76. data/lib/google/cloud/ai_platform/v1/vizier_service/credentials.rb +47 -0
  77. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +767 -0
  78. data/lib/google/cloud/ai_platform/v1/vizier_service/paths.rb +109 -0
  79. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +54 -0
  80. data/lib/google/cloud/ai_platform/v1.rb +52 -0
  81. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +29 -0
  82. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +35 -0
  83. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +30 -0
  84. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +45 -0
  85. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +83 -0
  86. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +27 -0
  87. data/lib/google/cloud/aiplatform/v1/context_pb.rb +38 -0
  88. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +84 -0
  89. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +32 -0
  90. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +78 -0
  91. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +53 -0
  92. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +126 -0
  93. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +64 -0
  94. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +26 -0
  95. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +26 -0
  96. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -0
  97. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +67 -0
  98. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +90 -0
  99. data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +58 -0
  100. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +32 -0
  101. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +25 -0
  102. data/lib/google/cloud/aiplatform/v1/event_pb.rb +36 -0
  103. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +48 -0
  104. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +107 -0
  105. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +106 -0
  106. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +30 -0
  107. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +46 -0
  108. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +28 -0
  109. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +86 -0
  110. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb +51 -0
  111. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +44 -0
  112. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +280 -0
  113. data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +109 -0
  114. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +46 -0
  115. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +66 -0
  116. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +101 -0
  117. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_services_pb.rb +62 -0
  118. data/lib/google/cloud/aiplatform/v1/index_pb.rb +38 -0
  119. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +98 -0
  120. data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +55 -0
  121. data/lib/google/cloud/aiplatform/v1/io_pb.rb +56 -0
  122. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +217 -0
  123. data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +134 -0
  124. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +32 -0
  125. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +28 -0
  126. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +59 -0
  127. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -0
  128. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +38 -0
  129. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +272 -0
  130. data/lib/google/cloud/aiplatform/v1/metadata_service_services_pb.rb +119 -0
  131. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +36 -0
  132. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +59 -0
  133. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +106 -0
  134. data/lib/google/cloud/aiplatform/v1/migration_service_services_pb.rb +51 -0
  135. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +111 -0
  136. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +33 -0
  137. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +36 -0
  138. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +93 -0
  139. data/lib/google/cloud/aiplatform/v1/model_pb.rb +88 -0
  140. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +129 -0
  141. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +69 -0
  142. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +32 -0
  143. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +115 -0
  144. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +88 -0
  145. data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +84 -0
  146. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +31 -0
  147. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +57 -0
  148. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +66 -0
  149. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +30 -0
  150. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +66 -0
  151. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_services_pb.rb +58 -0
  152. data/lib/google/cloud/aiplatform/v1/study_pb.rb +191 -0
  153. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +56 -0
  154. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +33 -0
  155. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +36 -0
  156. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +32 -0
  157. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +244 -0
  158. data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +115 -0
  159. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +48 -0
  160. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +95 -0
  161. data/lib/google/cloud/aiplatform/v1/types_pb.rb +35 -0
  162. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +27 -0
  163. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +27 -0
  164. data/lib/google/cloud/aiplatform/v1/value_pb.rb +27 -0
  165. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +136 -0
  166. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +90 -0
  167. data/lib/google-cloud-ai_platform-v1.rb +21 -0
  168. data/proto_docs/README.md +4 -0
  169. data/proto_docs/google/api/field_behavior.rb +71 -0
  170. data/proto_docs/google/api/httpbody.rb +80 -0
  171. data/proto_docs/google/api/resource.rb +222 -0
  172. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +50 -0
  173. data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +92 -0
  174. data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +50 -0
  175. data/proto_docs/google/cloud/aiplatform/v1/artifact.rb +112 -0
  176. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +278 -0
  177. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +46 -0
  178. data/proto_docs/google/cloud/aiplatform/v1/context.rb +92 -0
  179. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +272 -0
  180. data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +73 -0
  181. data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +207 -0
  182. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +154 -0
  183. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +301 -0
  184. data/proto_docs/google/cloud/aiplatform/v1/deployed_index_ref.rb +38 -0
  185. data/proto_docs/google/cloud/aiplatform/v1/deployed_model_ref.rb +38 -0
  186. data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +40 -0
  187. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +227 -0
  188. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +258 -0
  189. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +79 -0
  190. data/proto_docs/google/cloud/aiplatform/v1/env_var.rb +44 -0
  191. data/proto_docs/google/cloud/aiplatform/v1/event.rb +79 -0
  192. data/proto_docs/google/cloud/aiplatform/v1/execution.rb +118 -0
  193. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +445 -0
  194. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +419 -0
  195. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +115 -0
  196. data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +88 -0
  197. data/proto_docs/google/cloud/aiplatform/v1/feature_selector.rb +49 -0
  198. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +115 -0
  199. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +203 -0
  200. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +978 -0
  201. data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +109 -0
  202. data/proto_docs/google/cloud/aiplatform/v1/index.rb +98 -0
  203. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +252 -0
  204. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +240 -0
  205. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +220 -0
  206. data/proto_docs/google/cloud/aiplatform/v1/io.rb +134 -0
  207. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +660 -0
  208. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +60 -0
  209. data/proto_docs/google/cloud/aiplatform/v1/lineage_subgraph.rb +42 -0
  210. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +194 -0
  211. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +41 -0
  212. data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +74 -0
  213. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +912 -0
  214. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +62 -0
  215. data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +133 -0
  216. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +260 -0
  217. data/proto_docs/google/cloud/aiplatform/v1/model.rb +562 -0
  218. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +293 -0
  219. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +60 -0
  220. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +68 -0
  221. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +257 -0
  222. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +329 -0
  223. data/proto_docs/google/cloud/aiplatform/v1/operation.rb +55 -0
  224. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +347 -0
  225. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +258 -0
  226. data/proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb +59 -0
  227. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +165 -0
  228. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb +52 -0
  229. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb +52 -0
  230. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb +47 -0
  231. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.rb +46 -0
  232. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.rb +53 -0
  233. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.rb +46 -0
  234. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.rb +59 -0
  235. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.rb +59 -0
  236. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.rb +59 -0
  237. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_classification.rb +47 -0
  238. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.rb +47 -0
  239. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.rb +44 -0
  240. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.rb +47 -0
  241. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb +72 -0
  242. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.rb +51 -0
  243. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.rb +49 -0
  244. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb +58 -0
  245. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.rb +53 -0
  246. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.rb +47 -0
  247. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.rb +47 -0
  248. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb +60 -0
  249. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.rb +45 -0
  250. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.rb +60 -0
  251. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb +73 -0
  252. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.rb +91 -0
  253. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.rb +142 -0
  254. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.rb +134 -0
  255. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.rb +120 -0
  256. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.rb +315 -0
  257. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.rb +48 -0
  258. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.rb +46 -0
  259. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.rb +55 -0
  260. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.rb +73 -0
  261. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.rb +67 -0
  262. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.rb +78 -0
  263. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.rb +51 -0
  264. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool.rb +58 -0
  265. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +136 -0
  266. data/proto_docs/google/cloud/aiplatform/v1/study.rb +543 -0
  267. data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +89 -0
  268. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +110 -0
  269. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +82 -0
  270. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_run.rb +85 -0
  271. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +706 -0
  272. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +101 -0
  273. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +381 -0
  274. data/proto_docs/google/cloud/aiplatform/v1/types.rb +62 -0
  275. data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +44 -0
  276. data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +49 -0
  277. data/proto_docs/google/cloud/aiplatform/v1/value.rb +41 -0
  278. data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +332 -0
  279. data/proto_docs/google/longrunning/operations.rb +164 -0
  280. data/proto_docs/google/protobuf/any.rb +141 -0
  281. data/proto_docs/google/protobuf/duration.rb +98 -0
  282. data/proto_docs/google/protobuf/empty.rb +36 -0
  283. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  284. data/proto_docs/google/protobuf/struct.rb +96 -0
  285. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  286. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  287. data/proto_docs/google/rpc/status.rb +46 -0
  288. data/proto_docs/google/type/money.rb +43 -0
  289. metadata +479 -0
@@ -0,0 +1,227 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ # Models are deployed into it, and afterwards Endpoint is called to obtain
25
+ # predictions and explanations.
26
+ # @!attribute [r] name
27
+ # @return [::String]
28
+ # Output only. The resource name of the Endpoint.
29
+ # @!attribute [rw] display_name
30
+ # @return [::String]
31
+ # Required. The display name of the Endpoint.
32
+ # The name can be up to 128 characters long and can be consist of any UTF-8
33
+ # characters.
34
+ # @!attribute [rw] description
35
+ # @return [::String]
36
+ # The description of the Endpoint.
37
+ # @!attribute [r] deployed_models
38
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::DeployedModel>]
39
+ # Output only. The models deployed in this Endpoint.
40
+ # To add or remove DeployedModels use {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model EndpointService.DeployModel} and
41
+ # {::Google::Cloud::AIPlatform::V1::EndpointService::Client#undeploy_model EndpointService.UndeployModel} respectively.
42
+ # @!attribute [rw] traffic_split
43
+ # @return [::Google::Protobuf::Map{::String => ::Integer}]
44
+ # A map from a DeployedModel's ID to the percentage of this Endpoint's
45
+ # traffic that should be forwarded to that DeployedModel.
46
+ #
47
+ # If a DeployedModel's ID is not listed in this map, then it receives no
48
+ # traffic.
49
+ #
50
+ # The traffic percentage values must add up to 100, or map must be empty if
51
+ # the Endpoint is to not accept any traffic at a moment.
52
+ # @!attribute [rw] etag
53
+ # @return [::String]
54
+ # Used to perform consistent read-modify-write updates. If not set, a blind
55
+ # "overwrite" update happens.
56
+ # @!attribute [rw] labels
57
+ # @return [::Google::Protobuf::Map{::String => ::String}]
58
+ # The labels with user-defined metadata to organize your Endpoints.
59
+ #
60
+ # Label keys and values can be no longer than 64 characters
61
+ # (Unicode codepoints), can only contain lowercase letters, numeric
62
+ # characters, underscores and dashes. International characters are allowed.
63
+ #
64
+ # See https://goo.gl/xmQnxf for more information and examples of labels.
65
+ # @!attribute [r] create_time
66
+ # @return [::Google::Protobuf::Timestamp]
67
+ # Output only. Timestamp when this Endpoint was created.
68
+ # @!attribute [r] update_time
69
+ # @return [::Google::Protobuf::Timestamp]
70
+ # Output only. Timestamp when this Endpoint was last updated.
71
+ # @!attribute [rw] encryption_spec
72
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
73
+ # Customer-managed encryption key spec for an Endpoint. If set, this
74
+ # Endpoint and all sub-resources of this Endpoint will be secured by
75
+ # this key.
76
+ # @!attribute [rw] network
77
+ # @return [::String]
78
+ # The full name of the Google Compute Engine
79
+ # [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
80
+ # to which the Endpoint should be peered.
81
+ #
82
+ # Private services access must already be configured for the network. If left
83
+ # unspecified, the Endpoint is not peered with any network.
84
+ #
85
+ # Only one of the fields, {::Google::Cloud::AIPlatform::V1::Endpoint#network network} or
86
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#enable_private_service_connect enable_private_service_connect},
87
+ # can be set.
88
+ #
89
+ # [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
90
+ # `projects/{project}/global/networks/{network}`.
91
+ # Where `{project}` is a project number, as in `12345`, and `{network}` is
92
+ # network name.
93
+ # @!attribute [rw] enable_private_service_connect
94
+ # @return [::Boolean]
95
+ # If true, expose the Endpoint via private service connect.
96
+ #
97
+ # Only one of the fields, {::Google::Cloud::AIPlatform::V1::Endpoint#network network} or
98
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#enable_private_service_connect enable_private_service_connect},
99
+ # can be set.
100
+ # @!attribute [r] model_deployment_monitoring_job
101
+ # @return [::String]
102
+ # Output only. Resource name of the Model Monitoring job associated with this Endpoint
103
+ # if monitoring is enabled by [CreateModelDeploymentMonitoringJob][].
104
+ # Format:
105
+ # `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
106
+ class Endpoint
107
+ include ::Google::Protobuf::MessageExts
108
+ extend ::Google::Protobuf::MessageExts::ClassMethods
109
+
110
+ # @!attribute [rw] key
111
+ # @return [::String]
112
+ # @!attribute [rw] value
113
+ # @return [::Integer]
114
+ class TrafficSplitEntry
115
+ include ::Google::Protobuf::MessageExts
116
+ extend ::Google::Protobuf::MessageExts::ClassMethods
117
+ end
118
+
119
+ # @!attribute [rw] key
120
+ # @return [::String]
121
+ # @!attribute [rw] value
122
+ # @return [::String]
123
+ class LabelsEntry
124
+ include ::Google::Protobuf::MessageExts
125
+ extend ::Google::Protobuf::MessageExts::ClassMethods
126
+ end
127
+ end
128
+
129
+ # A deployment of a Model. Endpoints contain one or more DeployedModels.
130
+ # @!attribute [rw] dedicated_resources
131
+ # @return [::Google::Cloud::AIPlatform::V1::DedicatedResources]
132
+ # A description of resources that are dedicated to the DeployedModel, and
133
+ # that need a higher degree of manual configuration.
134
+ # @!attribute [rw] automatic_resources
135
+ # @return [::Google::Cloud::AIPlatform::V1::AutomaticResources]
136
+ # A description of resources that to large degree are decided by Vertex
137
+ # AI, and require only a modest additional configuration.
138
+ # @!attribute [rw] id
139
+ # @return [::String]
140
+ # Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI
141
+ # will generate a value for this ID.
142
+ #
143
+ # This value should be 1-10 characters, and valid characters are /[0-9]/.
144
+ # @!attribute [rw] model
145
+ # @return [::String]
146
+ # Required. The name of the Model that this is the deployment of. Note that the Model
147
+ # may be in a different location than the DeployedModel's Endpoint.
148
+ # @!attribute [rw] display_name
149
+ # @return [::String]
150
+ # The display name of the DeployedModel. If not provided upon creation,
151
+ # the Model's display_name is used.
152
+ # @!attribute [r] create_time
153
+ # @return [::Google::Protobuf::Timestamp]
154
+ # Output only. Timestamp when the DeployedModel was created.
155
+ # @!attribute [rw] explanation_spec
156
+ # @return [::Google::Cloud::AIPlatform::V1::ExplanationSpec]
157
+ # Explanation configuration for this DeployedModel.
158
+ #
159
+ # When deploying a Model using {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model EndpointService.DeployModel}, this value
160
+ # overrides the value of {::Google::Cloud::AIPlatform::V1::Model#explanation_spec Model.explanation_spec}. All fields of
161
+ # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec} are optional in the request. If a field of
162
+ # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec} is not populated, the value of the same field of
163
+ # {::Google::Cloud::AIPlatform::V1::Model#explanation_spec Model.explanation_spec} is inherited. If the corresponding
164
+ # {::Google::Cloud::AIPlatform::V1::Model#explanation_spec Model.explanation_spec} is not populated, all fields of the
165
+ # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec} will be used for the explanation configuration.
166
+ # @!attribute [rw] service_account
167
+ # @return [::String]
168
+ # The service account that the DeployedModel's container runs as. Specify the
169
+ # email address of the service account. If this service account is not
170
+ # specified, the container runs as a service account that doesn't have access
171
+ # to the resource project.
172
+ #
173
+ # Users deploying the Model must have the `iam.serviceAccounts.actAs`
174
+ # permission on this service account.
175
+ # @!attribute [rw] disable_container_logging
176
+ # @return [::Boolean]
177
+ # For custom-trained Models and AutoML Tabular Models, the container of the
178
+ # DeployedModel instances will send `stderr` and `stdout` streams to
179
+ # Stackdriver Logging by default. Please note that the logs incur cost,
180
+ # which are subject to [Cloud Logging
181
+ # pricing](https://cloud.google.com/stackdriver/pricing).
182
+ #
183
+ # User can disable container logging by setting this flag to true.
184
+ # @!attribute [rw] enable_access_logging
185
+ # @return [::Boolean]
186
+ # These logs are like standard server access logs, containing
187
+ # information like timestamp and latency for each prediction request.
188
+ #
189
+ # Note that Stackdriver logs may incur a cost, especially if your project
190
+ # receives prediction requests at a high queries per second rate (QPS).
191
+ # Estimate your costs before enabling this option.
192
+ # @!attribute [r] private_endpoints
193
+ # @return [::Google::Cloud::AIPlatform::V1::PrivateEndpoints]
194
+ # Output only. Provide paths for users to send predict/explain/health requests directly to
195
+ # the deployed model services running on Cloud via private services access.
196
+ # This field is populated if {::Google::Cloud::AIPlatform::V1::Endpoint#network network} is configured.
197
+ class DeployedModel
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # PrivateEndpoints proto is used to provide paths for users to send
203
+ # requests privately.
204
+ # To send request via private service access, use predict_http_uri,
205
+ # explain_http_uri or health_http_uri. To send request via private service
206
+ # connect, use service_attachment.
207
+ # @!attribute [r] predict_http_uri
208
+ # @return [::String]
209
+ # Output only. Http(s) path to send prediction requests.
210
+ # @!attribute [r] explain_http_uri
211
+ # @return [::String]
212
+ # Output only. Http(s) path to send explain requests.
213
+ # @!attribute [r] health_http_uri
214
+ # @return [::String]
215
+ # Output only. Http(s) path to send health check requests.
216
+ # @!attribute [r] service_attachment
217
+ # @return [::String]
218
+ # Output only. The name of the service attachment resource. Populated if private service
219
+ # connect is enabled.
220
+ class PrivateEndpoints
221
+ include ::Google::Protobuf::MessageExts
222
+ extend ::Google::Protobuf::MessageExts::ClassMethods
223
+ end
224
+ end
225
+ end
226
+ end
227
+ end
@@ -0,0 +1,258 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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 {::Google::Cloud::AIPlatform::V1::EndpointService::Client#create_endpoint EndpointService.CreateEndpoint}.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The resource name of the Location to create the Endpoint in.
28
+ # Format: `projects/{project}/locations/{location}`
29
+ # @!attribute [rw] endpoint
30
+ # @return [::Google::Cloud::AIPlatform::V1::Endpoint]
31
+ # Required. The Endpoint to create.
32
+ # @!attribute [rw] endpoint_id
33
+ # @return [::String]
34
+ # Immutable. The ID to use for endpoint, which will become the final
35
+ # component of the endpoint resource name.
36
+ # If not provided, Vertex AI will generate a value for this ID.
37
+ #
38
+ # This value should be 1-10 characters, and valid characters are /[0-9]/.
39
+ # When using HTTP/JSON, this field is populated based on a query string
40
+ # argument, such as `?endpoint_id=12345`. This is the fallback for fields
41
+ # that are not included in either the URI or the body.
42
+ class CreateEndpointRequest
43
+ include ::Google::Protobuf::MessageExts
44
+ extend ::Google::Protobuf::MessageExts::ClassMethods
45
+ end
46
+
47
+ # Runtime operation information for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#create_endpoint EndpointService.CreateEndpoint}.
48
+ # @!attribute [rw] generic_metadata
49
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
50
+ # The operation generic information.
51
+ class CreateEndpointOperationMetadata
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # Request message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#get_endpoint EndpointService.GetEndpoint}
57
+ # @!attribute [rw] name
58
+ # @return [::String]
59
+ # Required. The name of the Endpoint resource.
60
+ # Format:
61
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
62
+ class GetEndpointRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Request message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#list_endpoints EndpointService.ListEndpoints}.
68
+ # @!attribute [rw] parent
69
+ # @return [::String]
70
+ # Required. The resource name of the Location from which to list the Endpoints.
71
+ # Format: `projects/{project}/locations/{location}`
72
+ # @!attribute [rw] filter
73
+ # @return [::String]
74
+ # Optional. An expression for filtering the results of the request. For field names
75
+ # both snake_case and camelCase are supported.
76
+ #
77
+ # * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID,
78
+ # i.e. the last segment of the Endpoint's {::Google::Cloud::AIPlatform::V1::Endpoint#name resource name}.
79
+ # * `display_name` supports = and, !=
80
+ # * `labels` supports general map functions that is:
81
+ # * `labels.key=value` - key:value equality
82
+ # * `labels.key:* or labels:key - key existence
83
+ # * A key including a space must be quoted. `labels."a key"`.
84
+ #
85
+ # Some examples:
86
+ # * `endpoint=1`
87
+ # * `displayName="myDisplayName"`
88
+ # * `labels.myKey="myValue"`
89
+ # @!attribute [rw] page_size
90
+ # @return [::Integer]
91
+ # Optional. The standard list page size.
92
+ # @!attribute [rw] page_token
93
+ # @return [::String]
94
+ # Optional. The standard list page token.
95
+ # Typically obtained via
96
+ # {::Google::Cloud::AIPlatform::V1::ListEndpointsResponse#next_page_token ListEndpointsResponse.next_page_token} of the previous
97
+ # {::Google::Cloud::AIPlatform::V1::EndpointService::Client#list_endpoints EndpointService.ListEndpoints} call.
98
+ # @!attribute [rw] read_mask
99
+ # @return [::Google::Protobuf::FieldMask]
100
+ # Optional. Mask specifying which fields to read.
101
+ # @!attribute [rw] order_by
102
+ # @return [::String]
103
+ # A comma-separated list of fields to order by, sorted in ascending order.
104
+ # Use "desc" after a field name for descending.
105
+ # Supported fields:
106
+ # * `display_name`
107
+ # * `create_time`
108
+ # * `update_time`
109
+ #
110
+ # Example: `display_name, create_time desc`.
111
+ class ListEndpointsRequest
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
+ end
115
+
116
+ # Response message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#list_endpoints EndpointService.ListEndpoints}.
117
+ # @!attribute [rw] endpoints
118
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Endpoint>]
119
+ # List of Endpoints in the requested page.
120
+ # @!attribute [rw] next_page_token
121
+ # @return [::String]
122
+ # A token to retrieve the next page of results.
123
+ # Pass to {::Google::Cloud::AIPlatform::V1::ListEndpointsRequest#page_token ListEndpointsRequest.page_token} to obtain that page.
124
+ class ListEndpointsResponse
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
129
+ # Request message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#update_endpoint EndpointService.UpdateEndpoint}.
130
+ # @!attribute [rw] endpoint
131
+ # @return [::Google::Cloud::AIPlatform::V1::Endpoint]
132
+ # Required. The Endpoint which replaces the resource on the server.
133
+ # @!attribute [rw] update_mask
134
+ # @return [::Google::Protobuf::FieldMask]
135
+ # Required. The update mask applies to the resource. See {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
136
+ class UpdateEndpointRequest
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+
141
+ # Request message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#delete_endpoint EndpointService.DeleteEndpoint}.
142
+ # @!attribute [rw] name
143
+ # @return [::String]
144
+ # Required. The name of the Endpoint resource to be deleted.
145
+ # Format:
146
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
147
+ class DeleteEndpointRequest
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
+ end
151
+
152
+ # Request message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model EndpointService.DeployModel}.
153
+ # @!attribute [rw] endpoint
154
+ # @return [::String]
155
+ # Required. The name of the Endpoint resource into which to deploy a Model.
156
+ # Format:
157
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
158
+ # @!attribute [rw] deployed_model
159
+ # @return [::Google::Cloud::AIPlatform::V1::DeployedModel]
160
+ # Required. The DeployedModel to be created within the Endpoint. Note that
161
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#traffic_split Endpoint.traffic_split} must be updated for the DeployedModel to start
162
+ # receiving traffic, either as part of this call, or via
163
+ # {::Google::Cloud::AIPlatform::V1::EndpointService::Client#update_endpoint EndpointService.UpdateEndpoint}.
164
+ # @!attribute [rw] traffic_split
165
+ # @return [::Google::Protobuf::Map{::String => ::Integer}]
166
+ # A map from a DeployedModel's ID to the percentage of this Endpoint's
167
+ # traffic that should be forwarded to that DeployedModel.
168
+ #
169
+ # If this field is non-empty, then the Endpoint's
170
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#traffic_split traffic_split} will be overwritten with it.
171
+ # To refer to the ID of the just being deployed Model, a "0" should be used,
172
+ # and the actual ID of the new DeployedModel will be filled in its place by
173
+ # this method. The traffic percentage values must add up to 100.
174
+ #
175
+ # If this field is empty, then the Endpoint's
176
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#traffic_split traffic_split} is not updated.
177
+ class DeployModelRequest
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
+
181
+ # @!attribute [rw] key
182
+ # @return [::String]
183
+ # @!attribute [rw] value
184
+ # @return [::Integer]
185
+ class TrafficSplitEntry
186
+ include ::Google::Protobuf::MessageExts
187
+ extend ::Google::Protobuf::MessageExts::ClassMethods
188
+ end
189
+ end
190
+
191
+ # Response message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model EndpointService.DeployModel}.
192
+ # @!attribute [rw] deployed_model
193
+ # @return [::Google::Cloud::AIPlatform::V1::DeployedModel]
194
+ # The DeployedModel that had been deployed in the Endpoint.
195
+ class DeployModelResponse
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
+ end
199
+
200
+ # Runtime operation information for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model EndpointService.DeployModel}.
201
+ # @!attribute [rw] generic_metadata
202
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
203
+ # The operation generic information.
204
+ class DeployModelOperationMetadata
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
+ end
208
+
209
+ # Request message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#undeploy_model EndpointService.UndeployModel}.
210
+ # @!attribute [rw] endpoint
211
+ # @return [::String]
212
+ # Required. The name of the Endpoint resource from which to undeploy a Model.
213
+ # Format:
214
+ # `projects/{project}/locations/{location}/endpoints/{endpoint}`
215
+ # @!attribute [rw] deployed_model_id
216
+ # @return [::String]
217
+ # Required. The ID of the DeployedModel to be undeployed from the Endpoint.
218
+ # @!attribute [rw] traffic_split
219
+ # @return [::Google::Protobuf::Map{::String => ::Integer}]
220
+ # If this field is provided, then the Endpoint's
221
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#traffic_split traffic_split} will be overwritten with it. If
222
+ # last DeployedModel is being undeployed from the Endpoint, the
223
+ # [Endpoint.traffic_split] will always end up empty when this call returns.
224
+ # A DeployedModel will be successfully undeployed only if it doesn't have
225
+ # any traffic assigned to it when this method executes, or if this field
226
+ # unassigns any traffic to it.
227
+ class UndeployModelRequest
228
+ include ::Google::Protobuf::MessageExts
229
+ extend ::Google::Protobuf::MessageExts::ClassMethods
230
+
231
+ # @!attribute [rw] key
232
+ # @return [::String]
233
+ # @!attribute [rw] value
234
+ # @return [::Integer]
235
+ class TrafficSplitEntry
236
+ include ::Google::Protobuf::MessageExts
237
+ extend ::Google::Protobuf::MessageExts::ClassMethods
238
+ end
239
+ end
240
+
241
+ # Response message for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#undeploy_model EndpointService.UndeployModel}.
242
+ class UndeployModelResponse
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
+ end
246
+
247
+ # Runtime operation information for {::Google::Cloud::AIPlatform::V1::EndpointService::Client#undeploy_model EndpointService.UndeployModel}.
248
+ # @!attribute [rw] generic_metadata
249
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
250
+ # The operation generic information.
251
+ class UndeployModelOperationMetadata
252
+ include ::Google::Protobuf::MessageExts
253
+ extend ::Google::Protobuf::MessageExts::ClassMethods
254
+ end
255
+ end
256
+ end
257
+ end
258
+ end
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ # An entity type is a type of object in a system that needs to be modeled and
25
+ # have stored information about. For example, driver is an entity type, and
26
+ # driver0 is an instance of an entity type driver.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Immutable. Name of the EntityType.
30
+ # Format:
31
+ # `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
32
+ #
33
+ # The last part entity_type is assigned by the client. The entity_type can be
34
+ # up to 64 characters long and can consist only of ASCII Latin letters A-Z
35
+ # and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The
36
+ # value will be unique given a featurestore.
37
+ # @!attribute [rw] description
38
+ # @return [::String]
39
+ # Optional. Description of the EntityType.
40
+ # @!attribute [r] create_time
41
+ # @return [::Google::Protobuf::Timestamp]
42
+ # Output only. Timestamp when this EntityType was created.
43
+ # @!attribute [r] update_time
44
+ # @return [::Google::Protobuf::Timestamp]
45
+ # Output only. Timestamp when this EntityType was most recently updated.
46
+ # @!attribute [rw] labels
47
+ # @return [::Google::Protobuf::Map{::String => ::String}]
48
+ # Optional. The labels with user-defined metadata to organize your EntityTypes.
49
+ #
50
+ # Label keys and values can be no longer than 64 characters
51
+ # (Unicode codepoints), can only contain lowercase letters, numeric
52
+ # characters, underscores and dashes. International characters are allowed.
53
+ #
54
+ # See https://goo.gl/xmQnxf for more information on and examples of labels.
55
+ # No more than 64 user labels can be associated with one EntityType (System
56
+ # labels are excluded)."
57
+ # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
58
+ # and are immutable.
59
+ # @!attribute [rw] etag
60
+ # @return [::String]
61
+ # Optional. Used to perform a consistent read-modify-write updates. If not set, a blind
62
+ # "overwrite" update happens.
63
+ class EntityType
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+
67
+ # @!attribute [rw] key
68
+ # @return [::String]
69
+ # @!attribute [rw] value
70
+ # @return [::String]
71
+ class LabelsEntry
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ # Represents an environment variable present in a Container or Python Module.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. Name of the environment variable. Must be a valid C identifier.
28
+ # @!attribute [rw] value
29
+ # @return [::String]
30
+ # Required. Variables that reference a $(VAR_NAME) are expanded
31
+ # using the previous defined environment variables in the container and
32
+ # any service environment variables. If a variable cannot be resolved,
33
+ # the reference in the input string will be unchanged. The $(VAR_NAME)
34
+ # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
35
+ # references will never be expanded, regardless of whether the variable
36
+ # exists or not.
37
+ class EnvVar
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end