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
@@ -41,6 +41,12 @@ module Google
41
41
  # for different entities may be broken
42
42
  # up across multiple responses.
43
43
  rpc :StreamingReadFeatureValues, ::Google::Cloud::AIPlatform::V1::StreamingReadFeatureValuesRequest, stream(::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse)
44
+ # Writes Feature values of one or more entities of an EntityType.
45
+ #
46
+ # The Feature values are merged into existing entities if any. The Feature
47
+ # values to be written must have timestamp within the online storage
48
+ # retention.
49
+ rpc :WriteFeatureValues, ::Google::Cloud::AIPlatform::V1::WriteFeatureValuesRequest, ::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse
44
50
  end
45
51
 
46
52
  Stub = Service.rpc_stub_class
@@ -209,6 +209,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
209
209
  optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
210
210
  optional :imported_entity_count, :int64, 2
211
211
  optional :imported_feature_value_count, :int64, 3
212
+ repeated :source_uris, :string, 4
212
213
  optional :invalid_row_count, :int64, 6
213
214
  optional :timestamp_outside_retention_rows_count, :int64, 7
214
215
  end
@@ -43,7 +43,8 @@ module Google
43
43
  rpc :UpdateIndex, ::Google::Cloud::AIPlatform::V1::UpdateIndexRequest, ::Google::Longrunning::Operation
44
44
  # Deletes an Index.
45
45
  # An Index can only be deleted when all its
46
- # [DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had been undeployed.
46
+ # [DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had
47
+ # been undeployed.
47
48
  rpc :DeleteIndex, ::Google::Cloud::AIPlatform::V1::DeleteIndexRequest, ::Google::Longrunning::Operation
48
49
  # Add/update Datapoints into an Index.
49
50
  rpc :UpsertDatapoints, ::Google::Cloud::AIPlatform::V1::UpsertDatapointsRequest, ::Google::Cloud::AIPlatform::V1::UpsertDatapointsResponse
@@ -45,12 +45,15 @@ module Google
45
45
  # Cancels a CustomJob.
46
46
  # Starts asynchronous cancellation on the CustomJob. The server
47
47
  # makes a best effort to cancel the job, but success is not
48
- # guaranteed. Clients can use [JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob] or
49
- # other methods to check whether the cancellation succeeded or whether the
48
+ # guaranteed. Clients can use
49
+ # [JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
50
+ # or other methods to check whether the cancellation succeeded or whether the
50
51
  # job completed despite cancellation. On successful cancellation,
51
52
  # the CustomJob is not deleted; instead it becomes a job with
52
- # a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
53
- # corresponding to `Code.CANCELLED`, and [CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
53
+ # a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
54
+ # a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
55
+ # `Code.CANCELLED`, and
56
+ # [CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
54
57
  # `CANCELLED`.
55
58
  rpc :CancelCustomJob, ::Google::Cloud::AIPlatform::V1::CancelCustomJobRequest, ::Google::Protobuf::Empty
56
59
  # Creates a DataLabelingJob.
@@ -74,13 +77,17 @@ module Google
74
77
  # Cancels a HyperparameterTuningJob.
75
78
  # Starts asynchronous cancellation on the HyperparameterTuningJob. The server
76
79
  # makes a best effort to cancel the job, but success is not
77
- # guaranteed. Clients can use [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob] or
78
- # other methods to check whether the cancellation succeeded or whether the
80
+ # guaranteed. Clients can use
81
+ # [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
82
+ # or other methods to check whether the cancellation succeeded or whether the
79
83
  # job completed despite cancellation. On successful cancellation,
80
84
  # the HyperparameterTuningJob is not deleted; instead it becomes a job with
81
- # a [HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code]
82
- # of 1, corresponding to `Code.CANCELLED`, and
83
- # [HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state] is set to `CANCELLED`.
85
+ # a
86
+ # [HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
87
+ # value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
88
+ # corresponding to `Code.CANCELLED`, and
89
+ # [HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
90
+ # is set to `CANCELLED`.
84
91
  rpc :CancelHyperparameterTuningJob, ::Google::Cloud::AIPlatform::V1::CancelHyperparameterTuningJobRequest, ::Google::Protobuf::Empty
85
92
  # Creates a BatchPredictionJob. A BatchPredictionJob once created will
86
93
  # right away be attempted to start.
@@ -96,12 +103,14 @@ module Google
96
103
  #
97
104
  # Starts asynchronous cancellation on the BatchPredictionJob. The server
