google-cloud-ai_platform-v1 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +164 -4
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +21 -0
  5. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +1 -1
  6. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +28 -21
  7. data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +1 -1
  8. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +109 -5
  9. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +1 -1
  10. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +53 -50
  11. data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +1 -1
  12. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +18 -14
  13. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +1 -1
  14. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +8 -4
  15. data/lib/google/cloud/ai_platform/v1/index_service.rb +1 -1
  16. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +53 -36
  17. data/lib/google/cloud/ai_platform/v1/job_service.rb +1 -1
  18. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +33 -36
  19. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +1 -1
  20. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +3 -4
  21. data/lib/google/cloud/ai_platform/v1/migration_service.rb +1 -1
  22. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +53 -23
  23. data/lib/google/cloud/ai_platform/v1/model_service.rb +1 -1
  24. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +28 -17
  25. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +1 -1
  26. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +28 -19
  27. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +1 -1
  28. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +5 -3
  29. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +1 -1
  30. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +165 -71
  31. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +1 -1
  32. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  33. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +1 -1
  34. data/lib/google/cloud/ai_platform/v1.rb +2 -2
  35. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +8 -0
  36. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +3 -0
  37. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +34 -0
  38. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  39. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +13 -0
  40. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb +6 -0
  41. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -0
  42. data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +2 -1
  43. data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +24 -14
  44. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -0
  45. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -5
  46. data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +16 -9
  47. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -6
  48. data/lib/google/cloud/aiplatform/v1/study_pb.rb +1 -0
  49. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +17 -0
  50. data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +8 -8
  51. data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +9 -6
  52. data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +3 -3
  53. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +185 -52
  54. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +8 -7
  55. data/proto_docs/google/cloud/aiplatform/v1/context.rb +2 -2
  56. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +23 -18
  57. data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -5
  58. data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +17 -17
  59. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +38 -17
  60. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +180 -24
  61. data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +2 -2
  62. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +39 -24
  63. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +57 -35
  64. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +8 -6
  65. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +111 -75
  66. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +58 -38
  67. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +9 -6
  68. data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +2 -1
  69. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +12 -11
  70. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -2
  71. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +65 -10
  72. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +141 -99
  73. data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +10 -8
  74. data/proto_docs/google/cloud/aiplatform/v1/index.rb +19 -18
  75. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +36 -24
  76. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +49 -29
  77. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +35 -17
  78. data/proto_docs/google/cloud/aiplatform/v1/io.rb +2 -1
  79. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +94 -57
  80. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +53 -43
  81. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +5 -5
  82. data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +3 -3
  83. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +141 -91
  84. data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +3 -3
  85. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +18 -15
  86. data/proto_docs/google/cloud/aiplatform/v1/model.rb +180 -133
  87. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +22 -18
  88. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +7 -6
  89. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +11 -7
  90. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +4 -2
  91. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +119 -54
  92. data/proto_docs/google/cloud/aiplatform/v1/operation.rb +1 -1
  93. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +59 -45
  94. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +42 -22
  95. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +42 -28
  96. data/proto_docs/google/cloud/aiplatform/v1/saved_query.rb +2 -2
  97. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool.rb +1 -1
  98. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +19 -11
  99. data/proto_docs/google/cloud/aiplatform/v1/study.rb +42 -25
  100. data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +3 -3
  101. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +8 -7
  102. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  103. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +203 -109
  104. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +8 -6
  105. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +84 -59
  106. data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +2 -2
  107. data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +40 -20
  108. data/proto_docs/google/rpc/status.rb +4 -2
  109. metadata +5 -5
@@ -406,8 +406,8 @@ module Google
406
406
  # Must be in range 1-1000, inclusive. Defaults to 100.
407
407
  # @param page_token [::String]
408
408
  # A page token, received from a previous
409
- # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_metadata_stores MetadataService.ListMetadataStores} call. Provide this to retrieve the
410
- # subsequent page.
409
+ # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_metadata_stores MetadataService.ListMetadataStores}
410
+ # call. Provide this to retrieve the subsequent page.
411
411
  #
412
412
  # When paginating, all other provided parameters must match the call that
413
413
  # provided the page token. (Otherwise the request will fail with
@@ -793,7 +793,8 @@ module Google
793
793
  # The maximum number of Artifacts to return. The service may return fewer.
794
794
  # Must be in range 1-1000, inclusive. Defaults to 100.
795
795
  # @param page_token [::String]
796
- # A page token, received from a previous {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_artifacts MetadataService.ListArtifacts}
796
+ # A page token, received from a previous
797
+ # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_artifacts MetadataService.ListArtifacts}
797
798
  # call. Provide this to retrieve the subsequent page.
798
799
  #
799
800
  # When paginating, all other provided parameters must match the call that
@@ -927,15 +928,15 @@ module Google
927
928
  #
928
929
  # @param artifact [::Google::Cloud::AIPlatform::V1::Artifact, ::Hash]
