google-cloud-ai_platform-v1 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +10 -7
  3. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +1 -1
  4. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +28 -21
  5. data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +1 -1
  6. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +10 -9
  7. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +1 -1
  8. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +53 -50
  9. data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +1 -1
  10. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +18 -14
  11. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +1 -1
  12. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +8 -4
  13. data/lib/google/cloud/ai_platform/v1/index_service.rb +1 -1
  14. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +53 -36
  15. data/lib/google/cloud/ai_platform/v1/job_service.rb +1 -1
  16. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +33 -36
  17. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +1 -1
  18. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +3 -4
  19. data/lib/google/cloud/ai_platform/v1/migration_service.rb +1 -1
  20. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +44 -22
  21. data/lib/google/cloud/ai_platform/v1/model_service.rb +1 -1
  22. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +28 -17
  23. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +1 -1
  24. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +28 -19
  25. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +1 -1
  26. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +5 -3
  27. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +1 -1
  28. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +165 -71
  29. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +1 -1
  30. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  31. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +1 -1
  32. data/lib/google/cloud/ai_platform/v1.rb +2 -2
  33. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +8 -0
  34. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -0
  35. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -0
  36. data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +2 -1
  37. data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +24 -14
  38. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +1 -0
  39. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -5
  40. data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +16 -9
  41. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -6
  42. data/lib/google/cloud/aiplatform/v1/study_pb.rb +1 -0
  43. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +17 -0
  44. data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +8 -8
  45. data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +9 -6
  46. data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +2 -2
  47. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +183 -50
  48. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +8 -7
  49. data/proto_docs/google/cloud/aiplatform/v1/context.rb +2 -2
  50. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +34 -17
  51. data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -5
  52. data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +16 -16
  53. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +33 -17
  54. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +59 -32
  55. data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +2 -2
  56. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +38 -23
  57. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +57 -35
  58. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +8 -6
  59. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +111 -75
  60. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +58 -38
  61. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +9 -6
  62. data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +2 -1
  63. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +12 -11
  64. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -2
  65. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +27 -19
  66. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +138 -99
  67. data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +9 -7
  68. data/proto_docs/google/cloud/aiplatform/v1/index.rb +18 -17
  69. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +36 -24
  70. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +49 -29
  71. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +35 -17
  72. data/proto_docs/google/cloud/aiplatform/v1/io.rb +2 -1
  73. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +94 -57
  74. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +53 -43
  75. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +5 -5
  76. data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +3 -3
  77. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +141 -91
  78. data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +3 -3
  79. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +18 -15
  80. data/proto_docs/google/cloud/aiplatform/v1/model.rb +179 -132
  81. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +21 -17
  82. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +7 -6
  83. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +11 -7
  84. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +4 -2
  85. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +110 -54
  86. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +56 -42
  87. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +42 -22
  88. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +42 -28
  89. data/proto_docs/google/cloud/aiplatform/v1/saved_query.rb +2 -2
  90. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +19 -11
  91. data/proto_docs/google/cloud/aiplatform/v1/study.rb +42 -25
  92. data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +2 -2
  93. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +8 -7
  94. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  95. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +203 -109
  96. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +8 -6
  97. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +84 -59
  98. data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +2 -2
  99. data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +40 -20
  100. data/proto_docs/google/rpc/status.rb +4 -2
  101. metadata +9 -9
@@ -36,11 +36,12 @@ module Google
36
36
  # Output only. Timestamp when this Featurestore was last updated.
37
37
  # @!attribute [rw] etag
38
38
  # @return [::String]
39
- # Optional. Used to perform consistent read-modify-write updates. If not set, a blind
40
- # "overwrite" update happens.
39
+ # Optional. Used to perform consistent read-modify-write updates. If not set,
40
+ # a blind "overwrite" update happens.
41
41
  # @!attribute [rw] labels
42
42
  # @return [::Google::Protobuf::Map{::String => ::String}]
43
- # Optional. The labels with user-defined metadata to organize your Featurestore.
43
+ # Optional. The labels with user-defined metadata to organize your
44
+ # Featurestore.
44
45
  #
45
46
  # Label keys and values can be no longer than 64 characters
46
47
  # (Unicode codepoints), can only contain lowercase letters, numeric
@@ -53,17 +54,17 @@ module Google
53
54
  # and are immutable.