98
105
  # makes the best effort to cancel the job, but success is not
99
- # guaranteed. Clients can use [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob] or
100
- # other methods to check whether the cancellation succeeded or whether the
106
+ # guaranteed. Clients can use
107
+ # [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
108
+ # or other methods to check whether the cancellation succeeded or whether the
101
109
  # job completed despite cancellation. On a successful cancellation,
102
110
  # the BatchPredictionJob is not deleted;instead its
103
- # [BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state] is set to `CANCELLED`. Any files already
104
- # outputted by the job are not deleted.
111
+ # [BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
112
+ # is set to `CANCELLED`. Any files already outputted by the job are not
113
+ # deleted.
105
114
  rpc :CancelBatchPredictionJob, ::Google::Cloud::AIPlatform::V1::CancelBatchPredictionJobRequest, ::Google::Protobuf::Empty
106
115
  # Creates a ModelDeploymentMonitoringJob. It will run periodically on a
107
116
  # configured interval.
@@ -118,7 +127,8 @@ module Google
118
127
  rpc :DeleteModelDeploymentMonitoringJob, ::Google::Cloud::AIPlatform::V1::DeleteModelDeploymentMonitoringJobRequest, ::Google::Longrunning::Operation
119
128
  # Pauses a ModelDeploymentMonitoringJob. If the job is running, the server
120
129
  # makes a best effort to cancel the job. Will mark
121
- # [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.
130
+ # [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]
131
+ # to 'PAUSED'.
122
132
  rpc :PauseModelDeploymentMonitoringJob, ::Google::Cloud::AIPlatform::V1::PauseModelDeploymentMonitoringJobRequest, ::Google::Protobuf::Empty
123
133
  # Resumes a paused ModelDeploymentMonitoringJob. It will start to run from
124
134
  # next scheduled time. A deleted ModelDeploymentMonitoringJob can't be
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  optional :parent_model, :string, 4
23
23
  optional :model_id, :string, 5
24
24
  optional :model, :message, 2, "google.cloud.aiplatform.v1.Model"
25
+ optional :service_account, :string, 6
25
26
  end
26
27
  add_message "google.cloud.aiplatform.v1.UploadModelOperationMetadata" do
27
28
  optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
@@ -51,6 +52,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
51
52
  optional :page_token, :string, 3
52
53
  optional :filter, :string, 4
53
54
  optional :read_mask, :message, 5, "google.protobuf.FieldMask"
55
+ optional :order_by, :string, 6
54
56
  end
55
57
  add_message "google.cloud.aiplatform.v1.ListModelVersionsResponse" do
56
58
  repeated :models, :message, 1, "google.cloud.aiplatform.v1.Model"
@@ -45,21 +45,26 @@ module Google
45
45
  rpc :UpdateModel, ::Google::Cloud::AIPlatform::V1::UpdateModelRequest, ::Google::Cloud::AIPlatform::V1::Model
46
46
  # Deletes a Model.
47
47
  #
48
- # A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a
49
- # [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its
50
- # [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
48
+ # A model cannot be deleted if any
49
+ # [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a
50
+ # [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the
51
+ # model in its
52
+ # [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models]
53
+ # field.
51
54
  rpc :DeleteModel, ::Google::Cloud::AIPlatform::V1::DeleteModelRequest, ::Google::Longrunning::Operation
52
55
  # Deletes a Model version.
53
56
  #
54
57
  # Model version can only be deleted if there are no [DeployedModels][]
55
58
  # created from it. Deleting the only version in the Model is not allowed. Use
56
- # [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.
59
+ # [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for
60
+ # deleting the Model instead.
57
61
  rpc :DeleteModelVersion, ::Google::Cloud::AIPlatform::V1::DeleteModelVersionRequest, ::Google::Longrunning::Operation
58
62
  # Merges a set of aliases for a Model version.
59
63
  rpc :MergeVersionAliases, ::Google::Cloud::AIPlatform::V1::MergeVersionAliasesRequest, ::Google::Cloud::AIPlatform::V1::Model
60
64
  # Exports a trained, exportable Model to a location specified by the
61
65
  # user. A Model is considered to be exportable if it has at least one
62
- # [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
66
+ # [supported export
67
+ # format][google.cloud.aiplatform.v1.Model.supported_export_formats].
63
68
  rpc :ExportModel, ::Google::Cloud::AIPlatform::V1::ExportModelRequest, ::Google::Longrunning::Operation