929
930
  # Required. The Artifact containing updates.
930
- # The Artifact's {::Google::Cloud::AIPlatform::V1::Artifact#name Artifact.name} field is used to identify the Artifact to
931
- # be updated.
932
- # Format:
931
+ # The Artifact's {::Google::Cloud::AIPlatform::V1::Artifact#name Artifact.name}
932
+ # field is used to identify the Artifact to be updated. Format:
933
933
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
934
934
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
935
935
  # Optional. A FieldMask indicating which fields should be updated.
936
936
  # Functionality of this field is not yet supported.
937
937
  # @param allow_missing [::Boolean]
938
- # If set to true, and the {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is not found, a new {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is
938
+ # If set to true, and the {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is
939
+ # not found, a new {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is
939
940
  # created.
940
941
  #
941
942
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1222,9 +1223,8 @@ module Google
1222
1223
  # the default parameter values, pass an empty Hash as a request object (see above).
1223
1224
  #
1224
1225
  # @param parent [::String]
1225
- # Required. The resource name of the MetadataStore where the Context should be
1226
- # created.
1227
- # Format:
1226
+ # Required. The resource name of the MetadataStore where the Context should
1227
+ # be created. Format:
1228
1228
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
1229
1229
  # @param context [::Google::Cloud::AIPlatform::V1::Context, ::Hash]
1230
1230
  # Required. The Context to create.
@@ -1414,7 +1414,8 @@ module Google
1414
1414
  # The maximum number of Contexts to return. The service may return fewer.
1415
1415
  # Must be in range 1-1000, inclusive. Defaults to 100.
1416
1416
  # @param page_token [::String]
1417
- # A page token, received from a previous {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_contexts MetadataService.ListContexts}
1417
+ # A page token, received from a previous
1418
+ # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_contexts MetadataService.ListContexts}
1418
1419
  # call. Provide this to retrieve the subsequent page.
1419
1420
  #
1420
1421
  # When paginating, all other provided parameters must match the call that
@@ -1552,16 +1553,15 @@ module Google
1552
1553
  #
1553
1554
  # @param context [::Google::Cloud::AIPlatform::V1::Context, ::Hash]
1554
1555
  # Required. The Context containing updates.
1555
- # The Context's {::Google::Cloud::AIPlatform::V1::Context#name Context.name} field is used to identify the Context to be
1556
- # updated.
1557
- # Format:
1556
+ # The Context's {::Google::Cloud::AIPlatform::V1::Context#name Context.name} field
1557
+ # is used to identify the Context to be updated. Format:
1558
1558
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
1559
1559
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1560
1560
  # Optional. A FieldMask indicating which fields should be updated.
1561
1561
  # Functionality of this field is not yet supported.
1562
1562
  # @param allow_missing [::Boolean]
1563
- # If set to true, and the {::Google::Cloud::AIPlatform::V1::Context Context} is not found, a new {::Google::Cloud::AIPlatform::V1::Context Context} is
1564
- # created.
1563
+ # If set to true, and the {::Google::Cloud::AIPlatform::V1::Context Context} is
1564
+ # not found, a new {::Google::Cloud::AIPlatform::V1::Context Context} is created.
1565
1565
  #
1566
1566
  # @yield [response, operation] Access the result along with the RPC operation
1567
1567
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::Context]
@@ -1852,9 +1852,8 @@ module Google
1852
1852
  # the default parameter values, pass an empty Hash as a request object (see above).
1853
1853
  #
1854
1854
  # @param context [::String]
1855
- # Required. The resource name of the Context that the Artifacts and Executions
1856
- # belong to.
1857
- # Format:
1855
+ # Required. The resource name of the Context that the Artifacts and
1856
+ # Executions belong to. Format:
1858
1857
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
1859
1858
  # @param artifacts [::Array<::String>]
1860
1859
  # The resource names of the Artifacts to attribute to the Context.
@@ -2423,7 +2422,8 @@ module Google
2423
2422
  # The maximum number of Executions to return. The service may return fewer.
2424
2423
  # Must be in range 1-1000, inclusive. Defaults to 100.
2425
2424
  # @param page_token [::String]
2426
- # A page token, received from a previous {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_executions MetadataService.ListExecutions}
2425
+ # A page token, received from a previous
2426
+ # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_executions MetadataService.ListExecutions}
2427
2427
  # call. Provide this to retrieve the subsequent page.
2428
2428
  #
2429
2429
  # When paginating, all other provided parameters must match the call that
@@ -2557,16 +2557,16 @@ module Google
2557
2557
  #
2558
2558
  # @param execution [::Google::Cloud::AIPlatform::V1::Execution, ::Hash]
2559
2559
  # Required. The Execution containing updates.