54
55
  # @!attribute [rw] online_serving_config
55
56
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::OnlineServingConfig]
56
- # Optional. Config for online storage resources. The field should not co-exist with the
57
- # field of `OnlineStoreReplicationConfig`. If both of it and
58
- # OnlineStoreReplicationConfig are unset, the feature store will not have an
59
- # online store and cannot be used for online serving.
57
+ # Optional. Config for online storage resources. The field should not
58
+ # co-exist with the field of `OnlineStoreReplicationConfig`. If both of it
59
+ # and OnlineStoreReplicationConfig are unset, the feature store will not have
60
+ # an online store and cannot be used for online serving.
60
61
  # @!attribute [r] state
61
62
  # @return [::Google::Cloud::AIPlatform::V1::Featurestore::State]
62
63
  # Output only. State of the featurestore.
63
64
  # @!attribute [rw] encryption_spec
64
65
  # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
65
- # Optional. Customer-managed encryption key spec for data storage. If set, both of the
66
- # online and offline data storage will be secured by this key.
66
+ # Optional. Customer-managed encryption key spec for data storage. If set,
67
+ # both of the online and offline data storage will be secured by this key.
67
68
  class Featurestore
68
69
  include ::Google::Protobuf::MessageExts
69
70
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -90,8 +91,8 @@ module Google
90
91
  # with the fixed number of node (no auto-scaling).
91
92
  # @!attribute [rw] min_node_count
92
93
  # @return [::Integer]
93
- # Required. The minimum number of nodes to scale down to. Must be greater than or
94
- # equal to 1.
94
+ # Required. The minimum number of nodes to scale down to. Must be greater
95
+ # than or equal to 1.
95
96
  # @!attribute [rw] max_node_count
96
97
  # @return [::Integer]
97
98
  # The maximum number of nodes to scale up to. Must be greater than
@@ -32,12 +32,16 @@ module Google
32
32
  # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ThresholdConfig]
33
33
  # Threshold for numerical features of anomaly detection.
34
34
  # This is shared by all objectives of Featurestore Monitoring for numerical
35
- # features (i.e. Features with type ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) DOUBLE or INT64).
35
+ # features (i.e. Features with type
36
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) DOUBLE
37
+ # or INT64).
36
38
  # @!attribute [rw] categorical_threshold_config
37
39
  # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ThresholdConfig]
38
40
  # Threshold for categorical features of anomaly detection.
39
41
  # This is shared by all types of Featurestore Monitoring for categorical
40
- # features (i.e. Features with type ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL or STRING).
42
+ # features (i.e. Features with type
43
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL or
44
+ # STRING).
41
45
  class FeaturestoreMonitoringConfig
42
46
  include ::Google::Protobuf::MessageExts
43
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -21,18 +21,20 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- # Request message for {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#write_feature_values FeaturestoreOnlineServingService.WriteFeatureValues}.
24
+ # Request message for
25
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#write_feature_values FeaturestoreOnlineServingService.WriteFeatureValues}.
25
26
  # @!attribute [rw] entity_type
26
27
  # @return [::String]
27
- # Required. The resource name of the EntityType for the entities being written.
28
- # Value format: `projects/{project}/locations/{location}/featurestores/
28
+ # Required. The resource name of the EntityType for the entities being
29
+ # written. Value format:
30
+ # `projects/{project}/locations/{location}/featurestores/
29
31
  # \\{featurestore}/entityTypes/\\{entityType}`. For example,
30
32
  # for a machine learning model predicting user clicks on a website, an
31
33
  # EntityType ID could be `user`.
32
34
  # @!attribute [rw] payloads
33
35
  # @return [::Array<::Google::Cloud::AIPlatform::V1::WriteFeatureValuesPayload>]
34
- # Required. The entities to be written. Up to 100,000 feature values can be written
35
- # across all `payloads`.
36
+ # Required. The entities to be written. Up to 100,000 feature values can be
37
+ # written across all `payloads`.
36
38
  class WriteFeatureValuesRequest
37
39
  include ::Google::Protobuf::MessageExts
38
40
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -44,9 +46,9 @@ module Google
44
46
  # Required. The ID of the entity.
45
47
  # @!attribute [rw] feature_values
