google-cloud-ai_platform-v1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +36 -46
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -22
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +6 -6
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +176 -68
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +24 -26
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +16 -18
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +60 -76
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +52 -62
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +8 -10
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +135 -46
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +16 -20
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +16 -18
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +50 -60
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +17 -21
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +12 -14
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +9 -0
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +63 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +5 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +14 -1
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +190 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +9 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -8
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +128 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +16 -11
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +6 -5
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +25 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +15 -11
@@ -1009,6 +1009,15 @@ module Google
|
|
1009
1009
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1010
1010
|
end
|
1011
1011
|
|
1012
|
+
# Details of operations that delete Feature values.
|
1013
|
+
# @!attribute [rw] generic_metadata
|
1014
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
1015
|
+
# Operation metadata for Featurestore delete Features values.
|
1016
|
+
class DeleteFeatureValuesOperationMetadata
|
1017
|
+
include ::Google::Protobuf::MessageExts
|
1018
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1019
|
+
end
|
1020
|
+
|
1012
1021
|
# Details of operations that perform create EntityType.
|
1013
1022
|
# @!attribute [rw] generic_metadata
|
1014
1023
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
@@ -1035,6 +1044,125 @@ module Google
|
|
1035
1044
|
include ::Google::Protobuf::MessageExts
|
1036
1045
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1037
1046
|
end
|
1047
|
+
|
1048
|
+
# Request message for
|
1049
|
+
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#delete_feature_values FeaturestoreService.DeleteFeatureValues}.
|
1050
|
+
# @!attribute [rw] select_entity
|
1051
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest::SelectEntity]
|
1052
|
+
# Select feature values to be deleted by specifying entities.
|
1053
|
+
# @!attribute [rw] select_time_range_and_feature
|
1054
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest::SelectTimeRangeAndFeature]
|
1055
|
+
# Select feature values to be deleted by specifying time range and
|
1056
|
+
# features.
|
1057
|
+
# @!attribute [rw] entity_type
|
1058
|
+
# @return [::String]
|
1059
|
+
# Required. The resource name of the EntityType grouping the Features for
|
1060
|
+
# which values are being deleted from. Format:
|
1061
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
|
1062
|
+
class DeleteFeatureValuesRequest
|
1063
|
+
include ::Google::Protobuf::MessageExts
|
1064
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1065
|
+
|
1066
|
+
# Message to select entity.
|
1067
|
+
# If an entity id is selected, all the feature values corresponding to the
|
1068
|
+
# entity id will be deleted, including the entityId.
|
1069
|
+
# @!attribute [rw] entity_id_selector
|
1070
|
+
# @return [::Google::Cloud::AIPlatform::V1::EntityIdSelector]
|
1071
|
+
# Required. Selectors choosing feature values of which entity id to be
|
1072
|
+
# deleted from the EntityType.
|
1073
|
+
class SelectEntity
|
1074
|
+
include ::Google::Protobuf::MessageExts
|
1075
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# Message to select time range and feature.
|
1079
|
+
# Values of the selected feature generated within an inclusive time range
|
1080
|
+
# will be deleted. Using this option permanently deletes the feature values
|
1081
|
+
# from the specified feature IDs within the specified time range.
|
1082
|
+
# This might include data from the online storage. If you want to retain
|
1083
|
+
# any deleted historical data in the online storage, you must re-ingest it.
|
1084
|
+
# @!attribute [rw] time_range
|
1085
|
+
# @return [::Google::Type::Interval]
|
1086
|
+
# Required. Select feature generated within a half-inclusive time range.
|
1087
|
+
# The time range is lower inclusive and upper exclusive.
|
1088
|
+
# @!attribute [rw] feature_selector
|
1089
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureSelector]
|
1090
|
+
# Required. Selectors choosing which feature values to be deleted from the
|
1091
|
+
# EntityType.
|
1092
|
+
# @!attribute [rw] skip_online_storage_delete
|
1093
|
+
# @return [::Boolean]
|
1094
|
+
# If set, data will not be deleted from online storage.
|
1095
|
+
# When time range is older than the data in online storage, setting this to
|
1096
|
+
# be true will make the deletion have no impact on online serving.
|
1097
|
+
class SelectTimeRangeAndFeature
|
1098
|
+
include ::Google::Protobuf::MessageExts
|
1099
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
# Response message for
|
1104
|
+
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#delete_feature_values FeaturestoreService.DeleteFeatureValues}.
|
1105
|
+
# @!attribute [rw] select_entity
|
1106
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesResponse::SelectEntity]
|
1107
|
+
# Response for request specifying the entities to delete
|
1108
|
+
# @!attribute [rw] select_time_range_and_feature
|
1109
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesResponse::SelectTimeRangeAndFeature]
|
1110
|
+
# Response for request specifying time range and feature
|
1111
|
+
class DeleteFeatureValuesResponse
|
1112
|
+
include ::Google::Protobuf::MessageExts
|
1113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1114
|
+
|
1115
|
+
# Response message if the request uses the SelectEntity option.
|
1116
|
+
# @!attribute [rw] offline_storage_deleted_entity_row_count
|
1117
|
+
# @return [::Integer]
|
1118
|
+
# The count of deleted entity rows in the offline storage.
|
1119
|
+
# Each row corresponds to the combination of an entity ID and a timestamp.
|
1120
|
+
# One entity ID can have multiple rows in the offline storage.
|
1121
|
+
# @!attribute [rw] online_storage_deleted_entity_count
|
1122
|
+
# @return [::Integer]
|
1123
|
+
# The count of deleted entities in the online storage.
|
1124
|
+
# Each entity ID corresponds to one entity.
|
1125
|
+
class SelectEntity
|
1126
|
+
include ::Google::Protobuf::MessageExts
|
1127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# Response message if the request uses the SelectTimeRangeAndFeature option.
|
1131
|
+
# @!attribute [rw] impacted_feature_count
|
1132
|
+
# @return [::Integer]
|
1133
|
+
# The count of the features or columns impacted.
|
1134
|
+
# This is the same as the feature count in the request.
|
1135
|
+
# @!attribute [rw] offline_storage_modified_entity_row_count
|
1136
|
+
# @return [::Integer]
|
1137
|
+
# The count of modified entity rows in the offline storage.
|
1138
|
+
# Each row corresponds to the combination of an entity ID and a timestamp.
|
1139
|
+
# One entity ID can have multiple rows in the offline storage.
|
1140
|
+
# Within each row, only the features specified in the request are
|
1141
|
+
# deleted.
|
1142
|
+
# @!attribute [rw] online_storage_modified_entity_count
|
1143
|
+
# @return [::Integer]
|
1144
|
+
# The count of modified entities in the online storage.
|
1145
|
+
# Each entity ID corresponds to one entity.
|
1146
|
+
# Within each entity, only the features specified in the request are
|
1147
|
+
# deleted.
|
1148
|
+
class SelectTimeRangeAndFeature
|
1149
|
+
include ::Google::Protobuf::MessageExts
|
1150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# Selector for entityId. Getting ids from the given source.
|
1155
|
+
# @!attribute [rw] csv_source
|
1156
|
+
# @return [::Google::Cloud::AIPlatform::V1::CsvSource]
|
1157
|
+
# Source of Csv
|
1158
|
+
# @!attribute [rw] entity_id_field
|
1159
|
+
# @return [::String]
|
1160
|
+
# Source column that holds entity IDs. If not provided, entity IDs are
|
1161
|
+
# extracted from the column named `entity_id`.
|
1162
|
+
class EntityIdSelector
|
1163
|
+
include ::Google::Protobuf::MessageExts
|
1164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1165
|
+
end
|
1038
1166
|
end
|
1039
1167
|
end
|
1040
1168
|
end
|
@@ -54,11 +54,8 @@ module Google
|
|
54
54
|
# The job has expired.
|
55
55
|
JOB_STATE_EXPIRED = 9
|
56
56
|
|
57
|
-
# The job is being updated.
|
58
|
-
#
|
59
|
-
# the update operation fails, the job goes back to RUNNING state with error
|
60
|
-
# messages written to [ModelDeploymentMonitoringJob.partial_errors][] field
|
61
|
-
# if it is a ModelDeploymentMonitoringJob.
|
57
|
+
# The job is being updated. Only jobs in the `RUNNING` state can be updated.
|
58
|
+
# After updating, the job goes back to the `RUNNING` state.
|
62
59
|
JOB_STATE_UPDATING = 10
|
63
60
|
end
|
64
61
|
end
|
@@ -98,11 +98,11 @@ module Google
|
|
98
98
|
# deploying this Model. The specification is ingested upon
|
99
99
|
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel},
|
100
100
|
# and all binaries it contains are copied and stored internally by Vertex AI.
|
101
|
-
# Not present for AutoML Models.
|
101
|
+
# Not present for AutoML Models or Large Models.
|
102
102
|
# @!attribute [rw] artifact_uri
|
103
103
|
# @return [::String]
|
104
104
|
# Immutable. The path to the directory containing the Model artifact and any
|
105
|
-
# of its supporting files. Not present for AutoML Models.
|
105
|
+
# of its supporting files. Not present for AutoML Models or Large Models.
|
106
106
|
# @!attribute [r] supported_deployment_resources_types
|
107
107
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Model::DeploymentResourcesType>]
|
108
108
|
# Output only. When this Model is deployed, its prediction resources are
|
@@ -224,11 +224,13 @@ module Google
|
|
224
224
|
# @return [::Google::Cloud::AIPlatform::V1::ExplanationSpec]
|
225
225
|
# The default explanation specification for this Model.
|
226
226
|
#
|
227
|
-
# The Model can be used for
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
227
|
+
# The Model can be used for
|
228
|
+
# [requesting
|
229
|
+
# explanation][google.cloud.aiplatform.v1.PredictionService.Explain] after
|
230
|
+
# being {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model deployed} if
|
231
|
+
# it is populated. The Model can be used for [batch
|
232
|
+
# explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation]
|
233
|
+
# if it is populated.
|
232
234
|
#
|
233
235
|
# All fields of the explanation_spec can be overridden by
|
234
236
|
# {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
|
@@ -239,13 +241,16 @@ module Google
|
|
239
241
|
# of {::Google::Cloud::AIPlatform::V1::BatchPredictionJob BatchPredictionJob}.
|
240
242
|
#
|
241
243
|
# If the default explanation specification is not set for this Model, this
|
242
|
-
# Model can still be used for
|
243
|
-
#
|
244
|
+
# Model can still be used for
|
245
|
+
# [requesting
|
246
|
+
# explanation][google.cloud.aiplatform.v1.PredictionService.Explain] by
|
247
|
+
# setting
|
244
248
|
# {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
|
245
249
|
# of
|
246
250
|
# {::Google::Cloud::AIPlatform::V1::DeployModelRequest#deployed_model DeployModelRequest.deployed_model}
|
247
|
-
# and for [batch
|
248
|
-
#
|
251
|
+
# and for [batch
|
252
|
+
# explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation]
|
253
|
+
# by setting
|
249
254
|
# {::Google::Cloud::AIPlatform::V1::BatchPredictionJob#explanation_spec explanation_spec}
|
250
255
|
# of {::Google::Cloud::AIPlatform::V1::BatchPredictionJob BatchPredictionJob}.
|
251
256
|
# @!attribute [rw] etag
|
@@ -52,8 +52,8 @@ module Google
|
|
52
52
|
# @return [::String]
|
53
53
|
# Points to a YAML file stored on Google Cloud Storage describing
|
54
54
|
# [EvaluatedDataItemView.data_item_payload][] and
|
55
|
-
#
|
56
|
-
# OpenAPI 3.0.2 [Schema
|
55
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#data_item_payload EvaluatedAnnotation.data_item_payload}.
|
56
|
+
# The schema is defined as an OpenAPI 3.0.2 [Schema
|
57
57
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
58
58
|
#
|
59
59
|
# This field is not populated if there are neither EvaluatedDataItemViews nor
|
@@ -63,9 +63,10 @@ module Google
|
|
63
63
|
# Points to a YAML file stored on Google Cloud Storage describing
|
64
64
|
# [EvaluatedDataItemView.predictions][],
|
65
65
|
# [EvaluatedDataItemView.ground_truths][],
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
66
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#predictions EvaluatedAnnotation.predictions},
|
67
|
+
# and
|
68
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#ground_truths EvaluatedAnnotation.ground_truths}.
|
69
|
+
# The schema is defined as an OpenAPI 3.0.2 [Schema
|
69
70
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
70
71
|
#
|
71
72
|
# This field is not populated if there are neither EvaluatedDataItemViews nor
|
@@ -44,6 +44,12 @@ module Google
|
|
44
44
|
# @!attribute [r] create_time
|
45
45
|
# @return [::Google::Protobuf::Timestamp]
|
46
46
|
# Output only. Timestamp when this ModelEvaluationSlice was created.
|
47
|
+
# @!attribute [r] model_explanation
|
48
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelExplanation]
|
49
|
+
# Output only. Aggregated explanation metrics for the Model's prediction
|
50
|
+
# output over the data this ModelEvaluation uses. This field is populated
|
51
|
+
# only if the Model is evaluated with explanations, and only for tabular
|
52
|
+
# Models.
|
47
53
|
class ModelEvaluationSlice
|
48
54
|
include ::Google::Protobuf::MessageExts
|
49
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -58,12 +64,137 @@ module Google
|
|
58
64
|
# {::Google::Cloud::AIPlatform::V1::AnnotationSpec#display_name AnnotationSpec.display_name}
|
59
65
|
# equals to
|
60
66
|
# {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice#value value}.
|
67
|
+
# * `slice`: This slice is a user customized slice defined by its
|
68
|
+
# SliceSpec.
|
61
69
|
# @!attribute [r] value
|
62
70
|
# @return [::String]
|
63
71
|
# Output only. The value of the dimension in this slice.
|
72
|
+
# @!attribute [r] slice_spec
|
73
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec]
|
74
|
+
# Output only. Specification for how the data was sliced.
|
64
75
|
class Slice
|
65
76
|
include ::Google::Protobuf::MessageExts
|
66
77
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
|
79
|
+
# Specification for how the data should be sliced.
|
80
|
+
# @!attribute [rw] configs
|
81
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec::SliceConfig}]
|
82
|
+
# Mapping configuration for this SliceSpec.
|
83
|
+
# The key is the name of the feature.
|
84
|
+
# By default, the key will be prefixed by "instance" as a dictionary
|
85
|
+
# prefix for Vertex Batch Predictions output format.
|
86
|
+
class SliceSpec
|
87
|
+
include ::Google::Protobuf::MessageExts
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
|
90
|
+
# Specification message containing the config for this SliceSpec.
|
91
|
+
# When `kind` is selected as `value` and/or `range`, only a single slice
|
92
|
+
# will be computed.
|
93
|
+
# When `all_values` is present, a separate slice will be computed for
|
94
|
+
# each possible label/value for the corresponding key in `config`.
|
95
|
+
# Examples, with feature zip_code with values 12345, 23334, 88888 and
|
96
|
+
# feature country with values "US", "Canada", "Mexico" in the dataset:
|
97
|
+
#
|
98
|
+
# Example 1:
|
99
|
+
#
|
100
|
+
# {
|
101
|
+
# "zip_code": { "value": { "float_value": 12345.0 } }
|
102
|
+
# }
|
103
|
+
#
|
104
|
+
# A single slice for any data with zip_code 12345 in the dataset.
|
105
|
+
#
|
106
|
+
# Example 2:
|
107
|
+
#
|
108
|
+
# {
|
109
|
+
# "zip_code": { "range": { "low": 12345, "high": 20000 } }
|
110
|
+
# }
|
111
|
+
#
|
112
|
+
# A single slice containing data where the zip_codes between 12345 and
|
113
|
+
# 20000 For this example, data with the zip_code of 12345 will be in this
|
114
|
+
# slice.
|
115
|
+
#
|
116
|
+
# Example 3:
|
117
|
+
#
|
118
|
+
# {
|
119
|
+
# "zip_code": { "range": { "low": 10000, "high": 20000 } },
|
120
|
+
# "country": { "value": { "string_value": "US" } }
|
121
|
+
# }
|
122
|
+
#
|
123
|
+
# A single slice containing data where the zip_codes between 10000 and
|
124
|
+
# 20000 has the country "US". For this example, data with the zip_code of
|
125
|
+
# 12345 and country "US" will be in this slice.
|
126
|
+
#
|
127
|
+
# Example 4:
|
128
|
+
#
|
129
|
+
# { "country": {"all_values": { "value": true } } }
|
130
|
+
#
|
131
|
+
# Three slices are computed, one for each unique country in the dataset.
|
132
|
+
#
|
133
|
+
# Example 5:
|
134
|
+
#
|
135
|
+
# {
|
136
|
+
# "country": { "all_values": { "value": true } },
|
137
|
+
# "zip_code": { "value": { "float_value": 12345.0 } }
|
138
|
+
# }
|
139
|
+
#
|
140
|
+
# Three slices are computed, one for each unique country in the dataset
|
141
|
+
# where the zip_code is also 12345. For this example, data with zip_code
|
142
|
+
# 12345 and country "US" will be in one slice, zip_code 12345 and country
|
143
|
+
# "Canada" in another slice, and zip_code 12345 and country "Mexico" in
|
144
|
+
# another slice, totaling 3 slices.
|
145
|
+
# @!attribute [rw] value
|
146
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec::Value]
|
147
|
+
# A unique specific value for a given feature.
|
148
|
+
# Example: `{ "value": { "string_value": "12345" } }`
|
149
|
+
# @!attribute [rw] range
|
150
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec::Range]
|
151
|
+
# A range of values for a numerical feature.
|
152
|
+
# Example: `{"range":{"low":10000.0,"high":50000.0}}`
|
153
|
+
# will capture 12345 and 23334 in the slice.
|
154
|
+
# @!attribute [rw] all_values
|
155
|
+
# @return [::Google::Protobuf::BoolValue]
|
156
|
+
# If all_values is set to true, then all possible labels of the keyed
|
157
|
+
# feature will have another slice computed.
|
158
|
+
# Example: `{"all_values":{"value":true}}`
|
159
|
+
class SliceConfig
|
160
|
+
include ::Google::Protobuf::MessageExts
|
161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
162
|
+
end
|
163
|
+
|
164
|
+
# A range of values for slice(s).
|
165
|
+
# `low` is inclusive, `high` is exclusive.
|
166
|
+
# @!attribute [rw] low
|
167
|
+
# @return [::Float]
|
168
|
+
# Inclusive low value for the range.
|
169
|
+
# @!attribute [rw] high
|
170
|
+
# @return [::Float]
|
171
|
+
# Exclusive high value for the range.
|
172
|
+
class Range
|
173
|
+
include ::Google::Protobuf::MessageExts
|
174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
175
|
+
end
|
176
|
+
|
177
|
+
# Single value that supports strings and floats.
|
178
|
+
# @!attribute [rw] string_value
|
179
|
+
# @return [::String]
|
180
|
+
# String type.
|
181
|
+
# @!attribute [rw] float_value
|
182
|
+
# @return [::Float]
|
183
|
+
# Float type.
|
184
|
+
class Value
|
185
|
+
include ::Google::Protobuf::MessageExts
|
186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
|
+
end
|
188
|
+
|
189
|
+
# @!attribute [rw] key
|
190
|
+
# @return [::String]
|
191
|
+
# @!attribute [rw] value
|
192
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec::SliceConfig]
|
193
|
+
class ConfigsEntry
|
194
|
+
include ::Google::Protobuf::MessageExts
|
195
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
196
|
+
end
|
197
|
+
end
|
67
198
|
end
|
68
199
|
end
|
69
200
|
end
|
@@ -500,6 +500,31 @@ module Google
|
|
500
500
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
501
501
|
end
|
502
502
|
|
503
|
+
# Request message for
|
504
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#batch_import_evaluated_annotations ModelService.BatchImportEvaluatedAnnotations}
|
505
|
+
# @!attribute [rw] parent
|
506
|
+
# @return [::String]
|
507
|
+
# Required. The name of the parent ModelEvaluationSlice resource.
|
508
|
+
# Format:
|
509
|
+
# `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}`
|
510
|
+
# @!attribute [rw] evaluated_annotations
|
511
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation>]
|
512
|
+
# Required. Evaluated annotations resource to be imported.
|
513
|
+
class BatchImportEvaluatedAnnotationsRequest
|
514
|
+
include ::Google::Protobuf::MessageExts
|
515
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
516
|
+
end
|
517
|
+
|
518
|
+
# Response message for
|
519
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#batch_import_evaluated_annotations ModelService.BatchImportEvaluatedAnnotations}
|
520
|
+
# @!attribute [r] imported_evaluated_annotations_count
|
521
|
+
# @return [::Integer]
|
522
|
+
# Output only. Number of EvaluatedAnnotations imported.
|
523
|
+
class BatchImportEvaluatedAnnotationsResponse
|
524
|
+
include ::Google::Protobuf::MessageExts
|
525
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
526
|
+
end
|
527
|
+
|
503
528
|
# Request message for
|
504
529
|
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#get_model_evaluation ModelService.GetModelEvaluation}.
|
505
530
|
# @!attribute [rw] name
|
@@ -58,7 +58,8 @@ module Google
|
|
58
58
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
59
|
end
|
60
60
|
|
61
|
-
# Response message for
|
61
|
+
# Response message for
|
62
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#read_tensorboard_usage TensorboardService.ReadTensorboardUsage}.
|
62
63
|
# @!attribute [rw] monthly_usage_data
|
63
64
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerMonthUsageData}]
|
64
65
|
# Maps year-month (YYYYMM) string to per month usage data.
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
23
|
+
# Timestamp end (exclusive).
|
24
|
+
#
|
25
|
+
# The start must be less than or equal to the end.
|
26
|
+
# When the start equals the end, the interval is empty (matches no time).
|
27
|
+
# When both start and end are unspecified, the interval matches any time.
|
28
|
+
# @!attribute [rw] start_time
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
30
|
+
# Optional. Inclusive start of the interval.
|
31
|
+
#
|
32
|
+
# If specified, a Timestamp matching this interval will have to be the same
|
33
|
+
# or after the start.
|
34
|
+
# @!attribute [rw] end_time
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
36
|
+
# Optional. Exclusive end of the interval.
|
37
|
+
#
|
38
|
+
# If specified, a Timestamp matching this interval will have to be before the
|
39
|
+
# end.
|
40
|
+
class Interval
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.4'
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 2.a
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
83
|
+
version: '0.4'
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.a
|
@@ -90,14 +90,14 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.26.
|
93
|
+
version: 1.26.3
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.26.
|
100
|
+
version: 1.26.3
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: minitest
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -307,6 +307,7 @@ files:
|
|
307
307
|
- lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb
|
308
308
|
- lib/google/cloud/aiplatform/v1/entity_type_pb.rb
|
309
309
|
- lib/google/cloud/aiplatform/v1/env_var_pb.rb
|
310
|
+
- lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb
|
310
311
|
- lib/google/cloud/aiplatform/v1/event_pb.rb
|
311
312
|
- lib/google/cloud/aiplatform/v1/execution_pb.rb
|
312
313
|
- lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb
|
@@ -402,6 +403,7 @@ files:
|
|
402
403
|
- proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb
|
403
404
|
- proto_docs/google/cloud/aiplatform/v1/entity_type.rb
|
404
405
|
- proto_docs/google/cloud/aiplatform/v1/env_var.rb
|
406
|
+
- proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb
|
405
407
|
- proto_docs/google/cloud/aiplatform/v1/event.rb
|
406
408
|
- proto_docs/google/cloud/aiplatform/v1/execution.rb
|
407
409
|
- proto_docs/google/cloud/aiplatform/v1/explanation.rb
|
@@ -505,6 +507,7 @@ files:
|
|
505
507
|
- proto_docs/google/protobuf/wrappers.rb
|
506
508
|
- proto_docs/google/rpc/status.rb
|
507
509
|
- proto_docs/google/type/expr.rb
|
510
|
+
- proto_docs/google/type/interval.rb
|
508
511
|
- proto_docs/google/type/money.rb
|
509
512
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
510
513
|
licenses:
|
@@ -528,5 +531,6 @@ requirements: []
|
|
528
531
|
rubygems_version: 3.4.2
|
529
532
|
signing_key:
|
530
533
|
specification_version: 4
|
531
|
-
summary:
|
534
|
+
summary: Train high-quality custom machine learning models with minimal machine learning
|
535
|
+
expertise and effort.
|
532
536
|
test_files: []
|