2560
- # The Execution's {::Google::Cloud::AIPlatform::V1::Execution#name Execution.name} field is used to identify the Execution
2561
- # to be updated.
2562
- # Format:
2560
+ # The Execution's {::Google::Cloud::AIPlatform::V1::Execution#name Execution.name}
2561
+ # field is used to identify the Execution to be updated. Format:
2563
2562
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
2564
2563
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2565
2564
  # Optional. A FieldMask indicating which fields should be updated.
2566
2565
  # Functionality of this field is not yet supported.
2567
2566
  # @param allow_missing [::Boolean]
2568
- # If set to true, and the {::Google::Cloud::AIPlatform::V1::Execution Execution} is not found, a new {::Google::Cloud::AIPlatform::V1::Execution Execution}
2569
- # is created.
2567
+ # If set to true, and the {::Google::Cloud::AIPlatform::V1::Execution Execution}
2568
+ # is not found, a new {::Google::Cloud::AIPlatform::V1::Execution Execution} is
2569
+ # created.
2570
2570
  #
2571
2571
  # @yield [response, operation] Access the result along with the RPC operation
2572
2572
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::Execution]
@@ -2947,9 +2947,8 @@ module Google
2947
2947
  # the default parameter values, pass an empty Hash as a request object (see above).
2948
2948
  #
2949
2949
  # @param execution [::String]
2950
- # Required. The resource name of the Execution whose input and output Artifacts should
2951
- # be retrieved as a LineageSubgraph.
2952
- # Format:
2950
+ # Required. The resource name of the Execution whose input and output
2951
+ # Artifacts should be retrieved as a LineageSubgraph. Format:
2953
2952
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
2954
2953
  #
2955
2954
  # @yield [response, operation] Access the result along with the RPC operation
@@ -3035,9 +3034,8 @@ module Google
3035
3034
  # the default parameter values, pass an empty Hash as a request object (see above).
3036
3035
  #
3037
3036
  # @param parent [::String]
3038
- # Required. The resource name of the MetadataStore where the MetadataSchema should
3039
- # be created.
3040
- # Format:
3037
+ # Required. The resource name of the MetadataStore where the MetadataSchema
3038
+ # should be created. Format:
3041
3039
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}`
3042
3040
  # @param metadata_schema [::Google::Cloud::AIPlatform::V1::MetadataSchema, ::Hash]
3043
3041
  # Required. The MetadataSchema to create.
@@ -3230,8 +3228,8 @@ module Google
3230
3228
  # Must be in range 1-1000, inclusive. Defaults to 100.
3231
3229
  # @param page_token [::String]
3232
3230
  # A page token, received from a previous
3233
- # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_metadata_schemas MetadataService.ListMetadataSchemas} call. Provide this to retrieve the
3234
- # next page.
3231
+ # {::Google::Cloud::AIPlatform::V1::MetadataService::Client#list_metadata_schemas MetadataService.ListMetadataSchemas}
3232
+ # call. Provide this to retrieve the next page.
3235
3233
  #
3236
3234
  # When paginating, all other provided parameters must match the call that
3237
3235
  # provided the page token. (Otherwise the request will fail with
@@ -3330,9 +3328,8 @@ module Google
3330
3328
  # the default parameter values, pass an empty Hash as a request object (see above).
3331
3329
  #
3332
3330
  # @param artifact [::String]
3333
- # Required. The resource name of the Artifact whose Lineage needs to be retrieved as a
3334
- # LineageSubgraph.
3335
- # Format:
3331
+ # Required. The resource name of the Artifact whose Lineage needs to be
3332
+ # retrieved as a LineageSubgraph. Format:
3336
3333
  # `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
3337
3334
  #
3338
3335
  # The request may error with FAILED_PRECONDITION if the number of Artifacts,
@@ -34,7 +34,7 @@ module Google
34
34
  ##
35
35
  # Service for reading and writing metadata entries.
36
36
  #
37
- # To load this service and instantiate a client:
37
+ # @example Load this service and instantiate a gRPC client
38
38
  #
39
39
  # require "google/cloud/ai_platform/v1/metadata_service"
40
40
  # client = ::Google::Cloud::AIPlatform::V1::MetadataService::Client.new
@@ -207,10 +207,9 @@ module Google
207
207
  # the default parameter values, pass an empty Hash as a request object (see above).
208
208
  #
209
209
  # @param parent [::String]
210
- # Required. The location that the migratable resources should be searched from.
211
- # It's the Vertex AI location that the resources can be migrated to, not
212
- # the resources' original location.
213
- # Format:
210
+ # Required. The location that the migratable resources should be searched
211
+ # from. It's the Vertex AI location that the resources can be migrated to,
212
+ # not the resources' original location. Format:
214
213
  # `projects/{project}/locations/{location}`
215
214
  # @param page_size [::Integer]
216
215
  # The standard page size.
@@ -35,7 +35,7 @@ module Google
35
35
  # A service that migrates resources from automl.googleapis.com,
36
36
  # datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.
37
37
  #