64
69
  # Imports an externally generated ModelEvaluation.
65
70
  rpc :ImportModelEvaluation, ::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
@@ -47,13 +47,17 @@ module Google
47
47
  # Cancels a TrainingPipeline.
48
48
  # Starts asynchronous cancellation on the TrainingPipeline. The server
49
49
  # makes a best effort to cancel the pipeline, but success is not
50
- # guaranteed. Clients can use [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline] or
51
- # other methods to check whether the cancellation succeeded or whether the
50
+ # guaranteed. Clients can use
51
+ # [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
52
+ # or other methods to check whether the cancellation succeeded or whether the
52
53
  # pipeline completed despite cancellation. On successful cancellation,
53
54
  # the TrainingPipeline is not deleted; instead it becomes a pipeline with
54
- # a [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
55
- # corresponding to `Code.CANCELLED`, and [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state] is set to
56
- # `CANCELLED`.
55
+ # a
56
+ # [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
57
+ # value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
58
+ # corresponding to `Code.CANCELLED`, and
59
+ # [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
60
+ # is set to `CANCELLED`.
57
61
  rpc :CancelTrainingPipeline, ::Google::Cloud::AIPlatform::V1::CancelTrainingPipelineRequest, ::Google::Protobuf::Empty
58
62
  # Creates a PipelineJob. A PipelineJob will run immediately when created.
59
63
  rpc :CreatePipelineJob, ::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest, ::Google::Cloud::AIPlatform::V1::PipelineJob
@@ -66,12 +70,15 @@ module Google
66
70
  # Cancels a PipelineJob.
67
71
  # Starts asynchronous cancellation on the PipelineJob. The server
68
72
  # makes a best effort to cancel the pipeline, but success is not
69
- # guaranteed. Clients can use [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob] or
70
- # other methods to check whether the cancellation succeeded or whether the
73
+ # guaranteed. Clients can use
74
+ # [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
75
+ # or other methods to check whether the cancellation succeeded or whether the
71
76
  # pipeline completed despite cancellation. On successful cancellation,
72
77
  # the PipelineJob is not deleted; instead it becomes a pipeline with
73
- # a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
74
- # corresponding to `Code.CANCELLED`, and [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
78
+ # a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
79
+ # with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
80
+ # to `Code.CANCELLED`, and
81
+ # [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
75
82
  # `CANCELLED`.
76
83
  rpc :CancelPipelineJob, ::Google::Cloud::AIPlatform::V1::CancelPipelineJobRequest, ::Google::Protobuf::Empty
77
84
  end
@@ -39,18 +39,22 @@ module Google
39
39
  #
40
40
  # The response includes the following HTTP headers:
41
41
  #
42
- # * `X-Vertex-AI-Endpoint-Id`: ID of the [Endpoint][google.cloud.aiplatform.v1.Endpoint] that served this
42
+ # * `X-Vertex-AI-Endpoint-Id`: ID of the
43
+ # [Endpoint][google.cloud.aiplatform.v1.Endpoint] that served this
43
44
  # prediction.
44
45
  #
45
- # * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's [DeployedModel][google.cloud.aiplatform.v1.DeployedModel]
46
- # that served this prediction.
46
+ # * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's
47
+ # [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] that served this
48
+ # prediction.
47
49
  rpc :RawPredict, ::Google::Cloud::AIPlatform::V1::RawPredictRequest, ::Google::Api::HttpBody
48
50
  # Perform an online explanation.
49
51
  #
50
- # If [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id] is specified,
51
- # the corresponding DeployModel must have
52
+ # If
53
+ # [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]
54
+ # is specified, the corresponding DeployModel must have
52
55
  # [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
53
- # populated. If [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]
56
+ # populated. If
57
+ # [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]
54
58
  # is not specified, all DeployedModels must have
55
59
  # [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
56
60
  # populated. Only deployed AutoML tabular Models have
@@ -136,6 +136,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
136
136
  optional :min_measurement_count, :int64, 3
137
137
  optional :learning_rate_parameter_name, :string, 4
138
138
  optional :use_elapsed_duration, :bool, 5
139
+ proto3_optional :update_all_stopped_trials, :bool, 6
139
140
  end
140
141
  add_enum "google.cloud.aiplatform.v1.StudySpec.Algorithm" do
141
142
  value :ALGORITHM_UNSPECIFIED, 0
@@ -25,6 +25,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  add_message "google.cloud.aiplatform.v1.GetTensorboardRequest" do
26
26
  optional :name, :string, 1