46
48
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::FeatureValue}]
47
- # Required. Feature values to be written, mapping from Feature ID to value. Up to
48
- # 100,000 `feature_values` entries may be written across all payloads. The
49
- # feature generation time, aligned by days, must be no older than five
49
+ # Required. Feature values to be written, mapping from Feature ID to value.
50
+ # Up to 100,000 `feature_values` entries may be written across all payloads.
51
+ # The feature generation time, aligned by days, must be no older than five
50
52
  # years (1825 days) and no later than one year (366 days) in the future.
51
53
  class WriteFeatureValuesPayload
52
54
  include ::Google::Protobuf::MessageExts
@@ -62,13 +64,15 @@ module Google
62
64
  end
63
65
  end
64
66
 
65
- # Response message for {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#write_feature_values FeaturestoreOnlineServingService.WriteFeatureValues}.
67
+ # Response message for
68
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#write_feature_values FeaturestoreOnlineServingService.WriteFeatureValues}.
66
69
  class WriteFeatureValuesResponse
67
70
  include ::Google::Protobuf::MessageExts
68
71
  extend ::Google::Protobuf::MessageExts::ClassMethods
69
72
  end
70
73
 
71
- # Request message for {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#read_feature_values FeaturestoreOnlineServingService.ReadFeatureValues}.
74
+ # Request message for
75
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#read_feature_values FeaturestoreOnlineServingService.ReadFeatureValues}.
72
76
  # @!attribute [rw] entity_type
73
77
  # @return [::String]
74
78
  # Required. The resource name of the EntityType for the entity being read.
@@ -89,7 +93,8 @@ module Google
89
93
  extend ::Google::Protobuf::MessageExts::ClassMethods
90
94
  end
91
95
 
92
- # Response message for {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#read_feature_values FeaturestoreOnlineServingService.ReadFeatureValues}.
96
+ # Response message for
97
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client#read_feature_values FeaturestoreOnlineServingService.ReadFeatureValues}.
93
98
  # @!attribute [rw] header
94
99
  # @return [::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::Header]
95
100
  # Response header.
@@ -113,11 +118,13 @@ module Google
113
118
  end
114
119
 
115
120
  # Response header with metadata for the requested
116
- # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest#entity_type ReadFeatureValuesRequest.entity_type} and Features.
121
+ # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest#entity_type ReadFeatureValuesRequest.entity_type}
122
+ # and Features.
117
123
  # @!attribute [rw] entity_type
118
124
  # @return [::String]
119
125
  # The resource name of the EntityType from the
120
- # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest ReadFeatureValuesRequest}. Value format:
126
+ # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest ReadFeatureValuesRequest}.
127
+ # Value format:
121
128
  # `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
122
129
  # @!attribute [rw] feature_descriptors
123
130
  # @return [::Array<::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::FeatureDescriptor>]
@@ -138,7 +145,8 @@ module Google
138
145
  # requested values for one requested Feature. If no values
139
146
  # for the requested Feature exist, the corresponding cell will be empty.
140
147
  # This has the same size and is in the same order as the features from the
141
- # header {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse#header ReadFeatureValuesResponse.header}.
148
+ # header
149
+ # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse#header ReadFeatureValuesResponse.header}.
142
150
  class EntityView
143
151
  include ::Google::Protobuf::MessageExts
144
152
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -173,13 +181,13 @@ module Google
173
181
  # EntityType ID could be `user`.
174
182
  # @!attribute [rw] entity_ids
175
183
  # @return [::Array<::String>]
176
- # Required. IDs of entities to read Feature values of. The maximum number of IDs is
177
- # 100. For example, for a machine learning model predicting user clicks on a
178
- # website, an entity ID could be `user_123`.
184
+ # Required. IDs of entities to read Feature values of. The maximum number of
185
+ # IDs is 100. For example, for a machine learning model predicting user
186
+ # clicks on a website, an entity ID could be `user_123`.
179
187
  # @!attribute [rw] feature_selector
180
188
  # @return [::Google::Cloud::AIPlatform::V1::FeatureSelector]
181
- # Required. Selector choosing Features of the target EntityType. Feature IDs will be
182
- # deduplicated.
189
+ # Required. Selector choosing Features of the target EntityType. Feature IDs
190
+ # will be deduplicated.
183
191
  class StreamingReadFeatureValuesRequest
184
192
  include ::Google::Protobuf::MessageExts
185
193
  extend ::Google::Protobuf::MessageExts::ClassMethods