38
- # To load this service and instantiate a client:
38
+ # @example Load this service and instantiate a gRPC client
39
39
  #
40
40
  # require "google/cloud/ai_platform/v1/migration_service"
41
41
  # client = ::Google::Cloud::AIPlatform::V1::MigrationService::Client.new
@@ -198,7 +198,7 @@ module Google
198
198
  # @param options [::Gapic::CallOptions, ::Hash]
199
199
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
200
200
  #
201
- # @overload upload_model(parent: nil, parent_model: nil, model_id: nil, model: nil)
201
+ # @overload upload_model(parent: nil, parent_model: nil, model_id: nil, model: nil, service_account: nil)
202
202
  # Pass arguments to `upload_model` via keyword arguments. Note that at
203
203
  # least one keyword argument is required. To specify no parameters, or to keep all
204
204
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -207,8 +207,8 @@ module Google
207
207
  # Required. The resource name of the Location into which to upload the Model.
208
208
  # Format: `projects/{project}/locations/{location}`
209
209
  # @param parent_model [::String]
210
- # Optional. The resource name of the model into which to upload the version. Only
211
- # specify this field when uploading a new version.
210
+ # Optional. The resource name of the model into which to upload the version.
211
+ # Only specify this field when uploading a new version.
212
212
  # @param model_id [::String]
213
213
  # Optional. The ID to use for the uploaded Model, which will become the final
214
214
  # component of the model resource name.
@@ -217,6 +217,14 @@ module Google
217
217
  # `[a-z0-9_-]`. The first character cannot be a number or hyphen.
218
218
  # @param model [::Google::Cloud::AIPlatform::V1::Model, ::Hash]
219
219
  # Required. The Model to create.
220
+ # @param service_account [::String]
221
+ # Optional. The user-provided custom service account to use to do the model
222
+ # upload. If empty, [Vertex AI Service
223
+ # Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
224
+ # will be used. Users uploading the Model must have the
225
+ # `iam.serviceAccounts.actAs` permission on this service account. Also, this
226
+ # account must belong to the project specified in the `parent` field and have
227
+ # all necessary read permissions.
220
228
  #
221
229
  # @yield [response, operation] Access the result along with the RPC operation
222
230
  # @yieldparam response [::Gapic::Operation]
@@ -412,7 +420,8 @@ module Google
412
420
  # both snake_case and camelCase are supported.
413
421
  #
414
422
  # * `model` supports = and !=. `model` represents the Model ID,
415
- # i.e. the last segment of the Model's {::Google::Cloud::AIPlatform::V1::Model#name resource name}.
423
+ # i.e. the last segment of the Model's [resource
424
+ # name][google.cloud.aiplatform.v1.Model.name].
416
425
  # * `display_name` supports = and !=
417
426
  # * `labels` supports general map functions that is:
418
427
  # * `labels.key=value` - key:value equality
@@ -429,8 +438,10 @@ module Google
429
438
  # @param page_token [::String]
430
439
  # The standard list page token.
431
440
  # Typically obtained via
432
- # {::Google::Cloud::AIPlatform::V1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token} of the previous
433
- # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_models ModelService.ListModels} call.
441
+ # {::Google::Cloud::AIPlatform::V1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token}
442
+ # of the previous
443
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_models ModelService.ListModels}
444
+ # call.
434
445
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
435
446
  # Mask specifying which fields to read.
436
447
  # @param order_by [::String]
@@ -528,7 +539,7 @@ module Google
528
539
  # @param options [::Gapic::CallOptions, ::Hash]
529
540
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
530
541
  #
531
- # @overload list_model_versions(name: nil, page_size: nil, page_token: nil, filter: nil, read_mask: nil)
542
+ # @overload list_model_versions(name: nil, page_size: nil, page_token: nil, filter: nil, read_mask: nil, order_by: nil)
532
543
  # Pass arguments to `list_model_versions` via keyword arguments. Note that at
533
544
  # least one keyword argument is required. To specify no parameters, or to keep all
534
545
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -540,8 +551,8 @@ module Google
540
551
  # @param page_token [::String]
541
552
  # The standard list page token.
542
553
  # Typically obtained via
543
- # {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token} of the previous
544
- # [ModelService.ListModelversions][] call.
554
+ # {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token}
555
+ # of the previous [ModelService.ListModelversions][] call.
545
556
  # @param filter [::String]
546
557
  # An expression for filtering the results of the request. For field names
547
558
  # both snake_case and camelCase are supported.
@@ -556,6 +567,15 @@ module Google
556
567
  # * `labels.myKey="myValue"`
557
568
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
558
569
  # Mask specifying which fields to read.
570
+ # @param order_by [::String]
571
+ # A comma-separated list of fields to order by, sorted in ascending order.
572
+ # Use "desc" after a field name for descending.
573
+ # Supported fields:
574
+ #
575
+ # * `create_time`
576
+ # * `update_time`
577
+ #
578
+ # Example: `update_time asc, create_time desc`.
559
579
  #