27
27
  end
28
+ add_message "google.cloud.aiplatform.v1.ReadTensorboardUsageRequest" do
29
+ optional :tensorboard, :string, 1
30
+ end
31
+ add_message "google.cloud.aiplatform.v1.ReadTensorboardUsageResponse" do
32
+ map :monthly_usage_data, :string, :message, 1, "google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData"
33
+ end
34
+ add_message "google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerUserUsageData" do
35
+ optional :username, :string, 1
36
+ optional :view_count, :int64, 2
37
+ end
38
+ add_message "google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData" do
39
+ repeated :user_usage_data, :message, 1, "google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerUserUsageData"
40
+ end
28
41
  add_message "google.cloud.aiplatform.v1.ListTensorboardsRequest" do
29
42
  optional :parent, :string, 1
30
43
  optional :filter, :string, 2
@@ -199,6 +212,10 @@ module Google
199
212
  module V1
200
213
  CreateTensorboardRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateTensorboardRequest").msgclass
201
214
  GetTensorboardRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetTensorboardRequest").msgclass
215
+ ReadTensorboardUsageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReadTensorboardUsageRequest").msgclass
216
+ ReadTensorboardUsageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReadTensorboardUsageResponse").msgclass
217
+ ReadTensorboardUsageResponse::PerUserUsageData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerUserUsageData").msgclass
218
+ ReadTensorboardUsageResponse::PerMonthUsageData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData").msgclass
202
219
  ListTensorboardsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListTensorboardsRequest").msgclass
203
220
  ListTensorboardsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListTensorboardsResponse").msgclass
204
221
  UpdateTensorboardRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateTensorboardRequest").msgclass
@@ -37,6 +37,8 @@ module Google
37
37
  rpc :CreateTensorboard, ::Google::Cloud::AIPlatform::V1::CreateTensorboardRequest, ::Google::Longrunning::Operation
38
38
  # Gets a Tensorboard.
39
39
  rpc :GetTensorboard, ::Google::Cloud::AIPlatform::V1::GetTensorboardRequest, ::Google::Cloud::AIPlatform::V1::Tensorboard
40
+ # Returns a list of monthly active users for a given TensorBoard instance.
41
+ rpc :ReadTensorboardUsage, ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest, ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse
40
42
  # Updates a Tensorboard.
41
43
  rpc :UpdateTensorboard, ::Google::Cloud::AIPlatform::V1::UpdateTensorboardRequest, ::Google::Longrunning::Operation
42
44
  # Lists Tensorboards in a Location.
@@ -79,13 +81,13 @@ module Google
79
81
  rpc :DeleteTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::DeleteTensorboardTimeSeriesRequest, ::Google::Longrunning::Operation
80
82
  # Reads multiple TensorboardTimeSeries' data. The data point number limit is
81
83
  # 1000 for scalars, 100 for tensors and blob references. If the number of
82
- # data points stored is less than the limit, all data will be returned.
83
- # Otherwise, that limit number of data points will be randomly selected from
84
+ # data points stored is less than the limit, all data is returned.
85
+ # Otherwise, the number limit of data points is randomly selected from
84
86
  # this time series and returned.
85
87
  rpc :BatchReadTensorboardTimeSeriesData, ::Google::Cloud::AIPlatform::V1::BatchReadTensorboardTimeSeriesDataRequest, ::Google::Cloud::AIPlatform::V1::BatchReadTensorboardTimeSeriesDataResponse
86
88
  # Reads a TensorboardTimeSeries' data. By default, if the number of data
87
- # points stored is less than 1000, all data will be returned. Otherwise, 1000
88
- # data points will be randomly selected from this time series and returned.
89
+ # points stored is less than 1000, all data is returned. Otherwise, 1000
90
+ # data points is randomly selected from this time series and returned.
89
91
  # This value can be changed by changing max_data_points, which can't be
90
92
  # greater than 10k.
91
93
  rpc :ReadTensorboardTimeSeriesData, ::Google::Cloud::AIPlatform::V1::ReadTensorboardTimeSeriesDataRequest, ::Google::Cloud::AIPlatform::V1::ReadTensorboardTimeSeriesDataResponse
@@ -95,12 +97,10 @@ module Google
95
97
  # permission.
96
98
  rpc :ReadTensorboardBlobData, ::Google::Cloud::AIPlatform::V1::ReadTensorboardBlobDataRequest, stream(::Google::Cloud::AIPlatform::V1::ReadTensorboardBlobDataResponse)
97
99
  # Write time series data points of multiple TensorboardTimeSeries in multiple
98
- # TensorboardRun's. If any data fail to be ingested, an error will be
99
- # returned.
100
+ # TensorboardRun's. If any data fail to be ingested, an error is returned.
100
101
  rpc :WriteTensorboardExperimentData, ::Google::Cloud::AIPlatform::V1::WriteTensorboardExperimentDataRequest, ::Google::Cloud::AIPlatform::V1::WriteTensorboardExperimentDataResponse
101
102
  # Write time series data points into multiple TensorboardTimeSeries under
102
- # a TensorboardRun. If any data fail to be ingested, an error will be
103
- # returned.
103
+ # a TensorboardRun. If any data fail to be ingested, an error is returned.
104
104
  rpc :WriteTensorboardRunData, ::Google::Cloud::AIPlatform::V1::WriteTensorboardRunDataRequest, ::Google::Cloud::AIPlatform::V1::WriteTensorboardRunDataResponse
105
105
  # Exports a TensorboardTimeSeries' data. Data is returned in paginated
106
106
  # responses.
@@ -28,8 +28,9 @@ module Google
28
28
  # Output only. Resource name of the Annotation.
29
29
  # @!attribute [rw] payload_schema_uri
30
30
  # @return [::String]
31
- # Required. Google Cloud Storage URI points to a YAML file describing {::Google::Cloud::AIPlatform::V1::Annotation#payload payload}. The
32
- # schema is defined as an [OpenAPI 3.0.2 Schema
31
+ # Required. Google Cloud Storage URI points to a YAML file describing
32
+ # {::Google::Cloud::AIPlatform::V1::Annotation#payload payload}. The schema is
33
+ # defined as an [OpenAPI 3.0.2 Schema
33
34
  # Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
34
35
  # The schema files that can be used here are found in
35
36
  # gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the
@@ -47,14 +48,15 @@ module Google
47
48
  # Output only. Timestamp when this Annotation was last updated.
48
49
  # @!attribute [rw] etag
49
50
  # @return [::String]
50
- # Optional. Used to perform consistent read-modify-write updates. If not set, a blind
51
- # "overwrite" update happens.
51
+ # Optional. Used to perform consistent read-modify-write updates. If not set,
52
+ # a blind "overwrite" update happens.
52
53
  # @!attribute [r] annotation_source
53
54
  # @return [::Google::Cloud::AIPlatform::V1::UserActionReference]
54
55
  # Output only. The source of the Annotation.
55
56
  # @!attribute [rw] labels
56
57
  # @return [::Google::Protobuf::Map{::String => ::String}]
57
- # Optional. The labels with user-defined metadata to organize your Annotations.
58
+ # Optional. The labels with user-defined metadata to organize your
59
+ # Annotations.
58
60
  #
59
61
  # Label keys and values can be no longer than 64 characters
60
62
  # (Unicode codepoints), can only contain lowercase letters, numeric
@@ -71,7 +73,8 @@ module Google
71
73
  # If not set, the Annotation is not visible in the UI.
72
74
  #
73
75
  # * "aiplatform.googleapis.com/payload_schema":
74
- # output only, its value is the [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]
76
+ # output only, its value is the
77
+ # [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]
75
78
  # title.
76
79
  class Annotation
77
80
  include ::Google::Protobuf::MessageExts
@@ -28,7 +28,7 @@ module Google
28
28
  # @!attribute [rw] display_name
29
29
  # @return [::String]
30
30
  # Required. The user-defined name of the AnnotationSpec.
31
- # The name can be up to 128 characters long and can be consist of any UTF-8
31
+ # The name can be up to 128 characters long and can consist of any UTF-8
32
32
  # characters.
33
33
  # @!attribute [r] create_time
34
34
  # @return [::Google::Protobuf::Timestamp]
@@ -38,8 +38,8 @@ module Google
38
38
  # Output only. Timestamp when AnnotationSpec was last updated.
39
39
  # @!attribute [rw] etag
40
40
  # @return [::String]
41
- # Optional. Used to perform consistent read-modify-write updates. If not set, a blind
42
- # "overwrite" update happens.
41
+ # Optional. Used to perform consistent read-modify-write updates. If not set,
42
+ # a blind "overwrite" update happens.
43
43
  class AnnotationSpec
44
44
  include ::Google::Protobuf::MessageExts
45
45
  extend ::Google::Protobuf::MessageExts::ClassMethods