560
580
  # @yield [response, operation] Access the result along with the RPC operation
561
581
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::Model>]
@@ -667,7 +687,8 @@ module Google
667
687
  # must update them separately.
668
688
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
669
689
  # Required. The update mask applies to the resource.
670
- # For the `FieldMask` definition, see {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
690
+ # For the `FieldMask` definition, see
691
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
671
692
  #
672
693
  # @yield [response, operation] Access the result along with the RPC operation
673
694
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::Model]
@@ -736,9 +757,12 @@ module Google
736
757
  ##
737
758
  # Deletes a Model.
738
759
  #
739
- # A model cannot be deleted if any {::Google::Cloud::AIPlatform::V1::Endpoint Endpoint} resource has a
740
- # {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModel} based on the model in its
741
- # {::Google::Cloud::AIPlatform::V1::Endpoint#deployed_models deployed_models} field.
760
+ # A model cannot be deleted if any
761
+ # {::Google::Cloud::AIPlatform::V1::Endpoint Endpoint} resource has a
762
+ # {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModel} based on the
763
+ # model in its
764
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#deployed_models deployed_models}
765
+ # field.
742
766
  #
743
767
  # @overload delete_model(request, options = nil)
744
768
  # Pass arguments to `delete_model` via a request object, either of type
@@ -836,7 +860,8 @@ module Google
836
860
  #
837
861
  # Model version can only be deleted if there are no [DeployedModels][]
838
862
  # created from it. Deleting the only version in the Model is not allowed. Use
839
- # {::Google::Cloud::AIPlatform::V1::ModelService::Client#delete_model DeleteModel} for deleting the Model instead.
863
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#delete_model DeleteModel} for
864
+ # deleting the Model instead.
840
865
  #
841
866
  # @overload delete_model_version(request, options = nil)
842
867
  # Pass arguments to `delete_model_version` via a request object, either of type
@@ -854,8 +879,8 @@ module Google
854
879
  # the default parameter values, pass an empty Hash as a request object (see above).
855
880
  #
856
881
  # @param name [::String]
857
- # Required. The name of the model version to be deleted, with a version ID explicitly
858
- # included.
882
+ # Required. The name of the model version to be deleted, with a version ID
883
+ # explicitly included.
859
884
  #
860
885
  # Example: `projects/{project}/locations/{location}/models/{model}@1234`
861
886
  #
@@ -1035,7 +1060,8 @@ module Google
1035
1060
  ##
1036
1061
  # Exports a trained, exportable Model to a location specified by the
1037
1062
  # user. A Model is considered to be exportable if it has at least one
1038
- # {::Google::Cloud::AIPlatform::V1::Model#supported_export_formats supported export format}.
1063
+ # [supported export
1064
+ # format][google.cloud.aiplatform.v1.Model.supported_export_formats].
1039
1065
  #
1040
1066
  # @overload export_model(request, options = nil)
1041
1067
  # Pass arguments to `export_model` via a request object, either of type
@@ -1423,8 +1449,10 @@ module Google
1423
1449
  # @param page_token [::String]
1424
1450
  # The standard list page token.
1425
1451
  # Typically obtained via
1426
- # {::Google::Cloud::AIPlatform::V1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token} of the previous
1427
- # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluations ModelService.ListModelEvaluations} call.
1452
+ # {::Google::Cloud::AIPlatform::V1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token}
1453
+ # of the previous
1454
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluations ModelService.ListModelEvaluations}
1455
+ # call.
1428
1456
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
1429
1457
  # Mask specifying which fields to read.
1430
1458
  #
@@ -1605,8 +1633,8 @@ module Google
1605
1633
  # the default parameter values, pass an empty Hash as a request object (see above).
1606
1634
  #
1607
1635
  # @param parent [::String]
1608
- # Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices
1609
- # from. Format:
1636
+ # Required. The resource name of the ModelEvaluation to list the
1637
+ # ModelEvaluationSlices from. Format:
1610
1638
  # `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}`
1611
1639
  # @param filter [::String]
1612
1640
  # The standard list filter.
@@ -1617,8 +1645,10 @@ module Google
1617
1645
  # @param page_token [::String]
1618
1646
  # The standard list page token.
1619
1647
  # Typically obtained via
1620
- # {::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesResponse#next_page_token ListModelEvaluationSlicesResponse.next_page_token} of the previous
1621
- # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices} call.
1648
+ # {::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesResponse#next_page_token ListModelEvaluationSlicesResponse.next_page_token}
1649
+ # of the previous
1650
+ # {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices}
1651
+ # call.
1622
1652
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
1623
1653
  # Mask specifying which fields to read.
1624
1654
  #
@@ -34,7 +34,7 @@ module Google
34
34
  ##
35
35
  # A service for managing Vertex AI's machine learning Models.
36
36
  #
37
- # To load this service and instantiate a client:
37
+ # @example Load this service and instantiate a gRPC client
38
38
  #
39
39
  # require "google/cloud/ai_platform/v1/model_service"
40
40
  # client = ::Google::Cloud::AIPlatform::V1::ModelService::Client.new
@@ -207,8 +207,8 @@ module Google
207
207
  # the default parameter values, pass an empty Hash as a request object (see above).
208
208
  #
209
209
  # @param parent [::String]
210
- # Required. The resource name of the Location to create the TrainingPipeline in.
211
- # Format: `projects/{project}/locations/{location}`
210
+ # Required. The resource name of the Location to create the TrainingPipeline
211
+ # in. Format: `projects/{project}/locations/{location}`
212
212
  # @param training_pipeline [::Google::Cloud::AIPlatform::V1::TrainingPipeline, ::Hash]
213
213
  # Required. The TrainingPipeline to create.
214
214
  #
@@ -382,8 +382,8 @@ module Google
382
382
  # the default parameter values, pass an empty Hash as a request object (see above).
383
383
  #
384
384
  # @param parent [::String]
385
- # Required. The resource name of the Location to list the TrainingPipelines from.
386
- # Format: `projects/{project}/locations/{location}`
385
+ # Required. The resource name of the Location to list the TrainingPipelines
386
+ # from. Format: `projects/{project}/locations/{location}`
387
387
  # @param filter [::String]
388
388
  # The standard list filter.
389
389
  #
@@ -410,8 +410,10 @@ module Google
410
410
  # @param page_token [::String]
411
411
  # The standard list page token.
412
412
  # Typically obtained via
413
- # {::Google::Cloud::AIPlatform::V1::ListTrainingPipelinesResponse#next_page_token ListTrainingPipelinesResponse.next_page_token} of the previous
414
- # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#list_training_pipelines PipelineService.ListTrainingPipelines} call.
413
+ # {::Google::Cloud::AIPlatform::V1::ListTrainingPipelinesResponse#next_page_token ListTrainingPipelinesResponse.next_page_token}
414
+ # of the previous
415
+ # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#list_training_pipelines PipelineService.ListTrainingPipelines}
416
+ # call.
415
417
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
416
418
  # Mask specifying which fields to read.
417
419
  #
@@ -585,13 +587,17 @@ module Google
585
587
  # Cancels a TrainingPipeline.
586
588
  # Starts asynchronous cancellation on the TrainingPipeline. The server
587
589
  # makes a best effort to cancel the pipeline, but success is not
588
- # guaranteed. Clients can use {::Google::Cloud::AIPlatform::V1::PipelineService::Client#get_training_pipeline PipelineService.GetTrainingPipeline} or
589
- # other methods to check whether the cancellation succeeded or whether the
590
+ # guaranteed. Clients can use
591
+ # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#get_training_pipeline PipelineService.GetTrainingPipeline}
592
+ # or other methods to check whether the cancellation succeeded or whether the
590
593
  # pipeline completed despite cancellation. On successful cancellation,
591
594
  # the TrainingPipeline is not deleted; instead it becomes a pipeline with
592
- # a {::Google::Cloud::AIPlatform::V1::TrainingPipeline#error TrainingPipeline.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
593
- # corresponding to `Code.CANCELLED`, and {::Google::Cloud::AIPlatform::V1::TrainingPipeline#state TrainingPipeline.state} is set to
594
- # `CANCELLED`.
595
+ # a
596
+ # {::Google::Cloud::AIPlatform::V1::TrainingPipeline#error TrainingPipeline.error}
597
+ # value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
598
+ # corresponding to `Code.CANCELLED`, and
599
+ # {::Google::Cloud::AIPlatform::V1::TrainingPipeline#state TrainingPipeline.state}
600
+ # is set to `CANCELLED`.
595
601
  #
596
602
  # @overload cancel_training_pipeline(request, options = nil)
597
603
  # Pass arguments to `cancel_training_pipeline` via a request object, either of type
@@ -920,8 +926,10 @@ module Google
920
926
  # @param page_token [::String]
921
927
  # The standard list page token.
922
928
  # Typically obtained via
923
- # {::Google::Cloud::AIPlatform::V1::ListPipelineJobsResponse#next_page_token ListPipelineJobsResponse.next_page_token} of the previous
924
- # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#list_pipeline_jobs PipelineService.ListPipelineJobs} call.
929
+ # {::Google::Cloud::AIPlatform::V1::ListPipelineJobsResponse#next_page_token ListPipelineJobsResponse.next_page_token}
930
+ # of the previous
931
+ # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#list_pipeline_jobs PipelineService.ListPipelineJobs}
932
+ # call.
925
933
  # @param order_by [::String]
926
934
  # A comma-separated list of fields to order by. The default sort order is in
927
935
  # ascending order. Use "desc" after a field name for descending. You can have
@@ -1109,12 +1117,15 @@ module Google
1109
1117
  # Cancels a PipelineJob.
1110
1118
  # Starts asynchronous cancellation on the PipelineJob. The server
1111
1119
  # makes a best effort to cancel the pipeline, but success is not
1112
- # guaranteed. Clients can use {::Google::Cloud::AIPlatform::V1::PipelineService::Client#get_pipeline_job PipelineService.GetPipelineJob} or
1113
- # other methods to check whether the cancellation succeeded or whether the
1120
+ # guaranteed. Clients can use
1121
+ # {::Google::Cloud::AIPlatform::V1::PipelineService::Client#get_pipeline_job PipelineService.GetPipelineJob}
1122
+ # or other methods to check whether the cancellation succeeded or whether the
1114
1123
  # pipeline completed despite cancellation. On successful cancellation,
1115
1124
  # the PipelineJob is not deleted; instead it becomes a pipeline with
1116
- # a {::Google::Cloud::AIPlatform::V1::PipelineJob#error PipelineJob.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
1117
- # corresponding to `Code.CANCELLED`, and {::Google::Cloud::AIPlatform::V1::PipelineJob#state PipelineJob.state} is set to
1125
+ # a {::Google::Cloud::AIPlatform::V1::PipelineJob#error PipelineJob.error} value
1126
+ # with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding
1127
+ # to `Code.CANCELLED`, and
1128
+ # {::Google::Cloud::AIPlatform::V1::PipelineJob#state PipelineJob.state} is set to
1118
1129
  # `CANCELLED`.
1119
1130
  #
1120
1131
  # @overload cancel_pipeline_job(request, options = nil)
@@ -36,7 +36,7 @@ module Google
36
36
  # `TrainingPipeline` resources (used for AutoML and custom training) and
37
37
  # `PipelineJob` resources (used for Vertex AI Pipelines).
38
38
  #
39
- # To load this service and instantiate a client:
39
+ # @example Load this service and instantiate a gRPC client
40
40
  #
41
41
  # require "google/cloud/ai_platform/v1/pipeline_service"
42
42
  # client = ::Google::Cloud::AIPlatform::V1::PipelineService::Client.new
@@ -206,7 +206,8 @@ module Google
206
206
  # {::Google::Cloud::AIPlatform::V1::PredictSchemata#instance_schema_uri instance_schema_uri}.
207
207
  # @param parameters [::Google::Protobuf::Value, ::Hash]
208
208
  # The parameters that govern the prediction. The schema of the parameters may
209
- # be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model]
209
+ # be specified via Endpoint's DeployedModels' [Model's
210
+ # ][google.cloud.aiplatform.v1.DeployedModel.model]
210
211
  # [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata]
211
212
  # {::Google::Cloud::AIPlatform::V1::PredictSchemata#parameters_schema_uri parameters_schema_uri}.
212
213
  #
@@ -279,11 +280,13 @@ module Google
279
280
  #
280
281
  # The response includes the following HTTP headers:
281
282
  #
282
- # * `X-Vertex-AI-Endpoint-Id`: ID of the {::Google::Cloud::AIPlatform::V1::Endpoint Endpoint} that served this
283
+ # * `X-Vertex-AI-Endpoint-Id`: ID of the
284
+ # {::Google::Cloud::AIPlatform::V1::Endpoint Endpoint} that served this
283
285
  # prediction.
284
286
  #
285
- # * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModel}
286
- # that served this prediction.
287
+ # * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's
288
+ # {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModel} that served this
289
+ # prediction.
287
290
  #
288
291
  # @overload raw_predict(request, options = nil)
289
292
  # Pass arguments to `raw_predict` via a request object, either of type
@@ -307,16 +310,18 @@ module Google
307
310
  # @param http_body [::Google::Api::HttpBody, ::Hash]
308
311
  # The prediction input. Supports HTTP headers and arbitrary data payload.
309
312
  #
310
- # A {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModel} may have an upper limit on the number of instances it
311
- # supports per request. When this limit it is exceeded for an AutoML model,
312
- # the {::Google::Cloud::AIPlatform::V1::PredictionService::Client#raw_predict RawPredict} method returns an error.
313
- # When this limit is exceeded for a custom-trained model, the behavior varies
314
- # depending on the model.
313
+ # A {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModel} may have an
314
+ # upper limit on the number of instances it supports per request. When this
315
+ # limit it is exceeded for an AutoML model, the
316
+ # {::Google::Cloud::AIPlatform::V1::PredictionService::Client#raw_predict RawPredict}
317
+ # method returns an error. When this limit is exceeded for a custom-trained
318
+ # model, the behavior varies depending on the model.
315
319
  #
316
320
  # You can specify the schema for each instance in the
317
321
  # {::Google::Cloud::AIPlatform::V1::PredictSchemata#instance_schema_uri predict_schemata.instance_schema_uri}
318
- # field when you create a {::Google::Cloud::AIPlatform::V1::Model Model}. This schema applies when you deploy the
319
- # `Model` as a `DeployedModel` to an {::Google::Cloud::AIPlatform::V1::Endpoint Endpoint} and use the `RawPredict`
322
+ # field when you create a {::Google::Cloud::AIPlatform::V1::Model Model}. This
323
+ # schema applies when you deploy the `Model` as a `DeployedModel` to an
324
+ # {::Google::Cloud::AIPlatform::V1::Endpoint Endpoint} and use the `RawPredict`
320
325
  # method.
321
326
  #
322
327
  # @yield [response, operation] Access the result along with the RPC operation
@@ -386,10 +391,12 @@ module Google
386
391
  ##
387
392
  # Perform an online explanation.
388
393
  #
389
- # If {::Google::Cloud::AIPlatform::V1::ExplainRequest#deployed_model_id deployed_model_id} is specified,
390
- # the corresponding DeployModel must have
394
+ # If
395
+ # {::Google::Cloud::AIPlatform::V1::ExplainRequest#deployed_model_id deployed_model_id}
396
+ # is specified, the corresponding DeployModel must have
391
397
  # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
392
- # populated. If {::Google::Cloud::AIPlatform::V1::ExplainRequest#deployed_model_id deployed_model_id}
398
+ # populated. If
399
+ # {::Google::Cloud::AIPlatform::V1::ExplainRequest#deployed_model_id deployed_model_id}
393
400
  # is not specified, all DeployedModels must have
394
401
  # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
395
402
  # populated. Only deployed AutoML tabular Models have
@@ -426,21 +433,23 @@ module Google
426
433
  # {::Google::Cloud::AIPlatform::V1::PredictSchemata#instance_schema_uri instance_schema_uri}.
427
434
  # @param parameters [::Google::Protobuf::Value, ::Hash]
428
435
  # The parameters that govern the prediction. The schema of the parameters may
429
- # be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model]
436
+ # be specified via Endpoint's DeployedModels' [Model's
437
+ # ][google.cloud.aiplatform.v1.DeployedModel.model]
430
438
  # [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata]
431
439
  # {::Google::Cloud::AIPlatform::V1::PredictSchemata#parameters_schema_uri parameters_schema_uri}.
432
440
  # @param explanation_spec_override [::Google::Cloud::AIPlatform::V1::ExplanationSpecOverride, ::Hash]
433
441
  # If specified, overrides the
434
- # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec} of the DeployedModel.
435
- # Can be used for explaining prediction results with different
436
- # configurations, such as:
442
+ # {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
443
+ # of the DeployedModel. Can be used for explaining prediction results with
444
+ # different configurations, such as:
437
445
  # - Explaining top-5 predictions results as opposed to top-1;
438
446
  # - Increasing path count or step count of the attribution methods to reduce
439
447
  # approximate errors;
440
448
  # - Using different baselines for explaining the prediction results.
441
449
  # @param deployed_model_id [::String]
442
450
  # If specified, this ExplainRequest will be served by the chosen
443
- # DeployedModel, overriding {::Google::Cloud::AIPlatform::V1::Endpoint#traffic_split Endpoint.traffic_split}.
451
+ # DeployedModel, overriding
452
+ # {::Google::Cloud::AIPlatform::V1::Endpoint#traffic_split Endpoint.traffic_split}.
444
453
  #
445
454
  # @yield [response, operation] Access the result along with the RPC operation
446
455
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::ExplainResponse]
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # A service for online predictions and explanations.
35
35
  #
36
- # To load this service and instantiate a client:
36
+ # @example Load this service and instantiate a gRPC client
37
37
  #
38
38
  # require "google/cloud/ai_platform/v1/prediction_service"
39
39
  # client = ::Google::Cloud::AIPlatform::V1::PredictionService::Client.new
@@ -398,9 +398,11 @@ module Google
398
398
  # The standard list page size.
399
399
  # @param page_token [::String]
400
400
  # The standard list page token.
401
- # Typically obtained by {::Google::Cloud::AIPlatform::V1::ListSpecialistPoolsResponse#next_page_token ListSpecialistPoolsResponse.next_page_token} of
402
- # the previous {::Google::Cloud::AIPlatform::V1::SpecialistPoolService::Client#list_specialist_pools SpecialistPoolService.ListSpecialistPools} call. Return
403
- # first page if empty.
401
+ # Typically obtained by
402
+ # {::Google::Cloud::AIPlatform::V1::ListSpecialistPoolsResponse#next_page_token ListSpecialistPoolsResponse.next_page_token}
403
+ # of the previous
404
+ # {::Google::Cloud::AIPlatform::V1::SpecialistPoolService::Client#list_specialist_pools SpecialistPoolService.ListSpecialistPools}
405
+ # call. Return first page if empty.
404
406
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
405
407
  # Mask specifying which fields to read. FieldMask represents a set of
406
408
  #